| /freebsd/lib/libc/gen/ |
| H A D | sysconf.c | 72 sysconf(int name) in sysconf() function 521 value = sysconf(_SC_ASYNCHRONOUS_IO) > 0 && in sysconf() 522 sysconf(_SC_MEMLOCK) > 0 && in sysconf() 523 sysconf(_SC_MEMLOCK_RANGE) > 0 && in sysconf() 524 sysconf(_SC_MESSAGE_PASSING) > 0 && in sysconf() 525 sysconf(_SC_PRIORITY_SCHEDULING) > 0 && in sysconf() 526 sysconf(_SC_REALTIME_SIGNALS) > 0 && in sysconf() 527 sysconf(_SC_SEMAPHORES) > 0 && in sysconf() 528 sysconf(_SC_SHARED_MEMORY_OBJECTS) > 0 && in sysconf() 529 sysconf(_SC_SYNCHRONIZED_IO) > 0 && in sysconf() [all …]
|
| H A D | initgroups.c | 60 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 2; in initgroups_impl()
|
| /freebsd/usr.bin/getconf/ |
| H A D | Makefile | 5 SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c \ 8 CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \ 9 confstr.names limits.names pathconf.names sysconf.names \ 33 conflicting.names: confstr.names limits.names sysconf.names
|
| H A D | getconf.c | 190 value = sysconf(key); in do_onesys() 262 value = sysconf(key); in do_sysconf()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_append.c | 118 if (use_odirect && ((blocksize % sysconf(_SC_PAGE_SIZE)) != 0)) { in parse_options() 155 err = posix_memalign((void **)&buf, sysconf(_SC_PAGE_SIZE), in main()
|
| /freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | sysmacros.h | 68 #define _sysconf(a) sysconf(a) 115 #define boot_ncpus (sysconf(_SC_NPROCESSORS_ONLN))
|
| /freebsd/lib/libpmc/pmu-events/ |
| H A D | json.c | 46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile() 75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
|
| /freebsd/contrib/xz/src/common/ |
| H A D | tuklib_physmem.c | 154 const long pagesize = sysconf(_SC_PAGESIZE); in tuklib_physmem() 155 const long pages = sysconf(_SC_PHYS_PAGES); in tuklib_physmem()
|
| /freebsd/sys/contrib/openzfs/lib/libspl/ |
| H A D | page.c | 33 pagesize = sysconf(_SC_PAGESIZE); in spl_pagesize()
|
| H A D | libspl.c | 56 hw_physmem = sysconf(_SC_PHYS_PAGES); in libspl_init()
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | bsd-getpagesize.c | 14 long r = sysconf(_SC_PAGESIZE); in getpagesize()
|
| H A D | port-irix.c | 83 if (sysconf(_SC_AUDIT)) { in irix_setusercontext()
|
| /freebsd/contrib/libfido2/openbsd-compat/ |
| H A D | bsd-getpagesize.c | 16 long r = sysconf(_SC_PAGESIZE); in getpagesize()
|
| /freebsd/contrib/netbsd-tests/lib/libpthread/ |
| H A D | t_sem.c | 124 ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno)); in ATF_TC_BODY() 163 ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno)); in ATF_TC_BODY()
|
| /freebsd/contrib/netbsd-tests/net/bpf/ |
| H A D | t_bpf.c | 118 iov_max = sysconf(_SC_IOV_MAX); in ATF_TC_BODY() 119 vm_page_size = sysconf(_SC_PAGE_SIZE); in ATF_TC_BODY()
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | jumbo.sh | 134 for (i = sysconf(_SC_PAGESIZE); i < MX; i += 1024) { 195 for (i = sysconf(_SC_PAGESIZE); i < MX; i += 1024) {
|
| /freebsd/crypto/krb5/src/lib/rpc/ |
| H A D | rpc_dtablesize.c | 52 size = (int) sysconf(_SC_OPEN_MAX); in gssrpc__rpc_dtablesize()
|
| /freebsd/contrib/ntp/include/ |
| H A D | libntp.h | 4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
|
| /freebsd/contrib/openbsm/compat/ |
| H A D | closefrom.h | 42 maxfd = sysconf(_SC_OPEN_MAX); in closefrom()
|
| /freebsd/tools/regression/p1003_1b/ |
| H A D | memlock.c | 48 if (sysconf(_SC_MEMLOCK) == -1) { in memlock()
|
| /freebsd/tools/test/auxinfo/ |
| H A D | auxinfo.c | 52 printf("NCPUs: %ld\n", sysconf(_SC_NPROCESSORS_CONF)); in test_ncpus()
|
| /freebsd/tests/sys/vm/stack/ |
| H A D | stack_mprotect_exec_test.c | 34 pagesize = sysconf(_SC_PAGESIZE); in ATF_TC_BODY()
|
| /freebsd/crypto/heimdal/lib/roken/ |
| H A D | getdtablesize.c | 69 files = sysconf(_SC_OPEN_MAX); in getdtablesize()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/ |
| H A D | enable_execute_stack.c | 56 const uintptr_t pageSize = sysconf(_SC_PAGESIZE); in __enable_execute_stack()
|
| /freebsd/contrib/openpam/lib/libpam/ |
| H A D | pam_start.c | 50 #define HOST_NAME_MAX sysconf(_SC_HOST_NAME_MAX)
|