Searched refs:indirect_blks (Results 1 - 4 of 4) sorted by relevance

/linux-master/fs/ext4/
H A Dindirect.c307 * @indirect_blks: number of allocated indirect blocks
330 int indirect_blks, ext4_lblk_t *offsets,
338 for (i = 0; i <= indirect_blks; i++) {
339 if (i == indirect_blks) {
375 if (i == indirect_blks)
391 if (i == indirect_blks) {
539 int indirect_blks; local
623 indirect_blks = (chain + depth) - partial - 1;
629 ar.len = ext4_blks_to_allocate(partial, indirect_blks,
635 err = ext4_alloc_branch(handle, &ar, indirect_blks,
328 ext4_alloc_branch(handle_t *handle, struct ext4_allocation_request *ar, int indirect_blks, ext4_lblk_t *offsets, Indirect *branch) argument
[all...]
/linux-master/fs/ext2/
H A Dinode.c391 * @indirect_blks: The number of blocks needed to allocate for indirect blocks.
400 ext2_fsblk_t goal, int indirect_blks, int blks,
417 target = blks + indirect_blks;
428 while (index < indirect_blks && count) {
455 * @indirect_blks: depth of the chain (number of blocks to allocate)
480 int indirect_blks, int *blks, ext2_fsblk_t goal,
491 num = ext2_alloc_blocks(inode, goal, indirect_blks,
500 for (n = 1; n <= indirect_blks; n++) {
517 if ( n == indirect_blks) {
543 for (i = 0; i < indirect_blks;
399 ext2_alloc_blocks(struct inode *inode, ext2_fsblk_t goal, int indirect_blks, int blks, ext2_fsblk_t new_blocks[4], int *err) argument
479 ext2_alloc_branch(struct inode *inode, int indirect_blks, int *blks, ext2_fsblk_t goal, int *offsets, Indirect *branch) argument
634 int indirect_blks; local
[all...]
/linux-master/fs/f2fs/
H A Dnode.c649 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; local
663 base += 2 * indirect_blks;
688 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; local
689 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK;
716 if (block < indirect_blks) {
725 block -= indirect_blks;
726 if (block < indirect_blks) {
735 block -= indirect_blks;
739 offset[n++] = block / indirect_blks;
H A Dgc.c1083 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; local
1091 } else if (node_ofs <= indirect_blks) {
1096 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1);

Completed in 202 milliseconds