Home
last modified time | relevance | path

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

/fs/ext2/
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()
502 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); 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()
[all …]
/fs/ext4/
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()
/fs/jfs/
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()
/fs/ocfs2/
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()