Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 136 files:
- bin/cat/cat.c, 2 times
- bin/cp/utils.c, line 226
- bin/ps/fmt.c, line 69
- cddl/contrib/opensolaris/cmd/dtrace/test/cmd/badioctl/badioctl.c, line 61
- cddl/contrib/opensolaris/cmd/lockstat/lockstat.c, line 1401
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_subr.c, line 530
- cddl/contrib/opensolaris/tools/ctf/cvt/ctfmerge.c, line 652
- contrib/apr/memory/unix/apr_pools.c, 2 times
- contrib/binutils/libiberty/clock.c, line 56
- contrib/binutils/libiberty/getpagesize.c, line 36
- contrib/binutils/libiberty/getruntime.c, line 69
- contrib/binutils/libiberty/physmem.c, 6 times
- contrib/bmake/parse.c, line 455
- contrib/diff/lib/c-stack.c, line 190
- contrib/dma/local.c, line 77
- contrib/gdb/gdb/inflow.c, line 757
- contrib/gdb/gdb/infttrace.c, 2 times
- contrib/jemalloc/src/jemalloc.c, line 752
- contrib/jemalloc/src/pages.c, line 429
- contrib/libevent/buffer.c, 2 times
- contrib/llvm-project/compiler-rt/lib/builtins/enable_execute_stack.c, line 56
- contrib/llvm-project/compiler-rt/lib/gwp_asan/platform_specific/guarded_pool_allocator_posix.cpp, line 70
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp, line 1092
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp, line 698
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp, 2 times
- contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp, line 471
- contrib/llvm-project/compiler-rt/lib/scudo/standalone/linux.cpp, line 44
- contrib/llvm-project/libcxx/src/thread.cpp, line 90
- contrib/llvm-project/lldb/source/Host/posix/ProcessLauncherPosixFork.cpp, line 146
- contrib/llvm-project/lldb/source/Symbol/LocateSymbolFileMacOSX.cpp, line 520
- contrib/llvm-project/openmp/runtime/src/z_Linux_util.cpp, 4 times
- contrib/ncurses/ncurses/tinfo/lib_setup.c, 2 times
- contrib/netbsd-tests/kernel/t_sysv.c, 2 times
- contrib/netbsd-tests/lib/libc/gen/t_ttyname.c, line 180
- contrib/netbsd-tests/lib/libc/string/t_memset.c, line 243
- contrib/netbsd-tests/lib/libc/string/t_strlen.c, line 154
- contrib/netbsd-tests/lib/libc/sys/t_mincore.c, line 334
- contrib/netbsd-tests/lib/libc/sys/t_minherit.c, line 190
- contrib/netbsd-tests/lib/libc/sys/t_mlock.c, line 445
- contrib/netbsd-tests/lib/libc/sys/t_mmap.c, line 578
- contrib/netbsd-tests/lib/libc/sys/t_mprotect.c, line 356
- contrib/netbsd-tests/lib/libc/sys/t_msync.c, line 224
- contrib/netbsd-tests/lib/libc/sys/t_setrlimit.c, line 271
- contrib/netbsd-tests/lib/libpthread/t_sem.c, 2 times
- contrib/netbsd-tests/lib/librt/t_sem.c, 2 times
- contrib/netbsd-tests/net/bpf/t_bpf.c, 2 times
- contrib/ntp/include/libntp.h, line 4
- contrib/ntp/lib/isc/unix/os.c, 2 times
- contrib/ntp/parseutil/dcfd.c, line 1185
- contrib/ntp/sntp/libevent/buffer.c, 2 times
- contrib/ntp/sntp/libopts/text_mmap.c, line 46
- contrib/ntp/util/tickadj.c, line 435
- contrib/nvi/common/recover.c, line 332
- contrib/ofed/libcxgb4/dev.c, line 561
- contrib/ofed/libibverbs/examples/rc_pingpong.c, line 822
- contrib/ofed/libibverbs/examples/srq_pingpong.c, line 762
- contrib/ofed/libibverbs/examples/uc_pingpong.c, line 647
- contrib/ofed/libibverbs/examples/ud_pingpong.c, line 660
- contrib/ofed/libibverbs/examples/xsrq_pingpong.c, line 945
- contrib/ofed/libibverbs/memory.c, line 139
- contrib/ofed/libmlx4/mlx4.c, line 313
- contrib/ofed/libmlx5/mlx5.c, line 1015
- contrib/openbsm/bin/auditdistd/sandbox.c, line 109
- contrib/openbsm/compat/closefrom.h, line 42
- contrib/openpam/lib/libpam/pam_start.c, line 52
- contrib/opie/opieftpd.c, line 1574
- contrib/opie/opielogin.c, 2 times
- contrib/opie/opiesu.c, 2 times
- contrib/pjdfstest/pjdfstest.c, line 1199
- contrib/processor-trace/libipt/src/posix/pt_section_posix.c, line 113
- contrib/sendmail/libsm/memstat.c, line 35
- contrib/sendmail/src/conf.c, 2 times
- contrib/sqlite3/sqlite3.c, line 37756
- contrib/tcsh/sh.c, line 286
- contrib/tcsh/sh.exp.c, line 157
- contrib/tcsh/tc.os.h, line 46
- contrib/xz/src/common/tuklib_cpucores.c, 2 times
- contrib/xz/src/common/tuklib_physmem.c, 2 times
- crypto/heimdal/appl/telnet/telnetd/sys_term.c, line 329
- crypto/heimdal/appl/telnet/telnetd/telnetd.c, line 380
- crypto/heimdal/lib/roken/getdtablesize.c, line 69
- crypto/openssh/defines.h, line 665
- crypto/openssh/groupaccess.c, line 61
- crypto/openssh/openbsd-compat/bsd-closefrom.c, line 97
- crypto/openssh/openbsd-compat/bsd-getpagesize.c, line 14
- crypto/openssh/openbsd-compat/port-irix.c, line 81
- crypto/openssl/apps/apps.c, line 2313
- crypto/openssl/crypto/mem_sec.c, 2 times
- crypto/openssl/crypto/ppccap.c, line 256
- gnu/usr.bin/gdb/kgdb/kthr.c, line 147
- gnu/usr.bin/grep/getpagesize.h, line 18
- lib/geom/eli/geom_eli.c, line 834
- lib/libc/gen/initgroups.c, line 57
- lib/libc/gen/sysconf.c, 10 times
- lib/libc/rpc/auth_unix.c, line 192
- lib/libmemstat/memstat_uma.c, line 353
- lib/libpmc/pmu-events/json.c, 2 times
- lib/libprocstat/libprocstat.c, line 2034
- lib/libthr/thread/thr_init.c, line 477
- sbin/hastd/hastd.c, line 184
- sys/contrib/libsodium/src/libsodium/sodium/utils.c, line 341
- sys/contrib/octeon-sdk/cvmx-app-hotplug.c, line 534
- sys/contrib/octeon-sdk/cvmx-malloc/malloc.c, line 730
- sys/contrib/openzfs/cmd/zpool/zpool_iter.c, line 675
- sys/contrib/openzfs/cmd/zstream/zstream_redup.c, 2 times
- sys/contrib/openzfs/include/sys/zfs_context.h, line 619
- sys/contrib/openzfs/lib/libspl/include/os/linux/sys/sysmacros.h, line 50
- sys/contrib/openzfs/lib/libspl/page.c, line 31
- sys/contrib/openzfs/lib/libzpool/kernel.c, 2 times
- sys/contrib/openzfs/lib/libzpool/taskq.c, line 265
- sys/contrib/openzfs/lib/libzutil/zutil_import.c, line 1270
- sys/contrib/openzfs/tests/zfs-tests/cmd/threadsappend/threadsappend.c, line 98
- sys/contrib/zstd/lib/compress/zstdmt_compress.c, line 57
- sys/contrib/zstd/programs/util.c, 3 times
- tests/sys/cddl/zfs/tests/threadsappend/threadsappend.c, line 96
- tests/sys/posixshm/posixshm_test.c, 2 times
- tools/build/cross-build/closefrom.c, line 89
- tools/regression/p1003_1b/memlock.c, line 50
- tools/regression/p1003_1b/sched.c, line 129
- tools/regression/sysvshm/shmtest.c, line 97
- tools/test/auxinfo/auxinfo.c, line 54
- tools/tools/netmap/pkt-gen.c, line 577
- usr.bin/apply/apply.c, line 170
- usr.bin/ar/write.c, line 577
- usr.bin/dpv/dpv.c, 2 times
- usr.bin/find/function.c, line 736
- usr.bin/getconf/getconf.c, 2 times
- usr.bin/id/id.c, 2 times
- usr.bin/newgrp/newgrp.c, line 192
- usr.bin/sort/sort.c, 3 times
- usr.bin/xargs/xargs.c, line 149
- usr.sbin/chown/chown.c, line 279
- usr.sbin/chroot/chroot.c, line 118
- usr.sbin/cron/lib/compat.c, line 122
- usr.sbin/lpr/lpc/lpc.c, line 367
- usr.sbin/pmccontrol/pmccontrol.c, line 232