Lines Matching refs:cnid
40 k1_cnid = k1->attr.cnid; in hfsplus_attr_bin_cmp_key()
41 k2_cnid = k2->attr.cnid; in hfsplus_attr_bin_cmp_key()
51 u32 cnid, const char *name) in hfsplus_attr_build_key() argument
56 key->attr.cnid = cpu_to_be32(cnid); in hfsplus_attr_build_key()
97 u32 cnid, const void *value, size_t size) in hfsplus_attr_build_record() argument
137 int hfsplus_find_attr(struct super_block *sb, u32 cnid, in hfsplus_find_attr() argument
142 hfs_dbg(ATTR_MOD, "find_attr: %s,%d\n", name ? name : NULL, cnid); in hfsplus_find_attr()
150 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, name); in hfsplus_find_attr()
157 err = hfsplus_attr_build_key(sb, fd->search_key, cnid, NULL); in hfsplus_find_attr()
266 static int __hfsplus_delete_attr(struct inode *inode, u32 cnid, in __hfsplus_delete_attr() argument
274 offsetof(struct hfsplus_attr_key, cnid), in __hfsplus_delete_attr()
276 if (cnid != be32_to_cpu(found_cnid)) in __hfsplus_delete_attr()
354 int hfsplus_delete_all_attrs(struct inode *dir, u32 cnid) in hfsplus_delete_all_attrs() argument
359 hfs_dbg(ATTR_MOD, "delete_all_attrs: %d\n", cnid); in hfsplus_delete_all_attrs()
371 err = hfsplus_find_attr(dir->i_sb, cnid, NULL, &fd); in hfsplus_delete_all_attrs()
378 err = __hfsplus_delete_attr(dir, cnid, &fd); in hfsplus_delete_all_attrs()