Lines Matching refs:bits_wanted
87 u32 bits_wanted, u32 min_bits,
92 u32 bits_wanted, u32 min_bits,
97 u32 bits_wanted,
118 u32 bits_wanted, u64 max_block,
774 u32 bits_wanted = ac->ac_bits_wanted; in ocfs2_reserve_suballoc_bits() local
816 if (bits_wanted > free_bits) { in ocfs2_reserve_suballoc_bits()
819 trace_ocfs2_reserve_suballoc_bits_nospc(bits_wanted, in ocfs2_reserve_suballoc_bits()
827 slot, bits_wanted, free_bits); in ocfs2_reserve_suballoc_bits()
843 BUG_ON(bits_wanted > in ocfs2_reserve_suballoc_bits()
1146 u32 bits_wanted, u64 max_block, in ocfs2_reserve_clusters_with_limit() argument
1160 (*ac)->ac_bits_wanted = bits_wanted; in ocfs2_reserve_clusters_with_limit()
1165 ocfs2_alloc_should_use_local(osb, bits_wanted)) { in ocfs2_reserve_clusters_with_limit()
1167 bits_wanted, in ocfs2_reserve_clusters_with_limit()
1184 ret = ocfs2_try_to_free_truncate_log(osb, bits_wanted); in ocfs2_reserve_clusters_with_limit()
1224 u32 bits_wanted, in ocfs2_reserve_clusters() argument
1227 return ocfs2_reserve_clusters_with_limit(osb, bits_wanted, 0, in ocfs2_reserve_clusters()
1301 unsigned int bits_wanted, in ocfs2_block_group_find_clear_bits() argument
1341 if (found == bits_wanted) { in ocfs2_block_group_find_clear_bits()
1530 u32 bits_wanted, u32 min_bits, in ocfs2_cluster_group_search() argument
1544 le16_to_cpu(gd->bg_contig_free_bits) < bits_wanted) in ocfs2_cluster_group_search()
1548 if (le16_to_cpu(gd->bg_free_bits_count) >= bits_wanted) { in ocfs2_cluster_group_search()
1569 group_bh, bits_wanted, in ocfs2_cluster_group_search()
1599 u32 bits_wanted, u32 min_bits, in ocfs2_block_group_search() argument
1610 if (le16_to_cpu(bg->bg_free_bits_count) >= bits_wanted) { in ocfs2_block_group_search()
1612 group_bh, bits_wanted, in ocfs2_block_group_search()
1722 u32 bits_wanted, in ocfs2_search_one_group() argument
1741 ret = ac->ac_group_search(alloc_inode, group_bh, bits_wanted, min_bits, in ocfs2_search_one_group()
1790 u32 bits_wanted, in ocfs2_search_chain() argument
1808 bits_wanted, chain); in ocfs2_search_chain()
1823 bits_wanted, min_bits, in ocfs2_search_chain()
1933 u32 bits_wanted, in ocfs2_claim_suballoc_bits() argument
1945 BUG_ON(bits_wanted > (ac->ac_bits_wanted - ac->ac_bits_given)); in ocfs2_claim_suballoc_bits()
1970 status = ocfs2_search_one_group(ac, handle, bits_wanted, in ocfs2_claim_suballoc_bits()
1985 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
2009 if (le32_to_cpu(cl->cl_recs[i].c_free) < bits_wanted) in ocfs2_claim_suballoc_bits()
2013 status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, in ocfs2_claim_suballoc_bits()
2044 u32 bits_wanted, in ocfs2_claim_metadata() argument
2054 BUG_ON(ac->ac_bits_wanted < (ac->ac_bits_given + bits_wanted)); in ocfs2_claim_metadata()
2059 bits_wanted, in ocfs2_claim_metadata()
2361 unsigned int bits_wanted = max_clusters; in __ocfs2_claim_clusters() local
2376 bits_wanted, in __ocfs2_claim_clusters()
2392 if (bits_wanted > (osb->bitmap_cpg - 1)) in __ocfs2_claim_clusters()
2393 bits_wanted = osb->bitmap_cpg - 1; in __ocfs2_claim_clusters()
2397 bits_wanted, in __ocfs2_claim_clusters()
2430 unsigned int bits_wanted = ac->ac_bits_wanted - ac->ac_bits_given; in ocfs2_claim_clusters() local
2433 bits_wanted, cluster_start, num_clusters); in ocfs2_claim_clusters()