Home
last modified time | relevance | path

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

/linux-6.15/tools/include/linux/
H A Dbitmap.h43 unsigned int nlongs = BITS_TO_LONGS(nbits); in bitmap_fill() local
45 unsigned int len = (nlongs - 1) * sizeof(unsigned long); in bitmap_fill()
48 dst[nlongs - 1] = BITMAP_LAST_WORD_MASK(nbits); in bitmap_fill()
/linux-6.15/lib/
H A Dtest_bitmap.c333 unsigned int nlongs = DIV_ROUND_UP(nbits, BITS_PER_LONG); in test_replace() local
339 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); in test_replace()
343 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[0 * nlongs], exp2_to_exp3_mask, nbits); in test_replace()
347 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); in test_replace()
351 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[0 * nlongs], exp2_to_exp3_mask, nbits); in test_replace()
/linux-6.15/mm/
H A Dmempolicy.c1448 unsigned long nlongs = BITS_TO_LONGS(maxnode); in get_bitmap() local
1457 nlongs * sizeof(unsigned long)); in get_bitmap()
1463 mask[nlongs - 1] &= (1UL << (maxnode % BITS_PER_LONG)) - 1; in get_bitmap()