Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 98) 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 *parent);
82 struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
[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_ctldir.c92 struct inode *ip = path->dentry->d_inode;
99 static struct dentry *
100 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in zpl_root_lookup() argument
107 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL); in zpl_root_lookup()
113 return (d_splice_alias(NULL, dentry)); in zpl_root_lookup()
118 return (d_splice_alias(ip, dentry)); in zpl_root_lookup()
171 struct dentry *dentry = path->dentry; in zpl_snapdir_manage() local
172 zfs_snapentry_t *se = dentry->d_fsdata; in zpl_snapdir_manage()
248 if (d_unhashed(dentry)) { in zpl_snapdir_manage()
258 if (!dentry->d_inode) { in zpl_snapdir_manage()
[all …]
H A Dzpl_inode.c31 static struct dentry *
32 zpl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in zpl_lookup() argument
42 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_lookup()
44 size_t dlen = dlen(dentry); in zpl_lookup()
77 error = -zfs_lookup(ITOZ(dir), dname(dentry), &zp, in zpl_lookup()
83 spin_lock(&dentry->d_lock); in zpl_lookup()
84 dentry->d_time = jiffies; in zpl_lookup()
85 spin_unlock(&dentry->d_lock); in zpl_lookup()
100 return (d_splice_alias(NULL, dentry)); in zpl_lookup()
111 struct dentry *new_dentry; in zpl_lookup()
[all …]
H A Dzfs_ctldir.c670 struct dentry *dentry; in zfsctl_snapdir_fid() local
681 dentry = d_obtain_alias(igrab(ip)); in zfsctl_snapdir_fid()
682 if (!IS_ERR(dentry)) { in zfsctl_snapdir_fid()
683 gen = !!d_mountpoint(dentry); in zfsctl_snapdir_fid()
684 dput(dentry); in zfsctl_snapdir_fid()
883 zfsctl_snapdir_rename(struct inode *sdip, struct dentry *sdentry, in zfsctl_snapdir_rename()
884 struct inode *tdip, struct dentry *tdentry, cred_t *cr) in zfsctl_snapdir_rename()
968 zfsctl_snapdir_remove(struct inode *dip, struct dentry *dentry, cred_t *cr) in zfsctl_snapdir_remove() argument
971 const char *name = dname(dentry); in zfsctl_snapdir_remove()
1287 struct dentry *dentry = arg; in zfsctl_snapshot_unmount_invalidate_task() local
[all …]
H A Dzpl_export.c89 static struct dentry *
131 static struct dentry *
178 zpl_get_name(struct dentry *parent, char *name, struct dentry *child) in zpl_get_name()
200 static struct dentry *
201 zpl_get_parent(struct dentry *child) in zpl_get_parent()
/freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Ddcache_compat.h22 #define dname(dentry) ((char *)((dentry)->d_name.name)) argument
23 #define dlen(dentry) ((int)((dentry)->d_name.len)) argument
73 struct dentry *dentry; in zpl_d_drop_aliases() local
75 hlist_for_each_entry(dentry, &inode->i_dentry, d_alias) { in zpl_d_drop_aliases()
76 if (!IS_ROOT(dentry) && !d_mountpoint(dentry) && in zpl_d_drop_aliases()
77 (dentry->d_inode == inode)) { in zpl_d_drop_aliases()
78 d_drop(dentry); in zpl_d_drop_aliases()
H A Dxattr_compat.h36 fn(struct dentry *dentry) \
38 return (!!__ ## fn(dentry->d_inode, NULL, 0, NULL, 0)); \
48 fn(const struct xattr_handler *handler, struct dentry *dentry, \
57 fn(const struct xattr_handler *handler, struct dentry *dentry, \
68 struct dentry *dentry, struct inode *inode, const char *name, \
77 struct dentry *dentry, struct inode *inode, const char *name, \
85 fn(const struct xattr_handler *handler, struct dentry *dentry, \
H A Dvfs_compat.h205 zpl_setattr_prepare(zidmap_t *idmap, struct dentry *dentry, struct iattr *ia) in zpl_setattr_prepare() argument
208 return (setattr_prepare((struct mnt_idmap *)idmap, dentry, ia)); in zpl_setattr_prepare()
210 return (setattr_prepare((struct user_namespace *)idmap, dentry, ia)); in zpl_setattr_prepare()
213 return (setattr_prepare(dentry, ia)); in zpl_setattr_prepare()
276 extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
286 int err = vfs_path_lookup(path->dentry, path->mnt, "/", in zpl_follow_down()
291 path->dentry = opath.dentry; in zpl_follow_down()
/freebsd/sys/compat/lindebugfs/
H A Dlindebugfs.c83 struct dentry dm_dnode;
212 struct dentry *
214 struct dentry *parent, void *data, in debugfs_create_file()
218 struct dentry *dnode; in debugfs_create_file()
247 struct dentry *
249 struct dentry *parent, void *data, in debugfs_create_file_size()
267 struct dentry *
269 struct dentry *parent, void *data, in debugfs_create_file_unsafe()
276 struct dentry *
278 struct dentry *parent, void *data, in debugfs_create_mode_unsafe()
[all …]
/freebsd/sys/contrib/openzfs/config/
H A Dkernel-mkdir.m45 dnl # mkdir() returns struct dentry *
10 static struct dentry *mkdir(struct mnt_idmap *idmap,
11 struct inode *inode, struct dentry *dentry,
12 umode_t umode) { return dentry; }
23 dnl # mkdir() returns struct dentry *
25 AC_MSG_CHECKING([whether iops->mkdir() returns struct dentry*])
29 [iops->mkdir() returns struct dentry*])
H A Dkernel-dentry-alias.m44 dnl # d_u union in struct dentry is now anonmymous, so d_alias must be
14 struct dentry *dentry __attribute__ ((unused)) = NULL;
15 hlist_for_each_entry(dentry, &inode->i_dentry,
17 d_drop(dentry);
23 AC_MSG_CHECKING([whether dentry aliases are in d_u member])
27 [dentry aliases are in d_u member])
H A Dkernel-xattr-handler.m440 dnl # changed to take dentry, inode and flags.
47 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])
H A Dkernel-inode-lookup.m410 static struct dentry *inode_lookup(struct inode *inode,
11 struct dentry *dentry, unsigned int flags) { return NULL; }
H A Dkernel-acl.m4127 dnl # set_acl() second paramter changed to a struct dentry *
137 struct dentry *dent, struct posix_acl *acl,
149 struct dentry *dent, struct posix_acl *acl,
172 AC_MSG_CHECKING([whether iops->set_acl() takes struct dentry])
176 [iops->set_acl() takes struct dentry])
181 [iops->set_acl() takes struct dentry])
H A Dkernel-automount.m44 dnl # The dops->d_automount() dentry operation was added as a clean
36 const struct qstr *name, struct dentry *dentry,
/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 …]
H A Dvchiq_debugfs.h41 struct dentry *dentry; member
/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/openzfs/include/os/linux/zfs/sys/
H A Dzfs_ctldir.h62 extern int zfsctl_snapdir_rename(struct inode *sdip, struct dentry *sdentry,
63 struct inode *tdip, struct dentry *tdentry, cred_t *cr);
64 extern int zfsctl_snapdir_remove(struct inode *dip, struct dentry *dentry,
/freebsd/sys/contrib/dev/athk/ath11k/
H A Dspectral.h32 struct dentry *scan_ctl;
33 struct dentry *scan_count;
34 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;
554 struct dentry *port_debug_dir;
555 struct dentry *info;
556 struct dentry *drv_dbg_stats;
557 struct dentry *sp_perf_stats;
558 struct dentry *pdev_debug_dir;
[all …]
/freebsd/sys/contrib/dev/iwlwifi/mld/
H A Dmld.h247 struct dentry *debugfs_dir;
362 iwl_mld_add_debugfs_files(struct iwl_mld *mld, struct dentry *debugfs_dir);
365 iwl_mld_add_debugfs_files(struct iwl_mld *mld, struct dentry *debugfs_dir) in iwl_mld_add_debugfs_files()
527 struct ieee80211_hw *hw, struct dentry *dbgfs_dir);
576 struct dentry *dir);
580 struct dentry *dir);
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Ddebugfs.h11 struct dentry *dbgfs_dir);
15 struct dentry *dbgfs_dir) { } in iwl_fwrt_dbgfs_register()

1234