Home
last modified time | relevance | path

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

12345678

/titanic_41/usr/src/ucbhead/sys/
H A Dparam.h75 #define MAXPID ((pid_t)sysconf(_SC_MAXPID)) /* max process id */
85 #define HZ ((int)sysconf(_SC_CLK_TCK)) /* ticks/second of the clock */
86 #define TICK (1000000000/((int)sysconf(_SC_CLK_TCK)))
233 #define PAGESIZE (sysconf(_SC_PAGESIZE)) /* All the above, for logical */
/titanic_41/usr/src/test/libc-tests/tests/random/
H A Dinz_split.c38 size_t mapsz = sysconf(_SC_PAGESIZE) * 8; in main()
39 size_t spltsz = sysconf(_SC_PAGESIZE) * 4; in main()
40 size_t spltoff = sysconf(_SC_PAGESIZE) * 2; in main()
H A Dinz_region.c38 size_t mapsz = sysconf(_SC_PAGESIZE) * 2; in main()
H A Dinz_mlock.c38 size_t mapsz = sysconf(_SC_PAGESIZE) * 2; in main()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dget_nprocs.c35 return ((int)sysconf(_SC_NPROCESSORS_ONLN)); in get_nprocs()
44 return ((int)sysconf(_SC_NPROCESSORS_CONF)); in get_nprocs_conf()
H A Dsysconf.c34 #pragma weak _sysconf = sysconf
54 sysconf(int name) in sysconf() function
542 return (sysconf(name)); in __sysconf_xpg5()
H A Dgetpagesize.c47 return ((int)sysconf(_SC_PAGESIZE)); in getpagesize()
H A Dvalloc.c45 pagesize = sysconf(_SC_PAGESIZE); in valloc()
H A Dinitgroups.c53 if ((ngroups_max = sysconf(_SC_NGROUPS_MAX)) < 0) { in initgroups()
/titanic_41/usr/src/lib/libprtdiag/common/
H A Dmemory.c93 if (sysconf(_SC_PAGESIZE) == -1 || sysconf(_SC_PHYS_PAGES) == -1) in display_memorysize()
99 (uint64_t)sysconf(_SC_PAGESIZE) * \ in display_memorysize()
100 (uint64_t)sysconf(_SC_PHYS_PAGES); in display_memorysize()
415 total_sys_mem = (((uint64_t)sysconf(_SC_PAGESIZE) * \ in display_us3_banks()
416 (uint64_t)sysconf(_SC_PHYS_PAGES)) / MBYTE); in display_us3_banks()
/titanic_41/usr/src/lib/libbc/inc/5include/
H A Dtime.h59 extern long sysconf(/* int name */);
66 #define CLK_TCK (sysconf(_SC_CLK_TCK))
/titanic_41/usr/src/lib/libmtmalloc/tests/
H A Dexhaust.c55 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
72 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
H A Ddirtymem.c51 int ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
H A Dgeneral.c50 i = sysconf(_SC_NPROCESSORS_CONF); in main()
/titanic_41/usr/src/cmd/powertop/common/
H A Dutil.c91 max = sysconf(_SC_CPUID_MAX); in pt_enumerate_cpus()
92 cpus_conf = sysconf(_SC_NPROCESSORS_CONF); in pt_enumerate_cpus()
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c65 size_t pagesize = sysconf(_SC_PAGESIZE); in mdb_context_create()
66 int prot = sysconf(_SC_STACK_PROT); in mdb_context_create()
/titanic_41/usr/src/ucblib/libucb/port/sys/
H A Dgetpagesize.c54 return ((int) sysconf(_SC_PAGESIZE)); in getpagesize()
/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid.c209 pwd_buflen = (size_t)sysconf(_SC_GETPW_R_SIZE_MAX); in daemon_init()
210 grp_buflen = (size_t)sysconf(_SC_GETGR_R_SIZE_MAX); in daemon_init()
/titanic_41/usr/src/lib/libumem/common/
H A Dinit_lib.c68 return (2 * sysconf(_SC_NPROCESSORS_ONLN)); in umem_get_max_ncpus()
/titanic_41/usr/src/cmd/sendmail/db/os/
H A Dos_spin.c52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1); in __os_sysconf()
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dport-irix.c52 if (sysconf(_SC_AUDIT)) { in irix_setusercontext()
/titanic_41/usr/src/cmd/prtconf/
H A Dprtconf.c353 pagesize = sysconf(_SC_PAGESIZE); in main()
354 npages = sysconf(_SC_PHYS_PAGES); in main()
/titanic_41/usr/src/cmd/sort/common/
H A Dutility.c302 size_t phys_total = sysconf(_SC_PHYS_PAGES) * sysconf(_SC_PAGESIZE); in strtomem()
351 size_t phys_avail = sysconf(_SC_AVPHYS_PAGES) * sysconf(_SC_PAGESIZE); in available_memory()
/titanic_41/usr/src/head/
H A Dunistd.h535 #pragma redefine_extname sysconf __sysconf_xpg5
537 #define sysconf __sysconf_xpg5 macro
540 extern long sysconf(int);
/titanic_41/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c95 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()

12345678