Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c133 struct dentry *dentry, umode_t mode, bool flag) in zpl_create() argument
176 struct dentry *dentry, umode_t mode, in zpl_mknod() argument
229 struct dentry *dentry, umode_t mode) in zpl_tmpfile() argument
276 zpl_unlink(struct inode *dir, struct dentry *dentry) in zpl_unlink() argument
304 struct dentry *dentry, umode_t mode) in zpl_mkdir() argument
344 zpl_rmdir(struct inode *dir, struct dentry *dentry) in zpl_rmdir() argument
433 zpl_setattr(struct dentry *dentry, struct iattr *ia) in zpl_setattr()
514 struct dentry *dentry, const char *name) in zpl_symlink() argument
606 zpl_get_link(struct dentry *dentry, struct inode *inode, in zpl_get_link() argument
641 zpl_follow_link(struct dentry *dentry, void **cookie) in zpl_follow_link() argument
[all …]
H A Dzpl_ctldir.c126 static struct dentry *
196 zpl_snapdir_revalidate(struct dentry *dentry, struct nameidata *i) in zpl_snapdir_revalidate() argument
198 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate()
217 static struct dentry *
218 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, in zpl_snapdir_lookup() argument
238 d_clear_d_op(dentry); in zpl_snapdir_lookup()
305 struct dentry *sdentry, struct inode *tdip, struct dentry *tdentry, in zpl_snapdir_rename2()
338 zpl_snapdir_rmdir(struct inode *dip, struct dentry *dentry) in zpl_snapdir_rmdir() argument
354 struct dentry *dentry, umode_t mode) in zpl_snapdir_mkdir() argument
356 zpl_snapdir_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode) in zpl_snapdir_mkdir()
[all …]
H A Dzfs_ctldir.c614 struct dentry *dentry; in zfsctl_snapdir_fid() local
626 if (!IS_ERR(dentry)) { in zfsctl_snapdir_fid()
628 dput(dentry); in zfsctl_snapdir_fid()
1044 struct dentry *dentry = path->dentry; in zfsctl_snapshot_mount() local
1077 dname(dentry)); in zfsctl_snapshot_mount()
1132 dentry = spath.dentry; in zfsctl_snapshot_mount()
1138 dentry); in zfsctl_snapshot_mount()
1163 struct dentry *dentry; in zfsctl_snapdir_vget() local
1191 if (gen != (!IS_ERR(dentry) && d_mountpoint(dentry))) { in zfsctl_snapdir_vget()
1196 if (!IS_ERR(dentry)) in zfsctl_snapdir_vget()
[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 Dzpl_super.c135 zpl_statfs(struct dentry *dentry, struct kstatfs *statp) in zpl_statfs() argument
141 error = -zfs_statvfs(dentry->d_inode, statp); in zpl_statfs()
214 zpl_show_devname(struct seq_file *seq, struct dentry *root) in zpl_show_devname()
240 zpl_show_options(struct seq_file *seq, struct dentry *root) in zpl_show_options()
316 static struct dentry *
/freebsd-13.1/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, \
59 return (__ ## fn(dentry->d_inode, \
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, \
113 fn(struct dentry *dentry, const char *name, void *buffer, size_t size, \
132 struct dentry *dentry, struct inode *inode, const char *name, \
145 fn(const struct xattr_handler *handler, struct dentry *dentry, \
160 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
56 d_clear_d_op(struct dentry *dentry) in d_clear_d_op() argument
58 dentry->d_op = NULL; in d_clear_d_op()
59 dentry->d_flags &= ~( in d_clear_d_op()
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()
349 setattr_prepare(struct dentry *dentry, struct iattr *ia) in setattr_prepare() argument
351 return (inode_change_ok(dentry->d_inode, ia)); in setattr_prepare()
379 func(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) \
381 struct path path = { .mnt = mnt, .dentry = dentry }; \
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Ddebugfs.h38 void debugfs_remove(struct dentry *dentry);
40 struct dentry *debugfs_create_file(const char *name, umode_t mode,
41 struct dentry *parent, void *data,
44 struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
46 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
49 void debugfs_remove_recursive(struct dentry *dentry);
H A Ddcache.h35 struct dentry { struct
41 d_inode(const struct dentry *dentry) in d_inode() argument
43 return (dentry->d_inode); in d_inode()
/freebsd-13.1/sys/contrib/openzfs/config/
H A Dkernel-xattr-handler.m472 struct dentry *dentry, struct inode *inode,
84 struct dentry *dentry, const char *name,
95 int get(struct dentry *dentry, const char *name,
109 dnl # dentry and inode.
160 struct dentry *dentry, struct inode *inode,
174 struct dentry *dentry, struct inode *inode,
188 struct dentry *dentry, const char *name,
200 int set(struct dentry *dentry, const char *name,
276 bool list(struct dentry *dentry) { return 0; }
287 struct dentry *dentry, char *list, size_t list_size,
[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);
H A Dkernel-tmpfile.m413 struct inode *inode, struct dentry *dentry,
22 int tmpfile(struct inode *inode, struct dentry *dentry,
H A Dkernel-inode-create.m411 struct inode *inode ,struct dentry *dentry,
27 int inode_create(struct inode *inode ,struct dentry *dentry,
H A Dkernel-dentry-operations.m4101 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 struct dentry *inode_lookup(struct inode *inode,
10 struct dentry *dentry, unsigned int flags) { return NULL; }
H A Dkernel-rename.m49 int rename_fn(struct inode *sip, struct dentry *sdp,
10 struct inode *tip, struct dentry *tdp,
28 struct dentry *sdp, struct inode *tip, struct dentry *tdp,
H A Dkernel-get-link.m48 const char *get_link(struct dentry *de, struct inode *ip,
18 const char *get_link(struct dentry *de, struct
28 const char *follow_link(struct dentry *de,
38 void *follow_link(struct dentry *de, struct
65 dnl # - When called in RCU mode a NULL dentry is passed.
H A Dkernel-mkdir.m414 struct inode *inode, struct dentry *dentry,
34 int mkdir(struct inode *inode, struct dentry *dentry,
/freebsd-13.1/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-13.1/sys/compat/lindebugfs/
H A Dlindebugfs.c85 struct dentry dm_dnode;
186 struct dentry *
188 struct dentry *parent, void *data, in debugfs_create_file()
192 struct dentry *dnode; in debugfs_create_file()
221 struct dentry *
222 debugfs_create_dir(const char *name, struct dentry *parent) in debugfs_create_dir()
225 struct dentry *dnode; in debugfs_create_dir()
248 struct dentry *
253 struct dentry *dnode; in debugfs_create_symlink()
285 debugfs_remove(struct dentry *dnode) in debugfs_remove()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzpl.h61 extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size);
192 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia) argument
198 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia) argument
/freebsd-13.1/sys/gnu/gcov/
H A Dgcov_fs.c212 struct dentry *dentry; member
213 struct dentry **links;
542 add_links(struct gcov_node *node, struct dentry *parent) in add_links()
551 node->links = malloc((num*sizeof(struct dentry *)), M_GCOV, M_NOWAIT|M_ZERO); in add_links()
622 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node()
623 parent->dentry, node, &gcov_data_fops); in new_node()
625 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node()
626 if (!node->dentry) { in new_node()
632 add_links(node, parent->dentry); in new_node()
666 debugfs_remove(node->dentry); in release_node()
[all …]
/freebsd-13.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_admin_alias_guid()
75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in store_admin_alias_guid()
176 vdentry->dentry.show = show; in create_sysfs_entry()
177 vdentry->dentry.store = store; in create_sysfs_entry()
178 sysfs_attr_init(&vdentry->dentry.attr); in create_sysfs_entry()
179 vdentry->dentry.attr.name = vdentry->name; in create_sysfs_entry()
180 vdentry->dentry.attr.mode = 0; in create_sysfs_entry()
184 if (vdentry->dentry.store) in create_sysfs_entry()
185 vdentry->dentry.attr.mode |= S_IWUSR; in create_sysfs_entry()
187 if (vdentry->dentry.show) in create_sysfs_entry()
[all …]
/freebsd-13.1/sys/dev/mlx5/
H A Ddriver.h179 struct dentry *dent;
187 struct dentry *root;
250 struct dentry *dbg_root;
251 struct dentry *dbg_in;
252 struct dentry *dbg_out;
253 struct dentry *dbg_outlen;
255 struct dentry *dbg_run;
289 struct dentry *root;
290 struct dentry *avg;
291 struct dentry *count;
[all …]

123