Searched refs:dentry (Results 176 - 200 of 1771) sorted by relevance

1234567891011>>

/linux-master/fs/ext4/
H A Dfsync.c48 struct dentry *dentry, *next; local
53 dentry = d_find_any_alias(inode);
54 if (!dentry)
59 next = dget_parent(dentry);
60 dput(dentry);
61 dentry = next;
62 inode = dentry->d_inode;
67 * a reference to the inode via its dentry), so it didn't go
78 dput(dentry);
[all...]
/linux-master/fs/squashfs/
H A Dexport.c66 static struct dentry *squashfs_export_iget(struct super_block *sb,
70 struct dentry *dentry = ERR_PTR(-ENOENT); local
76 dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num));
78 return dentry;
82 static struct dentry *squashfs_fh_to_dentry(struct super_block *sb,
93 static struct dentry *squashfs_fh_to_parent(struct super_block *sb,
103 static struct dentry *squashfs_get_parent(struct dentry *child)
/linux-master/fs/reiserfs/
H A Dxattr_trusted.c12 trusted_get(const struct xattr_handler *handler, struct dentry *unused,
24 struct mnt_idmap *idmap, struct dentry *unused,
36 static bool trusted_list(struct dentry *dentry) argument
38 return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry));
/linux-master/fs/xfs/
H A Dxfs_ioctl.h39 extern struct dentry *
47 struct dentry *dentry,
53 struct dentry *dentry,
/linux-master/fs/proc/
H A Dself.c11 static const char *proc_self_get_link(struct dentry *dentry, argument
22 name = kmalloc(10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
24 return dentry ? ERR_PTR(-ENOMEM) : ERR_PTR(-ECHILD);
40 struct dentry *self;
H A Dfd.c141 static int tid_fd_revalidate(struct dentry *dentry, unsigned int flags) argument
150 inode = d_inode(dentry);
171 static int proc_fd_link(struct dentry *dentry, struct path *path) argument
176 task = get_proc_task(d_inode(dentry));
178 unsigned int fd = proc_fd(d_inode(dentry));
199 static struct dentry *proc_fd_instantiate(struct dentry *dentry, argument
223 proc_lookupfd_common(struct inode *dir, struct dentry *dentry, instantiate_t instantiate) argument
322 proc_lookupfd(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
377 proc_fdinfo_instantiate(struct dentry *dentry, struct task_struct *task, const void *ptr) argument
399 proc_lookupfdinfo(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
[all...]
/linux-master/include/drm/
H A Ddrm_debugfs.h95 struct dentry *dent;
143 int count, struct dentry *root,
146 struct dentry *root, struct drm_minor *minor);
158 int count, struct dentry *root,
163 int count, struct dentry *root,
/linux-master/fs/cachefiles/
H A Dnamei.c84 struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache,
85 struct dentry *dir,
89 struct dentry *subdir;
127 path.dentry = dir;
217 void cachefiles_put_directory(struct dentry *dir)
230 struct dentry *dir, struct dentry *dentry,
235 .dentry = dir,
239 trace_cachefiles_unlink(object, d_inode(dentry)
228 cachefiles_unlink(struct cachefiles_cache *cache, struct cachefiles_object *object, struct dentry *dir, struct dentry *dentry, enum fscache_why_object_killed why) argument
420 struct dentry *dentry = object->file->f_path.dentry; local
544 cachefiles_open_file(struct cachefiles_object *object, struct dentry *dentry) argument
626 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; local
676 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; local
[all...]
/linux-master/fs/nfs/
H A Ddir.c587 .dentry = file_dentry(desc->file),
639 int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry) argument
644 if (d_really_is_negative(dentry))
647 inode = d_inode(dentry);
722 void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry,
727 struct dentry *dentry; local
728 struct dentry *alias;
752 dentry
772 dentry, 0, status); local
776 d_inode(parent), dentry, 0); local
798 trace_nfs_readdir_lookup(d_inode(parent), dentry, 0); local
1221 struct dentry *dentry = file_dentry(file); local
1426 nfs_verifier_is_delegated(struct dentry *dentry) argument
1431 nfs_set_verifier_locked(struct dentry *dentry, unsigned long verf) argument
1453 nfs_set_verifier(struct dentry *dentry, unsigned long verf) argument
1490 nfs_dentry_verify_change(struct inode *dir, struct dentry *dentry) argument
1504 nfs_check_verifier(struct inode *dir, struct dentry *dentry, int rcu_walk) argument
1608 nfs_neg_need_reval(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
1622 nfs_lookup_revalidate_done(struct inode *dir, struct dentry *dentry, struct inode *inode, int error) argument
1644 nfs_lookup_revalidate_negative(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
1657 nfs_lookup_revalidate_delegated(struct inode *dir, struct dentry *dentry, struct inode *inode) argument
1664 nfs_lookup_revalidate_dentry(struct inode *dir, struct dentry *dentry, struct inode *inode, unsigned int flags) argument
1734 nfs_do_lookup_revalidate(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
1787 __nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags, int (*reval)(struct inode *, struct dentry *, unsigned int)) argument
1815 nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags) argument
1829 nfs_weak_revalidate(struct dentry *dentry, unsigned int flags) argument
1860 nfs_dentry_delete(const struct dentry *dentry) argument
1900 nfs_dentry_iput(struct dentry *dentry, struct inode *inode) argument
1909 nfs_d_release(struct dentry *dentry) argument
1930 nfs_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags) argument
2015 create_nfs_open_context(struct dentry *dentry, int open_flags, struct file *filp) argument
2026 nfs_finish_open(struct nfs_open_context *ctx, struct dentry *dentry, struct file *file, unsigned open_flags) argument
2043 nfs_atomic_open(struct inode *dir, struct dentry *dentry, struct file *file, unsigned open_flags, umode_t mode) argument
2192 nfs4_do_lookup_revalidate(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
2238 nfs4_lookup_revalidate(struct dentry *dentry, unsigned int flags) argument
2247 nfs_add_or_obtain(struct dentry *dentry, struct nfs_fh *fhandle, struct nfs_fattr *fattr) argument
2285 nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle, struct nfs_fattr *fattr) argument
2306 nfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
2335 nfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
2362 nfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
2386 nfs_dentry_handle_enoent(struct dentry *dentry) argument
2392 nfs_dentry_remove_handle_error(struct inode *dir, struct dentry *dentry, int error) argument
2407 nfs_rmdir(struct inode *dir, struct dentry *dentry) argument
2443 nfs_safe_remove(struct dentry *dentry) argument
2476 nfs_unlink(struct inode *dir, struct dentry *dentry) argument
2534 nfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
2591 nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
2653 struct dentry *dentry = NULL; local
[all...]
H A Dexport.c63 static struct dentry *
71 struct dentry *dentry; local
83 dentry = ERR_PTR(-ENOMEM);
102 dentry = ERR_PTR(ret);
109 dentry = d_obtain_alias(inode);
113 return dentry;
116 static struct dentry *
117 nfs_get_parent(struct dentry *dentry) argument
[all...]
/linux-master/security/tomoyo/
H A Drealpath.c84 * tomoyo_get_absolute_path - Get the path of a dentry but ignores chroot'ed root.
92 * If dentry is a directory, trailing '/' is appended.
103 struct inode *inode = d_backing_inode(path->dentry);
115 * tomoyo_get_dentry_path - Get the path of a dentry.
117 * @dentry: Pointer to "struct dentry".
123 * If dentry is a directory, trailing '/' is appended.
125 static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer, argument
131 pos = dentry_path_raw(dentry, buffe
153 tomoyo_get_local_path(struct dentry *dentry, char * const buffer, const int buflen) argument
242 struct dentry *dentry = path->dentry; local
[all...]
/linux-master/fs/configfs/
H A Dsymlink.c79 struct dentry *dentry)
105 dentry, body);
124 if (path->dentry->d_sb == sb) {
125 *target = configfs_get_config_item(path->dentry);
141 struct dentry *dentry, const char *symname)
150 sd = dentry->d_parent->d_fsdata;
158 parent_item = configfs_get_config_item(dentry->d_parent);
191 ret = get_target(symname, &path, &target_item, dentry
77 create_link(struct config_item *parent_item, struct config_item *item, struct dentry *dentry) argument
140 configfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
220 configfs_unlink(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/fs/afs/
H A Ddir.c20 static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
24 static int afs_d_revalidate(struct dentry *dentry, unsigned int flags);
25 static int afs_d_delete(const struct dentry *dentry);
26 static void afs_d_iput(struct dentry *dentry, struct inode *inode);
32 struct dentry *dentr
608 afs_do_lookup_one(struct inode *dir, struct dentry *dentry, struct afs_fid *fid, struct key *key, afs_dataversion_t *_dir_version) argument
790 afs_do_lookup(struct inode *dir, struct dentry *dentry, struct key *key) argument
928 afs_lookup_atsys(struct inode *dir, struct dentry *dentry, struct key *key) argument
984 afs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
1053 afs_d_revalidate_rcu(struct dentry *dentry) argument
1095 afs_d_revalidate(struct dentry *dentry, unsigned int flags) argument
1229 afs_d_delete(const struct dentry *dentry) argument
1252 afs_d_iput(struct dentry *dentry, struct inode *inode) argument
1262 afs_d_release(struct dentry *dentry) argument
1353 afs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
1383 afs_dir_remove_subdir(struct dentry *dentry) argument
1438 afs_rmdir(struct inode *dir, struct dentry *dentry) argument
1494 struct dentry *dentry = op->dentry; local
1571 afs_unlink(struct inode *dir, struct dentry *dentry) argument
1652 afs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
1724 afs_link(struct dentry *from, struct inode *dir, struct dentry *dentry) argument
1783 afs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *content) argument
[all...]
/linux-master/include/linux/
H A Dstatfs.h46 struct dentry;
47 extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.h45 struct dentry *dentry; member in struct:hns3_dbg_dentry_info
51 enum hns3_dbg_dentry_type dentry; member in struct:hns3_dbg_cmd_info
/linux-master/fs/hfsplus/
H A Ddir.c22 static inline void hfsplus_instantiate(struct dentry *dentry, argument
25 dentry->d_fsdata = (void *)(unsigned long)cnid;
26 d_instantiate(dentry, inode);
29 /* Find the entry inside dir named dentry->d_name */
30 static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry, argument
43 dentry->d_fsdata = NULL;
48 &dentry
358 hfsplus_unlink(struct inode *dir, struct dentry *dentry) argument
415 hfsplus_rmdir(struct inode *dir, struct dentry *dentry) argument
437 hfsplus_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
479 hfsplus_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
520 hfsplus_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
526 hfsplus_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
[all...]
H A Dxattr_trusted.c16 struct dentry *unused, struct inode *inode,
26 struct dentry *unused, struct inode *inode,
/linux-master/fs/hfs/
H A Dsysdep.c14 /* dentry case-handling: just lowercase everything */
16 static int hfs_revalidate_dentry(struct dentry *dentry, unsigned int flags) argument
24 inode = d_inode(dentry);
/linux-master/drivers/net/wireless/ath/ath11k/
H A Dspectral.h32 struct dentry *scan_ctl;
33 struct dentry *scan_count;
34 struct dentry *scan_bins;
/linux-master/drivers/ras/
H A Ddebugfs.c6 static struct dentry *ras_debugfs_dir;
10 struct dentry *ras_get_debugfs_root(void)
48 struct dentry *fentry;
/linux-master/fs/omfs/
H A Ddir.c111 static int omfs_add_link(struct dentry *dentry, struct inode *inode) argument
113 struct inode *dir = d_inode(dentry->d_parent);
114 const char *name = dentry->d_name.name;
115 int namelen = dentry->d_name.len;
156 static int omfs_delete_entry(struct dentry *dentry) argument
158 struct inode *dir = d_inode(dentry->d_parent);
160 const char *name = dentry->d_name.name;
161 int namelen = dentry
238 omfs_remove(struct inode *dir, struct dentry *dentry) argument
258 omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode) argument
282 omfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
288 omfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
294 omfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
[all...]
/linux-master/fs/
H A Dxattr.c184 __vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
200 return handler->set(handler, idmap, dentry, inode, name, value,
210 * @dentry: object to perform setxattr on
223 struct dentry *dentry, const char *name,
226 struct inode *inode = dentry->d_inode;
234 error = __vfs_setxattr(idmap, dentry, inode, name, value,
237 fsnotify_xattr(dentry);
238 security_inode_post_setxattr(dentry, nam
222 __vfs_setxattr_noperm(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument
275 __vfs_setxattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags, struct inode **delegated_inode) argument
304 vfs_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument
375 vfs_getxattr_alloc(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, char **xattr_value, size_t xattr_size, gfp_t flags) argument
410 __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name, void *value, size_t size) argument
428 vfs_getxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, void *value, size_t size) argument
483 vfs_listxattr(struct dentry *dentry, char *list, size_t size) argument
504 __vfs_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name) argument
534 __vfs_removexattr_locked(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, struct inode **delegated_inode) argument
566 vfs_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name) argument
622 do_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, struct xattr_ctx *ctx) argument
999 generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size) argument
[all...]
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.h19 struct dentry *tirn_dent;
56 struct dentry *rx_dent;
57 struct dentry *rx_table_dent;
67 struct dentry *debugfs;
81 struct dentry *dent;
93 struct dentry *dent;
/linux-master/fs/nilfs2/
H A Dnamei.c35 static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode) argument
37 int err = nilfs_add_link(dentry, inode);
40 d_instantiate_new(dentry, inode);
53 static struct dentry *
54 nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
59 if (dentry->d_name.len > NILFS_NAME_LEN)
62 ino = nilfs_inode_by_name(dir, &dentry->d_name);
64 return d_splice_alias(inode, dentry);
75 nilfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
103 nilfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
128 nilfs_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
177 nilfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
205 nilfs_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
259 nilfs_do_unlink(struct inode *dir, struct dentry *dentry) argument
294 nilfs_unlink(struct inode *dir, struct dentry *dentry) argument
315 nilfs_rmdir(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/fs/smb/server/
H A Dvfs.c51 * ksmbd_vfs_lock_parent() - lock parent dentry if it is stable
52 * @parent: parent dentry
53 * @child: child dentry
55 * Returns: %0 on success, %-ENOENT if the parent dentry is not stable
57 int ksmbd_vfs_lock_parent(struct dentry *parent, struct dentry *child)
77 struct dentry *d;
111 inode_lock_nested(parent_path->dentry->d_inode, I_MUTEX_PARENT);
112 d = lookup_one_qstr_excl(&last, parent_path->dentry, 0);
121 path->dentry
143 ksmbd_vfs_query_maximal_access(struct mnt_idmap *idmap, struct dentry *dentry, __le32 *daccess) argument
175 struct dentry *dentry; local
214 struct dentry *dentry; local
257 ksmbd_vfs_getcasexattr(struct mnt_idmap *idmap, struct dentry *dentry, char *attr_name, int attr_name_len, char **attr_value) argument
640 struct dentry *dentry; local
859 ksmbd_vfs_listxattr(struct dentry *dentry, char **list) argument
883 ksmbd_vfs_xattr_len(struct mnt_idmap *idmap, struct dentry *dentry, char *xattr_name) argument
898 ksmbd_vfs_getxattr(struct mnt_idmap *idmap, struct dentry *dentry, char *xattr_name, char **xattr_buf) argument
1078 struct dentry *dir, *dentry = filp->f_path.dentry; local
1468 struct dentry *dentry = path->dentry; local
1534 ksmbd_vfs_get_sd_xattr(struct ksmbd_conn *conn, struct mnt_idmap *idmap, struct dentry *dentry, struct smb_ntsd **pntsd) argument
1630 ksmbd_vfs_get_dos_attrib_xattr(struct mnt_idmap *idmap, struct dentry *dentry, struct xattr_dos_attrib *da) argument
1685 ksmbd_vfs_fill_dentry_attrs(struct ksmbd_work *work, struct mnt_idmap *idmap, struct dentry *dentry, struct ksmbd_kstat *ksmbd_kstat) argument
1732 ksmbd_vfs_casexattr_len(struct mnt_idmap *idmap, struct dentry *dentry, char *attr_name, int attr_name_len) argument
1873 struct dentry *dentry = path->dentry; local
1926 struct dentry *dentry = path->dentry; local
[all...]

Completed in 200 milliseconds

1234567891011>>