Home
last modified time | relevance | path

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

1234

/freebsd/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,
65 struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
66 struct dentry *parent, void *data,
70 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
71 struct dentry *parent, void *data,
74 struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode,
75 struct dentry *parent, void *data,
80 struct dentry *debugfs_create_dir(const char *name, struct dentry *paren
[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/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) in zpl_lookup() argument
48 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_lookup()
50 size_t dlen = dlen(dentry); in zpl_lookup()
83 error = -zfs_lookup(ITOZ(dir), dname(dentry), &zp, in zpl_lookup()
89 spin_lock(&dentry->d_lock); in zpl_lookup()
90 dentry->d_time = jiffies; in zpl_lookup()
91 spin_unlock(&dentry->d_lock); in zpl_lookup()
106 return (d_splice_alias(NULL, dentry)); in zpl_lookup()
117 struct dentry *new_dentry; in zpl_lookup()
[all …]
H A Dzpl_ctldir.c109 struct inode *ip = path->dentry->d_inode; in zpl_root_getattr_impl()
130 static struct dentry *
131 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in zpl_root_lookup() argument
138 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL); in zpl_root_lookup()
144 return (d_splice_alias(NULL, dentry)); in zpl_root_lookup()
149 return (d_splice_alias(ip, dentry)); in zpl_root_lookup()
193 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate() argument
195 return (!!dentry->d_inode); in zpl_snapdir_revalidate()
211 static struct dentry *
212 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, in zpl_snapdir_lookup() argument
[all …]
H A Dzfs_ctldir.c121 struct dentry *se_root_dentry; /* snapshot root dentry */
137 uint64_t objsetid, struct dentry *root_dentry) in zfsctl_snapshot_alloc()
660 struct dentry *dentry; in zfsctl_snapdir_fid() local
671 dentry = d_obtain_alias(igrab(ip)); in zfsctl_snapdir_fid()
672 if (!IS_ERR(dentry)) { in zfsctl_snapdir_fid()
673 gen = !!d_mountpoint(dentry); in zfsctl_snapdir_fid()
674 dput(dentry); in zfsctl_snapdir_fid()
1161 struct dentry *dentry = path->dentry; in zfsctl_snapshot_mount() local
1162 struct inode *ip = dentry->d_inode; in zfsctl_snapshot_mount()
1184 error = zfsctl_snapshot_name(zfsvfs, dname(dentry), in zfsctl_snapshot_mount()
[all …]
H A Dzpl_export.c65 static struct dentry *
113 zpl_get_name(struct dentry *parent, char *name, struct dentry *child) in zpl_get_name()
135 static struct dentry *
136 zpl_get_parent(struct dentry *child) in zpl_get_parent()
H A Dzpl_super.c125 zpl_statfs(struct dentry *dentry, struct kstatfs *statp) in zpl_statfs() argument
131 error = -zfs_statvfs(dentry->d_inode, statp); in zpl_statfs()
206 zpl_show_devname(struct seq_file *seq, struct dentry *root) in zpl_show_devname()
244 zpl_show_options(struct seq_file *seq, struct dentry *root) in zpl_show_options()
352 static struct dentry *
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Ddcache_compat.h31 #define dname(dentry) ((char *)((dentry)->d_name.name)) argument
32 #define dlen(dentry) ((int)((dentry)->d_name.len)) argument
80 d_clear_d_op(struct dentry *dentry) in d_clear_d_op() argument
82 dentry->d_op = NULL; in d_clear_d_op()
83 dentry->d_flags &= ~( in d_clear_d_op()
95 struct dentry *dentry; in zpl_d_drop_aliases() local
97 hlist_for_each_entry(dentry, &inode->i_dentry, d_alias) { in zpl_d_drop_aliases()
98 if (!IS_ROOT(dentry) && !d_mountpoint(dentry) && in zpl_d_drop_aliases()
99 (dentry->d_inode == inode)) { in zpl_d_drop_aliases()
100 d_drop(dentry); in zpl_d_drop_aliases()
H A Dxattr_compat.h45 fn(struct dentry *dentry) \
47 return (!!__ ## fn(dentry->d_inode, NULL, 0, NULL, 0)); \
57 fn(const struct xattr_handler *handler, struct dentry *dentry, \
66 fn(const struct xattr_handler *handler, struct dentry *dentry, \
83 struct dentry *dentry, struct inode *inode, const char *name, \
98 struct dentry *dentry, struct inode *inode, const char *name, \
111 fn(const struct xattr_handler *handler, struct dentry *dentry, \
/freebsd/sys/compat/lindebugfs/
H A Dlindebugfs.c83 struct dentry dm_dnode;
185 struct dentry * in debugfs_fill_data()
187 struct dentry *parent, void *data,
191 struct dentry *dnode; in debugfs_create_file()
220 struct dentry * in debugfs_create_file()
222 struct dentry *parent, void *data,
240 struct dentry *
242 struct dentry *parent, void *data,
249 struct dentry * in debugfs_create_file_unsafe()
251 struct dentry *paren
[all...]
/freebsd/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);
165 static int vchiq_debugfs_create_log_entries(struct dentry *top) in vchiq_debugfs_create_log_entries()
167 struct dentry *dir; in vchiq_debugfs_create_log_entries()
276 struct dentry *top, *use_count, *trace; in vchiq_debugfs_add_instance()
277 struct dentry *clients = vchiq_clients_top(); in vchiq_debugfs_add_instance()
[all …]
/freebsd/sys/contrib/openzfs/config/
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-xattr-handler.m439 dnl # changed to take dentry, inode and flags.
46 struct dentry *dentry, struct inode *inode,
59 [whether xattr_handler->get() wants dentry and inode and flags])
63 [xattr_handler->get() wants dentry and inode and flags])
78 struct dentry *dentry, struct inode *inode,
93 struct dentry *dentry, struct inode *inode,
107 struct dentry *dentry, struct inode *inode,
127 AC_MSG_CHECKING([whether xattr_handler->set() wants dentry, inode, and mnt_idmap])
134 AC_MSG_CHECKING([whether xattr_handler->set() wants dentry, inode, and user_namespace])
143 dnl # dentry and inode.
[all …]
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,
71 AC_DEFINE(HAVE_TMPFILE_DENTRY, 1, [i_op->tmpfile() uses old dentry signature])
75 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-rename.m410 static int rename_fn(struct inode *sip, struct dentry *sdp,
11 struct inode *tip, struct dentry *tdp,
29 struct dentry *sdp, struct inode *tip, struct dentry *tdp,
44 struct dentry *sdp, struct inode *tip, struct dentry *tdp,
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-inode-lookup.m49 static struct dentry *inode_lookup(struct inode *inode,
10 struct dentry *dentry, unsigned int flags) { return NULL; }
/freebsd/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);
68 extern int zpl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
74 extern int zpl_set_acl(struct user_namespace *userns, struct dentry *dentry,
179 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia) argument
185 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia) argument
/freebsd/sys/gnu/gcov/
H A Dgcov_fs.c208 struct dentry *dentry; member
209 struct dentry **links;
538 add_links(struct gcov_node *node, struct dentry *parent) in add_links()
547 node->links = malloc((num*sizeof(struct dentry *)), M_GCOV, M_NOWAIT|M_ZERO); in add_links()
618 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node()
619 parent->dentry, node, &gcov_data_fops); in new_node()
621 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node()
622 if (!node->dentry) { in new_node()
628 add_links(node, parent->dentry); in new_node()
662 debugfs_remove(node->dentry); in release_node()
[all …]
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dspectral.h31 struct dentry *scan_ctl;
32 struct dentry *scan_count;
33 struct dentry *scan_bins;
/freebsd/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()
116 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_port_gid()
143 container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry); in show_phys_port_pkey()
159 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \
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()
[all …]
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dbnxt_re.h324 struct dentry *qpinfo_dir;
325 struct dentry *service_fn_dir;
327 struct dentry *stat_query;
329 struct dentry *qplist_query;
331 struct dentry *service_fn_query;
553 struct dentry *port_debug_dir;
554 struct dentry *info;
555 struct dentry *drv_dbg_stats;
556 struct dentry *sp_perf_stats;
557 struct dentry *pdev_debug_dir;
[all …]

1234