Searched refs:new_blocks (Results 1 – 5 of 5) sorted by relevance
/fs/ext2/ |
D | inode.c | 365 ext2_fsblk_t new_blocks[4], int *err) in ext2_alloc_blocks() 393 new_blocks[index++] = current_block++; in ext2_alloc_blocks() 402 new_blocks[index] = current_block; in ext2_alloc_blocks() 410 ext2_free_blocks(inode, new_blocks[i], 1); in ext2_alloc_blocks() 448 ext2_fsblk_t new_blocks[4]; in ext2_alloc_branch() local 452 *blks, new_blocks, &err); in ext2_alloc_branch() 456 branch[0].key = cpu_to_le32(new_blocks[0]); in ext2_alloc_branch() 466 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); in ext2_alloc_branch() 471 branch[n].key = cpu_to_le32(new_blocks[n]); in ext2_alloc_branch() 474 current_block = new_blocks[n]; in ext2_alloc_branch()
|
/fs/ext3/ |
D | inode.c | 519 ext3_fsblk_t new_blocks[4], int *err) in ext3_alloc_blocks() 547 new_blocks[index++] = current_block++; in ext3_alloc_blocks() 556 new_blocks[index] = current_block; in ext3_alloc_blocks() 564 ext3_free_blocks(handle, inode, new_blocks[i], 1); in ext3_alloc_blocks() 602 ext3_fsblk_t new_blocks[4]; in ext3_alloc_branch() local 606 *blks, new_blocks, &err); in ext3_alloc_branch() 610 branch[0].key = cpu_to_le32(new_blocks[0]); in ext3_alloc_branch() 620 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); in ext3_alloc_branch() 633 branch[n].key = cpu_to_le32(new_blocks[n]); in ext3_alloc_branch() 636 current_block = new_blocks[n]; in ext3_alloc_branch() [all …]
|
/fs/ext4/ |
D | inode.c | 558 ext4_fsblk_t new_blocks[4], int *err) in ext4_alloc_blocks() 588 new_blocks[index++] = current_block++; in ext4_alloc_blocks() 596 new_blocks[index] = current_block; in ext4_alloc_blocks() 633 new_blocks[index] = current_block; in ext4_alloc_blocks() 644 ext4_free_blocks(handle, inode, new_blocks[i], 1, 0); in ext4_alloc_blocks() 683 ext4_fsblk_t new_blocks[4]; in ext4_alloc_branch() local 687 *blks, new_blocks, &err); in ext4_alloc_branch() 691 branch[0].key = cpu_to_le32(new_blocks[0]); in ext4_alloc_branch() 701 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); in ext4_alloc_branch() 714 branch[n].key = cpu_to_le32(new_blocks[n]); in ext4_alloc_branch() [all …]
|
/fs/jfs/ |
D | xattr.c | 628 unsigned long old_blocks, new_blocks; in ea_put() local 655 old_blocks = new_blocks = 0; in ea_put() 665 new_blocks = lengthDXD(&ea_buf->new_ea); in ea_put()
|
/fs/ocfs2/ |
D | alloc.c | 977 int status, new_blocks, i; in ocfs2_add_branch() local 999 new_blocks = le16_to_cpu(el->l_tree_depth); in ocfs2_add_branch() 1002 new_eb_bhs = kcalloc(new_blocks, sizeof(struct buffer_head *), in ocfs2_add_branch() 1010 status = ocfs2_create_new_meta_bhs(osb, handle, inode, new_blocks, in ocfs2_add_branch() 1028 for(i = 0; i < new_blocks; i++) { in ocfs2_add_branch() 1134 for (i = 0; i < new_blocks; i++) in ocfs2_add_branch()
|