Lines Matching defs:cnid
87 static int hfsplus_cat_build_record(hfsplus_cat_entry *entry, u32 cnid, struct inode *inode)
113 file->id = cpu_to_be32(cnid);
119 if (cnid == inode->i_ino) {
153 int hfsplus_find_cat(hfsplus_handle_t *hfsplus_handle, struct super_block *sb, u32 cnid,
160 hfsplus_cat_build_key(sb, fd->search_key, cnid, NULL);
176 int hfsplus_create_cat(hfsplus_handle_t *hfsplus_handle, u32 cnid, struct inode *dir, struct qstr *str, struct inode *inode)
184 dprint(DBG_CAT_MOD, "create_cat: %s,%u(%d)\n", str->name, cnid, inode->i_nlink);
188 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL);
203 entry_size = hfsplus_cat_build_record(&entry, cnid, inode);
225 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL);
233 int hfsplus_delete_cat(hfsplus_handle_t *hfsplus_handle, u32 cnid, struct inode *dir, struct qstr *str)
242 dprint(DBG_CAT_MOD, "delete_cat: %s,%u\n", str ? str->name : NULL, cnid);
249 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL);
272 hfsplus_free_fork(hfsplus_handle, sb, cnid, &fork, HFSPLUS_TYPE_RSRC);
286 hfsplus_cat_build_key(sb, fd.search_key, cnid, NULL);
305 int hfsplus_rename_cat(hfsplus_handle_t *hfsplus_handle, u32 cnid,
315 dprint(DBG_CAT_MOD, "rename_cat: %u - %lu,%s - %lu,%s\n", cnid, src_dir->i_ino, src_name->name,
365 hfsplus_cat_build_key(sb, src_fd.search_key, cnid, NULL);
375 hfsplus_cat_build_key(sb, dst_fd.search_key, cnid, NULL);