Home
last modified time | relevance | path

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

/linux/fs/ext2/
H A Dinode.c401 ext2_fsblk_t new_blocks[4], int *err) in ext2_alloc_blocks()
429 new_blocks[index++] = current_block++; in ext2_alloc_blocks()
438 new_blocks[index] = current_block; in ext2_alloc_blocks()
446 ext2_free_blocks(inode, new_blocks[i], 1); in ext2_alloc_blocks()
488 ext2_fsblk_t new_blocks[4]; in ext2_alloc_branch() local
492 *blks, new_blocks, &err); in ext2_alloc_branch()
496 branch[0].key = cpu_to_le32(new_blocks[0]); in ext2_alloc_branch()
506 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); in ext2_alloc_branch()
515 branch[n].key = cpu_to_le32(new_blocks[n]); in ext2_alloc_branch()
518 current_block = new_blocks[n]; in ext2_alloc_branch()
[all …]
/linux/fs/ext4/
H A Dindirect.c334 ext4_fsblk_t b, new_blocks[4]; in ext4_alloc_branch() local
340 new_blocks[i] = ext4_mb_new_blocks(handle, ar, &err); in ext4_alloc_branch()
342 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, in ext4_alloc_branch()
353 branch[i].key = cpu_to_le32(new_blocks[i]); in ext4_alloc_branch()
357 bh = branch[i].bh = sb_getblk(ar->inode->i_sb, new_blocks[i-1]); in ext4_alloc_branch()
373 b = new_blocks[i]; in ext4_alloc_branch()
393 ext4_free_blocks(handle, ar->inode, NULL, new_blocks[i], in ext4_alloc_branch()
408 new_blocks[i], 1, in ext4_alloc_branch()
/linux/arch/powerpc/lib/
H 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/
H A Ddm-bitset.c91 uint32_t new_blocks = dm_div_up(new_nr_entries, BITS_PER_ARRAY_ENTRY); in dm_bitset_resize() local
95 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks, in dm_bitset_resize()
/linux/fs/jfs/
H A Dxattr.c605 unsigned long old_blocks, new_blocks; in ea_put() local
632 old_blocks = new_blocks = 0; in ea_put()
642 new_blocks = lengthDXD(&ea_buf->new_ea); in ea_put()
/linux/fs/xfs/scrub/
H A Drepair.c1342 int64_t new_blocks) in xrep_inode_set_nblocks() argument
1345 new_blocks - sc->ip->i_nblocks; in xrep_inode_set_nblocks()
1347 sc->ip->i_nblocks = new_blocks; in xrep_inode_set_nblocks()
H A Drepair.h176 void xrep_inode_set_nblocks(struct xfs_scrub *sc, int64_t new_blocks);
/linux/fs/ocfs2/
H A Dalloc.c1158 int status, new_blocks, i, block_given = 0; in ocfs2_add_branch() local
1178 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch()
1205 new_eb_bhs = kcalloc(new_blocks, sizeof(struct buffer_head *), in ocfs2_add_branch()
1218 new_eb_bhs, new_blocks, in ocfs2_add_branch()
1226 BUG_ON(block_given > new_blocks); in ocfs2_add_branch()
1228 if (block_given < new_blocks) { in ocfs2_add_branch()
1231 new_blocks - block_given, in ocfs2_add_branch()
1248 for(i = 0; i < new_blocks; i++) { in ocfs2_add_branch()
1342 for (i = 0; i < new_blocks; i++) in ocfs2_add_branch()