Home
last modified time | relevance | path

Searched refs:find_nth_bit (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/lib/
Dtest_bitmap.c239 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 …]
Dfind_bit_benchmark.c125 l = find_nth_bit(bitmap, len, n); in test_find_nth_bit()
Dbitmap.c1020 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.6.21/include/linux/
Dfind.h226 unsigned long find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n) in find_nth_bit() function
Dnodemask.h519 bit = find_nth_bit(maskp->bits, MAX_NUMNODES, get_random_u32_below(w)); in node_random()
Dcpumask.h399 return find_nth_bit(cpumask_bits(srcp), small_cpumask_bits, cpumask_check(cpu)); in cpumask_nth()