Lines Matching refs:sbi
19 void f2fs_alloc_nid(struct f2fs_sb_info *sbi, nid_t *nid, int inode) in f2fs_alloc_nid() argument
21 struct f2fs_nm_info *nm_i = NM_I(sbi); in f2fs_alloc_nid()
22 struct f2fs_checkpoint *cp = F2FS_CKPT(sbi); in f2fs_alloc_nid()
58 block_t new_node_block(struct f2fs_sb_info *sbi, in new_node_block() argument
63 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block()
87 get_node_info(sbi, dn->nid, &ni); in new_node_block()
89 reserve_new_block(sbi, &blkaddr, &sum, type); in new_node_block()
92 update_nat_blkaddr(sbi, le32_to_cpu(f2fs_inode->footer.ino), in new_node_block()
182 int get_dnode_of_data(struct f2fs_sb_info *sbi, struct dnode_of_data *dn, in get_dnode_of_data() argument
203 get_node_info(sbi, nids[0], &ni); in get_dnode_of_data()
208 struct f2fs_checkpoint *cp = F2FS_CKPT(sbi); in get_dnode_of_data()
214 f2fs_alloc_nid(sbi, &nids[i], 0); in get_dnode_of_data()
220 nblk[i] = new_node_block(sbi, dn, noffset[i]); in get_dnode_of_data()
228 get_node_info(sbi, nids[i], &ni); in get_dnode_of_data()