Searched full:sysconf (Results 1 – 25 of 74) sorted by relevance
123
/linux-5.10/tools/testing/selftests/mincore/ |
D | mincore_selftest.c | 38 page_size = sysconf(_SC_PAGESIZE); in TEST() 91 page_size = sysconf(_SC_PAGESIZE); in TEST() 147 page_size = sysconf(_SC_PAGESIZE); in TEST() 199 page_size = sysconf(_SC_PAGESIZE); in TEST() 296 page_size = sysconf(_SC_PAGESIZE); in TEST()
|
/linux-5.10/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 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()
|
D | pkey-powerpc.h | 35 #define PAGE_SIZE sysconf(_SC_PAGESIZE) 85 if (sysconf(_SC_PAGESIZE) == 4096) in get_arch_reserved_keys()
|
/linux-5.10/sound/soc/codecs/ |
D | sti-sas.c | 20 /* sysconf 5041: Audio-Gue-Control */ 22 /* sysconf 5042: Audio-DAC-Control */ 83 /* Read a register from the sysconf reg bank */ 97 /* Read a register from the sysconf reg bank */
|
/linux-5.10/tools/testing/selftests/timers/ |
D | adjtick.c | 184 systick = sysconf(_SC_CLK_TCK); in main() 185 systick = USEC_PER_SEC/sysconf(_SC_CLK_TCK); in main()
|
/linux-5.10/tools/perf/pmu-events/ |
D | json.c | 46 unsigned ps = sysconf(_SC_PAGESIZE); in mapfile() 75 unsigned ps = sysconf(_SC_PAGESIZE); in unmapfile()
|
/linux-5.10/tools/perf/util/ |
D | cacheline.c | 6 #define cache_line_size(cacheline_sizep) *cacheline_sizep = sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
|
D | smt.c | 21 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on()
|
D | bpf_map.c | 23 return malloc(round_up(def->value_size, 8) * sysconf(_SC_NPROCESSORS_CONF)); in bpf_map_def__alloc_value()
|
D | mmap.c | 15 #include <unistd.h> // sysconf() 168 delta_max = sysconf(_SC_AIO_PRIO_DELTA_MAX); in perf_mmap__aio_mmap()
|
/linux-5.10/arch/ia64/include/uapi/asm/ |
D | param.h | 25 * get the HZ value is via sysconf(_SC_CLK_TCK).
|
/linux-5.10/tools/lib/perf/ |
D | core.c | 36 page_size = sysconf(_SC_PAGE_SIZE); in libperf_init()
|
/linux-5.10/Documentation/devicetree/bindings/thermal/ |
D | st-thermal.txt | 16 reg : For non-sysconf based sensors, this should be the physical base
|
/linux-5.10/tools/virtio/virtio-trace/ |
D | trace-agent.c | 17 #define PAGE_SIZE (sysconf(_SC_PAGE_SIZE)) 31 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus()
|
/linux-5.10/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 436 mq_prio_max = sysconf(_SC_MQ_PRIO_MAX); in perf_test_thread() 438 shutdown(2, "sysconf(_SC_MQ_PRIO_MAX)", __LINE__); in perf_test_thread() 550 if (sysconf(_SC_NPROCESSORS_ONLN) == -1) { in main() 551 perror("sysconf(_SC_NPROCESSORS_ONLN)"); in main() 554 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
|
/linux-5.10/Documentation/devicetree/bindings/phy/ |
D | intel,lgm-emmc-phy.yaml | 53 sysconf: chiptop@e0200000 {
|
D | intel,combo-phy.yaml | 97 intel,syscfg = <&sysconf 0>;
|
/linux-5.10/tools/testing/selftests/proc/ |
D | thread-self.c | 49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
|
/linux-5.10/Documentation/devicetree/bindings/mmc/ |
D | arasan,sdhci.yaml | 252 arasan,soc-ctl-syscon = <&sysconf>; 270 arasan,soc-ctl-syscon = <&sysconf>;
|
/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | test_lsm.c | 28 sz = sysconf(_SC_PAGESIZE); in stack_mprotect()
|
D | mmap.c | 12 long page_size = sysconf(_SC_PAGE_SIZE); in roundup_page() 21 const long page_size = sysconf(_SC_PAGE_SIZE); in test_mmap()
|
/linux-5.10/tools/testing/selftests/powerpc/tm/ |
D | tm-vmx-unavail.c | 98 threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in tm_vmx_unavail_test()
|
/linux-5.10/tools/testing/selftests/powerpc/mm/ |
D | large_vm_fork_separation.c | 30 page_size = sysconf(_SC_PAGESIZE); in test()
|
/linux-5.10/tools/perf/arch/arm/util/ |
D | auxtrace.c | 21 int ret, i, nr_cpus = sysconf(_SC_NPROCESSORS_CONF); in find_all_arm_spe_pmus()
|
/linux-5.10/tools/testing/selftests/powerpc/math/ |
D | fpu_preempt.c | 60 threads = sysconf(_SC_NPROCESSORS_ONLN) * THREAD_FACTOR; in test_preempt_fpu()
|
123