/Linux-v5.10/fs/ocfs2/ |
D | dcache.c | 33 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen() 57 unsigned long gen = (unsigned long) dentry->d_fsdata; in ocfs2_dentry_revalidate() 100 if (!dentry->d_fsdata) { in ocfs2_dentry_revalidate() 126 if (!dentry->d_fsdata) in ocfs2_match_dentry() 218 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock() 232 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock() 235 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock() 260 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock() 299 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock() 311 dentry->d_fsdata = dl; in ocfs2_dentry_attach_lock() [all …]
|
/Linux-v5.10/fs/configfs/ |
D | dir.c | 42 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_d_iput() 249 dentry->d_fsdata = configfs_get(sd); in configfs_make_dirent() 256 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_remove_dirent() 285 error = configfs_dirent_exists(p->d_fsdata, dentry->d_name.name); in configfs_create_dir() 289 error = configfs_make_dirent(p->d_fsdata, dentry, item, mode, in configfs_create_dir() 295 configfs_set_dir_dirent_depth(p->d_fsdata, dentry->d_fsdata); in configfs_create_dir() 359 struct configfs_dirent *p = parent->d_fsdata; in configfs_create_link() 431 dentry->d_fsdata = configfs_get(sd); in configfs_attach_attr() 455 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup() 510 struct configfs_dirent *parent_sd = dentry->d_fsdata; in configfs_detach_prep() [all …]
|
D | configfs_internal.h | 104 struct configfs_dirent * sd = dentry->d_fsdata; in to_item() 110 struct configfs_dirent * sd = dentry->d_fsdata; in to_attr() 127 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_get_config_item()
|
D | inode.c | 46 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_setattr() 176 sd = dentry->d_fsdata; in configfs_create() 231 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove()
|
D | symlink.c | 83 struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata; in create_link() 151 sd = dentry->d_parent->d_fsdata; in configfs_symlink() 222 struct configfs_dirent *sd = dentry->d_fsdata, *target_sd; in configfs_unlink()
|
D | file.c | 53 struct configfs_dirent *sd = file->f_path.dentry->d_fsdata; in to_frag() 524 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_file() 546 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_bin_file()
|
/Linux-v5.10/fs/hfsplus/ |
D | dir.c | 25 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_instantiate() 43 dentry->d_fsdata = NULL; in hfsplus_lookup() 69 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup() 90 if (dentry->d_fsdata) { in hfsplus_lookup() 95 cnid = (unsigned long)dentry->d_fsdata; in hfsplus_lookup() 98 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup() 110 } else if (!dentry->d_fsdata) in hfsplus_lookup() 111 dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_lookup() 317 if (inode->i_ino == (u32)(unsigned long)src_dentry->d_fsdata) { in hfsplus_link() 333 src_dentry->d_fsdata = (void *)(unsigned long)cnid; in hfsplus_link() [all …]
|
/Linux-v5.10/fs/nfs/ |
D | unlink.c | 139 devname_garbage = alias->d_fsdata; in nfs_call_unlink() 140 alias->d_fsdata = data; in nfs_call_unlink() 190 devname_garbage = dentry->d_fsdata; in nfs_async_unlink() 191 dentry->d_fsdata = data; in nfs_async_unlink() 226 data = dentry->d_fsdata; in nfs_complete_unlink() 227 dentry->d_fsdata = NULL; in nfs_complete_unlink() 240 struct nfs_unlinkdata *data = dentry->d_fsdata; in nfs_cancel_async_unlink() 243 dentry->d_fsdata = NULL; in nfs_cancel_async_unlink()
|
D | getroot.c | 123 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root() 125 root->d_fsdata = name; in nfs_get_root()
|
/Linux-v5.10/fs/afs/ |
D | dynroot.c | 295 subdir->d_fsdata = (void *)1UL; in afs_dynroot_mkdir() 326 if (subdir->d_fsdata) { in afs_dynroot_rmdir() 328 subdir->d_fsdata = NULL; in afs_dynroot_rmdir() 385 if (subdir->d_fsdata) { in afs_dynroot_depopulate() 386 subdir->d_fsdata = NULL; in afs_dynroot_depopulate()
|
/Linux-v5.10/fs/9p/ |
D | vfs_dentry.c | 57 hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata) in v9fs_dentry_release() 59 dentry->d_fsdata = NULL; in v9fs_dentry_release()
|
D | fid.c | 31 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); in __add_fid() 58 if (dentry->d_fsdata) { in v9fs_fid_find() 59 struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata; in v9fs_fid_find()
|
/Linux-v5.10/fs/overlayfs/ |
D | util.c | 126 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_type() 159 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_lower() 171 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_lowerdata() 200 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_lower() 207 struct ovl_entry *oe = dentry->d_fsdata; in ovl_layer_lower() 220 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_lowerdata() 893 struct ovl_entry *oe = dentry->d_fsdata; in ovl_is_metacopy_dentry()
|
D | namei.c | 779 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_next() 822 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lookup() 823 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup() 1057 dentry->d_fsdata = oe; in ovl_lookup() 1111 dentry->d_fsdata = NULL; in ovl_lookup() 1133 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lower_positive()
|
D | ovl_entry.h | 115 return (struct ovl_entry *) dentry->d_fsdata; in OVL_E()
|
/Linux-v5.10/fs/debugfs/ |
D | inode.c | 213 void *fsd = dentry->d_fsdata; in debugfs_release_dentry() 216 kfree(dentry->d_fsdata); in debugfs_release_dentry() 222 f = (debugfs_automount_t)path->dentry->d_fsdata; in debugfs_automount() 412 dentry->d_fsdata = (void *)((unsigned long)real_fops | in __debugfs_create_file() 618 dentry->d_fsdata = (void *)f; in debugfs_create_automount() 692 fsd = READ_ONCE(dentry->d_fsdata); in __debugfs_file_removed()
|
D | file.c | 52 struct debugfs_fsdata *fsd = F_DENTRY(filp)->d_fsdata; in debugfs_real_fops() 87 d_fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_get() 99 if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) { in debugfs_file_get() 101 fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_get() 134 struct debugfs_fsdata *fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_put()
|
/Linux-v5.10/fs/ecryptfs/ |
D | ecryptfs_kernel.h | 502 return (struct ecryptfs_dentry_info *)dentry->d_fsdata; in ecryptfs_dentry_to_private() 509 dentry->d_fsdata = dentry_info; in ecryptfs_set_dentry_private() 515 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower() 521 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt; in ecryptfs_dentry_to_lower_mnt() 527 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
|
D | dentry.c | 68 struct ecryptfs_dentry_info *p = dentry->d_fsdata; in ecryptfs_d_release()
|
/Linux-v5.10/fs/ |
D | nsfs.c | 29 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in ns_dname() 98 dentry->d_fsdata = (void *)ns->ops; in __ns_get_path() 272 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in nsfs_show_path()
|
/Linux-v5.10/fs/cifs/ |
D | cifsfs.h | 46 dentry->d_fsdata = (void *) time; in cifs_set_time() 51 return (unsigned long) dentry->d_fsdata; in cifs_get_time()
|
/Linux-v5.10/fs/affs/ |
D | amigaffs.c | 130 if (entry_ino == (u32)(long)dentry->d_fsdata) { in affs_fix_dcache() 131 dentry->d_fsdata = (void *)inode->i_ino; in affs_fix_dcache() 156 link_ino = (u32)(long)dentry->d_fsdata; in affs_remove_link() 284 bh = affs_bread(sb, (u32)(long)dentry->d_fsdata); in affs_remove_header()
|
D | namei.c | 218 dentry->d_fsdata = (void *)(long)ino; in affs_lookup() 230 res->d_fsdata = dentry->d_fsdata; in affs_lookup()
|
/Linux-v5.10/fs/devpts/ |
D | inode.c | 588 dentry->d_fsdata = priv; in devpts_pty_new() 609 return dentry->d_fsdata; in devpts_get_priv() 622 dentry->d_fsdata = NULL; in devpts_pty_kill()
|
/Linux-v5.10/fs/orangefs/ |
D | dcache.c | 98 unsigned long time = (unsigned long) dentry->d_fsdata; in orangefs_d_revalidate()
|