Searched refs:dentry (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/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);
[all...]
H A Ddcache.h35 struct dentry { struct
41 d_inode(const struct dentry *dentry) argument
43 return (dentry->d_inode);
H A Dfs.h50 struct dentry;
88 struct dentry *f_dentry;
89 struct dentry f_dentry_store;
161 int (*fsync)(struct file *, struct dentry *, int datasync);
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Ddcache_compat.h31 #define dname(dentry) ((char *)((dentry)->d_name.name))
32 #define dlen(dentry) ((int)((dentry)->d_name.len))
41 * the dentry structure. To handle this we define an appropriate
49 * registered dentry->d_op table. This is required because d_set_d_op()
50 * issues a warning when the dentry operations table is already set.
56 d_clear_d_op(struct dentry *dentry) argument
58 dentry
[all...]
H A Dxattr_compat.h46 fn(struct dentry *dentry) \
48 return (!!__ ## fn(dentry->d_inode, NULL, 0, NULL, 0)); \
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, \
71 return (__ ## fn(dentry->d_inode, \
80 * The xattr_handler->get() callback was changed to take a both dentry an
[all...]
H A Dvfs_compat.h287 * struct access file->f_path.dentry was replaced by accessor function
291 static inline struct dentry *file_dentry(const struct file *f)
293 return (f->f_path.dentry);
349 setattr_prepare(struct dentry *dentry, struct iattr *ia) argument
351 return (inode_change_ok(dentry->d_inode, ia));
379 func(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat) \
381 struct path path = { .mnt = mnt, .dentry = dentry }; \
[all...]
/freebsd-13-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_debugfs.h41 struct dentry *dentry; member in struct:vchiq_debugfs_node_struct
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);
165 static int vchiq_debugfs_create_log_entries(struct dentry *top)
167 struct dentry *dir;
276 struct dentry *top, *use_count, *trace;
277 struct dentry *client
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c37 static struct dentry *
38 zpl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument
48 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info;
50 if (dlen(dentry) >= ZAP_MAXNAMELEN)
63 error = -zfs_lookup(ITOZ(dir), dname(dentry), &zp,
69 spin_lock(&dentry->d_lock);
70 dentry->d_time = jiffies;
71 spin_unlock(&dentry->d_lock);
86 return (d_splice_alias(NULL, dentry));
132 zpl_create(struct user_namespace *user_ns, struct inode *dir, struct dentry *dentry, umode_t mode, bool flag) argument
175 zpl_mknod(struct user_namespace *user_ns, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev) argument
228 zpl_tmpfile(struct user_namespace *userns, struct inode *dir, struct dentry *dentry, umode_t mode) argument
276 zpl_unlink(struct inode *dir, struct dentry *dentry) argument
303 zpl_mkdir(struct user_namespace *user_ns, struct inode *dir, struct dentry *dentry, umode_t mode) argument
344 zpl_rmdir(struct inode *dir, struct dentry *dentry) argument
402 zpl_setattr(struct user_namespace *user_ns, struct dentry *dentry, struct iattr *ia) argument
485 zpl_symlink(struct user_namespace *user_ns, struct inode *dir, struct dentry *dentry, const char *name) argument
531 zpl_put_link(struct dentry *dentry, struct nameidata *nd, void *ptr) argument
547 zpl_get_link_common(struct dentry *dentry, struct inode *ip, char **link) argument
578 zpl_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
597 zpl_get_link(struct dentry *dentry, struct inode *inode, void **cookie) argument
613 zpl_follow_link(struct dentry *dentry, void **cookie) argument
626 zpl_follow_link(struct dentry *dentry, struct nameidata *nd) argument
642 zpl_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
675 zpl_revalidate(struct dentry *dentry, struct nameidata *nd) argument
[all...]
H A Dzpl_ctldir.c113 struct inode *ip = path->dentry->d_inode;
126 static struct dentry *
127 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) argument
134 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL);
140 return (d_splice_alias(NULL, dentry));
145 return (d_splice_alias(ip, dentry));
191 * as of the 3.18 kernel revaliding the mountpoint dentry will result in
196 zpl_snapdir_revalidate(struct dentry *dentry, struc argument
218 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) argument
338 zpl_snapdir_rmdir(struct inode *dip, struct dentry *dentry) argument
353 zpl_snapdir_mkdir(struct user_namespace *user_ns, struct inode *dip, struct dentry *dentry, umode_t mode) argument
452 zpl_shares_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) argument
[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.c120 struct dentry *se_root_dentry; /* snapshot root dentry */
135 uint64_t objsetid, struct dentry *root_dentry)
614 struct dentry *dentry; local
625 dentry = d_obtain_alias(igrab(ip));
626 if (!IS_ERR(dentry)) {
627 gen = !!d_mountpoint(dentry);
628 dput(dentry);
1044 struct dentry *dentr local
1163 struct dentry *dentry; local
[all...]
H A Dzpl_super.c135 zpl_statfs(struct dentry *dentry, struct kstatfs *statp) argument
141 error = -zfs_statvfs(dentry->d_inode, statp);
214 zpl_show_devname(struct seq_file *seq, struct dentry *root)
240 zpl_show_options(struct seq_file *seq, struct dentry *root)
316 static struct dentry *
H A Dzpl_xattr.c75 * associated entry in the dentry cache which references it. This is
91 struct dentry *dentry; member in struct:xattr_filldir
100 struct dentry *d = xf->dentry;
185 struct inode *ip = xf->dentry->d_inode;
210 znode_t *zp = ITOZ(xf->dentry->d_inode);
237 zpl_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size) argument
239 znode_t *zp = ITOZ(dentry
[all...]
/freebsd-13-stable/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);
188 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia)
194 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia)
/freebsd-13-stable/sys/compat/lindebugfs/
H A Dlindebugfs.c85 struct dentry dm_dnode;
181 struct dentry *
183 struct dentry *parent, void *data,
187 struct dentry *dnode;
216 struct dentry *
217 debugfs_create_dir(const char *name, struct dentry *parent)
220 struct dentry *dnode;
243 struct dentry *
244 debugfs_create_symlink(const char *name, struct dentry *parent,
248 struct dentry *dnod
[all...]
/freebsd-13-stable/sys/gnu/gcov/
H A Dgcov_fs.c194 * @dentry: main debugfs entry, either a directory or data file
212 struct dentry *dentry; member in struct:gcov_node
213 struct dentry **links;
542 add_links(struct gcov_node *node, struct dentry *parent)
551 node->links = malloc((num*sizeof(struct dentry *)), M_GCOV, M_NOWAIT|M_ZERO);
622 node->dentry = debugfs_create_file(deskew(node->name), 0600,
623 parent->dentry, node, &gcov_data_fops);
625 node->dentry = debugfs_create_dir(node->name, parent->dentry);
[all...]
/freebsd-13-stable/sys/dev/mlx5/
H A Ddriver.h177 struct dentry *dent;
185 struct dentry *root;
248 struct dentry *dbg_root;
249 struct dentry *dbg_in;
250 struct dentry *dbg_out;
251 struct dentry *dbg_outlen;
252 struct dentry *dbg_status;
253 struct dentry *dbg_run;
287 struct dentry *root;
288 struct dentry *av
[all...]
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c50 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
75 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
159 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \
176 vdentry->dentry.show = show;
177 vdentry->dentry.store = store;
178 sysfs_attr_init(&vdentry->dentry.attr);
179 vdentry->dentry.attr.name = vdentry->name;
180 vdentry->dentry
[all...]
H A Dmlx4_ib_mcg.c117 struct device_attribute dentry; member in struct:mcast_group
457 del_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
780 add_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
847 sysfs_attr_init(&group->dentry.attr);
848 group->dentry.show = sysfs_show_group;
849 group->dentry.store = NULL;
850 group->dentry.attr.name = group->name;
851 group->dentry.attr.mode = 0400;
866 add_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
997 container_of(attr, struct mcast_group, dentry);
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dvnode.h110 struct dentry *va_dentry; /* dentry to wire */
/freebsd-13-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h574 struct dentry *dir;
582 struct dentry *fsize;
583 struct dentry *fcur;
584 struct dentry *fmiss;
585 struct dentry *flimit;
597 struct dentry *root;
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dspace_map.c530 uint64_t dentry = SM_PREFIX_ENCODE(SM_DEBUG_PREFIX) | local
536 sizeof (dentry), &dentry, tx);
538 sm->sm_phys->smp_length += sizeof (dentry);
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_fs.c47 static struct dentry *ipoib_root;
H A Dipoib.h397 struct dentry *mcg_dentry;
398 struct dentry *path_dentry;

Completed in 130 milliseconds

12