Home
last modified time | relevance | path

Searched refs:test_array (Results 1 – 4 of 4) sorted by relevance

/linux-6.8/tools/testing/selftests/bpf/progs/
Dtest_subprogs_extable.c12 } test_array SEC(".maps");
26 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG()
36 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG()
46 bpf_for_each_map_elem(&test_array, test_cb, NULL, 0); in BPF_PROG()
/linux-6.8/fs/bcachefs/
Dutil.c1105 static void eytzinger0_find_test_val(u16 *test_array, unsigned nr, u16 search)
1110 r = eytzinger0_find_le(test_array, nr,
1111 sizeof(test_array[0]),
1114 c1 = test_array[r];
1117 if (test_array[i] <= search && test_array[i] > c2)
1118 c2 = test_array[i];
1122 pr_info("[%3u] = %12u", i, test_array[i]);
1131 u16 *test_array = kmalloc_array(allocated, sizeof(test_array[0]), GFP_KERNEL);
1136 get_random_bytes(test_array, nr * sizeof(test_array[0]));
1137 eytzinger0_sort(test_array, nr, sizeof(test_array[0]), cmp_u16, NULL);
[all …]
/linux-6.8/tools/testing/selftests/bpf/prog_tests/
Dpercpu_alloc.c7 static void test_array(void) in test_array() function
121 test_array(); in test_percpu_alloc()
/linux-6.8/kernel/kcsan/
Dkcsan_test.c303 static long test_array[3 * PAGE_SIZE / sizeof(long)]; variable
426 for (i = 0; i < ARRAY_SIZE(test_array); ++i) in test_kernel_rmw_array()
427 test_array[i]++; in test_kernel_rmw_array()