Home
last modified time | relevance | path

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

/linux-6.14.4/fs/bcachefs/
Dutil.c780 static void eytzinger0_find_test_val(u16 *test_array, unsigned nr, u16 search)
785 r = eytzinger0_find_le(test_array, nr,
786 sizeof(test_array[0]),
789 c1 = test_array[r];
792 if (test_array[i] <= search && test_array[i] > c2)
793 c2 = test_array[i];
797 pr_info("[%3u] = %12u", i, test_array[i]);
806 u16 *test_array = kmalloc_array(allocated, sizeof(test_array[0]), GFP_KERNEL);
811 get_random_bytes(test_array, nr * sizeof(test_array[0]));
812 eytzinger0_sort(test_array, nr, sizeof(test_array[0]), cmp_u16, NULL);
[all …]
/linux-6.14.4/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.14.4/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.14.4/kernel/kcsan/
Dkcsan_test.c303 static long test_array[3 * PAGE_SIZE / sizeof(long)]; variable
429 for (i = 0; i < ARRAY_SIZE(test_array); ++i) in test_kernel_rmw_array()
430 test_array[i]++; in test_kernel_rmw_array()