| /freebsd-14.2/lib/libc/gen/ |
| H A D | sysconf.c | 73 sysconf(int name) in sysconf() function 519 value = sysconf(_SC_ASYNCHRONOUS_IO) > 0 && in sysconf() 520 sysconf(_SC_MEMLOCK) > 0 && in sysconf() 521 sysconf(_SC_MEMLOCK_RANGE) > 0 && in sysconf() 522 sysconf(_SC_MESSAGE_PASSING) > 0 && in sysconf() 523 sysconf(_SC_PRIORITY_SCHEDULING) > 0 && in sysconf() 524 sysconf(_SC_REALTIME_SIGNALS) > 0 && in sysconf() 525 sysconf(_SC_SEMAPHORES) > 0 && in sysconf() 526 sysconf(_SC_SHARED_MEMORY_OBJECTS) > 0 && in sysconf() 527 sysconf(_SC_SYNCHRONIZED_IO) > 0 && in sysconf() [all …]
|
| H A D | initgroups.c | 55 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 2; in initgroups()
|
| /freebsd-14.2/usr.bin/getconf/ |
| H A D | Makefile | 6 SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c \ 9 CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \ 10 confstr.names limits.names pathconf.names sysconf.names \ 34 conflicting.names: confstr.names limits.names sysconf.names
|
| H A D | getconf.c | 191 value = sysconf(key); in do_onesys() 263 value = sysconf(key); in do_sysconf()
|
| /freebsd-14.2/contrib/xz/src/common/ |
| H A D | tuklib_cpucores.c | 94 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores() 97 const long cpus = sysconf(_SC_NPROC_ONLN); in tuklib_cpucores()
|
| H A D | tuklib_physmem.c | 164 const long pagesize = sysconf(_SC_PAGESIZE); in tuklib_physmem() 165 const long pages = sysconf(_SC_PHYS_PAGES); in tuklib_physmem()
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_append.c | 117 if (use_odirect && ((blocksize % sysconf(_SC_PAGE_SIZE)) != 0)) { in parse_options() 154 err = posix_memalign((void **)&buf, sysconf(_SC_PAGE_SIZE), in main()
|
| /freebsd-14.2/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-14.2/sys/contrib/openzfs/lib/libspl/ |
| H A D | page.c | 32 pagesize = sysconf(_SC_PAGESIZE); in spl_pagesize()
|
| /freebsd-14.2/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-14.2/contrib/libfido2/openbsd-compat/ |
| H A D | bsd-getpagesize.c | 16 long r = sysconf(_SC_PAGESIZE); in getpagesize()
|
| /freebsd-14.2/contrib/ntp/include/ |
| H A D | libntp.h | 4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
|
| /freebsd-14.2/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-14.2/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-14.2/contrib/openbsm/compat/ |
| H A D | closefrom.h | 42 maxfd = sysconf(_SC_OPEN_MAX); in closefrom()
|
| /freebsd-14.2/tools/regression/p1003_1b/ |
| H A D | memlock.c | 48 if (sysconf(_SC_MEMLOCK) == -1) { in memlock()
|
| /freebsd-14.2/tests/sys/vm/stack/ |
| H A D | stack_mprotect_exec_test.c | 34 pagesize = sysconf(_SC_PAGESIZE); in ATF_TC_BODY()
|
| /freebsd-14.2/tools/test/auxinfo/ |
| H A D | auxinfo.c | 52 printf("NCPUs: %ld\n", sysconf(_SC_NPROCESSORS_CONF)); in test_ncpus()
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | getdtablesize.c | 69 files = sysconf(_SC_OPEN_MAX); in getdtablesize()
|
| /freebsd-14.2/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-14.2/contrib/openpam/lib/libpam/ |
| H A D | pam_start.c | 50 #define HOST_NAME_MAX sysconf(_SC_HOST_NAME_MAX)
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
| H A D | threadsappend.c | 98 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/threadsappend/ |
| H A D | threadsappend.c | 95 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|
| /freebsd-14.2/bin/nproc/ |
| H A D | nproc.c | 113 cpus = sysconf(_SC_NPROCESSORS_CONF); in main()
|