/titanic_41/usr/src/ucbhead/sys/ |
H A D | param.h | 75 #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 D | inz_split.c | 38 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 D | inz_region.c | 38 size_t mapsz = sysconf(_SC_PAGESIZE) * 2; in main()
|
H A D | inz_mlock.c | 38 size_t mapsz = sysconf(_SC_PAGESIZE) * 2; in main()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | get_nprocs.c | 35 return ((int)sysconf(_SC_NPROCESSORS_ONLN)); in get_nprocs() 44 return ((int)sysconf(_SC_NPROCESSORS_CONF)); in get_nprocs_conf()
|
H A D | sysconf.c | 34 #pragma weak _sysconf = sysconf 54 sysconf(int name) in sysconf() function 542 return (sysconf(name)); in __sysconf_xpg5()
|
H A D | getpagesize.c | 47 return ((int)sysconf(_SC_PAGESIZE)); in getpagesize()
|
H A D | valloc.c | 45 pagesize = sysconf(_SC_PAGESIZE); in valloc()
|
H A D | initgroups.c | 53 if ((ngroups_max = sysconf(_SC_NGROUPS_MAX)) < 0) { in initgroups()
|
/titanic_41/usr/src/lib/libprtdiag/common/ |
H A D | memory.c | 93 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 D | time.h | 59 extern long sysconf(/* int name */); 66 #define CLK_TCK (sysconf(_SC_CLK_TCK))
|
/titanic_41/usr/src/lib/libmtmalloc/tests/ |
H A D | exhaust.c | 55 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main() 72 ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
|
H A D | dirtymem.c | 51 int ncpus = sysconf(_SC_NPROCESSORS_CONF); in main()
|
H A D | general.c | 50 i = sysconf(_SC_NPROCESSORS_CONF); in main()
|
/titanic_41/usr/src/cmd/powertop/common/ |
H A D | util.c | 91 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 D | mdb_context.c | 65 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 D | getpagesize.c | 54 return ((int) sysconf(_SC_PAGESIZE)); in getpagesize()
|
/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 209 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 D | init_lib.c | 68 return (2 * sysconf(_SC_NPROCESSORS_ONLN)); in umem_get_max_ncpus()
|
/titanic_41/usr/src/cmd/sendmail/db/os/ |
H A D | os_spin.c | 52 return ((nproc = sysconf(_SC_NPROCESSORS_ONLN)) > 1 ? nproc : 1); in __os_sysconf()
|
/titanic_41/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | port-irix.c | 52 if (sysconf(_SC_AUDIT)) { in irix_setusercontext()
|
/titanic_41/usr/src/cmd/prtconf/ |
H A D | prtconf.c | 353 pagesize = sysconf(_SC_PAGESIZE); in main() 354 npages = sysconf(_SC_PHYS_PAGES); in main()
|
/titanic_41/usr/src/cmd/sort/common/ |
H A D | utility.c | 302 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 D | unistd.h | 535 #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 D | threadsappend.c | 95 ncpus = sysconf(_SC_NPROCESSORS_ONLN); in main()
|