Lines Matching refs:indirect_blks
396 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
413 target = blks + indirect_blks; in ext2_alloc_blocks()
424 while (index < indirect_blks && count) { in ext2_alloc_blocks()
476 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
487 num = ext2_alloc_blocks(inode, goal, indirect_blks, in ext2_alloc_branch()
496 for (n = 1; n <= indirect_blks; n++) { in ext2_alloc_branch()
513 if ( n == indirect_blks) { in ext2_alloc_branch()
539 for (i = 0; i < indirect_blks; i++) in ext2_alloc_branch()
630 int indirect_blks; in ext2_get_blocks() local
720 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks()
725 count = ext2_blks_to_allocate(partial, indirect_blks, in ext2_get_blocks()
730 err = ext2_alloc_branch(inode, indirect_blks, &count, goal, in ext2_get_blocks()
761 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); in ext2_get_blocks()