Home
last modified time | relevance | path

Searched refs:new_blocks (Results 1 – 7 of 7) sorted by relevance

/linux/fs/ext2/
A Dinode.c397 ext2_fsblk_t new_blocks[4], int *err) in ext2_alloc_blocks()
425 new_blocks[index++] = current_block++; in ext2_alloc_blocks()
434 new_blocks[index] = current_block; in ext2_alloc_blocks()
442 ext2_free_blocks(inode, new_blocks[i], 1); in ext2_alloc_blocks()
484 ext2_fsblk_t new_blocks[4]; in ext2_alloc_branch() local
488 *blks, new_blocks, &err); in ext2_alloc_branch()
492 branch[0].key = cpu_to_le32(new_blocks[0]); in ext2_alloc_branch()
511 branch[n].key = cpu_to_le32(new_blocks[n]); in ext2_alloc_branch()
514 current_block = new_blocks[n]; in ext2_alloc_branch()
540 ext2_free_blocks(inode, new_blocks[i], 1); in ext2_alloc_branch()
[all …]
/linux/fs/ext4/
A Dindirect.c327 ext4_fsblk_t b, new_blocks[4]; in ext4_alloc_branch() local
333 new_blocks[i] = ext4_mb_new_blocks(handle, ar, &err); in ext4_alloc_branch()
335 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, in ext4_alloc_branch()
346 branch[i].key = cpu_to_le32(new_blocks[i]); in ext4_alloc_branch()
350 bh = branch[i].bh = sb_getblk(ar->inode->i_sb, new_blocks[i-1]); in ext4_alloc_branch()
366 b = new_blocks[i]; in ext4_alloc_branch()
386 ext4_free_blocks(handle, ar->inode, NULL, new_blocks[i], in ext4_alloc_branch()
401 new_blocks[i], 1, in ext4_alloc_branch()
/linux/arch/powerpc/lib/
A Drheap.c48 int i, new_blocks; in grow() local
55 new_blocks = max_blocks - info->max_blocks; in grow()
86 info->empty_slots += new_blocks; in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
92 for (i = 0; i < new_blocks; i++, blk++) in grow()
/linux/drivers/md/persistent-data/
A Ddm-bitset.c89 uint32_t new_blocks = dm_div_up(new_nr_entries, BITS_PER_ARRAY_ENTRY); in dm_bitset_resize() local
93 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, in dm_bitset_resize()
/linux/fs/jfs/
A Dxattr.c596 unsigned long old_blocks, new_blocks; in ea_put() local
623 old_blocks = new_blocks = 0; in ea_put()
633 new_blocks = lengthDXD(&ea_buf->new_ea); in ea_put()
/linux/drivers/md/
A Dmd-bitmap.c2070 sector_t old_blocks, new_blocks; in md_bitmap_resize() local
2196 bmc_new = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1); in md_bitmap_resize()
2199 sector_t end = block + new_blocks; in md_bitmap_resize()
2211 if (new_blocks < old_blocks) in md_bitmap_resize()
2212 old_blocks = new_blocks; in md_bitmap_resize()
2229 bmc = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1); in md_bitmap_resize()
2240 block += new_blocks; in md_bitmap_resize()
/linux/fs/ocfs2/
A Dalloc.c1150 int status, new_blocks, i, block_given = 0; in ocfs2_add_branch() local
1170 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1197 new_eb_bhs = kcalloc(new_blocks, sizeof(struct buffer_head *), in ocfs2_add_branch()
1210 new_eb_bhs, new_blocks, in ocfs2_add_branch()
1218 BUG_ON(block_given > new_blocks); in ocfs2_add_branch()
1220 if (block_given < new_blocks) { in ocfs2_add_branch()
1223 new_blocks - block_given, in ocfs2_add_branch()
1240 for(i = 0; i < new_blocks; i++) { in ocfs2_add_branch()
1334 for (i = 0; i < new_blocks; i++) in ocfs2_add_branch()

Completed in 36 milliseconds