Lines Matching refs:blks
361 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
372 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate()
373 count += blks; in ext2_blks_to_allocate()
380 while (count < blks && count <= blocks_to_boundary in ext2_blks_to_allocate()
400 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
417 target = blks + indirect_blks; in ext2_alloc_blocks()
480 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
492 *blks, new_blocks, &err); in ext2_alloc_branch()
537 *blks = num; in ext2_alloc_branch()
562 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
579 if (num == 0 && blks > 1) { in ext2_splice_branch()
581 for (i = 1; i < blks; i++) in ext2_splice_branch()
591 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()
593 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()