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()
396 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
413 target = blks + indirect_blks; in ext2_alloc_blocks()
476 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
488 *blks, new_blocks, &err); in ext2_alloc_branch()
533 *blks = num; in ext2_alloc_branch()
558 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
575 if (num == 0 && blks > 1) { in ext2_splice_branch()
577 for (i = 1; i < blks; i++) in ext2_splice_branch()
587 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()
589 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()