Searched refs:bitoff (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/fs/ocfs2/ |
D | localalloc.c | 805 int numfound, bitoff, left, startoff, lastzero; in ocfs2_local_alloc_find_clear_bits() local 812 bitoff = -1; in ocfs2_local_alloc_find_clear_bits() 824 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) { in ocfs2_local_alloc_find_clear_bits() 842 numfound = bitoff = startoff = 0; in ocfs2_local_alloc_find_clear_bits() 845 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) { in ocfs2_local_alloc_find_clear_bits() 846 if (bitoff == left) { in ocfs2_local_alloc_find_clear_bits() 855 if (bitoff == startoff) { in ocfs2_local_alloc_find_clear_bits() 862 startoff = bitoff+1; in ocfs2_local_alloc_find_clear_bits() 871 trace_ocfs2_local_alloc_find_clear_bits_search_bitmap(bitoff, numfound); in ocfs2_local_alloc_find_clear_bits() 874 bitoff = startoff - numfound; in ocfs2_local_alloc_find_clear_bits() [all …]
|
D | suballoc.c | 1630 unsigned int bitoff = le32_to_cpu(rec->e_cpos) * bpc; in ocfs2_bg_discontig_fix_by_rec() local 1633 if (res->sr_bit_offset < bitoff) in ocfs2_bg_discontig_fix_by_rec() 1635 if (res->sr_bit_offset >= (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1638 (res->sr_bit_offset - bitoff); in ocfs2_bg_discontig_fix_by_rec() 1639 if ((res->sr_bit_offset + res->sr_bits) > (bitoff + bitcount)) in ocfs2_bg_discontig_fix_by_rec() 1640 res->sr_bits = (bitoff + bitcount) - res->sr_bit_offset; in ocfs2_bg_discontig_fix_by_rec()
|