Lines Matching refs:blks
355 * @blks: number of data blocks to be mapped.
361 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks,
372 if (blks < blocks_to_boundary + 1)
373 count += blks;
380 while (count < blks && count <= blocks_to_boundary
392 * @blks: The number of blocks need to allocate for direct blocks.
400 ext2_fsblk_t goal, int indirect_blks, int blks,
417 target = blks + indirect_blks;
456 * @blks: number of allocated direct blocks
480 int indirect_blks, int *blks, ext2_fsblk_t goal,
492 *blks, new_blocks, &err);
537 *blks = num;
555 * @blks: number of direct blocks we are adding
562 long block, Indirect *where, int num, int blks)
579 if (num == 0 && blks > 1) {
581 for (i = 1; i < blks; i++)
591 block_i->last_alloc_logical_block = block + blks - 1;
593 le32_to_cpu(where[num].key) + blks - 1;