| /src/sys/contrib/openzfs/include/ |
| H A D | Makefile.am | 21 sys/abd.h \ 22 sys/abd_impl.h \ 23 sys/aggsum.h \ 24 sys/arc.h \ 25 sys/arc_impl.h \ 26 sys/asm_linkage.h \ 27 sys/avl.h \ 28 sys/avl_impl.h \ 29 sys/bitmap.h \ 30 sys/bitops.h \ [all …]
|
| /src/sys/contrib/openzfs/include/os/freebsd/ |
| H A D | Makefile.am | 8 %D%/spl/sys/ia32/asm_linkage.h \ 10 %D%/spl/sys/acl.h \ 11 %D%/spl/sys/acl_impl.h \ 12 %D%/spl/sys/atomic.h \ 13 %D%/spl/sys/byteorder.h \ 14 %D%/spl/sys/callb.h \ 15 %D%/spl/sys/ccompat.h \ 16 %D%/spl/sys/ccompile.h \ 17 %D%/spl/sys/cmn_err.h \ 18 %D%/spl/sys/condvar.h \ [all …]
|
| /src/tools/build/test-includes/ |
| H A D | badfiles.inc | 3 sys/aac_ioctl.h \ 4 sys/agpio.h \ 5 sys/atomic_common.h \ 6 sys/atomic_san.h \ 7 sys/bio.h \ 8 sys/bitstring.h \ 9 sys/blist.h \ 10 sys/buf.h \ 11 sys/buf_ring.h \ 12 sys/bus.h \ [all …]
|
| /src/sys/contrib/openzfs/lib/libspl/include/ |
| H A D | Makefile.am | 26 libspl_sysdir = $(libspldir)/sys 28 %D%/sys/acl.h \ 29 %D%/sys/acl_impl.h \ 30 %D%/sys/asm_linkage.h \ 31 %D%/sys/backtrace.h \ 32 %D%/sys/callb.h \ 33 %D%/sys/cmn_err.h \ 34 %D%/sys/condvar.h \ 35 %D%/sys/cred.h \ 36 %D%/sys/debug.h \ [all …]
|
| /src/sys/contrib/openzfs/include/os/linux/ |
| H A D | Makefile.am | 22 kernel_sysdir = $(kerneldir)/sys 24 %D%/zfs/sys/abd_os.h \ 25 %D%/zfs/sys/abd_impl_os.h \ 26 %D%/zfs/sys/policy.h \ 27 %D%/zfs/sys/trace_acl.h \ 28 %D%/zfs/sys/trace_arc.h \ 29 %D%/zfs/sys/trace_common.h \ 30 %D%/zfs/sys/trace_dbgmsg.h \ 31 %D%/zfs/sys/trace_dbuf.h \ 32 %D%/zfs/sys/trace_dmu.h \ [all …]
|
| /src/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
| H A D | MachO.h | 1141 sys::swapByteOrder(mh.magic); in swapStruct() 1142 sys::swapByteOrder(mh.nfat_arch); in swapStruct() 1146 sys::swapByteOrder(mh.cputype); in swapStruct() 1147 sys::swapByteOrder(mh.cpusubtype); in swapStruct() 1148 sys::swapByteOrder(mh.offset); in swapStruct() 1149 sys::swapByteOrder(mh.size); in swapStruct() 1150 sys::swapByteOrder(mh.align); in swapStruct() 1154 sys::swapByteOrder(mh.cputype); in swapStruct() 1155 sys::swapByteOrder(mh.cpusubtype); in swapStruct() 1156 sys::swapByteOrder(mh.offset); in swapStruct() [all …]
|
| H A D | DXContainer.h | 63 void swapBytes() { sys::swapByteOrder(Flags); } in swapBytes() 71 sys::swapByteOrder(Major); in swapBytes() 72 sys::swapByteOrder(Minor); in swapBytes() 85 sys::swapByteOrder(FileSize); in swapBytes() 86 sys::swapByteOrder(PartCount); in swapBytes() 97 void swapBytes() { sys::swapByteOrder(Size); } in swapBytes() 114 sys::swapByteOrder(MinorVersion); in swapBytes() 115 sys::swapByteOrder(MajorVersion); in swapBytes() 116 sys::swapByteOrder(Offset); in swapBytes() 117 sys::swapByteOrder(Size); in swapBytes() [all …]
|
| /src/sys/contrib/openzfs/cmd/ |
| H A D | dbufstat.in | 34 import sys 118 if sys.platform.startswith("freebsd"): 125 sys.stdin = io.StringIO(dbufs) 128 elif sys.platform.startswith("linux"): 137 sys.stderr.write("\t") 139 sys.stderr.write(",\n\t") 142 sys.stderr.write(", ") 144 sys.stderr.write("%s" % key) 147 sys.stderr.write("\n\n") 151 sys.stderr.write("%s\n" % cmd) [all …]
|
| H A D | zarcstat.in | 54 import sys 274 if sys.platform.startswith('freebsd'): 287 sys.exit(1) 303 elif sys.platform.startswith('linux'): 313 sys.exit(1) 329 sys.stderr.write("%s\n" % cmd) 330 sys.stderr.write("Field definitions are as follows:\n") 332 sys.stderr.write("%11s : %s\n" % (key, cols[key][2])) 333 sys.stderr.write("\n") 335 sys.exit(0) [all …]
|
| /src/tools/build/ |
| H A D | Makefile | 18 SYSINCSDIR= ${INCLUDEDIR}/sys 24 DISKINCSDIR= ${INCLUDEDIR}/sys/disk 92 .if exists(${HOST_INCLUDE_ROOT}/sys/stat.h) 93 _WITH_UTIMENS!= grep -c utimensat ${HOST_INCLUDE_ROOT}/sys/stat.h || true 112 explicit_bzero.c: ${SRCTOP}/sys/libkern/explicit_bzero.c 139 RPCINCS+= ${SRCTOP}/sys/rpc/types.h 149 CHACHA20INCS+= ${SRCTOP}/sys/crypto/chacha20/_chacha.h \ 150 ${SRCTOP}/sys/crypto/chacha20/chacha.h 172 MACHINESYSINCS+= ${SRCTOP}/sys/${_host_arch}/include/elf.h 176 X86INCS+= ${SRCTOP}/sys/x86/include/elf.h [all …]
|
| /src/.github/ |
| H A D | CODEOWNERS | 62 /lib/libc/sys/kevent.c @jmgurney 82 /sys/amd64/pci @bsdimp @bsdjhb 83 /sys/amd64/vmm/ @bsdjhb @bryanv @markjdb @khng300 @markpeek 84 /sys/arm/allwinner @evadot 85 /sys/arm64/arm64 @zxombie 86 /sys/arm64/include @zxombie 87 /sys/arm64/rockchip @evadot 88 /sys/arm64/vmm @zxombie 89 /sys/compat/linprocfs/ @dag-erling 90 /sys/crypto/openssl/ @juikim [all …]
|
| /src/contrib/bc/tests/ |
| H A D | history.py | 30 import os, sys 39 sys.exit(0) 42 script = sys.argv[0] 169 traceback.print_tb(sys.exc_info()[2]) 172 sys.exit(2) 178 sys.exit(2) 211 traceback.print_tb(sys.exc_info()[2]) 214 sys.exit(2) 220 sys.exit(2) 259 traceback.print_tb(sys.exc_info()[2]) [all …]
|
| /src/contrib/bmake/mk/ |
| H A D | FILES | 44 meta.sys.mk 66 sys.clean-env.mk 67 sys.debug.mk 68 sys.dependfile.mk 69 sys.dirdeps.mk 70 sys.mk 71 sys.vars.mk 72 sys/AIX.mk 73 sys/Cygwin.mk 74 sys/Darwin.mk [all …]
|
| /src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | FileCollector.cpp | 29 assert(sys::fs::is_directory(Dir)); in addDirectory() 38 if (sys::fs::real_path(Path, TmpDest)) in isCaseSensitivePath() 47 if (!sys::fs::real_path(UpperDest, RealDest) && Path == RealDest) in isCaseSensitivePath() 54 assert(sys::path::is_absolute(Root) && "Root not absolute"); in FileCollector() 55 assert(sys::path::is_absolute(OverlayRoot) && "OverlayRoot not absolute"); in FileCollector() 61 StringRef Filename = sys::path::filename(SrcPath); in updateWithRealPath() 62 StringRef Directory = sys::path::parent_path(SrcPath); in updateWithRealPath() 72 if (sys::fs::real_path(Directory, RealPath)) in updateWithRealPath() 84 sys::path::append(RealPath, Filename); in updateWithRealPath() 93 sys::fs::make_absolute(Path); in makeAbsolute() [all …]
|
| H A D | MemoryBuffer.cpp | 192 constexpr sys::fs::mapped_file_region::mapmode Mapmode = 193 sys::fs::mapped_file_region::readonly; 195 constexpr sys::fs::mapped_file_region::mapmode Mapmode<MemoryBuffer> = 196 sys::fs::mapped_file_region::readonly; 198 constexpr sys::fs::mapped_file_region::mapmode Mapmode<WritableMemoryBuffer> = 199 sys::fs::mapped_file_region::priv; 201 constexpr sys::fs::mapped_file_region::mapmode 202 Mapmode<WriteThroughMemoryBuffer> = sys::fs::mapped_file_region::readwrite; 209 sys::fs::mapped_file_region MFR; 212 return Offset & ~(sys::fs::mapped_file_region::alignment() - 1); in getLegalMapOffset() [all …]
|
| H A D | LockFileManager.cpp | 61 sys::fs::remove(LockFileName); in readLockFile() 78 sys::fs::remove(LockFileName); in readLockFile() 142 sys::RemoveFileOnSignal(Filename, nullptr); in RemoveUniqueLockFileOnSignal() 151 sys::fs::remove(Filename); in ~RemoveUniqueLockFileOnSignal() 152 sys::DontRemoveFileOnSignal(Filename); in ~RemoveUniqueLockFileOnSignal() 163 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) { in LockFileManager() 181 if (std::error_code EC = sys::fs::createUniqueFile( in LockFileManager() 198 Out << HostID << ' ' << sys::Process::getProcessId(); in LockFileManager() 207 sys::fs::remove(UniqueLockFileName); in LockFileManager() 221 sys::fs::create_link(UniqueLockFileName, LockFileName); in LockFileManager() [all …]
|
| H A D | raw_ostream.cpp | 513 if (sys::Process::ColorNeedsFlush() && !is_displayed()) in prepare_colors() 516 if (sys::Process::ColorNeedsFlush()) in prepare_colors() 528 ? sys::Process::OutputBold(bg) in changeColor() 529 : sys::Process::OutputColor(static_cast<char>(colors), bold, bg); in changeColor() 539 if (const char *colorcode = sys::Process::ResetColor()) in resetColor() 548 if (const char *colorcode = sys::Process::OutputReverse()) in reverseColor() 568 sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, in getFD() 569 sys::fs::OpenFlags Flags) { in getFD() 570 assert((Access & sys::fs::FA_Write) && in getFD() 578 sys::ChangeStdoutMode(Flags); in getFD() [all …]
|
| /src/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | SectionMemoryManager.cpp | 75 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 81 sys::MemoryBlock &PendingMB = in allocateSection() 83 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection() 89 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection() 104 sys::MemoryBlock MB = MMapper->allocateMappedMemory( in allocateSection() 106 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection() 133 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 140 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection() 155 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory() 164 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory() [all …]
|
| /src/include/ |
| H A D | Makefile | 50 netipsec netlink netsmb nfs nfsclient nfsserver sys vm 74 sys/disk \ 79 .PATH: ${SRCTOP}/sys/dev/acpica 84 .PATH: ${SRCTOP}/sys/dev/agp 88 .PATH: ${SRCTOP}/sys/bsm 100 .PATH: ${SRCTOP}/sys/security 107 .PATH: ${SRCTOP}/sys/cam 122 .PATH: ${SRCTOP}/sys/cam/ata 126 .PATH: ${SRCTOP}/sys/cam/mmc 132 .PATH: ${SRCTOP}/sys/cam/nvme [all …]
|
| /src/sbin/ipf/libipf/ |
| H A D | save_syslog.c | 91 syslog_opts_t *sys = ctx; in syslog_print() local 93 if (sys->facpri == -1) in syslog_print() 96 if (sys->fac == -1) { in syslog_print() 97 printf(".%s", pri_toname(sys->pri)); in syslog_print() 98 } else if (sys->pri == -1) { in syslog_print() 99 printf("%s.", fac_toname(sys->fac)); in syslog_print() 101 printf("%s.%s", fac_toname(sys->facpri & LOG_FACMASK), in syslog_print() 102 pri_toname(sys->facpri & LOG_PRIMASK)); in syslog_print() 117 syslog_opts_t *sys = ctx; in syslog_send() local 120 if (sys->facpri == -1) { in syslog_send() [all …]
|
| /src/cddl/contrib/opensolaris/cmd/pyzfs/ |
| H A D | pyzfs.py | 37 import sys 47 if len(sys.argv) < 2: 48 sys.exit(_("missing subcommand argument")) 50 zfs.ioctl.set_cmdstr(" ".join(["zfs"] + sys.argv[1:])) 56 subcmd = sys.argv[1] 61 sys.exit(_("invalid subcommand")) 67 sys.exit(1) 71 import sys 74 sys.exit(1) 77 import sys [all …]
|
| /src/contrib/bc/scripts/ |
| H A D | karatsuba.py | 31 import sys 40 sys.exit(1) 46 script = sys.argv[0] 73 if len(sys.argv) >= 2: 74 num_iterations = int(sys.argv[1]) 78 if len(sys.argv) >= 3: 79 test_num = int(sys.argv[2]) 83 if len(sys.argv) >= args_idx: 84 exe = sys.argv[3] 119 sys.exit(p.returncode) [all …]
|
| /src/contrib/llvm-project/clang/lib/Lex/ |
| H A D | UnicodeCharSets.h | 14 static const llvm::sys::UnicodeCharRange XIDStartRanges[] = { 243 static const llvm::sys::UnicodeCharRange XIDContinueRanges[] = { 375 static const llvm::sys::UnicodeCharRange 393 static const llvm::sys::UnicodeCharRange 403 static const llvm::sys::UnicodeCharRange C11AllowedIDCharRanges[] = { 433 static const llvm::sys::UnicodeCharRange C99AllowedIDCharRanges[] = { 652 static const llvm::sys::UnicodeCharRange C11DisallowedInitialIDCharRanges[] = { 660 static const llvm::sys::UnicodeCharRange C99DisallowedInitialIDCharRanges[] = { 669 static const llvm::sys::UnicodeCharRange UnicodeWhitespaceCharRanges[] = {
|
| /src/contrib/libevent/test/ |
| H A D | check-dumpevents.py | 8 import sys 10 text = sys.stdin.readlines() 18 sys.stderr.write("Missing expected dividing line in dumpevents output") 19 sys.exit(1) 23 sys.stderr.write("Sections out of order in dumpevents output") 24 sys.exit(1) 48 sys.stderr.write("Inserted event lists were not as expected!") 49 sys.exit(1) 52 sys.stderr.write("Active event lists were not as expected!") 53 sys.exit(1)
|
| /src/contrib/ntp/sntp/libevent/test/ |
| H A D | check-dumpevents.py | 8 import sys 10 text = sys.stdin.readlines() 18 sys.stderr.write("Missing expected dividing line in dumpevents output") 19 sys.exit(1) 23 sys.stderr.write("Sections out of order in dumpevents output") 24 sys.exit(1) 48 sys.stderr.write("Inserted event lists were not as expected!") 49 sys.exit(1) 52 sys.stderr.write("Active event lists were not as expected!") 53 sys.exit(1)
|