/linux-6.6.21/fs/ocfs2/ |
D | dcache.c | 31 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-6.6.21/fs/configfs/ |
D | dir.c | 48 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() 319 configfs_put(dentry->d_fsdata); in configfs_create_dir() 367 struct configfs_dirent *p = parent->d_fsdata; in configfs_create_link() 386 configfs_put(dentry->d_fsdata); in configfs_create_link() 434 struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata; in configfs_lookup() [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 | 39 struct configfs_dirent * sd = dentry->d_fsdata; in configfs_setattr() 168 sd = dentry->d_fsdata; in configfs_create() 223 struct configfs_dirent * parent_sd = dir->d_fsdata; in configfs_hash_and_remove()
|
D | symlink.c | 81 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()
|
D | file.c | 51 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-6.6.21/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 …]
|
D | ioctl.c | 34 u32 cnid = (unsigned long)dentry->d_fsdata; in hfsplus_ioctl_bless()
|
/linux-6.6.21/fs/nfs/ |
D | unlink.c | 144 devname_garbage = alias->d_fsdata; in nfs_call_unlink() 145 alias->d_fsdata = data; in nfs_call_unlink() 195 devname_garbage = dentry->d_fsdata; in nfs_async_unlink() 196 dentry->d_fsdata = data; in nfs_async_unlink() 231 data = dentry->d_fsdata; in nfs_complete_unlink() 232 dentry->d_fsdata = NULL; in nfs_complete_unlink() 245 struct nfs_unlinkdata *data = dentry->d_fsdata; in nfs_cancel_async_unlink() 248 dentry->d_fsdata = NULL; in nfs_cancel_async_unlink()
|
D | getroot.c | 120 if (IS_ROOT(root) && !root->d_fsdata && in nfs_get_root() 122 root->d_fsdata = name; in nfs_get_root()
|
D | dir.c | 1795 if (dentry->d_fsdata == NFS_FSDATA_BLOCKED) in __nfs_lookup_revalidate() 1806 wait_var_event(&dentry->d_fsdata, in __nfs_lookup_revalidate() 1807 dentry->d_fsdata != NFS_FSDATA_BLOCKED); in __nfs_lookup_revalidate() 1912 if (unlikely(dentry->d_fsdata)) { in nfs_d_release() 1916 kfree(dentry->d_fsdata); in nfs_d_release() 2498 WARN_ON(dentry->d_fsdata == NFS_FSDATA_BLOCKED)) { in nfs_unlink() 2503 kfree(dentry->d_fsdata); in nfs_unlink() 2504 dentry->d_fsdata = NFS_FSDATA_BLOCKED; in nfs_unlink() 2509 dentry->d_fsdata = NULL; in nfs_unlink() 2510 wake_up_var(&dentry->d_fsdata); in nfs_unlink() [all …]
|
/linux-6.6.21/fs/afs/ |
D | dynroot.c | 299 subdir->d_fsdata = (void *)1UL; in afs_dynroot_mkdir() 330 if (subdir->d_fsdata) { in afs_dynroot_rmdir() 332 subdir->d_fsdata = NULL; in afs_dynroot_rmdir() 389 if (subdir->d_fsdata) { in afs_dynroot_depopulate() 390 subdir->d_fsdata = NULL; in afs_dynroot_depopulate()
|
/linux-6.6.21/fs/9p/ |
D | vfs_dentry.c | 54 hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata) in v9fs_dentry_release() 56 dentry->d_fsdata = NULL; in v9fs_dentry_release()
|
D | fid.c | 23 hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata); in __add_fid() 122 if (dentry->d_fsdata) { in v9fs_fid_find() 123 struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata; in v9fs_fid_find()
|
/linux-6.6.21/fs/tracefs/ |
D | event_inode.c | 138 ei = dentry->d_fsdata; in eventfs_set_attr() 277 ei = dentry->d_fsdata; in eventfs_find_events() 366 dentry->d_fsdata = get_ei(parent_ei); in lookup_file() 405 dentry->d_fsdata = get_ei(ei); in lookup_dir_entry() 435 put_ei(dentry->d_fsdata); in eventfs_d_release() 768 dentry->d_fsdata = get_ei(ei); in eventfs_create_events_dir()
|
/linux-6.6.21/fs/ |
D | nsfs.c | 30 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in ns_dname() 99 dentry->d_fsdata = (void *)ns->ops; in __ns_get_path() 255 const struct proc_ns_operations *ns_ops = dentry->d_fsdata; in nsfs_show_path()
|
/linux-6.6.21/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-6.6.21/fs/debugfs/ |
D | inode.c | 239 struct debugfs_fsdata *fsd = dentry->d_fsdata; in debugfs_release_dentry() 249 struct debugfs_fsdata *fsd = path->dentry->d_fsdata; in debugfs_automount() 443 dentry->d_fsdata = (void *)((unsigned long)real_fops | in __debugfs_create_file() 670 dentry->d_fsdata = fsd; in debugfs_create_automount() 744 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() 95 d_fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_get() 107 if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) { in debugfs_file_get() 109 fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_get() 142 struct debugfs_fsdata *fsd = READ_ONCE(dentry->d_fsdata); in debugfs_file_put()
|
/linux-6.6.21/fs/smb/client/ |
D | cifsfs.h | 33 dentry->d_fsdata = (void *) time; in cifs_set_time() 38 return (unsigned long) dentry->d_fsdata; in cifs_get_time()
|
/linux-6.6.21/fs/ecryptfs/ |
D | dentry.c | 68 struct ecryptfs_dentry_info *p = dentry->d_fsdata; in ecryptfs_d_release()
|
D | ecryptfs_kernel.h | 500 dentry->d_fsdata = dentry_info; in ecryptfs_set_dentry_private() 506 return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry; in ecryptfs_dentry_to_lower() 512 return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path; in ecryptfs_dentry_to_lower_path()
|
/linux-6.6.21/fs/devpts/ |
D | inode.c | 570 dentry->d_fsdata = priv; in devpts_pty_new() 591 return dentry->d_fsdata; in devpts_get_priv() 604 dentry->d_fsdata = NULL; in devpts_pty_kill()
|
/linux-6.6.21/fs/orangefs/ |
D | dcache.c | 100 unsigned long time = (unsigned long) dentry->d_fsdata; in orangefs_d_revalidate()
|