/fs/hfs/ |
D | bitmap.c | 139 u32 hfs_vbm_search_free(struct super_block *sb, u32 goal, u32 *num_bits) in hfs_vbm_search_free() argument 145 if (!*num_bits) in hfs_vbm_search_free() 151 pos = hfs_find_set_zero_bits(bitmap, HFS_SB(sb)->fs_ablocks, goal, num_bits); in hfs_vbm_search_free() 154 pos = hfs_find_set_zero_bits(bitmap, goal, 0, num_bits); in hfs_vbm_search_free() 156 *num_bits = pos = 0; in hfs_vbm_search_free() 161 hfs_dbg(BITMAP, "alloc_bits: %u,%u\n", pos, *num_bits); in hfs_vbm_search_free() 162 HFS_SB(sb)->free_ablocks -= *num_bits; in hfs_vbm_search_free()
|
/fs/ocfs2/ |
D | resize.c | 92 u16 chain, num_bits, backups = 0; in ocfs2_update_last_group_and_inode() local 111 num_bits = new_clusters * cl_bpc; in ocfs2_update_last_group_and_inode() 112 le16_add_cpu(&group->bg_bits, num_bits); in ocfs2_update_last_group_and_inode() 113 le16_add_cpu(&group->bg_free_bits_count, num_bits); in ocfs2_update_last_group_and_inode() 139 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode() 140 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode() 141 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode() 163 le16_add_cpu(&group->bg_bits, -1 * num_bits); in ocfs2_update_last_group_and_inode() 164 le16_add_cpu(&group->bg_free_bits_count, -1 * num_bits); in ocfs2_update_last_group_and_inode()
|
D | suballoc.c | 425 u32 bit_off, num_bits; in ocfs2_block_group_alloc_contig() local 432 &num_bits); in ocfs2_block_group_alloc_contig() 453 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_contig() 467 u32 *bit_off, u32 *num_bits) in ocfs2_block_group_claim_bits() argument 473 bit_off, num_bits); in ocfs2_block_group_claim_bits() 582 u32 bit_off, num_bits; in ocfs2_block_group_alloc_discontig() local 611 &bit_off, &num_bits); in ocfs2_block_group_alloc_discontig() 617 min_bits = num_bits; in ocfs2_block_group_alloc_discontig() 633 bg_blkno, num_bits, alloc_rec, cl); in ocfs2_block_group_alloc_discontig() 1342 unsigned int num_bits) in ocfs2_block_group_set_bits() argument [all …]
|
D | suballoc.h | 78 u32 num_bits, 82 u32 num_bits, 89 unsigned int num_bits); 96 u32 *num_bits,
|
D | localalloc.h | 42 u32 *num_bits); 48 u32 num_bits);
|
D | localalloc.c | 720 u32 *num_bits) in ocfs2_claim_local_alloc_bits() argument 745 *num_bits = bits_wanted; in ocfs2_claim_local_alloc_bits() 762 le32_add_cpu(&alloc->id1.bitmap1.i_used, *num_bits); in ocfs2_claim_local_alloc_bits() 775 u32 num_bits) in ocfs2_free_local_alloc_bits() argument 792 clear_bits = num_bits; in ocfs2_free_local_alloc_bits() 806 le32_add_cpu(&alloc->id1.bitmap1.i_used, -num_bits); in ocfs2_free_local_alloc_bits()
|
D | alloc.c | 4784 u32 bit_off, num_bits; in ocfs2_add_clusters_in_btree() local 4822 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_clusters_in_btree() 4829 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_clusters_in_btree() 4843 bit_off, num_bits); in ocfs2_add_clusters_in_btree() 4845 num_bits, flags, meta_ac); in ocfs2_add_clusters_in_btree() 4854 clusters_to_add -= num_bits; in ocfs2_add_clusters_in_btree() 4855 *logical_offset += num_bits; in ocfs2_add_clusters_in_btree() 4867 bit_off, num_bits); in ocfs2_add_clusters_in_btree() 4873 num_bits); in ocfs2_add_clusters_in_btree()
|
D | xattr.c | 5107 u32 clusters_to_add = 1, bit_off, num_bits, v_start = 0; in ocfs2_add_new_xattr_cluster() local 5128 clusters_to_add, &bit_off, &num_bits); in ocfs2_add_new_xattr_cluster() 5135 BUG_ON(num_bits > clusters_to_add); in ocfs2_add_new_xattr_cluster() 5138 trace_ocfs2_add_new_xattr_cluster((unsigned long long)block, num_bits); in ocfs2_add_new_xattr_cluster() 5141 (prev_clusters + num_bits) << osb->s_clustersize_bits <= in ocfs2_add_new_xattr_cluster() 5153 *num_clusters = prev_clusters + num_bits; in ocfs2_add_new_xattr_cluster() 5170 v_start, num_bits); in ocfs2_add_new_xattr_cluster() 5172 num_bits, 0, ctxt->meta_ac); in ocfs2_add_new_xattr_cluster()
|
D | dir.c | 2296 unsigned int num_bits; in ocfs2_dx_dir_attach_index() local 2303 &dr_suballoc_bit, &num_bits, &dr_blkno); in ocfs2_dx_dir_attach_index()
|