Home
last modified time | relevance | path

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

/fs/ocfs2/
Dlocalalloc.c827 int numfound = 0, bitoff, left, startoff; in ocfs2_local_alloc_find_clear_bits() local
834 bitoff = -1; in ocfs2_local_alloc_find_clear_bits()
846 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits()
864 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits()
866 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits()
867 if (bitoff == left) { in ocfs2_local_alloc_find_clear_bits()
876 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits()
883 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits()
892 trace_ocfs2_local_alloc_find_clear_bits_search_bitmap(bitoff, numfound); in ocfs2_local_alloc_find_clear_bits()
895 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits()
[all …]
Dsuballoc.c1624 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec() local
1627 if (res->sr_bit_offset < bitoff) in ocfs2_bg_discontig_fix_by_rec()
1629 if (res->sr_bit_offset >= (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec()
1632 (res->sr_bit_offset - bitoff); in ocfs2_bg_discontig_fix_by_rec()
1633 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec()
1634 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset; in ocfs2_bg_discontig_fix_by_rec()