Home
last modified time | relevance | path

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

/drivers/block/drbd/
Ddrbd_bitmap.c1289 static unsigned long __bm_find_next(struct drbd_device *device, unsigned long bm_fo, in __bm_find_next() argument
1298 if (bm_fo > b->bm_bits) { in __bm_find_next()
1299 drbd_err(device, "bm_fo=%lu bm_bits=%lu\n", bm_fo, b->bm_bits); in __bm_find_next()
1300 bm_fo = DRBD_END_OF_BITMAP; in __bm_find_next()
1302 while (bm_fo < b->bm_bits) { in __bm_find_next()
1304 bit_offset = bm_fo & ~BITS_PER_PAGE_MASK; in __bm_find_next()
1305 p_addr = __bm_map_pidx(b, bm_bit_to_page_idx(b, bm_fo)); 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()
1316 bm_fo = bit_offset + i; in __bm_find_next()
[all …]
Ddrbd_int.h1368 extern unsigned long drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo);
1370 extern unsigned long _drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo);
1371 extern unsigned long _drbd_bm_find_next_zero(struct drbd_device *device, unsigned long bm_fo);