Searched refs:nlongs (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/include/linux/ |
H A D | bitmap.h | 40 unsigned int nlongs = BITS_TO_LONGS(nbits); local 42 unsigned int len = (nlongs - 1) * sizeof(unsigned long); 45 dst[nlongs - 1] = BITMAP_LAST_WORD_MASK(nbits);
|
/linux-master/lib/ |
H A D | test_bitmap.c | 361 unsigned int nlongs = DIV_ROUND_UP(nbits, BITS_PER_LONG); local 367 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); 371 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[0 * nlongs], exp2_to_exp3_mask, nbits); 375 bitmap_replace(bmap, &exp2[0 * nlongs], &exp2[1 * nlongs], exp2_to_exp3_mask, nbits); 379 bitmap_replace(bmap, &exp2[1 * nlongs], &exp2[0 * nlongs], exp2_to_exp3_mask, nbits);
|
/linux-master/mm/ |
H A D | mempolicy.c | 1413 unsigned long nlongs = BITS_TO_LONGS(maxnode); local 1422 nlongs * sizeof(unsigned long)); 1428 mask[nlongs - 1] &= (1UL << (maxnode % BITS_PER_LONG)) - 1;
|
Completed in 225 milliseconds