/linux-master/fs/nfsd/ |
H A D | export.c | 32 * One maps client+vfsmnt+dentry to export options - the export map 400 struct inode *inode = d_inode(path->dentry); 756 return !strcmp(m->file->f_path.dentry->d_name.name, "export_stats"); 905 hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS); 988 * Find the export entry for a given dentry. 993 struct dentry *saved = dget(path->dentry); 996 while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) { 997 struct dentry *parent = dget_parent(path->dentry); [all...] |
/linux-master/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 89 filename = dentry_path(file->f_path.dentry, buf, size); 404 struct dentry *parent, 409 struct dentry *dentry; local 447 dentry = debugfs_create_dir(name, parent); 448 if (IS_ERR(dentry)) { 449 err = PTR_ERR(dentry); 459 err = bpmp_populate_debugfs_inband(bpmp, dentry, 468 dentry = debugfs_create_file(name, mode, parent, bpmp, 470 if (IS_ERR(dentry)) { 696 struct dentry *dentry; local [all...] |
/linux-master/fs/ |
H A D | ioctl.c | 519 * @dentry: the object to retrieve from 526 int vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 528 struct inode *inode = d_inode(dentry); 533 return inode->i_op->fileattr_get(dentry, fa); 656 * @dentry: the object to change 669 int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, argument 672 struct inode *inode = d_inode(dentry); 683 err = vfs_fileattr_get(dentry, 719 struct dentry *dentry = file->f_path.dentry; local 751 struct dentry *dentry = file->f_path.dentry; local [all...] |
/linux-master/arch/arm/mach-omap2/ |
H A D | pm-debug.c | 178 struct dentry *d; 190 d = debugfs_create_dir(pwrdm->name, (struct dentry *)dir); 224 struct dentry *d;
|
/linux-master/fs/kernfs/ |
H A D | symlink.c | 126 static const char *kernfs_iop_get_link(struct dentry *dentry, argument 133 if (!dentry)
|
/linux-master/fs/ufs/ |
H A D | ufs.h | 102 extern int ufs_add_link (struct dentry *, struct inode *); 126 extern int ufs_setattr(struct mnt_idmap *idmap, struct dentry *dentry,
|
/linux-master/fs/minix/ |
H A D | minix.h | 67 extern struct minix_dir_entry *minix_find_entry(struct dentry*, struct page**); 68 extern int minix_add_link(struct dentry*, struct inode*); 75 extern ino_t minix_inode_by_name(struct dentry*);
|
/linux-master/fs/gfs2/ |
H A D | acl.c | 112 int gfs2_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument 115 struct inode *inode = d_inode(dentry);
|
/linux-master/fs/jfs/ |
H A D | acl.c | 97 int jfs_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument 103 struct inode *inode = d_inode(dentry);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | local_storage.c | 62 int BPF_PROG(unlink_hook, struct inode *dir, struct dentry *victim) 108 int BPF_PROG(inode_rename, struct inode *old_dir, struct dentry *old_dentry, 109 struct inode *new_dir, struct dentry *new_dentry,
|
/linux-master/drivers/remoteproc/ |
H A D | remoteproc_internal.h | 22 struct dentry *tfile; 66 void rproc_remove_trace_file(struct dentry *tfile); 67 struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc,
|
/linux-master/security/smack/ |
H A D | smack_lsm.c | 287 * @dp: a pointer to the dentry 293 struct dentry *dp) 802 struct dentry *root = sb->s_root; 889 * @dentry: identifies the file system in question 894 static int smack_sb_statfs(struct dentry *dentry) argument 896 struct superblock_smack *sbp = smack_superblock(dentry->d_sb); 901 smk_ad_setfield_u_fs_path_dentry(&ad, dentry); 1072 static int smack_inode_link(struct dentry *old_dentry, struct inode *dir, 1073 struct dentry *new_dentr 1104 smack_inode_unlink(struct inode *dir, struct dentry *dentry) argument 1138 smack_inode_rmdir(struct inode *dir, struct dentry *dentry) argument 1247 smack_inode_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *iattr) argument 1298 smack_inode_setxattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument 1365 smack_inode_post_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument 1400 smack_inode_getxattr(struct dentry *dentry, const char *name) argument 1423 smack_inode_removexattr(struct mnt_idmap *idmap, struct dentry *dentry, const char *name) argument 1482 smack_inode_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name, struct posix_acl *kacl) argument 1505 smack_inode_get_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument 1527 smack_inode_remove_acl(struct mnt_idmap *idmap, struct dentry *dentry, const char *acl_name) argument 4848 smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument 4863 smack_inode_copy_up(struct dentry *dentry, struct cred **new) argument 4900 smack_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new) argument [all...] |
/linux-master/ipc/ |
H A D | mqueue.c | 566 static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg) argument 568 struct inode *dir = dentry->d_parent->d_inode; 601 d_instantiate(dentry, inode); 602 dget(dentry); 612 struct dentry *dentry, umode_t mode, bool excl) 614 return mqueue_create_attr(dentry, mode, NULL); 617 static int mqueue_unlink(struct inode *dir, struct dentry *dentry) argument 611 mqueue_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument 867 prepare_open(struct dentry *dentry, int oflag, int ro, umode_t mode, struct filename *name, struct mq_attr *attr) argument 957 struct dentry *dentry; local [all...] |
/linux-master/mm/ |
H A D | shmem.c | 94 /* Pretend that one inode + its dentry occupy this much memory */ 331 * each dentry. However, in that case, no new inode number is needed since that 1124 struct inode *inode = path->dentry->d_inode; 1154 struct dentry *dentry, struct iattr *attr) 1156 struct inode *inode = d_inode(dentry); 1162 error = setattr_prepare(idmap, dentry, attr); 1222 error = posix_acl_chmod(idmap, dentry, inode->i_mode); 3234 static int shmem_statfs(struct dentry *dentry, struc argument 1153 shmem_setattr(struct mnt_idmap *idmap, struct dentry *dentry, struct iattr *attr) argument 3262 shmem_mknod(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev) argument 3324 shmem_mkdir(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode) argument 3336 shmem_create(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, umode_t mode, bool excl) argument 3345 shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry) argument 3383 shmem_unlink(struct inode *dir, struct dentry *dentry) argument 3390 simple_offset_remove(shmem_get_offset_ctx(dir), dentry); local 3401 shmem_rmdir(struct inode *dir, struct dentry *dentry) argument 3492 shmem_symlink(struct mnt_idmap *idmap, struct inode *dir, struct dentry *dentry, const char *symname) argument 3547 simple_offset_remove(shmem_get_offset_ctx(dir), dentry); local 3559 shmem_get_link(struct dentry *dentry, struct inode *inode, struct delayed_call *done) argument 3593 shmem_fileattr_get(struct dentry *dentry, struct fileattr *fa) argument 3602 shmem_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry, struct fileattr *fa) argument 3771 shmem_listxattr(struct dentry *dentry, char *buffer, size_t size) argument 3821 struct dentry *dentry = NULL; local [all...] |
/linux-master/fs/nfs/ |
H A D | nfs3acl.c | 257 int nfs3_set_acl(struct mnt_idmap *idmap, struct dentry *dentry, argument 261 struct inode *inode = d_inode(dentry); 327 nfs3_listxattr(struct dentry *dentry, char *data, size_t size) argument 329 struct inode *inode = d_inode(dentry);
|
/linux-master/fs/hpfs/ |
H A D | dir.c | 202 struct dentry *hpfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags) argument 204 const unsigned char *name = dentry->d_name.name; 205 unsigned len = dentry->d_name.len; 319 return d_splice_alias(result, dentry);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 107 ret = debugfs_file_get(file->f_path.dentry); 157 debugfs_file_put(file->f_path.dentry); 176 ret = debugfs_file_get(file->f_path.dentry); 192 debugfs_file_put(file->f_path.dentry); 219 struct dentry *parent = ibd->hfi1_ibdev_dbg; 220 struct dentry *fault_dir;
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_debugfs.c | 270 struct dentry *dentry; local 287 dentry = debugfs_lookup("vbios.rom", minor->debugfs_root); 288 if (!dentry) 291 d_inode(dentry)->i_size = drm->vbios.length; 292 dput(dentry);
|
/linux-master/fs/proc/ |
H A D | root.c | 202 pr_err("proc_fill_super: allocate dentry failed\n"); 317 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(path->dentry), 323 static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags) argument 325 if (!proc_pid_lookup(dentry, flags)) 328 return proc_lookup(dir, dentry, flags);
|
H A D | proc_net.c | 288 static struct dentry *proc_tgid_net_lookup(struct inode *dir, argument 289 struct dentry *dentry, unsigned int flags) 291 struct dentry *de; 297 de = proc_lookup_de(dir, dentry, net->proc_net); 307 struct inode *inode = d_inode(path->dentry); 384 /* Seed dentry revalidation for /proc/${pid}/net */
|
/linux-master/net/unix/ |
H A D | diag.c | 29 struct dentry *dentry = unix_sk(sk)->path.dentry; local 31 if (dentry) { 33 .udiag_vfs_ino = d_backing_inode(dentry)->i_ino, 34 .udiag_vfs_dev = dentry->d_sb->s_dev,
|
/linux-master/fs/fat/ |
H A D | nfs.c | 145 * Map a NFS file handle to a corresponding dentry. 146 * The dentry may or may not be connected to the filesystem root. 148 static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid, 155 static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb, 186 static struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid, 193 static struct dentry *fat_fh_to_parent_nostale(struct super_block *sb, 268 static struct dentry *fat_get_parent(struct dentry *child_dir)
|
/linux-master/security/loadpin/ |
H A D | loadpin.c | 421 struct dentry *loadpin_dir, *dentry; local 430 dentry = securityfs_create_file("dm-verity", 0600, loadpin_dir, 432 if (IS_ERR(dentry)) { 434 PTR_ERR(dentry)); 435 return PTR_ERR(dentry);
|
/linux-master/fs/nilfs2/ |
H A D | nilfs.h | 229 int nilfs_add_link(struct dentry *, struct inode *); 244 int nilfs_fileattr_get(struct dentry *dentry, struct fileattr *m); 246 struct dentry *dentry, struct fileattr *fa); 275 extern int nilfs_setattr(struct mnt_idmap *, struct dentry *,
|
/linux-master/drivers/net/wireless/ath/ath9k/ |
H A D | common-spectral.h | 172 void ath9k_cmn_spectral_init_debug(struct ath_spec_scan_priv *spec_priv, struct dentry *debugfs_phy); 184 struct dentry *debugfs_phy)
|