Home
last modified time | relevance | path

Searched refs:bitmap2 (Results 1 – 3 of 3) sorted by relevance

/linux/lib/
H A Dfind_bit_benchmark.c30 static DECLARE_BITMAP(bitmap2, BITMAP_LEN) __initdata;
52 static int __init test_find_first_and_bit(void *bitmap, const void *bitmap2, unsigned long len) in test_find_first_and_bit() argument
62 i = find_first_and_bit(cp, bitmap2, len); in test_find_first_and_bit()
135 const void *bitmap2, unsigned long len) in test_find_next_and_bit() argument
142 i = find_next_and_bit(bitmap, bitmap2, BITMAP_LEN, i + 1); in test_find_next_and_bit()
156 get_random_bytes(bitmap2, sizeof(bitmap2)); in find_bit_test()
168 test_find_first_and_bit(bitmap, bitmap2, BITMAP_LEN / 2); in find_bit_test()
169 test_find_next_and_bit(bitmap, bitmap2, BITMAP_LEN); in find_bit_test()
174 bitmap_zero(bitmap2, BITMAP_LEN); in find_bit_test()
178 __set_bit(get_random_u32_below(BITMAP_LEN), bitmap2); in find_bit_test()
[all …]
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c187 unsigned long long native, filter1, filter2, bitmap1, bitmap2; in main() local
234 bitmap2 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
235 ksft_print_msg("getpid RET_ALLOW 2 filters (bitmap): %llu ns\n", bitmap2); in main()
264 bitmap2 - native); in main()
270 bitmap1 - native - (bitmap2 - bitmap1)); in main()
288 bitmap1 - native, approx, bitmap2 - native, skip); in main()
297 bitmap2 - native, skip); in main()
/linux/tools/include/linux/
H A Dbitmap.h18 const unsigned long *bitmap2, int bits);
20 const unsigned long *bitmap2, unsigned int bits);
22 const unsigned long *bitmap2, unsigned int bits);
26 const unsigned long *bitmap2, unsigned int bits);