Lines Matching refs:blks
359 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
370 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate()
371 count += blks; in ext2_blks_to_allocate()
378 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()
474 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
486 *blks, new_blocks, &err); in ext2_alloc_branch()
531 *blks = num; in ext2_alloc_branch()
556 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
573 if (num == 0 && blks > 1) { in ext2_splice_branch()
575 for (i = 1; i < blks; i++) in ext2_splice_branch()
585 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()
587 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()