Home
last modified time | relevance | path

Searched refs:indirect_blocks (Results 1 – 4 of 4) sorted by relevance

/fs/sysv/
Ditree.c28 unsigned long indirect_blocks = sbi->s_ind_per_block, in block_to_path() local
36 } else if ( (block -= DIRECT) < indirect_blocks) { in block_to_path()
39 } else if ((block -= indirect_blocks) < double_blocks) { in block_to_path()
42 offsets[n++] = block & (indirect_blocks - 1); in block_to_path()
43 } else if (((block -= double_blocks) >> (ptrs_bits * 2)) < indirect_blocks) { in block_to_path()
46 offsets[n++] = (block >> ptrs_bits) & (indirect_blocks - 1); in block_to_path()
47 offsets[n++] = block & (indirect_blocks - 1); in block_to_path()
/fs/ext4/
Dindirect.c81 indirect_blocks = ptrs, in ext4_block_to_path() local
89 } else if ((i_block -= direct_blocks) < indirect_blocks) { in ext4_block_to_path()
93 } else if ((i_block -= indirect_blocks) < double_blocks) { in ext4_block_to_path()
107 indirect_blocks + double_blocks, inode->i_ino); in ext4_block_to_path()
/fs/ext2/
Dinode.c169 indirect_blocks = ptrs, in ext2_block_to_path() local
180 } else if ( (i_block -= direct_blocks) < indirect_blocks) { in ext2_block_to_path()
184 } else if ((i_block -= indirect_blocks) < double_blocks) { in ext2_block_to_path()
/fs/ufs/
Dinode.c52 indirect_blocks = ptrs, in ufs_block_to_path() local
60 } else if ((i_block -= direct_blocks) < indirect_blocks) { in ufs_block_to_path()
63 } else if ((i_block -= indirect_blocks) < double_blocks) { in ufs_block_to_path()