Home
last modified time | relevance | path

Searched refs:sysconf (Results 1 – 25 of 226) sorted by relevance

12345678910

/NextBSD/lib/libc/gen/
HDsysconf.c74 sysconf(int name) in sysconf() function
527 value = sysconf(_SC_ASYNCHRONOUS_IO) > 0 && in sysconf()
528 sysconf(_SC_MEMLOCK) > 0 && in sysconf()
529 sysconf(_SC_MEMLOCK_RANGE) > 0 && in sysconf()
530 sysconf(_SC_MESSAGE_PASSING) > 0 && in sysconf()
531 sysconf(_SC_PRIORITY_SCHEDULING) > 0 && in sysconf()
532 sysconf(_SC_REALTIME_SIGNALS) > 0 && in sysconf()
533 sysconf(_SC_SEMAPHORES) > 0 && in sysconf()
534 sysconf(_SC_SHARED_MEMORY_OBJECTS) > 0 && in sysconf()
535 sysconf(_SC_SYNCHRONIZED_IO) > 0 && in sysconf()
[all …]
HDinitgroups.c57 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 2; in initgroups()
/NextBSD/usr.bin/getconf/
HDMakefile.depend26 sysconf.o: sysconf.c
27 sysconf.po: sysconf.c
HDMakefile5 SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c
7 CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \
8 confstr.names limits.names pathconf.names sysconf.names \
31 conflicting.names: confstr.names limits.names sysconf.names
/NextBSD/contrib/binutils/libiberty/
HDphysmem.c87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total()
88 double pagesize = sysconf (_SC_PAGESIZE); in physmem_total()
112 double pagesize = sysconf (_SC_PAGESIZE); in physmem_total()
191 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available()
192 double pagesize = sysconf (_SC_PAGESIZE); in physmem_available()
218 double pagesize = sysconf (_SC_PAGESIZE); in physmem_available()
HDgetpagesize.c36 #define GNU_OUR_PAGESIZE sysconf(_SC_PAGESIZE)
/NextBSD/contrib/gcclibs/libiberty/
HDphysmem.c87 double pages = sysconf (_SC_PHYS_PAGES); in physmem_total()
88 double pagesize = sysconf (_SC_PAGESIZE); in physmem_total()
112 double pagesize = sysconf (_SC_PAGESIZE); in physmem_total()
221 double pages = sysconf (_SC_AVPHYS_PAGES); in physmem_available()
222 double pagesize = sysconf (_SC_PAGESIZE); in physmem_available()
248 double pagesize = sysconf (_SC_PAGESIZE); in physmem_available()
HDgetpagesize.c36 #define GNU_OUR_PAGESIZE sysconf(_SC_PAGESIZE)
/NextBSD/contrib/gcclibs/libgomp/config/posix/
HDproc.c51 gomp_nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads()
68 n_onln = sysconf (_SC_NPROCESSORS_ONLN); in gomp_dynamic_max_threads()
97 return sysconf (_SC_NPROCESSORS_ONLN); in omp_get_num_procs()
HDtime.c76 return 1.0 / sysconf(_SC_CLK_TCK); in omp_get_wtick()
/NextBSD/contrib/ntp/lib/isc/unix/
HDos.c33 return sysconf((_SC_NPROCESSORS_ONLN)); in sysconf_ncpus()
35 return sysconf((_SC_NPROC_ONLN)); in sysconf_ncpus()
/NextBSD/contrib/xz/src/common/
HDtuklib_cpucores.c76 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores()
79 const long cpus = sysconf(_SC_NPROC_ONLN); in tuklib_cpucores()
HDtuklib_physmem.c145 const long pagesize = sysconf(_SC_PAGESIZE); in tuklib_physmem()
146 const long pages = sysconf(_SC_PHYS_PAGES); in tuklib_physmem()
/NextBSD/contrib/gcclibs/libgomp/config/linux/
HDproc.c88 gomp_nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads()
133 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
/NextBSD/contrib/gcc/config/
HDsol2.h190 extern long sysconf(int); \
192 int prot = (int) sysconf(515 /* _SC_STACK_PROT */); \
/NextBSD/contrib/netbsd-tests/lib/librt/
HDt_sem.c86 if (sysconf(_SC_SEMAPHORES) == -1) in ATF_TC_BODY()
130 if (sysconf(_SC_SEMAPHORES) == -1) in ATF_TC_BODY()
/NextBSD/contrib/netbsd-tests/net/bpf/
HDt_bpf.c118 iov_max = sysconf(_SC_IOV_MAX); in ATF_TC_BODY()
119 vm_page_size = sysconf(_SC_PAGE_SIZE); in ATF_TC_BODY()
/NextBSD/contrib/netbsd-tests/lib/libpthread/
HDt_sem.c127 ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno)); in ATF_TC_BODY()
166 ATF_REQUIRE_MSG(-1 != sysconf(_SC_SEMAPHORES), "%s", strerror(errno)); in ATF_TC_BODY()
/NextBSD/contrib/ntp/include/
HDlibntp.h4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
/NextBSD/contrib/openbsm/compat/
HDclosefrom.h42 maxfd = sysconf(_SC_OPEN_MAX); in closefrom()
/NextBSD/gnu/usr.bin/grep/
HDgetpagesize.h18 # define getpagesize() sysconf (_SC_PAGESIZE)
/NextBSD/tools/regression/p1003_1b/
HDmemlock.c48 if (sysconf(_SC_MEMLOCK) == -1) { in memlock()
/NextBSD/crypto/openssh/openbsd-compat/
HDbsd-cray.c219 if (SecureSys = (int)sysconf(_SC_CRAY_SECURE_SYS)) { in cray_setup()
644 if (!sysconf(_SC_CRAY_PRIV_SU)) in drop_cray_privs()
646 if (!sysconf(_SC_CRAY_POSIX_PRIV)) in drop_cray_privs()
651 if (sysconf(_SC_CRAY_SECURE_MAC)) { in drop_cray_privs()
/NextBSD/bin/cat/
HDcat.c282 if (sysconf(_SC_PHYS_PAGES) > PHYSPAGES_THRESHOLD) in raw_cat()
288 (blksize_t)sysconf(_SC_PAGESIZE)); in raw_cat()
/NextBSD/tools/test/auxinfo/
HDauxinfo.c54 printf("NCPUs: %ld\n", sysconf(_SC_NPROCESSORS_CONF)); in test_ncpus()

12345678910