Searched refs:find_nth_bit (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/lib/ |
D | test_bitmap.c | 239 expect_eq_uint(10, find_nth_bit(bmap, 64 * 3, 0)); in test_find_nth_bit() 240 expect_eq_uint(20, find_nth_bit(bmap, 64 * 3, 1)); in test_find_nth_bit() 241 expect_eq_uint(30, find_nth_bit(bmap, 64 * 3, 2)); in test_find_nth_bit() 242 expect_eq_uint(40, find_nth_bit(bmap, 64 * 3, 3)); in test_find_nth_bit() 243 expect_eq_uint(50, find_nth_bit(bmap, 64 * 3, 4)); in test_find_nth_bit() 244 expect_eq_uint(60, find_nth_bit(bmap, 64 * 3, 5)); in test_find_nth_bit() 245 expect_eq_uint(80, find_nth_bit(bmap, 64 * 3, 6)); in test_find_nth_bit() 246 expect_eq_uint(123, find_nth_bit(bmap, 64 * 3, 7)); in test_find_nth_bit() 247 expect_eq_uint(64 * 3, find_nth_bit(bmap, 64 * 3, 8)); in test_find_nth_bit() 249 expect_eq_uint(10, find_nth_bit(bmap, 64 * 3 - 1, 0)); in test_find_nth_bit() [all …]
|
D | find_bit_benchmark.c | 125 l = find_nth_bit(bitmap, len, n); in test_find_nth_bit()
|
D | bitmap.c | 1020 set_bit(find_nth_bit(new, nbits, n % w), dst); in bitmap_remap() 1059 return find_nth_bit(new, bits, n % w); in bitmap_bitremap()
|
/linux-6.1.9/include/linux/ |
D | find.h | 191 unsigned long find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) in find_nth_bit() function
|
D | nodemask.h | 519 bit = find_nth_bit(maskp->bits, MAX_NUMNODES, prandom_u32_max(w)); in node_random()
|
D | cpumask.h | 359 return find_nth_bit(cpumask_bits(srcp), nr_cpumask_bits, cpumask_check(cpu)); in cpumask_nth()
|