Home
last modified time | relevance | path

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

1234

/freebsd-14-stable/sys/compat/linuxkpi/common/include/linux/
HDdebugfs.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 *parent);
82 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
[all …]
HDdcache.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-stable/sys/contrib/openzfs/module/os/linux/zfs/
HDzpl_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 if (dlen(dentry) >= ZAP_MAXNAMELEN) in zpl_lookup()
63 error = -zfs_lookup(ITOZ(dir), dname(dentry), &zp, in zpl_lookup()
69 spin_lock(&dentry->d_lock); in zpl_lookup()
70 dentry->d_time = jiffies; in zpl_lookup()
71 spin_unlock(&dentry->d_lock); in zpl_lookup()
86 return (d_splice_alias(NULL, dentry)); in zpl_lookup()
97 struct dentry *new_dentry; in zpl_lookup()
[all …]
HDzpl_ctldir.c105 struct inode *ip = path->dentry->d_inode; in zpl_root_getattr_impl()
126 static struct dentry *
127 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in zpl_root_lookup() argument
134 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL); in zpl_root_lookup()
140 return (d_splice_alias(NULL, dentry)); in zpl_root_lookup()
145 return (d_splice_alias(ip, dentry)); in zpl_root_lookup()
189 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate() argument
191 return (!!dentry->d_inode); in zpl_snapdir_revalidate()
207 static struct dentry *
208 zpl_snapdir_lookup(struct inode *dip, struct dentry *dentry, in zpl_snapdir_lookup() argument
[all …]
HDzfs_ctldir.c120 struct dentry *se_root_dentry; /* snapshot root dentry */
136 uint64_t objsetid, struct dentry *root_dentry) in zfsctl_snapshot_alloc()
659 struct dentry *dentry; in zfsctl_snapdir_fid() local
670 dentry = d_obtain_alias(igrab(ip)); in zfsctl_snapdir_fid()
671 if (!IS_ERR(dentry)) { in zfsctl_snapdir_fid()
672 gen = !!d_mountpoint(dentry); in zfsctl_snapdir_fid()
673 dput(dentry); in zfsctl_snapdir_fid()
1158 struct dentry *dentry = path->dentry; in zfsctl_snapshot_mount() local
1159 struct inode *ip = dentry->d_inode; in zfsctl_snapshot_mount()
1180 error = zfsctl_snapshot_name(zfsvfs, dname(dentry), in zfsctl_snapshot_mount()
[all …]
HDzpl_export.c65 static struct dentry *
113 zpl_get_name(struct dentry *parent, char *name, struct dentry *child) in zpl_get_name()
136 static struct dentry *
137 zpl_get_parent(struct dentry *child) in zpl_get_parent()
HDzpl_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()
346 static struct dentry *
/freebsd-14-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
HDdcache_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()
HDxattr_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-14-stable/sys/compat/lindebugfs/
HDlindebugfs.c84 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 *
223 struct dentry *parent, void *data, in debugfs_create_file_size()
241 struct dentry *
243 struct dentry *parent, void *data, in debugfs_create_file_unsafe()
250 struct dentry *
252 struct dentry *parent, void *data, in debugfs_create_mode_unsafe()
[all …]
/freebsd-14-stable/sys/contrib/vchiq/interface/vchiq_arm/
HDvchiq_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-14-stable/sys/contrib/openzfs/config/
HDkernel-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);
HDkernel-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 …]
HDkernel-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])
HDkernel-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,
HDkernel-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,
HDkernel-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,
HDkernel-symlink.m410 struct inode *inode ,struct dentry *dentry,
27 struct inode *inode ,struct dentry *dentry,
HDkernel-mknod.m411 struct inode *inode ,struct dentry *dentry,
29 struct inode *inode ,struct dentry *dentry,
HDkernel-inode-lookup.m49 static struct dentry *inode_lookup(struct inode *inode,
10 struct dentry *dentry, unsigned int flags) { return NULL; }
/freebsd-14-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/
HDzpl.h62 extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size);
69 extern int zpl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry,
75 extern int zpl_set_acl(struct user_namespace *userns, struct dentry *dentry,
180 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia) argument
186 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia) argument
/freebsd-14-stable/sys/gnu/gcov/
HDgcov_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-stable/sys/contrib/dev/athk/ath11k/
HDspectral.h31 struct dentry *scan_ctl;
32 struct dentry *scan_count;
33 struct dentry *scan_bins;
/freebsd-14-stable/sys/dev/mlx4/mlx4_ib/
HDmlx4_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-14-stable/sys/contrib/dev/iwlwifi/fw/
HDdebugfs.h11 struct dentry *dbgfs_dir);
15 struct dentry *dbgfs_dir) { } in iwl_fwrt_dbgfs_register()

1234