Lines Matching refs:blks
535 static int ext3_blks_to_allocate(Indirect *branch, int k, unsigned long blks, in ext3_blks_to_allocate() argument
546 if (blks < blocks_to_boundary + 1) in ext3_blks_to_allocate()
547 count += blks; in ext3_blks_to_allocate()
554 while (count < blks && count <= blocks_to_boundary && in ext3_blks_to_allocate()
576 ext3_fsblk_t goal, int indirect_blks, int blks, in ext3_alloc_blocks() argument
593 target = blks + indirect_blks; in ext3_alloc_blocks()
654 int indirect_blks, int *blks, ext3_fsblk_t goal, in ext3_alloc_branch() argument
666 *blks, new_blocks, &err); in ext3_alloc_branch()
718 *blks = num; in ext3_alloc_branch()
748 long block, Indirect *where, int num, int blks) in ext3_splice_branch() argument
777 if (num == 0 && blks > 1) { in ext3_splice_branch()
779 for (i = 1; i < blks; i++) in ext3_splice_branch()
789 block_i->last_alloc_logical_block = block + blks - 1; in ext3_splice_branch()
791 le32_to_cpu(where[num].key) + blks - 1; in ext3_splice_branch()
833 ext3_free_blocks(handle, inode, le32_to_cpu(where[num].key), blks); in ext3_splice_branch()