Lines Matching refs:cnid
23 struct inode *inode, u32 cnid) in hfsplus_instantiate() argument
25 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_instantiate()
38 u32 cnid, linkid = 0; in hfsplus_lookup() local
68 cnid = be32_to_cpu(entry.folder.id); in hfsplus_lookup()
69 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup()
75 cnid = be32_to_cpu(entry.file.id); in hfsplus_lookup()
95 cnid = (unsigned long)dentry->d_fsdata; in hfsplus_lookup()
98 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup()
111 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup()
118 inode = hfsplus_iget(dir->i_sb, cnid); in hfsplus_lookup()
308 u32 cnid, id; in hfsplus_link() local
319 get_random_bytes(&id, sizeof(cnid)); in hfsplus_link()
332 cnid = sbi->next_cnid++; in hfsplus_link()
333 src_dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_link()
334 res = hfsplus_create_cat(cnid, src_dir, in hfsplus_link()
341 cnid = sbi->next_cnid++; in hfsplus_link()
342 res = hfsplus_create_cat(cnid, dst_dir, &dst_dentry->d_name, inode); in hfsplus_link()
347 hfsplus_instantiate(dst_dentry, inode, cnid); in hfsplus_link()
364 u32 cnid; in hfsplus_unlink() local
371 cnid = (u32)(unsigned long)dentry->d_fsdata; in hfsplus_unlink()
372 if (inode->i_ino == cnid && in hfsplus_unlink()
385 res = hfsplus_delete_cat(cnid, dir, &dentry->d_name); in hfsplus_unlink()
391 if (inode->i_ino == cnid) in hfsplus_unlink()
394 if (inode->i_ino != cnid) { in hfsplus_unlink()