Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dlocalalloc.c844 int numfound = 0, bitoff, left, startoff, lastzero; in ocfs2_local_alloc_find_clear_bits() local
851 bitoff = -1; in ocfs2_local_alloc_find_clear_bits()
863 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits()
881 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits()
884 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits()
885 if (bitoff == left) { in ocfs2_local_alloc_find_clear_bits()
894 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits()
901 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits()
910 trace_ocfs2_local_alloc_find_clear_bits_search_bitmap(bitoff, numfound); in ocfs2_local_alloc_find_clear_bits()
913 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits()
[all …]
Dsuballoc.c1637 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec() local
1640 if (res->sr_bit_offset < bitoff) in ocfs2_bg_discontig_fix_by_rec()
1642 if (res->sr_bit_offset >= (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec()
1645 (res->sr_bit_offset - bitoff); in ocfs2_bg_discontig_fix_by_rec()
1646 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec()
1647 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset; in ocfs2_bg_discontig_fix_by_rec()