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()
1278 unsigned int bits_wanted, in ocfs2_block_group_find_clear_bits() argument
1318 if (found == bits_wanted) { in ocfs2_block_group_find_clear_bits()
1477 u32 bits_wanted, u32 min_bits, in ocfs2_cluster_group_search() argument
1511 group_bh, bits_wanted, in ocfs2_cluster_group_search()
1548 u32 bits_wanted, u32 min_bits, in ocfs2_block_group_search() argument
1561 group_bh, bits_wanted, in ocfs2_block_group_search()
1671 u32 bits_wanted, in ocfs2_search_one_group() argument
1690 ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits, in ocfs2_search_one_group()
1738 u32 bits_wanted, in ocfs2_search_chain() argument
1756 bits_wanted, chain); in ocfs2_search_chain()
1771 bits_wanted, min_bits, in ocfs2_search_chain()
1879 u32 bits_wanted, in ocfs2_claim_suballoc_bits() argument
1891 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1916 status = ocfs2_search_one_group(ac, handle, bits_wanted, in ocfs2_claim_suballoc_bits()
1931 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1959 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
1990 u32 bits_wanted, in ocfs2_claim_metadata() argument
2000 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2005 bits_wanted, in ocfs2_claim_metadata()
2305 unsigned int bits_wanted = max_clusters; in __ocfs2_claim_clusters() local
2320 bits_wanted, in __ocfs2_claim_clusters()
2336 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()
2337 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
2341 bits_wanted, in __ocfs2_claim_clusters()
2374 unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_claim_clusters() local
2377 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()