Searched refs:dentry (Results 226 - 250 of 1771) sorted by relevance

1234567891011>>

/linux-master/fs/ext4/
H A Dsymlink.c26 static const char *ext4_encrypted_get_link(struct dentry *dentry, argument
35 if (!dentry)
73 static const char *ext4_get_link(struct dentry *dentry, struct inode *inode, argument
84 if (!dentry)
93 if (!dentry) {
/linux-master/fs/vboxsf/
H A Dvfsmod.h94 int vboxsf_create_at_dentry(struct dentry *dentry,
98 int vboxsf_stat_dentry(struct dentry *dentry, struct shfl_fsobjinfo *info);
99 int vboxsf_inode_revalidate(struct dentry *dentry);
103 int vboxsf_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
106 struct dentry *dentry);
[all...]
/linux-master/fs/fat/
H A Dnamei_msdos.c146 * Compute the hash for the msdos name corresponding to the dentry.
148 * that the existing dentry can be used. The msdos fs routines will
151 static int msdos_hash(const struct dentry *dentry, struct qstr *qstr) argument
153 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options;
159 qstr->hash = full_name_hash(dentry, msdos_name, MSDOS_NAME);
167 static int msdos_cmp(const struct dentry *dentry, argument
170 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options;
201 static struct dentry *msdos_looku argument
264 msdos_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
310 msdos_rmdir(struct inode *dir, struct dentry *dentry) argument
342 msdos_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument
402 msdos_unlink(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/fs/9p/
H A Dvfs_inode_dotl.c33 struct dentry *dentry, umode_t omode, dev_t rdev);
168 * @dentry: dentry that is being deleted
175 struct dentry *dentry, umode_t omode, bool excl)
177 return v9fs_vfs_mknod_dotl(idmap, dir, dentry, omode, 0);
181 v9fs_vfs_atomic_open_dotl(struct inode *dir, struct dentry *dentry, argument
195 struct dentry *re
174 v9fs_vfs_create_dotl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t omode, bool excl) argument
307 v9fs_vfs_mkdir_dotl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t omode) argument
380 struct dentry *dentry = path->dentry; local
470 v9fs_vfs_setattr_dotl(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument
640 v9fs_vfs_symlink_dotl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument
687 v9fs_vfs_link_dotl(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument
745 v9fs_vfs_mknod_dotl(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t omode, dev_t rdev) argument
818 v9fs_vfs_get_link_dotl(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
[all...]
/linux-master/fs/jfs/
H A Djfs_unicode.c102 int get_UCSname(struct component_name * uniName, struct dentry *dentry) argument
104 struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab;
105 int length = dentry->d_name.len;
116 uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name,
/linux-master/fs/ocfs2/
H A Ddir.h54 struct dentry *dentry,
59 return __ocfs2_add_entry(handle, d_inode(dentry->d_parent),
60 dentry->d_name.name, dentry->d_name.len,
53 ocfs2_add_entry(handle_t *handle, struct dentry *dentry, struct inode *inode, u64 blkno, struct buffer_head *parent_fe_bh, struct ocfs2_dir_lookup_result *lookup) argument
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_dev.h75 struct dentry *root;
116 struct dentry *dbgfs_root;
117 struct dentry *sq_dbgfs;
118 struct dentry *rq_dbgfs;
119 struct dentry *func_tbl_dbgfs;
/linux-master/include/linux/
H A Dfault-inject.h32 struct dentry *dname;
56 struct dentry *fault_create_debugfs_attr(const char *name,
57 struct dentry *parent, struct fault_attr *attr);
61 static inline struct dentry *fault_create_debugfs_attr(const char *name,
62 struct dentry *parent, struct fault_attr *attr)
H A Drelay.h44 struct dentry *dentry; /* channel file dentry */ member in struct:rchan_buf
72 struct dentry *parent; /* parent dentry passed to open */
120 * The callback should return the dentry of the file created
131 struct dentry *(*create_buf_file)(const char *filename,
132 struct dentry *parent,
139 * @dentry: the dentry o
[all...]
/linux-master/drivers/usb/typec/ucsi/
H A Ddebugfs.c20 static struct dentry *ucsi_debugfs_root;
80 ucsi->debugfs->dentry = debugfs_create_dir(dev_name(ucsi->dev), ucsi_debugfs_root);
81 debugfs_create_file("command", 0200, ucsi->debugfs->dentry, ucsi, &ucsi_cmd_fops);
82 debugfs_create_file("response", 0400, ucsi->debugfs->dentry, ucsi, &ucsi_resp_fops);
90 debugfs_remove_recursive(ucsi->debugfs->dentry);
/linux-master/fs/proc/
H A Dthread_self.c11 static const char *proc_thread_self_get_link(struct dentry *dentry, argument
22 name = kmalloc(10 + 6 + 10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
24 return dentry ? ERR_PTR(-ENOMEM) : ERR_PTR(-ECHILD);
40 struct dentry *thread_self;
/linux-master/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_debugfs.c17 static struct dentry *vchiq_dbg_dir;
18 static struct dentry *vchiq_dbg_clients;
99 struct dentry *top;
110 vchiq_instance_get_debugfs_node(instance)->dentry = top;
118 debugfs_remove_recursive(node->dentry);
/linux-master/fs/efivarfs/
H A Dsuper.c47 static int efivarfs_show_options(struct seq_file *m, struct dentry *root)
62 static int efivarfs_statfs(struct dentry *dentry, struct kstatfs *buf) argument
68 u64 id = huge_encode_dev(dentry->d_sb->s_dev);
91 buf->f_type = dentry->d_sb->s_magic;
124 static int efivarfs_d_compare(const struct dentry *dentry, argument
141 static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr) argument
143 unsigned long hash = init_name_hash(dentry);
194 struct dentry *dentry, *root = sb->s_root; local
[all...]
/linux-master/fs/btrfs/
H A Dtree-log.h16 struct dentry;
80 struct dentry *dentry,
98 struct dentry *old_dentry, struct btrfs_inode *old_dir,
99 u64 old_dir_index, struct dentry *parent);
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dinode.c95 spufs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, argument
98 struct inode *inode = d_inode(dentry);
110 spufs_new_file(struct super_block *sb, struct dentry *dentry, argument
130 d_add(dentry, inode);
146 static void spufs_prune_dir(struct dentry *dir)
148 struct dentry *dentry; local
152 hlist_for_each_entry_safe(dentry,
158 simple_unlink(d_inode(dir), dentry); local
190 struct dentry *dentry = d_alloc_name(dir, files->name); local
230 spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags, umode_t mode) argument
402 spufs_create_context(struct inode *inode, struct dentry *dentry, struct vfsmount *mnt, int flags, umode_t mode, struct file *aff_filp) argument
460 spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode) argument
519 spufs_create_gang(struct inode *inode, struct dentry *dentry, struct vfsmount *mnt, umode_t mode) argument
540 spufs_create(const struct path *path, struct dentry *dentry, unsigned int flags, umode_t mode, struct file *filp) argument
[all...]
/linux-master/fs/autofs/
H A Dwaitq.c207 struct dentry *dentry = path->dentry; local
224 ino = autofs_dentry_ino(dentry);
269 struct dentry *new = NULL;
274 * If the dentry was successfully mounted while we slept
280 if (!IS_ROOT(dentry)) {
281 if (d_unhashed(dentry) &&
282 d_really_is_positive(dentry)) {
283 struct dentry *paren
306 struct dentry *dentry = path->dentry; local
[all...]
/linux-master/security/integrity/ima/
H A Dima_appraise.c87 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) argument
100 rc = __vfs_setxattr_noperm(&nop_mnt_idmap, dentry, XATTR_NAME_IMA,
224 int ima_read_xattr(struct dentry *dentry, argument
229 ret = vfs_getxattr_alloc(&nop_mnt_idmap, dentry, XATTR_NAME_IMA,
485 struct dentry *dentry = file_dentry(file); local
486 struct inode *inode = d_backing_inode(dentry);
519 status = evm_verifyxattr(dentry, XATTR_NAME_IM
605 struct dentry *dentry = file_dentry(file); local
636 ima_inode_post_setattr(struct mnt_idmap *idmap, struct dentry *dentry, int ia_valid) argument
661 ima_protect_xattr(struct dentry *dentry, const char *xattr_name, const void *xattr_value, size_t xattr_value_len) argument
703 validate_hash_algo(struct dentry *dentry, const struct evm_ima_xattr_data *xattr_value, size_t xattr_value_len) argument
750 ima_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *xattr_name, const void *xattr_value, size_t xattr_value_len, int flags) argument
781 ima_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument
790 ima_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *xattr_name) argument
804 ima_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
[all...]
/linux-master/fs/jffs2/
H A Ddir.c28 struct dentry *, umode_t, bool);
29 static struct dentry *jffs2_lookup (struct inode *,struct dentry *,
31 static int jffs2_link (struct dentry *,struct inode *,struct dentry *);
32 static int jffs2_unlink (struct inode *,struct dentry *);
34 struct dentry *, const char *);
35 static int jffs2_mkdir (struct mnt_idmap *, struct inode *,struct dentry *,
37 static int jffs2_rmdir (struct inode *,struct dentry *);
38 static int jffs2_mknod (struct mnt_idmap *, struct inode *,struct dentry *,
163 jffs2_create(struct mnt_idmap *idmap, struct inode *dir_i, struct dentry *dentry, umode_t mode, bool excl) argument
228 jffs2_unlink(struct inode *dir_i, struct dentry *dentry) argument
248 jffs2_link(struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry) argument
285 jffs2_symlink(struct mnt_idmap *idmap, struct inode *dir_i, struct dentry *dentry, const char *target) argument
449 jffs2_mkdir(struct mnt_idmap *idmap, struct inode *dir_i, struct dentry *dentry, umode_t mode) argument
594 jffs2_rmdir(struct inode *dir_i, struct dentry *dentry) argument
623 jffs2_mknod(struct mnt_idmap *idmap, struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev) argument
[all...]
/linux-master/sound/soc/sof/
H A Dsof-client-ipc-flood-test.c31 struct dentry *dfs_root;
32 struct dentry *dfs_link[2];
44 ret = debugfs_file_get(file->f_path.dentry);
50 debugfs_file_put(file->f_path.dentry);
161 struct dentry *dentry; local
180 dentry = file->f_path.dentry;
181 if (strcmp(dentry->d_name.name, DEBUGFS_IPC_FLOOD_COUNT) &&
182 strcmp(dentry
250 struct dentry *dentry; local
[all...]
/linux-master/fs/nfs/
H A Dnfs3proc.c126 nfs3_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr, argument
129 struct inode *inode = d_inode(dentry);
195 nfs3_proc_lookup(struct inode *dir, struct dentry *dentry, argument
201 if (nfs_lookup_is_soft_revalidate(dentry))
204 dprintk("NFS call lookup %pd2\n", dentry);
205 return __nfs3_proc_lookup(dir, dentry->d_name.name,
206 dentry->d_name.len, fhandle, fattr,
316 static struct dentry *
317 nfs3_do_create(struct inode *dir, struct dentry *dentry, struct nfs3_createdata *data) argument
338 nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr, int flags) argument
433 nfs3_proc_remove(struct inode *dir, struct dentry *dentry) argument
461 nfs3_proc_unlink_setup(struct rpc_message *msg, struct dentry *dentry, struct inode *inode) argument
546 nfs3_proc_symlink(struct inode *dir, struct dentry *dentry, struct folio *folio, unsigned int len, struct iattr *sattr) argument
583 nfs3_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr) argument
713 nfs3_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr, dev_t rdev) argument
[all...]
/linux-master/fs/hostfs/
H A Dhostfs_kern.c88 static char *__dentry_name(struct dentry *dentry, char *name) argument
90 char *p = dentry_path_raw(dentry, name, PATH_MAX);
94 root = dentry->d_sb->s_fs_info;
119 static char *dentry_name(struct dentry *dentry) argument
125 return __dentry_name(dentry, name);
130 struct dentry *dentry; local
133 dentry
186 hostfs_statfs(struct dentry *dentry, struct kstatfs *sf) argument
600 hostfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
628 hostfs_lookup(struct inode *ino, struct dentry *dentry, unsigned int flags) argument
665 hostfs_unlink(struct inode *ino, struct dentry *dentry) argument
681 hostfs_symlink(struct mnt_idmap *idmap, struct inode *ino, struct dentry *dentry, const char *to) argument
694 hostfs_mkdir(struct mnt_idmap *idmap, struct inode *ino, struct dentry *dentry, umode_t mode) argument
707 hostfs_rmdir(struct inode *ino, struct dentry *dentry) argument
719 hostfs_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
801 hostfs_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
892 hostfs_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument
[all...]
/linux-master/fs/ocfs2/dlmfs/
H A Ddlmfs.c191 struct dentry *dentry, struct iattr *attr)
194 struct inode *inode = d_inode(dentry);
197 error = setattr_prepare(&nop_mnt_idmap, dentry, attr);
350 struct dentry *dentry,
379 user_dlm_lock_res_init(&ip->ip_lockres, dentry);
406 struct dentry * dentry,
411 const struct qstr *domain = &dentry
190 dlmfs_file_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
349 dlmfs_get_inode(struct inode *parent, struct dentry *dentry, umode_t mode) argument
404 dlmfs_mkdir(struct mnt_idmap * idmap, struct inode * dir, struct dentry * dentry, umode_t mode) argument
453 dlmfs_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument
488 dlmfs_unlink(struct inode *dir, struct dentry *dentry) argument
[all...]
/linux-master/fs/overlayfs/
H A Dsuper.c31 static struct dentry *ovl_d_real(struct dentry *dentry, enum d_real_type type) argument
33 struct dentry *upper, *lower;
44 if (!d_is_reg(dentry)) {
46 return dentry;
49 upper = ovl_dentry_upper(dentry);
51 ovl_has_upperdata(d_inode(dentry))))
55 lower = ovl_dentry_lower(dentry);
61 * the real lowerdata dentry
104 ovl_dentry_revalidate_common(struct dentry *dentry, unsigned int flags, bool weak) argument
130 ovl_dentry_revalidate(struct dentry *dentry, unsigned int flags) argument
135 ovl_dentry_weak_revalidate(struct dentry *dentry, unsigned int flags) argument
246 ovl_statfs(struct dentry *dentry, struct kstatfs *buf) argument
1171 ovl_check_layer(struct super_block *sb, struct ovl_fs *ofs, struct dentry *dentry, const char *name, bool is_lower) argument
[all...]
/linux-master/fs/exfat/
H A Ddir.c20 *uniname = le16_to_cpu(ep->dentry.name.unicode_0_14[i]);
47 * So, the index of first file-name dentry should start from 2.
78 unsigned int dentry = EXFAT_B_TO_DEN(*cpos) & 0xFFFFFFFF; local
95 clu_offset = EXFAT_DEN_TO_CLU(dentry, sbi);
117 while (clu.dir != EXFAT_EOF_CLUSTER && dentry < max_dentries) {
118 i = dentry & (dentries_per_clu - 1);
120 for ( ; i < dentries_per_clu; i++, dentry++) {
136 num_ext = ep->dentry.file.num_ext;
137 dir_entry->attr = le16_to_cpu(ep->dentry.file.attr);
139 ep->dentry
959 exfat_set_empty_hint(struct exfat_inode_info *ei, struct exfat_hint_femp *candi_empty, struct exfat_chain *clu, int dentry, int num_entries, int entry_type) argument
1005 int i, rewind = 0, dentry = 0, end_eidx = 0, num_ext = 0, len; local
[all...]
/linux-master/security/
H A Dsecurity.c1056 * security_quota_on() - Check if QUOTAON is allowed for a dentry
1057 * @dentry: dentry
1059 * Check whether QUOTAON is allowed for @dentry.
1063 int security_quota_on(struct dentry *dentry) argument
1065 return call_int_hook(quota_on, dentry);
1230 * @reference: dentry reference for submount/remount
1428 * @dentry: superblock handle
1431 * mountpoint. @dentry i
1435 security_sb_statfs(struct dentry *dentry) argument
1643 security_dentry_init_security(struct dentry *dentry, int mode, const struct qstr *name, const char **xattr_name, void **ctx, u32 *ctxlen) argument
1668 security_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new) argument
1786 security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode, unsigned int dev) argument
1802 security_path_post_mknod(struct mnt_idmap *idmap, struct dentry *dentry) argument
1819 security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode) argument
1837 security_path_rmdir(const struct path *dir, struct dentry *dentry) argument
1853 security_path_unlink(const struct path *dir, struct dentry *dentry) argument
1871 security_path_symlink(const struct path *dir, struct dentry *dentry, const char *old_name) argument
1999 security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode) argument
2050 security_inode_unlink(struct inode *dir, struct dentry *dentry) argument
2067 security_inode_symlink(struct inode *dir, struct dentry *dentry, const char *old_name) argument
2086 security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) argument
2103 security_inode_rmdir(struct inode *dir, struct dentry *dentry) argument
2124 security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument
2172 security_inode_readlink(struct dentry *dentry) argument
2190 security_inode_follow_link(struct dentry *dentry, struct inode *inode, bool rcu) argument
2232 security_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument
2249 security_inode_post_setattr(struct mnt_idmap *idmap, struct dentry *dentry, int ia_valid) argument
2285 security_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument
2317 security_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument
2335 security_inode_post_set_acl(struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument
2354 security_inode_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
2373 security_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
2390 security_inode_post_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument
2408 security_inode_post_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument
2426 security_inode_getxattr(struct dentry *dentry, const char *name) argument
2442 security_inode_listxattr(struct dentry *dentry) argument
2460 security_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name) argument
2484 security_inode_post_removexattr(struct dentry *dentry, const char *name) argument
2502 security_inode_need_killpriv(struct dentry *dentry) argument
2518 security_inode_killpriv(struct mnt_idmap *idmap, struct dentry *dentry) argument
3911 security_d_instantiate(struct dentry *dentry, struct inode *inode) argument
4248 security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
[all...]

Completed in 204 milliseconds

1234567891011>>