Lines Matching refs:bits_wanted
99 u32 bits_wanted, u32 min_bits,
104 u32 bits_wanted, u32 min_bits,
109 u32 bits_wanted,
130 u32 bits_wanted, u64 max_block,
786 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
828 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
831 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
839 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
855 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1158 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
1172 (*ac)->ac_bits_wanted = bits_wanted; in ocfs2_reserve_clusters_with_limit()
1177 ocfs2_alloc_should_use_local(osb, bits_wanted)) { in ocfs2_reserve_clusters_with_limit()
1179 bits_wanted, in ocfs2_reserve_clusters_with_limit()
1196 ret = ocfs2_try_to_free_truncate_log(osb, bits_wanted); in ocfs2_reserve_clusters_with_limit()
1236 u32 bits_wanted, in ocfs2_reserve_clusters() argument
1239 return ocfs2_reserve_clusters_with_limit(osb, bits_wanted, 0, in ocfs2_reserve_clusters()
1290 unsigned int bits_wanted, in ocfs2_block_group_find_clear_bits() argument
1330 if (found == bits_wanted) { in ocfs2_block_group_find_clear_bits()
1489 u32 bits_wanted, u32 min_bits, in ocfs2_cluster_group_search() argument
1523 group_bh, bits_wanted, in ocfs2_cluster_group_search()
1560 u32 bits_wanted, u32 min_bits, in ocfs2_block_group_search() argument
1573 group_bh, bits_wanted, in ocfs2_block_group_search()
1683 u32 bits_wanted, in ocfs2_search_one_group() argument
1702 ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits, in ocfs2_search_one_group()
1750 u32 bits_wanted, in ocfs2_search_chain() argument
1768 bits_wanted, chain); in ocfs2_search_chain()
1783 bits_wanted, min_bits, in ocfs2_search_chain()
1891 u32 bits_wanted, in ocfs2_claim_suballoc_bits() argument
1903 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1928 status = ocfs2_search_one_group(ac, handle, bits_wanted, in ocfs2_claim_suballoc_bits()
1943 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1971 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
2002 u32 bits_wanted, in ocfs2_claim_metadata() argument
2012 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2017 bits_wanted, in ocfs2_claim_metadata()
2317 unsigned int bits_wanted = max_clusters; in __ocfs2_claim_clusters() local
2332 bits_wanted, in __ocfs2_claim_clusters()
2348 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()
2349 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
2353 bits_wanted, in __ocfs2_claim_clusters()
2386 unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_claim_clusters() local
2389 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()