Home
last modified time | relevance | path

Searched full:sysconf (Results 1 – 25 of 112) sorted by relevance

12345

/linux-6.12.1/tools/testing/selftests/lsm/
Dlsm_list_modules_test.c20 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
33 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
44 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
59 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
74 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
Dlsm_get_self_attr_test.c29 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
42 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
58 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
77 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
118 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
142 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
Dlsm_set_self_attr_test.c26 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
42 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
58 const long page_size = sysconf(_SC_PAGESIZE); in TEST()
Dcommon.c72 char *names = calloc(sysconf(_SC_PAGESIZE), 1); in attr_lsm_count()
78 if (read_sysfs_lsms(names, sysconf(_SC_PAGESIZE))) in attr_lsm_count()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dcgroup_getset_retval.c28 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_set()
64 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_set_and_get()
107 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_default_zero()
143 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_default_zero_and_set()
188 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_override()
237 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_legacy_eperm()
283 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_setsockopt_legacy_no_override()
336 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_getsockopt_get()
378 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_getsockopt_override()
417 obj->bss->page_size = sysconf(_SC_PAGESIZE); in test_getsockopt_retval_sync()
Dglobal_map_resize.c24 const __u32 desired_sz = sizeof(skel->bss->sum) + sysconf(_SC_PAGE_SIZE) * 2; in global_map_resize_bss_subtest()
93 const __u32 desired_sz = sysconf(_SC_PAGE_SIZE) * 2; in global_map_resize_data_subtest()
Dtest_mmap_inner_array.c9 const long page_size = sysconf(_SC_PAGE_SIZE); in test_mmap_inner_array()
Dsockopt_qos_to_cc.c45 skel->bss->page_size = sysconf(_SC_PAGESIZE); in test_sockopt_qos_to_cc()
/linux-6.12.1/tools/testing/selftests/mincore/
Dmincore_selftest.c37 page_size = sysconf(_SC_PAGESIZE); in TEST()
90 page_size = sysconf(_SC_PAGESIZE); in TEST()
146 page_size = sysconf(_SC_PAGESIZE); in TEST()
198 page_size = sysconf(_SC_PAGESIZE); in TEST()
303 page_size = sysconf(_SC_PAGESIZE); in TEST()
/linux-6.12.1/sound/soc/codecs/
Dsti-sas.c20 /* sysconf 5041: Audio-Gue-Control */
22 /* sysconf 5042: Audio-DAC-Control */
76 /* Read a register from the sysconf reg bank */
90 /* Read a register from the sysconf reg bank */
/linux-6.12.1/tools/power/cpupower/utils/
Dcpupower.c183 cpus_chosen = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
184 online_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
185 offline_cpus = bitmask_alloc(sysconf(_SC_NPROCESSORS_CONF)); in main()
/linux-6.12.1/tools/testing/selftests/mm/
Dpkey-powerpc.h35 #define PAGE_SIZE sysconf(_SC_PAGESIZE)
85 if (sysconf(_SC_PAGESIZE) == 4096) in get_arch_reserved_keys()
/linux-6.12.1/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-6.12.1/tools/testing/selftests/powerpc/mm/
Dlarge_vm_gpr_corruption.c116 SKIP_IF(sysconf(_SC_PAGESIZE) < 65536); in test()
118 page_size = sysconf(_SC_PAGESIZE); in test()
/linux-6.12.1/tools/perf/util/
Dcacheline.c6 #define cache_line_size(cacheline_sizep) *cacheline_sizep = sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
Dbpf_map.c24 sysconf(_SC_NPROCESSORS_CONF)); in bpf_map__alloc_value()
/linux-6.12.1/tools/lib/perf/
Dcore.c36 page_size = sysconf(_SC_PAGE_SIZE); in libperf_init()
/linux-6.12.1/tools/testing/selftests/user_events/
Dperf_test.c138 int page_size = sysconf(_SC_PAGESIZE); in TEST_F()
202 int page_size = sysconf(_SC_PAGESIZE); in TEST_F()
/linux-6.12.1/tools/virtio/virtio-trace/
Dtrace-agent.c17 #define PAGE_SIZE (sysconf(_SC_PAGE_SIZE))
32 int nr_cpus = (int)sysconf(_SC_NPROCESSORS_CONF); in get_total_cpus()
/linux-6.12.1/tools/testing/selftests/mqueue/
Dmq_perf_tests.c441 mq_prio_max = sysconf(_SC_MQ_PRIO_MAX); in perf_test_thread()
443 shutdown(2, "sysconf(_SC_MQ_PRIO_MAX)", __LINE__); in perf_test_thread()
555 if (sysconf(_SC_NPROCESSORS_ONLN) == -1) { in main()
556 perror("sysconf(_SC_NPROCESSORS_ONLN)"); in main()
565 cpus_online = MIN(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
/linux-6.12.1/tools/testing/selftests/cachestat/
Dtest_cachestat.c122 size_t PS = sysconf(_SC_PAGESIZE); in test_cachestat()
207 size_t PS = sysconf(_SC_PAGESIZE); in test_cachestat_shmem()
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/sampling_tests/
Dmisc.c19 #define PAGE_SIZE sysconf(_SC_PAGESIZE)
172 size_t page_size = sysconf(_SC_PAGESIZE); in event_sample_buf_mmap()
202 size_t page_size = sysconf(_SC_PAGESIZE); in __event_read_samples()
/linux-6.12.1/Documentation/devicetree/bindings/phy/
Dintel,lgm-emmc-phy.yaml53 sysconf: chiptop@e0200000 {
/linux-6.12.1/tools/testing/selftests/proc/
Dthread-self.c49 const int PAGE_SIZE = sysconf(_SC_PAGESIZE); in main()
/linux-6.12.1/tools/testing/radix-tree/
Dmultiorder.c200 const int num_threads = sysconf(_SC_NPROCESSORS_ONLN); in multiorder_iteration_race()
255 const int num_threads = sysconf(_SC_NPROCESSORS_ONLN) * 4; in load_race()

12345