Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/lib/libc/gen/
H A Dsysconf.c75 sysconf(int name) in sysconf() function
524 value = sysconf(_SC_ASYNCHRONOUS_IO) > 0 && in sysconf()
525 sysconf(_SC_MEMLOCK) > 0 && in sysconf()
526 sysconf(_SC_MEMLOCK_RANGE) > 0 && in sysconf()
527 sysconf(_SC_MESSAGE_PASSING) > 0 && in sysconf()
528 sysconf(_SC_PRIORITY_SCHEDULING) > 0 && in sysconf()
529 sysconf(_SC_REALTIME_SIGNALS) > 0 && in sysconf()
530 sysconf(_SC_SEMAPHORES) > 0 && in sysconf()
531 sysconf(_SC_SHARED_MEMORY_OBJECTS) > 0 && in sysconf()
532 sysconf(_SC_SYNCHRONIZED_IO) > 0 && in sysconf()
[all …]
H A Dinitgroups.c57 ngroups_max = sysconf(_SC_NGROUPS_MAX) + 2; in initgroups()
/freebsd-12.1/contrib/binutils/libiberty/
H A Dphysmem.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()
H A Dgetpagesize.c36 #define GNU_OUR_PAGESIZE sysconf(_SC_PAGESIZE)
/freebsd-12.1/usr.bin/getconf/
H A DMakefile7 SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c \
10 CLEANFILES+= confstr.c limits.c pathconf.c progenv.c sysconf.c \
11 confstr.names limits.names pathconf.names sysconf.names \
35 conflicting.names: confstr.names limits.names sysconf.names
H A Dgetconf.c193 value = sysconf(key); in do_onesys()
265 value = sysconf(key); in do_sysconf()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A Dphysmem.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()
H A Dgetpagesize.c36 #define GNU_OUR_PAGESIZE sysconf(_SC_PAGESIZE)
/freebsd-12.1/contrib/gcclibs/libgomp/config/posix/
H A Dproc.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()
H A Dtime.c76 return 1.0 / sysconf(_SC_CLK_TCK); in omp_get_wtick()
/freebsd-12.1/contrib/ntp/lib/isc/unix/
H A Dos.c33 return sysconf((_SC_NPROCESSORS_ONLN)); in sysconf_ncpus()
35 return sysconf((_SC_NPROC_ONLN)); in sysconf_ncpus()
/freebsd-12.1/contrib/xz/src/common/
H A Dtuklib_cpucores.c85 const long cpus = sysconf(_SC_NPROCESSORS_ONLN); in tuklib_cpucores()
88 const long cpus = sysconf(_SC_NPROC_ONLN); in tuklib_cpucores()
H A Dtuklib_physmem.c147 const long pagesize = sysconf(_SC_PAGESIZE); in tuklib_physmem()
148 const long pages = sysconf(_SC_PHYS_PAGES); in tuklib_physmem()
/freebsd-12.1/contrib/gcclibs/libgomp/config/linux/
H A Dproc.c88 gomp_nthreads_var = sysconf (_SC_NPROCESSORS_ONLN); in gomp_init_num_threads()
133 return sysconf (_SC_NPROCESSORS_ONLN); in get_num_procs()
/freebsd-12.1/contrib/gcc/config/
H A Dsol2.h190 extern long sysconf(int); \
192 int prot = (int) sysconf(515 /* _SC_STACK_PROT */); \
/freebsd-12.1/lib/libpmc/pmu-events/
H A Djson.c48 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile()
77 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
/freebsd-12.1/contrib/netbsd-tests/lib/libpthread/
H A Dt_sem.c124 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-12.1/contrib/netbsd-tests/net/bpf/
H A Dt_bpf.c118 iov_max = sysconf(_SC_IOV_MAX); in ATF_TC_BODY()
119 vm_page_size = sysconf(_SC_PAGE_SIZE); in ATF_TC_BODY()
/freebsd-12.1/crypto/openssh/openbsd-compat/
H A Dbsd-getpagesize.c14 long r = sysconf(_SC_PAGESIZE); in getpagesize()
/freebsd-12.1/contrib/ntp/include/
H A Dlibntp.h4 #define GETDTABLESIZE() ((int)sysconf(_SC_OPEN_MAX))
/freebsd-12.1/contrib/openbsm/compat/
H A Dclosefrom.h42 maxfd = sysconf(_SC_OPEN_MAX); in closefrom()
/freebsd-12.1/gnu/usr.bin/grep/
H A Dgetpagesize.h18 # define getpagesize() sysconf (_SC_PAGESIZE)
/freebsd-12.1/tools/regression/p1003_1b/
H A Dmemlock.c50 if (sysconf(_SC_MEMLOCK) == -1) { in memlock()
/freebsd-12.1/tools/test/auxinfo/
H A Dauxinfo.c54 printf("NCPUs: %ld\n", sysconf(_SC_NPROCESSORS_CONF)); in test_ncpus()
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Dgetdtablesize.c69 files = sysconf(_SC_OPEN_MAX); in getdtablesize()

12345678910