| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 | 68 void swapBytes() { sys::swapByteOrder(Flags); } in swapBytes() 76 sys::swapByteOrder(Major); in swapBytes() 77 sys::swapByteOrder(Minor); in swapBytes() 90 sys::swapByteOrder(FileSize); in swapBytes() 91 sys::swapByteOrder(PartCount); in swapBytes() 102 void swapBytes() { sys::swapByteOrder(Size); } in swapBytes() 119 sys::swapByteOrder(MinorVersion); in swapBytes() 120 sys::swapByteOrder(MajorVersion); in swapBytes() 121 sys::swapByteOrder(Offset); in swapBytes() 122 sys::swapByteOrder(Size); in swapBytes() [all …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/.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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 | 189 constexpr sys::fs::mapped_file_region::mapmode Mapmode = 190 sys::fs::mapped_file_region::readonly; 192 constexpr sys::fs::mapped_file_region::mapmode Mapmode<MemoryBuffer> = 193 sys::fs::mapped_file_region::readonly; 195 constexpr sys::fs::mapped_file_region::mapmode Mapmode<WritableMemoryBuffer> = 196 sys::fs::mapped_file_region::priv; 198 constexpr sys::fs::mapped_file_region::mapmode 199 Mapmode<WriteThroughMemoryBuffer> = sys::fs::mapped_file_region::readwrite; 206 sys::fs::mapped_file_region MFR; 209 return Offset & ~(sys::fs::mapped_file_region::alignment() - 1); in getLegalMapOffset() [all …]
|
| H A D | raw_ostream.cpp | 511 if (sys::Process::ColorNeedsFlush() && !is_displayed()) in prepare_colors() 514 if (sys::Process::ColorNeedsFlush()) in prepare_colors() 526 ? sys::Process::OutputBold(bg) in changeColor() 527 : sys::Process::OutputColor(static_cast<char>(colors), bold, bg); in changeColor() 537 if (const char *colorcode = sys::Process::ResetColor()) in resetColor() 546 if (const char *colorcode = sys::Process::OutputReverse()) in reverseColor() 566 sys::fs::CreationDisposition Disp, sys::fs::FileAccess Access, in getFD() 567 sys::fs::OpenFlags Flags) { in getFD() 568 assert((Access & sys::fs::FA_Write) && in getFD() 576 sys::ChangeStdoutMode(Flags); in getFD() [all …]
|
| H A D | LockFileManager.cpp | 59 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() 168 if (std::error_code EC = sys::fs::make_absolute(AbsoluteFileName)) in tryLock() 185 if (std::error_code EC = sys::fs::createUniqueFile( in tryLock() 200 Out << HostID << ' ' << sys::Process::getProcessId(); in tryLock() 216 sys::fs::create_link(UniqueLockFileName, LockFileName); in tryLock() 234 if (!sys::fs::exists(LockFileName)) { in tryLock() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
| H A D | SectionMemoryManager.cpp | 74 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 80 sys::MemoryBlock &PendingMB = in allocateSection() 82 PendingMB = sys::MemoryBlock(PendingMB.base(), in allocateSection() 88 sys::MemoryBlock((void *)(Addr + Size), EndOfBlock - Addr - Size); in allocateSection() 103 sys::MemoryBlock MB = MMapper->allocateMappedMemory( in allocateSection() 105 sys::Memory::MF_READ | sys::Memory::MF_WRITE, ec); in allocateSection() 132 MemGroup.PendingMem.push_back(sys::MemoryBlock((void *)Addr, Size)); in allocateSection() 139 FreeMB.Free = sys::MemoryBlock((void *)(Addr + Size), FreeSize); in allocateSection() 154 sys::Memory::MF_READ | sys::Memory::MF_EXEC); in finalizeMemory() 163 ec = applyMemoryGroupPermissions(RODataMem, sys::Memory::MF_READ); in finalizeMemory() [all …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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 …]
|
| /freebsd/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)
|
| /freebsd/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)
|
| /freebsd/targets/pseudo/tests/ |
| H A D | Makefile.depend | 155 lib/libc/tests/sys \ 212 tests/sys \ 213 tests/sys/acl \ 214 tests/sys/aio \ 215 tests/sys/fifo \ 216 tests/sys/file \ 217 tests/sys/fs \ 218 tests/sys/fs/tmpfs \ 219 tests/sys/geom \ 220 tests/sys/geom/class \ [all …]
|