Lines Matching refs:cnid
36 static int hfs_cat_build_record(hfs_cat_rec *rec, u32 cnid, struct inode *inode) in hfs_cat_build_record() argument
43 rec->dir.DirID = cpu_to_be32(cnid); in hfs_cat_build_record()
55 rec->file.FlNum = cpu_to_be32(cnid); in hfs_cat_build_record()
82 int hfs_cat_create(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) in hfs_cat_create() argument
91 str->name, cnid, inode->i_nlink); in hfs_cat_create()
108 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create()
123 entry_size = hfs_cat_build_record(&entry, cnid, inode); in hfs_cat_create()
142 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_create()
187 int hfs_cat_find_brec(struct super_block *sb, u32 cnid, in hfs_cat_find_brec() argument
193 hfs_cat_build_key(sb, fd->search_key, cnid, NULL); in hfs_cat_find_brec()
221 int hfs_cat_delete(u32 cnid, struct inode *dir, const struct qstr *str) in hfs_cat_delete() argument
228 hfs_dbg(CAT_MOD, "delete_cat: %s,%u\n", str ? str->name : NULL, cnid); in hfs_cat_delete()
243 if (be32_to_cpu(file.FlNum) == cnid) { in hfs_cat_delete()
263 hfs_cat_build_key(sb, fd.search_key, cnid, NULL); in hfs_cat_delete()
288 int hfs_cat_move(u32 cnid, struct inode *src_dir, const struct qstr *src_name, in hfs_cat_move() argument
298 cnid, src_dir->i_ino, src_name->name, in hfs_cat_move()
360 hfs_cat_build_key(sb, src_fd.search_key, cnid, NULL); in hfs_cat_move()
369 hfs_cat_build_key(sb, dst_fd.search_key, cnid, NULL); in hfs_cat_move()