Lines Matching refs:bits_wanted

85 				      u32 bits_wanted, u32 min_bits,
90 u32 bits_wanted, u32 min_bits,
95 u32 bits_wanted,
116 u32 bits_wanted, u64 max_block,
772 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
814 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
817 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
825 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
841 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1144 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
1158 (*ac)->ac_bits_wanted = bits_wanted; in ocfs2_reserve_clusters_with_limit()
1163 ocfs2_alloc_should_use_local(osb, bits_wanted)) { in ocfs2_reserve_clusters_with_limit()
1165 bits_wanted, in ocfs2_reserve_clusters_with_limit()
1182 ret = ocfs2_try_to_free_truncate_log(osb, bits_wanted); in ocfs2_reserve_clusters_with_limit()
1222 u32 bits_wanted, in ocfs2_reserve_clusters() argument
1225 return ocfs2_reserve_clusters_with_limit(osb, bits_wanted, 0, in ocfs2_reserve_clusters()
1279 unsigned int bits_wanted, in ocfs2_block_group_find_clear_bits() argument
1319 if (found == bits_wanted) { in ocfs2_block_group_find_clear_bits()
1478 u32 bits_wanted, u32 min_bits, in ocfs2_cluster_group_search() argument
1512 group_bh, bits_wanted, in ocfs2_cluster_group_search()
1549 u32 bits_wanted, u32 min_bits, in ocfs2_block_group_search() argument
1562 group_bh, bits_wanted, in ocfs2_block_group_search()
1672 u32 bits_wanted, in ocfs2_search_one_group() argument
1691 ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits, in ocfs2_search_one_group()
1739 u32 bits_wanted, in ocfs2_search_chain() argument
1757 bits_wanted, chain); in ocfs2_search_chain()
1772 bits_wanted, min_bits, in ocfs2_search_chain()
1880 u32 bits_wanted, in ocfs2_claim_suballoc_bits() argument
1892 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1917 status = ocfs2_search_one_group(ac, handle, bits_wanted, in ocfs2_claim_suballoc_bits()
1932 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1960 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1991 u32 bits_wanted, in ocfs2_claim_metadata() argument
2001 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2006 bits_wanted, in ocfs2_claim_metadata()
2306 unsigned int bits_wanted = max_clusters; in __ocfs2_claim_clusters() local
2321 bits_wanted, in __ocfs2_claim_clusters()
2337 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()
2338 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
2342 bits_wanted, in __ocfs2_claim_clusters()
2375 unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_claim_clusters() local
2378 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()