Searched refs:indirect_blks (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/fs/ext4/ |
D | indirect.c | 330 int indirect_blks, ext4_lblk_t *offsets, in ext4_alloc_branch() argument 338 for (i = 0; i <= indirect_blks; i++) { in ext4_alloc_branch() 339 if (i == indirect_blks) { in ext4_alloc_branch() 375 if (i == indirect_blks) in ext4_alloc_branch() 391 if (i == indirect_blks) { in ext4_alloc_branch() 539 int indirect_blks; in ext4_ind_map_blocks() local 623 indirect_blks = (chain + depth) - partial - 1; in ext4_ind_map_blocks() 629 ar.len = ext4_blks_to_allocate(partial, indirect_blks, in ext4_ind_map_blocks() 635 err = ext4_alloc_branch(handle, &ar, indirect_blks, in ext4_ind_map_blocks() 646 err = ext4_splice_branch(handle, &ar, partial, indirect_blks); in ext4_ind_map_blocks()
|
/linux-6.1.9/fs/ext2/ |
D | inode.c | 396 ext2_fsblk_t goal, int indirect_blks, int blks, in ext2_alloc_blocks() argument 413 target = blks + indirect_blks; in ext2_alloc_blocks() 424 while (index < indirect_blks && count) { in ext2_alloc_blocks() 476 int indirect_blks, int *blks, ext2_fsblk_t goal, in ext2_alloc_branch() argument 487 num = ext2_alloc_blocks(inode, goal, indirect_blks, in ext2_alloc_branch() 496 for (n = 1; n <= indirect_blks; n++) { in ext2_alloc_branch() 513 if ( n == indirect_blks) { in ext2_alloc_branch() 539 for (i = 0; i < indirect_blks; i++) in ext2_alloc_branch() 630 int indirect_blks; in ext2_get_blocks() local 720 indirect_blks = (chain + depth) - partial - 1; in ext2_get_blocks() [all …]
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 645 const long indirect_blks = ADDRS_PER_BLOCK(dn->inode) * NIDS_PER_BLOCK; in f2fs_get_next_page_offset() local 659 base += 2 * indirect_blks; in f2fs_get_next_page_offset() 684 const long indirect_blks = ADDRS_PER_BLOCK(inode) * NIDS_PER_BLOCK; in get_node_path() local 685 const long dindirect_blks = indirect_blks * NIDS_PER_BLOCK; in get_node_path() 712 if (block < indirect_blks) { in get_node_path() 721 block -= indirect_blks; in get_node_path() 722 if (block < indirect_blks) { in get_node_path() 731 block -= indirect_blks; in get_node_path() 735 offset[n++] = block / indirect_blks; in get_node_path()
|
D | gc.c | 1056 unsigned int indirect_blks = 2 * NIDS_PER_BLOCK + 4; in f2fs_start_bidx_of_node() local 1064 } else if (node_ofs <= indirect_blks) { in f2fs_start_bidx_of_node() 1069 int dec = (node_ofs - indirect_blks - 3) / (NIDS_PER_BLOCK + 1); in f2fs_start_bidx_of_node()
|