Searched refs:max_lvl (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_diskops.c | 405 static int fetch_level_blocks(struct ext2_inode *inode, uint32_t offsets[4], int lvl, int max_lvl, in fetch_level_blocks() argument 412 if (lvl > max_lvl) { in fetch_level_blocks() 444 return fetch_level_blocks(inode, offsets, lvl + 1, max_lvl, try_current); in fetch_level_blocks() 457 int max_lvl, ret; in ext2_fetch_inode_block() local 461 max_lvl = get_level_offsets(fs, block, offsets); in ext2_fetch_inode_block() 463 ret = fetch_level_blocks(inode, offsets, 0, max_lvl, try_current); in ext2_fetch_inode_block() 470 inode->block_lvl = max_lvl; in ext2_fetch_inode_block() 665 int max_lvl; in ext2_inode_remove_blocks() local 670 max_lvl = get_level_offsets(inode->i_fs, first, offsets); in ext2_inode_remove_blocks() 672 if (all_zero(&offsets[1], max_lvl)) { in ext2_inode_remove_blocks()
|