Lines Matching refs:blks
362 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
373 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate()
374 count += blks; in ext2_blks_to_allocate()
381 while (count < blks && count <= blocks_to_boundary in ext2_blks_to_allocate()
399 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
416 target = blks + indirect_blks; in ext2_alloc_blocks()
479 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
491 *blks, new_blocks, &err); in ext2_alloc_branch()
536 *blks = num; in ext2_alloc_branch()
561 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
578 if (num == 0 && blks > 1) { in ext2_splice_branch()
580 for (i = 1; i < blks; i++) in ext2_splice_branch()
590 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()
592 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()