| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | debugfs.h | 60 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 D | dcache.h | 34 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 D | zpl_inode.c | 40 static struct dentry * 41 zpl_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) in zpl_lookup() argument 51 zfsvfs_t *zfsvfs = dentry->d_sb->s_fs_info; in zpl_lookup() 53 size_t dlen = dlen(dentry); in zpl_lookup() 86 error = -zfs_lookup(ITOZ(dir), dname(dentry), &zp, in zpl_lookup() 92 spin_lock(&dentry->d_lock); in zpl_lookup() 93 dentry->d_time = jiffies; in zpl_lookup() 94 spin_unlock(&dentry->d_lock); in zpl_lookup() 109 return (d_splice_alias(NULL, dentry)); in zpl_lookup() 120 struct dentry *new_dentry; in zpl_lookup() [all …]
|
| H A D | zpl_ctldir.c | 110 struct inode *ip = path->dentry->d_inode; in zpl_root_getattr_impl() 131 static struct dentry * 132 zpl_root_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags) in zpl_root_lookup() argument 139 error = -zfsctl_root_lookup(dip, dname(dentry), &ip, 0, cr, NULL, NULL); in zpl_root_lookup() 145 return (d_splice_alias(NULL, dentry)); in zpl_root_lookup() 150 return (d_splice_alias(ip, dentry)); in zpl_root_lookup() 196 struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate() argument 199 zpl_snapdir_revalidate(struct dentry *dentry, unsigned int flags) in zpl_snapdir_revalidate() 202 return (!!dentry->d_inode); in zpl_snapdir_revalidate() 224 set_snapdir_dentry_ops(struct dentry *dentry, unsigned int extraflags) { in set_snapdir_dentry_ops() argument [all …]
|
| H A D | zfs_ctldir.c | 122 struct dentry *se_root_dentry; /* snapshot root dentry */ 141 uint64_t objsetid, struct dentry *root_dentry) in zfsctl_snapshot_alloc() 236 struct dentry *root_dentry) in zfsctl_snapshot_fill() 670 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() 1179 struct dentry *dentry = path->dentry; in zfsctl_snapshot_mount() local 1180 struct inode *ip = dentry->d_inode; in zfsctl_snapshot_mount() [all …]
|
| H A D | zpl_export.c | 66 static struct dentry * 114 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()
|
| H A D | zpl_super.c | 232 zpl_statfs(struct dentry *dentry, struct kstatfs *statp) in zpl_statfs() argument 238 error = -zfs_statvfs(dentry->d_inode, statp); in zpl_statfs() 313 zpl_show_devname(struct seq_file *seq, struct dentry *root) in zpl_show_devname() 351 zpl_show_options(struct seq_file *seq, struct dentry *root) in zpl_show_options() 459 static struct dentry * 546 zpl_dentry_delete(const struct dentry *dentry) in zpl_dentry_delete() argument
|
| /freebsd/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | dcache_compat.h | 32 #define dname(dentry) ((char *)((dentry)->d_name.name)) argument 33 #define dlen(dentry) ((int)((dentry)->d_name.len)) argument 70 struct dentry *dentry; in zpl_d_drop_aliases() local 72 hlist_for_each_entry(dentry, &inode->i_dentry, d_alias) { in zpl_d_drop_aliases() 73 if (!IS_ROOT(dentry) && !d_mountpoint(dentry) && in zpl_d_drop_aliases() 74 (dentry->d_inode == inode)) { in zpl_d_drop_aliases() 75 d_drop(dentry); in zpl_d_drop_aliases()
|
| H A D | xattr_compat.h | 46 fn(struct dentry *dentry) \ 48 return (!!__ ## fn(dentry->d_inode, NULL, 0, NULL, 0)); \ 58 fn(const struct xattr_handler *handler, struct dentry *dentry, \ 67 fn(const struct xattr_handler *handler, struct dentry *dentry, \ 84 struct dentry *dentry, struct inode *inode, const char *name, \ 99 struct dentry *dentry, struct inode *inode, const char *name, \ 112 fn(const struct xattr_handler *handler, struct dentry *dentry, \
|
| /freebsd/sys/compat/lindebugfs/ |
| H A D | lindebugfs.c | 83 struct dentry dm_dnode; 185 struct dentry * 187 struct dentry *parent, void *data, in debugfs_create_file() 191 struct dentry *dnode; in debugfs_create_file() 220 struct dentry * 222 struct dentry *parent, void *data, in debugfs_create_file_size() 240 struct dentry * 242 struct dentry *parent, void *data, in debugfs_create_file_unsafe() 249 struct dentry * 251 struct dentry *parent, void *data, in debugfs_create_mode_unsafe() [all …]
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | kernel-mkdir.m4 | 7 dnl # mkdir() returns struct dentry * 12 static struct dentry *mkdir(struct mnt_idmap *idmap, 13 struct inode *inode, struct dentry *dentry, 14 umode_t umode) { return dentry; } 29 struct inode *inode, struct dentry *dentry, 46 struct inode *inode, struct dentry *dentry, 66 static int mkdir(struct inode *inode, struct dentry *dentry, 79 dnl # mkdir() returns struct dentry * 81 AC_MSG_CHECKING([whether iops->mkdir() returns struct dentry*]) 85 [iops->mkdir() returns struct dentry*])
|
| H A D | kernel-setattr-prepare.m4 | 5 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 D | kernel-xattr-handler.m4 | 39 dnl # changed to take dentry, inode and flags. 46 struct dentry *dentry, struct inode *inode, 58 [whether xattr_handler->get() wants dentry and inode and flags]) 62 [xattr_handler->get() wants dentry and inode and flags]) 77 struct dentry *dentry, struct inode *inode, 92 struct dentry *dentry, struct inode *inode, 106 struct dentry *dentry, struct inode *inode, 126 AC_MSG_CHECKING([whether xattr_handler->set() wants dentry, inode, and mnt_idmap]) 133 AC_MSG_CHECKING([whether xattr_handler->set() wants dentry, inode, and user_namespace]) 142 dnl # dentry and inode. [all …]
|
| H A D | kernel-tmpfile.m4 | 21 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 D | kernel-inode-create.m4 | 11 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 D | kernel-rename.m4 | 10 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 D | kernel-mknod.m4 | 11 struct inode *inode ,struct dentry *dentry, 29 struct inode *inode ,struct dentry *dentry,
|
| H A D | kernel-symlink.m4 | 10 struct inode *inode ,struct dentry *dentry, 27 struct inode *inode ,struct dentry *dentry,
|
| H A D | kernel-inode-lookup.m4 | 9 static struct dentry *inode_lookup(struct inode *inode, 10 struct dentry *dentry, unsigned int flags) { return NULL; }
|
| /freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
| H A D | vchiq_debugfs.c | 59 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/include/os/linux/zfs/sys/ |
| H A D | zpl.h | 63 extern ssize_t zpl_xattr_list(struct dentry *dentry, char *buf, size_t size); 70 extern int zpl_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, 76 extern int zpl_set_acl(struct user_namespace *userns, struct dentry *dentry, 146 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(ns, dentry, ia) argument 152 #define zpl_setattr_prepare(ns, dentry, ia) setattr_prepare(dentry, ia) argument
|
| /freebsd/sys/gnu/gcov/ |
| H A D | gcov_fs.c | 208 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 D | spectral.h | 32 struct dentry *scan_ctl; 33 struct dentry *scan_count; 34 struct dentry *scan_bins;
|
| /freebsd/sys/dev/mlx4/mlx4_ib/ |
| H A D | mlx4_ib_sysfs.c | 50 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 D | bnxt_re.h | 324 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 …]
|