Searched refs:new_blocks (Results 1 - 7 of 7) sorted by relevance
/linux-master/fs/ext2/ |
H A D | inode.c | 393 * @new_blocks: On return it will store the new block numbers for 401 ext2_fsblk_t new_blocks[4], int *err) 429 new_blocks[index++] = current_block++; 438 new_blocks[index] = current_block; 446 ext2_free_blocks(inode, new_blocks[i], 1); 488 ext2_fsblk_t new_blocks[4]; local 492 *blks, new_blocks, &err); 496 branch[0].key = cpu_to_le32(new_blocks[0]); 506 bh = sb_getblk(inode->i_sb, new_blocks[n-1]); 515 branch[n].key = cpu_to_le32(new_blocks[ 399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument [all...] |
/linux-master/fs/ext4/ |
H A D | indirect.c | 334 ext4_fsblk_t b, new_blocks[4]; local 340 new_blocks[i] = ext4_mb_new_blocks(handle, ar, &err); 342 ar->goal = new_blocks[i] = ext4_new_meta_blocks(handle, 353 branch[i].key = cpu_to_le32(new_blocks[i]); 357 bh = branch[i].bh = sb_getblk(ar->inode->i_sb, new_blocks[i-1]); 373 b = new_blocks[i]; 393 ext4_free_blocks(handle, ar->inode, NULL, new_blocks[i], 400 * blocks. Buffer for new_blocks[i] is at branch[i+1].bh 408 new_blocks[i], 1,
|
/linux-master/arch/powerpc/lib/ |
H A D | rheap.c | 48 int i, new_blocks; local 55 new_blocks = max_blocks - info->max_blocks; 86 info->empty_slots += new_blocks; 91 blk = block + info->max_blocks - new_blocks; 92 for (i = 0; i < new_blocks; i++, blk++)
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-bitset.c | 91 uint32_t new_blocks = dm_div_up(new_nr_entries, BITS_PER_ARRAY_ENTRY); local 95 return dm_array_resize(&info->array_info, root, old_blocks, new_blocks,
|
/linux-master/fs/jfs/ |
H A D | xattr.c | 596 unsigned long old_blocks, new_blocks; local 623 old_blocks = new_blocks = 0; 633 new_blocks = lengthDXD(&ea_buf->new_ea);
|
/linux-master/drivers/md/ |
H A D | md-bitmap.c | 2141 sector_t old_blocks, new_blocks; local 2268 bmc_new = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1); 2272 sector_t end = block + new_blocks; 2286 if (new_blocks < old_blocks) 2287 old_blocks = new_blocks; 2304 bmc = md_bitmap_get_counter(&bitmap->counts, block, &new_blocks, 1); 2315 block += new_blocks;
|
/linux-master/fs/ocfs2/ |
H A D | alloc.c | 1157 int status, new_blocks, i, block_given = 0; local 1177 new_blocks = le16_to_cpu(el->l_tree_depth); 1204 new_eb_bhs = kcalloc(new_blocks, sizeof(struct buffer_head *), 1217 new_eb_bhs, new_blocks, 1225 BUG_ON(block_given > new_blocks); 1227 if (block_given < new_blocks) { 1230 new_blocks - block_given, 1239 /* Note: new_eb_bhs[new_blocks - 1] is the guy which will be 1247 for(i = 0; i < new_blocks; i++) { 1341 for (i = 0; i < new_blocks; [all...] |
Completed in 178 milliseconds