Lines Matching refs:sb
49 int hfsplus_attr_build_key(struct super_block *sb, hfsplus_btree_key *key, in hfsplus_attr_build_key() argument
57 int res = hfsplus_asc2uni(sb, in hfsplus_attr_build_key()
136 int hfsplus_find_attr(struct super_block *sb, u32 cnid, in hfsplus_find_attr() argument
143 if (!HFSPLUS_SB(sb)->attr_tree) { in hfsplus_find_attr()
149 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, name); in hfsplus_find_attr()
156 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, NULL); in hfsplus_find_attr()
171 struct super_block *sb = inode->i_sb; in hfsplus_attr_exists() local
174 if (!HFSPLUS_SB(sb)->attr_tree) in hfsplus_attr_exists()
177 err = hfs_find_init(HFSPLUS_SB(sb)->attr_tree, &fd); in hfsplus_attr_exists()
181 err = hfsplus_find_attr(sb, inode->i_ino, name, &fd); in hfsplus_attr_exists()
197 struct super_block *sb = inode->i_sb; in hfsplus_create_attr() local
206 if (!HFSPLUS_SB(sb)->attr_tree) { in hfsplus_create_attr()
215 err = hfs_find_init(HFSPLUS_SB(sb)->attr_tree, &fd); in hfsplus_create_attr()
220 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_create_attr()
300 struct super_block *sb = inode->i_sb; in hfsplus_delete_attr() local
306 if (!HFSPLUS_SB(sb)->attr_tree) { in hfsplus_delete_attr()
311 err = hfs_find_init(HFSPLUS_SB(sb)->attr_tree, &fd); in hfsplus_delete_attr()
316 err = hfsplus_attr_build_key(sb, fd.search_key, in hfsplus_delete_attr()