Home
last modified time | relevance | path

Searched refs:clump (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/include/asm-generic/bitops/
H A Dfind.h84 * find_next_clump8 - find next 8-bit clump with set bits in a memory region
85 * @clump: location to store copy of found clump
90 * Returns the bit offset for the next set clump; the found clump value is
91 * copied to the location pointed by @clump. If no bits are set, returns @size.
93 extern unsigned long find_next_clump8(unsigned long *clump,
97 #define find_first_clump8(clump, bits, size) \
98 find_next_clump8((clump), (bits), (size), 0)
/kernel/linux/linux-5.10/lib/
H A Dtest_bitmap.c132 const unsigned long *const clump) in __check_eq_clump8()
137 pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n", in __check_eq_clump8()
144 pr_warn("[%s:%u] bit offset for zero clump: expected nonzero clump, got bit offset %u with clump value 0", in __check_eq_clump8()
149 if (*clump != exp) { in __check_eq_clump8()
150 pr_warn("[%s:%u] expected clump value of 0x%lX, got clump value of 0x%lX", in __check_eq_clump8()
151 srcfile, line, exp, *clump); in __check_eq_clump8()
538 0x38, /* Repeated clump */
128 __check_eq_clump8(const char *srcfile, unsigned int line, const unsigned int offset, const unsigned int size, const unsigned char *const clump_exp, const unsigned long *const clump) __check_eq_clump8() argument
549 unsigned long clump; test_for_each_set_clump8() local
[all...]
H A Dfind_bit.c181 unsigned long find_next_clump8(unsigned long *clump, const unsigned long *addr, in find_next_clump8() argument
189 *clump = bitmap_get_value8(addr, offset); in find_next_clump8()
/kernel/linux/linux-6.6/include/linux/
H A Dfind.h464 * find_next_clump8 - find next 8-bit clump with set bits in a memory region
465 * @clump: location to store copy of found clump
470 * Returns the bit offset for the next set clump; the found clump value is
471 * copied to the location pointed by @clump. If no bits are set, returns @size.
473 extern unsigned long find_next_clump8(unsigned long *clump,
477 #define find_first_clump8(clump, bits, size) \
478 find_next_clump8((clump), (bits), (size), 0)
659 * for_each_set_clump8 - iterate over bitmap for each 8-bit clump wit
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dbitops.h54 * for_each_set_clump8 - iterate over bitmap for each 8-bit clump with set bits
56 * @clump: location to store copy of current 8-bit clump
60 #define for_each_set_clump8(start, clump, bits, size) \
61 for ((start) = find_first_clump8(&(clump), (bits), (size)); \
63 (start) = find_next_clump8(&(clump), (bits), (size), (start) + 8))
/kernel/linux/linux-6.6/lib/
H A Dfind_bit.c223 unsigned long find_next_clump8(unsigned long *clump, const unsigned long *addr, in find_next_clump8() argument
231 *clump = bitmap_get_value8(addr, offset); in find_next_clump8()
H A Dtest_bitmap.c136 const unsigned long *const clump) in __check_eq_clump8()
141 pr_warn("[%s:%u] bit offset for clump out-of-bounds: expected less than %u, got %u\n", in __check_eq_clump8()
148 pr_warn("[%s:%u] bit offset for zero clump: expected nonzero clump, got bit offset %u with clump value 0", in __check_eq_clump8()
153 if (*clump != exp) { in __check_eq_clump8()
154 pr_warn("[%s:%u] expected clump value of 0x%lX, got clump value of 0x%lX", in __check_eq_clump8()
155 srcfile, line, exp, *clump); in __check_eq_clump8()
713 0x38, /* Repeated clump */
132 __check_eq_clump8(const char *srcfile, unsigned int line, const unsigned int offset, const unsigned int size, const unsigned char *const clump_exp, const unsigned long *const clump) __check_eq_clump8() argument
724 unsigned long clump; test_for_each_set_clump8() local
[all...]
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinctrl-keembay.c1243 unsigned long reg, clump = 0, bit = 0; in keembay_gpio_irq_handler() local
1268 for_each_set_clump8(bit, clump, &reg, BITS_PER_TYPE(typeof(reg))) { in keembay_gpio_irq_handler()
1269 pin = clump & ~KEEMBAY_GPIO_IRQ_ENABLE; in keembay_gpio_irq_handler()
1274 if (val && (clump & KEEMBAY_GPIO_IRQ_ENABLE)) in keembay_gpio_irq_handler()
1401 unsigned long reg, clump = 0, pos = 0; in keembay_gpio_irq_disable() local
1406 for_each_set_clump8(pos, clump, &reg, BITS_PER_TYPE(typeof(reg))) { in keembay_gpio_irq_disable()
1407 if ((clump & ~KEEMBAY_GPIO_IRQ_ENABLE) == pin) { in keembay_gpio_irq_disable()
/kernel/linux/linux-6.6/fs/ntfs3/
H A Dattrib.c36 u32 clump; in get_pre_allocated() local
41 clump = 1 << NTFS_MIN_LOG2_OF_CLUMP; in get_pre_allocated()
44 clump = 1 << NTFS_MAX_LOG2_OF_CLUMP; in get_pre_allocated()
49 clump = 1u << align_shift; in get_pre_allocated()
52 ret = (((size + clump - 1) >> align_shift)) << align_shift; in get_pre_allocated()

Completed in 10 milliseconds