Lines Matching refs:sbi
20 void *read_all_xattrs(struct f2fs_sb_info *sbi, struct f2fs_node *inode) in read_all_xattrs() argument
37 get_node_info(sbi, le32_to_cpu(inode->i.i_xattr_nid), &ni); in read_all_xattrs()
67 static void write_all_xattrs(struct f2fs_sb_info *sbi, in write_all_xattrs() argument
86 f2fs_alloc_nid(sbi, &new_nid, 0); in write_all_xattrs()
90 blkaddr = new_node_block(sbi, &dn, XATTR_NODE_OFFSET); in write_all_xattrs()
96 get_node_info(sbi, xnid, &ni); in write_all_xattrs()
116 int f2fs_setxattr(struct f2fs_sb_info *sbi, nid_t ino, int index, const char *name, in f2fs_setxattr() argument
146 get_node_info(sbi, ino, &ni); in f2fs_setxattr()
152 base_addr = read_all_xattrs(sbi, inode); in f2fs_setxattr()
223 write_all_xattrs(sbi, inode, new_hsize, base_addr); in f2fs_setxattr()
234 int inode_set_selinux(struct f2fs_sb_info *sbi, u32 ino, const char *secon) in inode_set_selinux() argument
239 return f2fs_setxattr(sbi, ino, F2FS_XATTR_INDEX_SECURITY, in inode_set_selinux()