Home
last modified time | relevance | path

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

/tools/lib/
Dbitmap.c22 const unsigned long *bitmap2, int bits) in __bitmap_or() argument
28 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
61 const unsigned long *bitmap2, unsigned int bits) in __bitmap_and() argument
68 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
70 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
76 const unsigned long *bitmap2, unsigned int bits) in __bitmap_equal() argument
80 if (bitmap1[k] != bitmap2[k]) in __bitmap_equal()
84 if ((bitmap1[k] ^ bitmap2[k]) & BITMAP_LAST_WORD_MASK(bits)) in __bitmap_equal()
91 const unsigned long *bitmap2, unsigned int bits) in __bitmap_intersects() argument
95 if (bitmap1[k] & bitmap2[k]) in __bitmap_intersects()
[all …]
/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c143 unsigned long long native, filter1, filter2, bitmap1, bitmap2; in main() local
181 bitmap2 = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
182 printf("getpid RET_ALLOW 2 filters (bitmap): %llu ns\n", bitmap2); in main()
209 bitmap2 - native); in main()
215 bitmap1 - native - (bitmap2 - bitmap1)); in main()
231 bitmap1 - native, approx, bitmap2 - native); in main()
238 ret |= compare("entry", "≈", "2 bitmapped", entry, approx, bitmap2 - native); in main()
/tools/include/linux/
Dbitmap.h17 const unsigned long *bitmap2, int bits);
19 const unsigned long *bitmap2, unsigned int bits);
21 const unsigned long *bitmap2, unsigned int bits);
24 const unsigned long *bitmap2, unsigned int bits);