Searched refs:sysconf (Results 1 – 25 of 52) sorted by relevance
123
67 ram = sysconf(_SC_PHYS_PAGES); in main()68 if (ram > SIZE_MAX / sysconf(_SC_PAGESIZE) / 4) in main()71 ram *= sysconf(_SC_PAGESIZE); in main()
15 #define PAGE_SIZE sysconf(_SC_PAGESIZE)
46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile()75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
6 #define cache_line_size(cacheline_sizep) *cacheline_sizep = sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
18 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on()
23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value()
184 systick = sysconf(_SC_CLK_TCK); in main()185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
35 page_size = sysconf(_SC_PAGE_SIZE); in libperf_init()
17 #define PAGE_SIZE (sysconf(_SC_PAGE_SIZE))31 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus()
49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
49 const unsigned int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
98 threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in tm_vmx_unavail_test()
107 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
46 return sysconf(_SC_PAGESIZE); in acpi_os_get_page_size()
60 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_fpu()
60 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vmx()
95 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vsx()
81 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_fpu()
99 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_vmx()
30 page_size = sysconf(_SC_PAGESIZE); in test()
89 page_size = sysconf(_SC_PAGESIZE); in main()
16 reg : For non-sysconf based sensors, this should be the physical base
21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus()
201 pgsz = sysconf(_SC_PAGESIZE); in perf_open_marker_file()228 pgsz = sysconf(_SC_PAGESIZE); in perf_close_marker_file()