Home
last modified time | relevance | path

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

123

/Linux-v5.4/tools/testing/selftests/vm/
Dtranshuge-stress.c67 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()
Dgup_benchmark.c15 #define PAGE_SIZE sysconf(_SC_PAGESIZE)
/Linux-v5.4/tools/perf/pmu-events/
Djson.c46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile()
75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
/Linux-v5.4/tools/perf/util/
Dcacheline.c6 #define cache_line_size(cacheline_sizep) *cacheline_sizep = sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
Dsmt.c18 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on()
Dbpf_map.c23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value()
/Linux-v5.4/tools/testing/selftests/timers/
Dadjtick.c184 systick = sysconf(_SC_CLK_TCK); in main()
185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
/Linux-v5.4/tools/perf/lib/
Dcore.c35 page_size = sysconf(_SC_PAGE_SIZE); in libperf_init()
/Linux-v5.4/tools/virtio/virtio-trace/
Dtrace-agent.c17 #define PAGE_SIZE (sysconf(_SC_PAGE_SIZE))
31 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus()
/Linux-v5.4/tools/testing/selftests/proc/
Dthread-self.c49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
Dproc-self-map-files-001.c49 const unsigned int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
Dproc-self-map-files-002.c49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
/Linux-v5.4/tools/testing/selftests/powerpc/tm/
Dtm-vmx-unavail.c98 threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in tm_vmx_unavail_test()
Dtm-tmspr.c107 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
/Linux-v5.4/tools/power/acpi/os_specific/service_layers/
Dosunixmap.c46 return sysconf(_SC_PAGESIZE); in acpi_os_get_page_size()
/Linux-v5.4/tools/testing/selftests/powerpc/math/
Dfpu_preempt.c60 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_fpu()
Dvmx_preempt.c60 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vmx()
Dvsx_preempt.c95 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_vsx()
Dfpu_signal.c81 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_fpu()
Dvmx_signal.c99 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_signal_vmx()
/Linux-v5.4/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c30 page_size = sysconf(_SC_PAGESIZE); in test()
/Linux-v5.4/tools/testing/selftests/futex/functional/
Dfutex_wait_uninitialized_heap.c89 page_size = sysconf(_SC_PAGESIZE); in main()
/Linux-v5.4/Documentation/devicetree/bindings/thermal/
Dst-thermal.txt16 reg : For non-sysconf based sensors, this should be the physical base
/Linux-v5.4/tools/perf/arch/arm/util/
Dauxtrace.c21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus()
/Linux-v5.4/tools/perf/jvmti/
Djvmti_agent.c201 pgsz = sysconf(_SC_PAGESIZE); in perf_open_marker_file()
228 pgsz = sysconf(_SC_PAGESIZE); in perf_close_marker_file()

123