Lines Matching defs:cnid
36 static int hfs_cat_build_record(hfs_cat_rec *rec, u32 cnid, struct inode *inode)
43 rec->dir.DirID = cpu_to_be32(cnid);
55 rec->file.FlNum = cpu_to_be32(cnid);
82 int hfs_cat_create(u32 cnid, struct inode *dir, struct qstr *str, struct inode *inode)
90 dprint(DBG_CAT_MOD, "create_cat: %s,%u(%d)\n", str->name, cnid, inode->i_nlink);
97 hfs_cat_build_key(sb, fd.search_key, cnid, NULL);
112 entry_size = hfs_cat_build_record(&entry, cnid, inode);
131 hfs_cat_build_key(sb, fd.search_key, cnid, NULL);
174 int hfs_cat_find_brec(struct super_block *sb, u32 cnid,
180 hfs_cat_build_key(sb, fd->search_key, cnid, NULL);
204 int hfs_cat_delete(u32 cnid, struct inode *dir, struct qstr *str)
211 dprint(DBG_CAT_MOD, "delete_cat: %s,%u\n", str ? str->name : NULL, cnid);
224 if (be32_to_cpu(file.FlNum) == cnid) {
240 hfs_cat_build_key(sb, fd.search_key, cnid, NULL);
265 int hfs_cat_move(u32 cnid, struct inode *src_dir, struct qstr *src_name,
274 dprint(DBG_CAT_MOD, "rename_cat: %u - %lu,%s - %lu,%s\n", cnid, src_dir->i_ino, src_name->name,
322 hfs_cat_build_key(sb, src_fd.search_key, cnid, NULL);
331 hfs_cat_build_key(sb, dst_fd.search_key, cnid, NULL);