Home
last modified time | relevance | path

Searched refs:d_fsdata (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v6.1/fs/ocfs2/
Ddcache.c31 dentry->d_fsdata = (void *)gen; in ocfs2_dentry_attach_gen()
55 unsigned long gen = (unsigned long) dentry->d_fsdata; in ocfs2_dentry_revalidate()
98 if (!dentry->d_fsdata) { in ocfs2_dentry_revalidate()
124 if (!dentry->d_fsdata) in ocfs2_match_dentry()
216 struct ocfs2_dentry_lock *dl = dentry->d_fsdata; in ocfs2_dentry_attach_lock()
230 if (d_really_is_negative(dentry) && dentry->d_fsdata) { in ocfs2_dentry_attach_lock()
233 dentry->d_fsdata = dl = NULL; in ocfs2_dentry_attach_lock()
258 dl = alias->d_fsdata; in ocfs2_dentry_attach_lock()
297 if (unlikely(dentry->d_fsdata && !alias)) { in ocfs2_dentry_attach_lock()
309 dentry->d_fsdata = dl; in ocfs2_dentry_attach_lock()
[all …]
/Linux-v6.1/fs/configfs/
Ddir.c48 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_d_iput()
255 dentry->d_fsdata = configfs_get(sd); in configfs_make_dirent()
262 struct configfs_dirent *sd = dentry->d_fsdata; in configfs_remove_dirent()
292 error = configfs_dirent_exists(p->d_fsdata, dentry->d_name.name); in configfs_create_dir()
296 error = configfs_make_dirent(p->d_fsdata, dentry, item, mode, in configfs_create_dir()
302 configfs_set_dir_dirent_depth(p->d_fsdata, dentry->d_fsdata); in configfs_create_dir()
366 struct configfs_dirent *p = parent->d_fsdata; in configfs_create_link()
432 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup()
457 dentry->d_fsdata = configfs_get(sd); in configfs_lookup()
492 struct configfs_dirent *parent_sd = dentry->d_fsdata; in configfs_detach_prep()
[all …]
Dconfigfs_internal.h104 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()
Dinode.c39 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_setattr()
169 sd = dentry->d_fsdata; in configfs_create()
224 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove()
Dsymlink.c81 struct configfs_dirent *target_sd = item->ci_dentry->d_fsdata; in create_link()
150 sd = dentry->d_parent->d_fsdata; in configfs_symlink()
222 struct configfs_dirent *sd = dentry->d_fsdata, *target_sd; in configfs_unlink()
Dfile.c51 struct configfs_dirent *sd = file->f_path.dentry->d_fsdata; in to_frag()
450 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_file()
472 struct configfs_dirent *parent_sd = dir->d_fsdata; in configfs_create_bin_file()
/Linux-v6.1/fs/hfsplus/
Ddir.c25 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 …]
Dioctl.c34 u32 cnid = (unsigned long)dentry->d_fsdata; in hfsplus_ioctl_bless()
/Linux-v6.1/fs/nfs/
Dunlink.c143 devname_garbage = alias->d_fsdata; in nfs_call_unlink()
144 alias->d_fsdata = data; in nfs_call_unlink()
194 devname_garbage = dentry->d_fsdata; in nfs_async_unlink()
195 dentry->d_fsdata = data; in nfs_async_unlink()
230 data = dentry->d_fsdata; in nfs_complete_unlink()
231 dentry->d_fsdata = NULL; in nfs_complete_unlink()
244 struct nfs_unlinkdata *data = dentry->d_fsdata; in nfs_cancel_async_unlink()
247 dentry->d_fsdata = NULL; in nfs_cancel_async_unlink()
Dgetroot.c120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root()
122 root->d_fsdata = name; in nfs_get_root()
Ddir.c1785 if (dentry->d_fsdata == NFS_FSDATA_BLOCKED) in __nfs_lookup_revalidate()
1796 wait_var_event(&dentry->d_fsdata, in __nfs_lookup_revalidate()
1797 dentry->d_fsdata != NFS_FSDATA_BLOCKED); in __nfs_lookup_revalidate()
1902 if (unlikely(dentry->d_fsdata)) { in nfs_d_release()
1906 kfree(dentry->d_fsdata); in nfs_d_release()
2488 WARN_ON(dentry->d_fsdata == NFS_FSDATA_BLOCKED)) { in nfs_unlink()
2493 kfree(dentry->d_fsdata); in nfs_unlink()
2494 dentry->d_fsdata = NFS_FSDATA_BLOCKED; in nfs_unlink()
2499 dentry->d_fsdata = NULL; in nfs_unlink()
2500 wake_up_var(&dentry->d_fsdata); in nfs_unlink()
[all …]
/Linux-v6.1/fs/afs/
Ddynroot.c296 subdir->d_fsdata = (void *)1UL; in afs_dynroot_mkdir()
327 if (subdir->d_fsdata) { in afs_dynroot_rmdir()
329 subdir->d_fsdata = NULL; in afs_dynroot_rmdir()
386 if (subdir->d_fsdata) { in afs_dynroot_depopulate()
387 subdir->d_fsdata = NULL; in afs_dynroot_depopulate()
/Linux-v6.1/fs/9p/
Dvfs_dentry.c56 hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata) in v9fs_dentry_release()
58 dentry->d_fsdata = NULL; in v9fs_dentry_release()
Dfid.c24 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); in __add_fid()
108 if (dentry->d_fsdata) { in v9fs_fid_find()
109 struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata; in v9fs_fid_find()
/Linux-v6.1/fs/debugfs/
Dinode.c240 void *fsd = dentry->d_fsdata; in debugfs_release_dentry()
243 kfree(dentry->d_fsdata); in debugfs_release_dentry()
249 f = (debugfs_automount_t)path->dentry->d_fsdata; in debugfs_automount()
442 dentry->d_fsdata = (void *)((unsigned long)real_fops | in __debugfs_create_file()
658 dentry->d_fsdata = (void *)f; in debugfs_create_automount()
732 fsd = READ_ONCE(dentry->d_fsdata); in __debugfs_file_removed()
Dfile.c52 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-v6.1/fs/
Dnsfs.c29 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-v6.1/fs/overlayfs/
Dutil.c130 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_type()
163 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_lower()
175 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_lowerdata()
218 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_lower()
225 struct ovl_entry *oe = dentry->d_fsdata; in ovl_layer_lower()
238 struct ovl_entry *oe = dentry->d_fsdata; in ovl_dentry_lowerdata()
1004 struct ovl_entry *oe = dentry->d_fsdata; in ovl_is_metacopy_dentry()
Dnamei.c792 struct ovl_entry *oe = dentry->d_fsdata; in ovl_path_next()
835 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lookup()
836 struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata; in ovl_lookup()
1075 dentry->d_fsdata = oe; in ovl_lookup()
1133 dentry->d_fsdata = NULL; in ovl_lookup()
1155 struct ovl_entry *poe = dentry->d_parent->d_fsdata; in ovl_lower_positive()
Dovl_entry.h124 return (struct ovl_entry *) dentry->d_fsdata; in OVL_E()
/Linux-v6.1/fs/cifs/
Dcifsfs.h33 dentry->d_fsdata = (void *) time; in cifs_set_time()
38 return (unsigned long) dentry->d_fsdata; in cifs_get_time()
/Linux-v6.1/fs/affs/
Damigaffs.c130 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()
/Linux-v6.1/fs/ecryptfs/
Ddentry.c68 struct ecryptfs_dentry_info *p = dentry->d_fsdata; in ecryptfs_d_release()
/Linux-v6.1/fs/devpts/
Dinode.c588 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-v6.1/fs/orangefs/
Ddcache.c100 unsigned long time = (unsigned long) dentry->d_fsdata; in orangefs_d_revalidate()

12