Lines Matching refs:sr_bits
68 unsigned int sr_bits; /* How many bits we claimed */ member
1336 res->sr_bits = best_size; in ocfs2_block_group_find_clear_bits()
1540 res->sr_bits); in ocfs2_cluster_group_search()
1552 if (min_bits <= res->sr_bits) in ocfs2_cluster_group_search()
1554 else if (res->sr_bits) { in ocfs2_cluster_group_search()
1559 ocfs2_local_alloc_seen_free_bits(osb, res->sr_bits); in ocfs2_cluster_group_search()
1586 res->sr_bit_offset + res->sr_bits; in ocfs2_block_group_search()
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()
1716 res->sr_bits, in ocfs2_search_one_group()
1724 res->sr_bit_offset, res->sr_bits); in ocfs2_search_one_group()
1799 (unsigned long long)le64_to_cpu(bg->bg_blkno), res->sr_bits); in ocfs2_search_chain()
1803 BUG_ON(res->sr_bits == 0); in ocfs2_search_chain()
1828 (ocfs2_block_group_reasonably_empty(bg, res->sr_bits))) { in ocfs2_search_chain()
1842 ac->ac_bh, res->sr_bits, in ocfs2_search_chain()
1854 res->sr_bits); in ocfs2_search_chain()
1862 res->sr_bits); in ocfs2_search_chain()
2016 ac->ac_bits_given += res.sr_bits; in ocfs2_claim_metadata()
2017 *num_bits = res.sr_bits; in ocfs2_claim_metadata()
2154 ac->ac_bh, res->sr_bits, in ocfs2_claim_new_inode_at_loc()
2166 res->sr_bits); in ocfs2_claim_new_inode_at_loc()
2173 res->sr_bits); in ocfs2_claim_new_inode_at_loc()
2177 BUG_ON(res->sr_bits != 1); in ocfs2_claim_new_inode_at_loc()
2219 BUG_ON(res.sr_bits != 1); in ocfs2_claim_new_inode()
2348 *num_clusters = res.sr_bits; in __ocfs2_claim_clusters()