Lines Matching refs:bits_wanted

83 				      u32 bits_wanted, u32 min_bits,
88 u32 bits_wanted, u32 min_bits,
93 u32 bits_wanted,
114 u32 bits_wanted, u64 max_block,
770 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
812 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
815 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
823 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
839 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1142 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
1156 (*ac)->ac_bits_wanted = bits_wanted; in ocfs2_reserve_clusters_with_limit()
1161 ocfs2_alloc_should_use_local(osb, bits_wanted)) { in ocfs2_reserve_clusters_with_limit()
1163 bits_wanted, in ocfs2_reserve_clusters_with_limit()
1180 ret = ocfs2_try_to_free_truncate_log(osb, bits_wanted); in ocfs2_reserve_clusters_with_limit()
1220 u32 bits_wanted, in ocfs2_reserve_clusters() argument
1223 return ocfs2_reserve_clusters_with_limit(osb, bits_wanted, 0, in ocfs2_reserve_clusters()
1277 unsigned int bits_wanted, in ocfs2_block_group_find_clear_bits() argument
1317 if (found == bits_wanted) { in ocfs2_block_group_find_clear_bits()
1476 u32 bits_wanted, u32 min_bits, in ocfs2_cluster_group_search() argument
1510 group_bh, bits_wanted, in ocfs2_cluster_group_search()
1547 u32 bits_wanted, u32 min_bits, in ocfs2_block_group_search() argument
1560 group_bh, bits_wanted, in ocfs2_block_group_search()
1670 u32 bits_wanted, in ocfs2_search_one_group() argument
1689 ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits, in ocfs2_search_one_group()
1737 u32 bits_wanted, in ocfs2_search_chain() argument
1755 bits_wanted, chain); in ocfs2_search_chain()
1770 bits_wanted, min_bits, in ocfs2_search_chain()
1878 u32 bits_wanted, in ocfs2_claim_suballoc_bits() argument
1890 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1915 status = ocfs2_search_one_group(ac, handle, bits_wanted, in ocfs2_claim_suballoc_bits()
1930 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1958 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1989 u32 bits_wanted, in ocfs2_claim_metadata() argument
1999 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2004 bits_wanted, in ocfs2_claim_metadata()
2304 unsigned int bits_wanted = max_clusters; in __ocfs2_claim_clusters() local
2319 bits_wanted, in __ocfs2_claim_clusters()
2335 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()
2336 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
2340 bits_wanted, in __ocfs2_claim_clusters()
2373 unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_claim_clusters() local
2376 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()