Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 92) sorted by relevance

1234

/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Ddebugfs.h60 struct dentry *debugfs_create_file(const char *name, umode_t mode,
61 struct dentry *parent, void *data,
66 struct dentry *parent, void *data,
71 struct dentry *parent, void *data,
75 struct dentry *parent, void *data,
80 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
82 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
85 void debugfs_remove(struct dentry *dentry);
87 void debugfs_remove_recursive(struct dentry *dentry);
117 struct dentry *debugfs_create_blob(const char *name, umode_t mode,
[all …]
H A Ddcache.h34 struct dentry { struct
40 d_inode(const struct dentry *dentry) in d_inode() argument
42 return (dentry->d_inode); in d_inode()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c137 struct dentry *dentry, umode_t mode, bool flag) in zpl_create() argument
140 struct dentry *dentry, umode_t mode, bool flag) in zpl_create()
186 struct dentry *dentry, umode_t mode, in zpl_mknod() argument
189 struct dentry *dentry, umode_t mode, in zpl_mknod()
252 struct dentry *dentry, umode_t mode) in zpl_tmpfile()
341 struct dentry *dentry, umode_t mode) in zpl_mkdir() argument
344 struct dentry *dentry, umode_t mode) in zpl_mkdir()
388 zpl_rmdir(struct inode *dir, struct dentry *dentry) in zpl_rmdir() argument
607 struct dentry *dentry, const char *name) in zpl_symlink() argument
610 struct dentry *dentry, const char *name) in zpl_symlink()
[all …]
H A Dzpl_ctldir.c141 static struct dentry *
211 zpl_snapdir_revalidate(struct dentry *dentry, struct nameidata *i) in zpl_snapdir_revalidate() argument
213 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate()
232 static struct dentry *
233 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, in zpl_snapdir_lookup() argument
321 struct dentry *sdentry, struct inode *tdip, struct dentry *tdentry, in zpl_snapdir_rename2()
325 struct dentry *sdentry, struct inode *tdip, struct dentry *tdentry, in zpl_snapdir_rename2()
360 zpl_snapdir_rmdir(struct inode *dip, struct dentry *dentry) in zpl_snapdir_rmdir() argument
376 struct dentry *dentry, umode_t mode) in zpl_snapdir_mkdir() argument
379 struct dentry *dentry, umode_t mode) in zpl_snapdir_mkdir()
[all …]
H A Dzpl_export.c38 zpl_encode_fh(struct dentry *dentry, __u32 *fh, int *max_len, int connectable)
41 struct inode *ip = dentry->d_inode;
71 static struct dentry *
112 static struct dentry *
113 zpl_get_parent(struct dentry *child)
H A Dzfs_ctldir.c662 struct dentry *dentry; in zfsctl_snapdir_fid() local
674 if (!IS_ERR(dentry)) { in zfsctl_snapdir_fid()
676 dput(dentry); in zfsctl_snapdir_fid()
1098 struct dentry *dentry = path->dentry; in zfsctl_snapshot_mount() local
1132 dname(dentry)); in zfsctl_snapshot_mount()
1187 dentry = spath.dentry; in zfsctl_snapshot_mount()
1193 dentry); in zfsctl_snapshot_mount()
1218 struct dentry *dentry; in zfsctl_snapdir_vget() local
1246 if (gen != (!IS_ERR(dentry) && d_mountpoint(dentry))) { in zfsctl_snapdir_vget()
1251 if (!IS_ERR(dentry)) in zfsctl_snapdir_vget()
[all …]
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dxattr_compat.h46 fn(struct dentry *dentry) \
56 fn(struct dentry *dentry, char *list, size_t list_size, \
68 fn(const struct xattr_handler *handler, struct dentry *dentry, \
86 fn(const struct xattr_handler *handler, struct dentry *dentry, \
100 fn(const struct xattr_handler *handler, struct dentry *dentry, \
126 fn(const struct xattr_handler *handler, struct dentry *dentry, \
146 struct dentry *dentry, struct inode *inode, const char *name, \
161 struct dentry *dentry, struct inode *inode, const char *name, \
174 fn(const struct xattr_handler *handler, struct dentry *dentry, \
189 fn(const struct xattr_handler *handler, struct dentry *dentry, \
[all …]
H A Ddcache_compat.h31 #define dname(dentry) ((char *)((dentry)->d_name.name)) argument
32 #define dlen(dentry) ((int)((dentry)->d_name.len)) argument
86 d_clear_d_op(struct dentry *dentry) in d_clear_d_op() argument
88 dentry->d_op = NULL; in d_clear_d_op()
89 dentry->d_flags &= ~( in d_clear_d_op()
101 struct dentry *dentry; in zpl_d_drop_aliases() local
103 hlist_for_each_entry(dentry, &inode->i_dentry, d_alias) { in zpl_d_drop_aliases()
104 if (!IS_ROOT(dentry) && !d_mountpoint(dentry) && in zpl_d_drop_aliases()
105 (dentry->d_inode == inode)) { in zpl_d_drop_aliases()
106 d_drop(dentry); in zpl_d_drop_aliases()
H A Dvfs_compat.h291 static inline struct dentry *file_dentry(const struct file *f) in file_dentry()
293 return (f->f_path.dentry); in file_dentry()
347 setattr_prepare(struct dentry *dentry, struct iattr *ia) in setattr_prepare() argument
349 return (inode_change_ok(dentry->d_inode, ia)); in setattr_prepare()
377 func(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) \
379 struct path path = { .mnt = mnt, .dentry = dentry }; \
/freebsd-14.2/sys/contrib/openzfs/config/
H A Dkernel-xattr-handler.m472 struct dentry *dentry, struct inode *inode,
84 struct dentry *dentry, const char *name,
95 static int get(struct dentry *dentry, const char *name,
108 struct dentry *dentry, struct inode *inode,
187 struct dentry *dentry, struct inode *inode,
202 struct dentry *dentry, struct inode *inode,
216 struct dentry *dentry, struct inode *inode,
230 struct dentry *dentry, const char *name,
242 static int set(struct dentry *dentry, const char *name,
328 static bool list(struct dentry *dentry) { return 0; }
[all …]
H A Dkernel-setattr-prepare.m45 dnl # and updated to take a dentry rather than an inode.
10 struct dentry *dentry = NULL;
13 setattr_prepare(dentry, attr);
24 struct dentry *dentry = NULL;
28 setattr_prepare(userns, dentry, attr);
38 struct dentry *dentry = NULL;
42 setattr_prepare(idmap, dentry, attr);
H A Dkernel-dentry-alias.m43 dnl # Dentry aliases are in d_u struct dentry member
12 struct dentry *dentry __attribute__ ((unused)) = NULL;
13 hlist_for_each_entry(dentry, &inode->i_dentry,
15 d_drop(dentry);
21 AC_MSG_CHECKING([whether dentry aliases are in d_u member])
25 [dentry aliases are in d_u member])
H A Dkernel-rename.m411 static int rename2_fn(struct inode *sip, struct dentry *sdp,
12 struct inode *tip, struct dentry *tdp,
29 static int rename_fn(struct inode *sip, struct dentry *sdp,
30 struct inode *tip, struct dentry *tdp,
47 static int rename2_fn(struct inode *sip, struct dentry *sdp,
48 struct inode *tip, struct dentry *tdp,
66 struct dentry *sdp, struct inode *tip, struct dentry *tdp,
81 struct dentry *sdp, struct inode *tip, struct dentry *tdp,
H A Dkernel-tmpfile.m421 dnl # use struct file instead of struct dentry
40 struct inode *inode, struct dentry *dentry,
49 static int tmpfile(struct inode *inode, struct dentry *dentry,
74 AC_DEFINE(HAVE_TMPFILE_DENTRY, 1, [i_op->tmpfile() uses old dentry signature])
79 AC_DEFINE(HAVE_TMPFILE_DENTRY, 1, [i_op->tmpfile() uses old dentry signature])
H A Dkernel-inode-create.m411 struct inode *inode ,struct dentry *dentry,
29 struct inode *inode ,struct dentry *dentry,
45 static int inode_create(struct inode *inode ,struct dentry *dentry,
H A Dkernel-mkdir.m413 struct inode *inode, struct dentry *dentry,
30 struct inode *inode, struct dentry *dentry,
50 static int mkdir(struct inode *inode, struct dentry *dentry,
H A Dkernel-mknod.m411 struct inode *inode ,struct dentry *dentry,
29 struct inode *inode ,struct dentry *dentry,
H A Dkernel-symlink.m410 struct inode *inode ,struct dentry *dentry,
27 struct inode *inode ,struct dentry *dentry,
H A Dkernel-dentry-operations.m4101 static int revalidate (struct dentry *dentry,
124 dnl # The 'struct dentry_operations' was constified in the dentry structure.
134 struct dentry d __attribute__ ((unused));
140 AC_MSG_CHECKING([whether dentry uses const struct dentry_operations])
144 [dentry uses const struct dentry_operations])
H A Dkernel-inode-lookup.m49 static struct dentry *inode_lookup(struct inode *inode,
10 struct dentry *dentry, unsigned int flags) { return NULL; }
/freebsd-14.2/sys/compat/lindebugfs/
H A Dlindebugfs.c84 struct dentry dm_dnode;
177 struct dentry *
183 struct dentry *dnode; in debugfs_create_file()
212 struct dentry *
232 struct dentry *
241 struct dentry *
260 struct dentry *
264 struct dentry *dnode; in debugfs_create_dir()
287 struct dentry *
292 struct dentry *dnode; in debugfs_create_symlink()
[all …]
/freebsd-14.2/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_debugfs.c59 struct dentry *vchiq_cfg_dir;
62 struct dentry *clients;
65 struct dentry *log_categories;
74 struct dentry *dir;
88 static struct dentry *vchiq_clients_top(void);
89 static struct dentry *vchiq_debugfs_top(void);
167 struct dentry *dir; in vchiq_debugfs_create_log_entries()
276 struct dentry *top, *use_count, *trace; in vchiq_debugfs_add_instance()
315 debugfs_remove_recursive(node->dentry); in vchiq_debugfs_remove_instance()
352 static struct dentry *vchiq_clients_top(void) in vchiq_clients_top()
[all …]
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h70 extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size);
76 extern int zpl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
82 extern int zpl_set_acl(struct user_namespace *userns, struct dentry *dentry,
257 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia) argument
263 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia) argument
/freebsd-14.2/sys/gnu/gcov/
H A Dgcov_fs.c210 struct dentry *dentry; member
211 struct dentry **links;
540 add_links(struct gcov_node *node, struct dentry *parent) in add_links()
549 node->links = malloc((num*sizeof(struct dentry *)), M_GCOV, M_NOWAIT|M_ZERO); in add_links()
620 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node()
621 parent->dentry, node, &gcov_data_fops); in new_node()
623 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node()
624 if (!node->dentry) { in new_node()
630 add_links(node, parent->dentry); in new_node()
664 debugfs_remove(node->dentry); in release_node()
[all …]
/freebsd-14.2/sys/contrib/dev/athk/ath11k/
H A Dspectral.h31 struct dentry *scan_ctl;
32 struct dentry *scan_count;
33 struct dentry *scan_bins;

1234