Lines Matching refs:blks
358 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
369 if (blks < blocks_to_boundary + 1) in ext2_blks_to_allocate()
370 count += blks; in ext2_blks_to_allocate()
377 while (count < blks && count <= blocks_to_boundary in ext2_blks_to_allocate()
395 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument
412 target = blks + indirect_blks; in ext2_alloc_blocks()
473 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument
485 *blks, new_blocks, &err); in ext2_alloc_branch()
530 *blks = num; in ext2_alloc_branch()
555 long block, Indirect *where, int num, int blks) in ext2_splice_branch() argument
572 if (num == 0 && blks > 1) { in ext2_splice_branch()
574 for (i = 1; i < blks; i++) in ext2_splice_branch()
584 block_i->last_alloc_logical_block = block + blks - 1; in ext2_splice_branch()
586 le32_to_cpu(where[num].key) + blks - 1; in ext2_splice_branch()