Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/block/drbd/
Ddrbd_bitmap.c475 #define BITS_PER_PAGE_MASK (BITS_PER_PAGE - 1) macro
490 tmp = (b->bm_bits & BITS_PER_PAGE_MASK); in bm_clear_surplus()
526 tmp = (b->bm_bits & BITS_PER_PAGE_MASK); in bm_set_surplus()
569 last_word = ((b->bm_bits - 1) & BITS_PER_PAGE_MASK) >> LN2_BPL; in bm_count_bits()
1304 bit_offset = bm_fo & ~BITS_PER_PAGE_MASK; in __bm_find_next()
1309 PAGE_SIZE*8, bm_fo & BITS_PER_PAGE_MASK); in __bm_find_next()
1312 PAGE_SIZE*8, bm_fo & BITS_PER_PAGE_MASK); in __bm_find_next()
1413 c += (0 == __test_and_set_bit_le(bitnr & BITS_PER_PAGE_MASK, p_addr)); in __bm_change_bits_to()
1415 c -= (0 != __test_and_clear_bit_le(bitnr & BITS_PER_PAGE_MASK, p_addr)); in __bm_change_bits_to()
1595 i = test_bit_le(bitnr & BITS_PER_PAGE_MASK, p_addr) ? 1 : 0; in drbd_bm_test_bit()