dentry            109 arch/alpha/oprofile/common.c op_axp_create_files(struct dentry *root)
dentry            114 arch/alpha/oprofile/common.c 		struct dentry *dir;
dentry            966 arch/arm/mach-omap1/clock.c static struct dentry *clk_debugfs_root;
dentry            992 arch/arm/mach-omap1/clock.c 	struct dentry *d;
dentry           1017 arch/arm/mach-omap1/clock.c 	struct dentry *d;
dentry            158 arch/arm/mach-omap1/clock.h 	struct dentry		*dent;	/* For visible tree hierarchy */
dentry            539 arch/arm/mach-omap1/pm.c 	struct dentry *d;
dentry            180 arch/arm/mach-omap2/pm-debug.c 	struct dentry *d;
dentry            192 arch/arm/mach-omap2/pm-debug.c 	d = debugfs_create_dir(pwrdm->name, (struct dentry *)dir);
dentry            226 arch/arm/mach-omap2/pm-debug.c 	struct dentry *d;
dentry           2116 arch/ia64/kernel/perfmon.c static char *pfmfs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry           2118 arch/ia64/kernel/perfmon.c 	return dynamic_dname(dentry, buffer, buflen, "pfm:[%lu]",
dentry           2119 arch/ia64/kernel/perfmon.c 			     d_inode(dentry)->i_ino);
dentry           2152 arch/ia64/kernel/perfmon.c 	path.dentry = d_alloc(pfmfs_mnt->mnt_root, &this);
dentry           2153 arch/ia64/kernel/perfmon.c 	if (!path.dentry) {
dentry           2159 arch/ia64/kernel/perfmon.c 	d_add(path.dentry, inode);
dentry            135 arch/microblaze/include/asm/processor.h extern struct dentry *of_debugfs_root;
dentry            190 arch/microblaze/kernel/setup.c struct dentry *of_debugfs_root;
dentry             29 arch/mips/cavium-octeon/oct_ilm.c static struct dentry *dir;
dentry             16 arch/mips/include/asm/debug.h extern struct dentry *mips_debugfs_dir;
dentry            773 arch/mips/kernel/setup.c struct dentry *mips_debugfs_dir;
dentry            190 arch/mips/math-emu/me-debugfs.c 	struct dentry *fpuemu_debugfs_base_dir;
dentry            191 arch/mips/math-emu/me-debugfs.c 	struct dentry *fpuemu_debugfs_inst_dir;
dentry             54 arch/mips/mm/sc-debugfs.c 	struct dentry *dir;
dentry             38 arch/mips/oprofile/common.c static int op_mips_create_files(struct dentry *root)
dentry             43 arch/mips/oprofile/common.c 		struct dentry *dir;
dentry             11 arch/powerpc/include/asm/debugfs.h extern struct dentry *powerpc_debugfs_root;
dentry            305 arch/powerpc/include/asm/kvm_host.h 	struct dentry *debugfs_dir;
dentry            306 arch/powerpc/include/asm/kvm_host.h 	struct dentry *htab_dentry;
dentry            307 arch/powerpc/include/asm/kvm_host.h 	struct dentry *radix_dentry;
dentry            675 arch/powerpc/include/asm/kvm_host.h 	struct dentry *debugfs_exit_timing;
dentry            826 arch/powerpc/include/asm/kvm_host.h 	struct dentry *debugfs_dir;
dentry            827 arch/powerpc/include/asm/kvm_host.h 	struct dentry *debugfs_timings;
dentry           1435 arch/powerpc/kernel/fadump.c 	struct dentry *debugfs_file;
dentry             93 arch/powerpc/kernel/iommu.c 	struct dentry *dir = fault_create_debugfs_attr("fail_iommu",
dentry            764 arch/powerpc/kernel/setup-common.c struct dentry *powerpc_debugfs_root;
dentry           2272 arch/powerpc/kernel/traps.c 	struct dentry *dir, *d;
dentry           1027 arch/powerpc/kvm/book3s_xics.c 	xics->dentry = debugfs_create_file(name, 0444, powerpc_debugfs_root,
dentry           1343 arch/powerpc/kvm/book3s_xics.c 	debugfs_remove(xics->dentry);
dentry            106 arch/powerpc/kvm/book3s_xics.h 	struct dentry *dentry;
dentry           1923 arch/powerpc/kvm/book3s_xive.c 	debugfs_remove(xive->dentry);
dentry           2152 arch/powerpc/kvm/book3s_xive.c 	xive->dentry = debugfs_create_file(name, S_IRUGO, powerpc_debugfs_root,
dentry            103 arch/powerpc/kvm/book3s_xive.h 	struct dentry *dentry;
dentry           1030 arch/powerpc/kvm/book3s_xive_native.c 	debugfs_remove(xive->dentry);
dentry           1258 arch/powerpc/kvm/book3s_xive_native.c 	xive->dentry = debugfs_create_file(name, 0444, powerpc_debugfs_root,
dentry            210 arch/powerpc/kvm/timing.c 	struct dentry *debugfs_file;
dentry            167 arch/powerpc/mm/ptdump/bats.c 	struct dentry *debugfs_file;
dentry            530 arch/powerpc/mm/ptdump/hashpagetable.c 	struct dentry *debugfs_file;
dentry            421 arch/powerpc/mm/ptdump/ptdump.c 	struct dentry *debugfs_file;
dentry             58 arch/powerpc/mm/ptdump/segment_regs.c 	struct dentry *debugfs_file;
dentry            298 arch/powerpc/oprofile/cell/spu_task_sync.c 	if (path->dentry->d_flags & DCACHE_COOKIE)
dentry            299 arch/powerpc/oprofile/cell/spu_task_sync.c 		return (unsigned long)path->dentry;
dentry            118 arch/powerpc/oprofile/common.c static int op_powerpc_create_files(struct dentry *root)
dentry            155 arch/powerpc/oprofile/common.c 		struct dentry *dir;
dentry             94 arch/powerpc/platforms/cell/spufs/inode.c spufs_setattr(struct dentry *dentry, struct iattr *attr)
dentry             96 arch/powerpc/platforms/cell/spufs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            108 arch/powerpc/platforms/cell/spufs/inode.c spufs_new_file(struct super_block *sb, struct dentry *dentry,
dentry            128 arch/powerpc/platforms/cell/spufs/inode.c 	d_add(dentry, inode);
dentry            144 arch/powerpc/platforms/cell/spufs/inode.c static void spufs_prune_dir(struct dentry *dir)
dentry            146 arch/powerpc/platforms/cell/spufs/inode.c 	struct dentry *dentry, *tmp;
dentry            149 arch/powerpc/platforms/cell/spufs/inode.c 	list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) {
dentry            150 arch/powerpc/platforms/cell/spufs/inode.c 		spin_lock(&dentry->d_lock);
dentry            151 arch/powerpc/platforms/cell/spufs/inode.c 		if (simple_positive(dentry)) {
dentry            152 arch/powerpc/platforms/cell/spufs/inode.c 			dget_dlock(dentry);
dentry            153 arch/powerpc/platforms/cell/spufs/inode.c 			__d_drop(dentry);
dentry            154 arch/powerpc/platforms/cell/spufs/inode.c 			spin_unlock(&dentry->d_lock);
dentry            155 arch/powerpc/platforms/cell/spufs/inode.c 			simple_unlink(d_inode(dir), dentry);
dentry            159 arch/powerpc/platforms/cell/spufs/inode.c 			dput(dentry);
dentry            161 arch/powerpc/platforms/cell/spufs/inode.c 			spin_unlock(&dentry->d_lock);
dentry            169 arch/powerpc/platforms/cell/spufs/inode.c static int spufs_rmdir(struct inode *parent, struct dentry *dir)
dentry            181 arch/powerpc/platforms/cell/spufs/inode.c static int spufs_fill_dir(struct dentry *dir,
dentry            187 arch/powerpc/platforms/cell/spufs/inode.c 		struct dentry *dentry = d_alloc_name(dir, files->name);
dentry            188 arch/powerpc/platforms/cell/spufs/inode.c 		if (!dentry)
dentry            190 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_new_file(dir->d_sb, dentry, files->ops,
dentry            203 arch/powerpc/platforms/cell/spufs/inode.c 	struct dentry *dir;
dentry            206 arch/powerpc/platforms/cell/spufs/inode.c 	dir = file->f_path.dentry;
dentry            229 arch/powerpc/platforms/cell/spufs/inode.c spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags,
dentry            257 arch/powerpc/platforms/cell/spufs/inode.c 	dget(dentry);
dentry            261 arch/powerpc/platforms/cell/spufs/inode.c 	d_instantiate(dentry, inode);
dentry            264 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_fill_dir(dentry, spufs_dir_nosched_contents,
dentry            267 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_fill_dir(dentry, spufs_dir_contents, mode, ctx);
dentry            270 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_fill_dir(dentry, spufs_dir_debug_contents,
dentry            274 arch/powerpc/platforms/cell/spufs/inode.c 		spufs_rmdir(dir, dentry);
dentry            404 arch/powerpc/platforms/cell/spufs/inode.c spufs_create_context(struct inode *inode, struct dentry *dentry,
dentry            412 arch/powerpc/platforms/cell/spufs/inode.c 	struct path path = {.mnt = mnt, .dentry = dentry};
dentry            440 arch/powerpc/platforms/cell/spufs/inode.c 	ret = spufs_mkdir(inode, dentry, flags, mode & 0777);
dentry            445 arch/powerpc/platforms/cell/spufs/inode.c 		spufs_set_affinity(flags, SPUFS_I(d_inode(dentry))->i_ctx,
dentry            453 arch/powerpc/platforms/cell/spufs/inode.c 		WARN_ON(spufs_rmdir(inode, dentry));
dentry            462 arch/powerpc/platforms/cell/spufs/inode.c spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            489 arch/powerpc/platforms/cell/spufs/inode.c 	d_instantiate(dentry, inode);
dentry            491 arch/powerpc/platforms/cell/spufs/inode.c 	inc_nlink(d_inode(dentry));
dentry            525 arch/powerpc/platforms/cell/spufs/inode.c 			struct dentry *dentry,
dentry            528 arch/powerpc/platforms/cell/spufs/inode.c 	struct path path = {.mnt = mnt, .dentry = dentry};
dentry            531 arch/powerpc/platforms/cell/spufs/inode.c 	ret = spufs_mkgang(inode, dentry, mode & 0777);
dentry            535 arch/powerpc/platforms/cell/spufs/inode.c 			int err = simple_rmdir(inode, dentry);
dentry            545 arch/powerpc/platforms/cell/spufs/inode.c long spufs_create(struct path *path, struct dentry *dentry,
dentry            548 arch/powerpc/platforms/cell/spufs/inode.c 	struct inode *dir = d_inode(path->dentry);
dentry            552 arch/powerpc/platforms/cell/spufs/inode.c 	if (path->dentry->d_sb->s_type != &spufs_type)
dentry            560 arch/powerpc/platforms/cell/spufs/inode.c 	if (path->dentry != path->dentry->d_sb->s_root)
dentry            567 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_create_gang(dir, dentry, path->mnt, mode);
dentry            569 arch/powerpc/platforms/cell/spufs/inode.c 		ret = spufs_create_context(dir, dentry, path->mnt, flags, mode,
dentry            572 arch/powerpc/platforms/cell/spufs/inode.c 		fsnotify_mkdir(dir, dentry);
dentry            601 arch/powerpc/platforms/cell/spufs/inode.c static int spufs_show_options(struct seq_file *m, struct dentry *root)
dentry            235 arch/powerpc/platforms/cell/spufs/spufs.h long spufs_create(struct path *nd, struct dentry *dentry, unsigned int flags,
dentry             67 arch/powerpc/platforms/cell/spufs/syscalls.c 	struct dentry *dentry;
dentry             70 arch/powerpc/platforms/cell/spufs/syscalls.c 	dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY);
dentry             71 arch/powerpc/platforms/cell/spufs/syscalls.c 	ret = PTR_ERR(dentry);
dentry             72 arch/powerpc/platforms/cell/spufs/syscalls.c 	if (!IS_ERR(dentry)) {
dentry             73 arch/powerpc/platforms/cell/spufs/syscalls.c 		ret = spufs_create(&path, dentry, flags, mode, neighbor);
dentry             74 arch/powerpc/platforms/cell/spufs/syscalls.c 		done_path_create(&path, dentry);
dentry             29 arch/powerpc/platforms/powernv/memtrace.c 	struct dentry *dir;
dentry            168 arch/powerpc/platforms/powernv/memtrace.c static struct dentry *memtrace_debugfs_dir;
dentry            176 arch/powerpc/platforms/powernv/memtrace.c 		struct dentry *dir;
dentry             22 arch/powerpc/platforms/powernv/opal-imc.c static struct dentry *imc_debugfs_parent;
dentry             38 arch/powerpc/platforms/powernv/opal-imc.c static struct dentry *imc_debugfs_create_x64(const char *name, umode_t mode,
dentry             39 arch/powerpc/platforms/powernv/opal-imc.c 					     struct dentry *parent, u64  *value)
dentry            353 arch/powerpc/platforms/powernv/opal-lpc.c static int opal_lpc_debugfs_create_type(struct dentry *folder,
dentry            368 arch/powerpc/platforms/powernv/opal-lpc.c 	struct dentry *root;
dentry            155 arch/powerpc/platforms/powernv/opal-xscom.c static int scom_debug_init_one(struct dentry *root, struct device_node *dn,
dentry            159 arch/powerpc/platforms/powernv/opal-xscom.c 	struct dentry *dir;
dentry            186 arch/powerpc/platforms/powernv/opal-xscom.c 	struct dentry *root;
dentry            102 arch/powerpc/platforms/powernv/pci.h 	struct dentry		*dbgfs;
dentry             14 arch/powerpc/platforms/powernv/vas-debug.c static struct dentry *vas_debugfs;
dentry            118 arch/powerpc/platforms/powernv/vas-debug.c 	struct dentry *f, *d;
dentry            156 arch/powerpc/platforms/powernv/vas-debug.c 	struct dentry *d;
dentry            321 arch/powerpc/platforms/powernv/vas.h 	struct dentry *dbgdir;
dentry            340 arch/powerpc/platforms/powernv/vas.h 	struct dentry *dbgdir;
dentry             22 arch/powerpc/platforms/pseries/dtl.c 	struct dentry		*file;
dentry            321 arch/powerpc/platforms/pseries/dtl.c static struct dentry *dtl_dir;
dentry            338 arch/powerpc/platforms/pseries/dtl.c 	struct dentry *event_mask_file, *buf_entries_file;
dentry            131 arch/powerpc/platforms/pseries/hvCall_inst.c 	struct dentry *hcall_root;
dentry            132 arch/powerpc/platforms/pseries/hvCall_inst.c 	struct dentry *hcall_file;
dentry           1995 arch/powerpc/platforms/pseries/lpar.c 	struct dentry *vpa_dir;
dentry           2008 arch/powerpc/platforms/pseries/lpar.c 		struct dentry *d;
dentry             42 arch/riscv/mm/sifive_l2_cache.c static struct dentry *sifive_test;
dentry             23 arch/s390/hypfs/hypfs.h extern struct dentry *hypfs_mkdir(struct dentry *parent, const char *name);
dentry             25 arch/s390/hypfs/hypfs.h extern struct dentry *hypfs_create_u64(struct dentry *dir, const char *name,
dentry             28 arch/s390/hypfs/hypfs.h extern struct dentry *hypfs_create_str(struct dentry *dir, const char *name,
dentry             34 arch/s390/hypfs/hypfs.h extern int hypfs_diag_create_files(struct dentry *root);
dentry             39 arch/s390/hypfs/hypfs.h extern int hypfs_vm_create_files(struct dentry *root);
dentry             69 arch/s390/hypfs/hypfs.h 	struct dentry		*dentry;
dentry             12 arch/s390/hypfs/hypfs_dbfs.c static struct dentry *dbfs_dir;
dentry             83 arch/s390/hypfs/hypfs_dbfs.c 	df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df,
dentry             90 arch/s390/hypfs/hypfs_dbfs.c 	debugfs_remove(df->dentry);
dentry             35 arch/s390/hypfs/hypfs_diag.c static struct dentry *dbfs_d204_file;
dentry            472 arch/s390/hypfs/hypfs_diag.c static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info)
dentry            474 arch/s390/hypfs/hypfs_diag.c 	struct dentry *cpu_dir;
dentry            502 arch/s390/hypfs/hypfs_diag.c static void *hypfs_create_lpar_files(struct dentry *systems_dir, void *part_hdr)
dentry            504 arch/s390/hypfs/hypfs_diag.c 	struct dentry *cpus_dir;
dentry            505 arch/s390/hypfs/hypfs_diag.c 	struct dentry *lpar_dir;
dentry            529 arch/s390/hypfs/hypfs_diag.c static int hypfs_create_phys_cpu_files(struct dentry *cpus_dir, void *cpu_info)
dentry            531 arch/s390/hypfs/hypfs_diag.c 	struct dentry *cpu_dir;
dentry            549 arch/s390/hypfs/hypfs_diag.c static void *hypfs_create_phys_files(struct dentry *parent_dir, void *phys_hdr)
dentry            553 arch/s390/hypfs/hypfs_diag.c 	struct dentry *cpus_dir;
dentry            569 arch/s390/hypfs/hypfs_diag.c int hypfs_diag_create_files(struct dentry *root)
dentry            571 arch/s390/hypfs/hypfs_diag.c 	struct dentry *systems_dir, *hyp_dir;
dentry            121 arch/s390/hypfs/hypfs_vm.c static int hypfs_vm_create_guest(struct dentry *systems_dir,
dentry            125 arch/s390/hypfs/hypfs_vm.c 	struct dentry *guest_dir, *cpus_dir, *samples_dir, *mem_dir;
dentry            179 arch/s390/hypfs/hypfs_vm.c int hypfs_vm_create_files(struct dentry *root)
dentry            181 arch/s390/hypfs/hypfs_vm.c 	struct dentry *dir, *file;
dentry             33 arch/s390/hypfs/inode.c static struct dentry *hypfs_create_update_file(struct dentry *dir);
dentry             38 arch/s390/hypfs/inode.c 	struct dentry *update_file;	/* file to trigger update */
dentry             48 arch/s390/hypfs/inode.c static struct dentry *hypfs_last_dentry;
dentry             61 arch/s390/hypfs/inode.c static void hypfs_add_dentry(struct dentry *dentry)
dentry             63 arch/s390/hypfs/inode.c 	dentry->d_fsdata = hypfs_last_dentry;
dentry             64 arch/s390/hypfs/inode.c 	hypfs_last_dentry = dentry;
dentry             67 arch/s390/hypfs/inode.c static void hypfs_remove(struct dentry *dentry)
dentry             69 arch/s390/hypfs/inode.c 	struct dentry *parent;
dentry             71 arch/s390/hypfs/inode.c 	parent = dentry->d_parent;
dentry             73 arch/s390/hypfs/inode.c 	if (simple_positive(dentry)) {
dentry             74 arch/s390/hypfs/inode.c 		if (d_is_dir(dentry))
dentry             75 arch/s390/hypfs/inode.c 			simple_rmdir(d_inode(parent), dentry);
dentry             77 arch/s390/hypfs/inode.c 			simple_unlink(d_inode(parent), dentry);
dentry             79 arch/s390/hypfs/inode.c 	d_drop(dentry);
dentry             80 arch/s390/hypfs/inode.c 	dput(dentry);
dentry             84 arch/s390/hypfs/inode.c static void hypfs_delete_tree(struct dentry *root)
dentry             87 arch/s390/hypfs/inode.c 		struct dentry *next_dentry;
dentry            252 arch/s390/hypfs/inode.c static int hypfs_show_options(struct seq_file *s, struct dentry *root)
dentry            265 arch/s390/hypfs/inode.c 	struct dentry *root_dentry, *update_file;
dentry            342 arch/s390/hypfs/inode.c static struct dentry *hypfs_create_file(struct dentry *parent, const char *name,
dentry            345 arch/s390/hypfs/inode.c 	struct dentry *dentry;
dentry            349 arch/s390/hypfs/inode.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            350 arch/s390/hypfs/inode.c 	if (IS_ERR(dentry)) {
dentry            351 arch/s390/hypfs/inode.c 		dentry = ERR_PTR(-ENOMEM);
dentry            356 arch/s390/hypfs/inode.c 		dput(dentry);
dentry            357 arch/s390/hypfs/inode.c 		dentry = ERR_PTR(-ENOMEM);
dentry            373 arch/s390/hypfs/inode.c 	d_instantiate(dentry, inode);
dentry            374 arch/s390/hypfs/inode.c 	dget(dentry);
dentry            377 arch/s390/hypfs/inode.c 	return dentry;
dentry            380 arch/s390/hypfs/inode.c struct dentry *hypfs_mkdir(struct dentry *parent, const char *name)
dentry            382 arch/s390/hypfs/inode.c 	struct dentry *dentry;
dentry            384 arch/s390/hypfs/inode.c 	dentry = hypfs_create_file(parent, name, NULL, S_IFDIR | DIR_MODE);
dentry            385 arch/s390/hypfs/inode.c 	if (IS_ERR(dentry))
dentry            386 arch/s390/hypfs/inode.c 		return dentry;
dentry            387 arch/s390/hypfs/inode.c 	hypfs_add_dentry(dentry);
dentry            388 arch/s390/hypfs/inode.c 	return dentry;
dentry            391 arch/s390/hypfs/inode.c static struct dentry *hypfs_create_update_file(struct dentry *dir)
dentry            393 arch/s390/hypfs/inode.c 	struct dentry *dentry;
dentry            395 arch/s390/hypfs/inode.c 	dentry = hypfs_create_file(dir, "update", NULL,
dentry            402 arch/s390/hypfs/inode.c 	return dentry;
dentry            405 arch/s390/hypfs/inode.c struct dentry *hypfs_create_u64(struct dentry *dir,
dentry            410 arch/s390/hypfs/inode.c 	struct dentry *dentry;
dentry            416 arch/s390/hypfs/inode.c 	dentry =
dentry            418 arch/s390/hypfs/inode.c 	if (IS_ERR(dentry)) {
dentry            422 arch/s390/hypfs/inode.c 	hypfs_add_dentry(dentry);
dentry            423 arch/s390/hypfs/inode.c 	return dentry;
dentry            426 arch/s390/hypfs/inode.c struct dentry *hypfs_create_str(struct dentry *dir,
dentry            430 arch/s390/hypfs/inode.c 	struct dentry *dentry;
dentry            436 arch/s390/hypfs/inode.c 	dentry =
dentry            438 arch/s390/hypfs/inode.c 	if (IS_ERR(dentry)) {
dentry            442 arch/s390/hypfs/inode.c 	hypfs_add_dentry(dentry);
dentry            443 arch/s390/hypfs/inode.c 	return dentry;
dentry             47 arch/s390/include/asm/debug.h 	struct dentry *debugfs_root_entry;
dentry             48 arch/s390/include/asm/debug.h 	struct dentry *debugfs_entries[DEBUG_MAX_VIEWS];
dentry            158 arch/s390/include/asm/pci.h 	struct dentry	*debugfs_dev;
dentry            182 arch/s390/kernel/debug.c static struct dentry *debug_debugfs_root_entry;
dentry            267 arch/s390/kernel/debug.c 	memset(rc->debugfs_entries, 0, DEBUG_MAX_VIEWS * sizeof(struct dentry *));
dentry            589 arch/s390/kernel/debug.c 		else if (debug_info->debugfs_entries[i] == file->f_path.dentry)
dentry           1104 arch/s390/kernel/debug.c 	struct dentry *pde;
dentry           1152 arch/s390/kernel/debug.c 	struct dentry *dentry = NULL;
dentry           1166 arch/s390/kernel/debug.c 		dentry = id->debugfs_entries[i];
dentry           1171 arch/s390/kernel/debug.c 	debugfs_remove(dentry);
dentry              6 arch/s390/kernel/kdebugfs.c struct dentry *arch_debugfs_dir;
dentry            543 arch/s390/kernel/sysinfo.c 	struct dentry *stsi_root;
dentry             21 arch/s390/pci/pci_debug.c static struct dentry *debugfs_root;
dentry              6 arch/sh/kernel/kdebugfs.c struct dentry *arch_debugfs_dir;
dentry           1283 arch/x86/events/intel/pt.c 		if (!filter->path.dentry) {
dentry           1311 arch/x86/events/intel/pt.c 		if (filter->path.dentry && !fr[range].start) {
dentry           2491 arch/x86/kernel/cpu/mce/core.c struct dentry *mce_get_debugfs_dir(void)
dentry           2493 arch/x86/kernel/cpu/mce/core.c 	static struct dentry *dmce;
dentry           2528 arch/x86/kernel/cpu/mce/core.c 	struct dentry *dmce;
dentry             40 arch/x86/kernel/cpu/mce/inject.c static struct dentry *dfs_inj;
dentry             39 arch/x86/kernel/cpu/mce/internal.h struct dentry *mce_get_debugfs_dir(void);
dentry            403 arch/x86/kernel/cpu/mce/severity.c 	struct dentry *dmce;
dentry            182 arch/x86/kernel/cpu/resctrl/internal.h 	struct dentry		*debugfs_dir;
dentry            479 arch/x86/kernel/cpu/resctrl/internal.h extern struct dentry *debugfs_resctrl;
dentry           1237 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		ret = debugfs_file_get(file->f_path.dentry);
dentry           1243 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		debugfs_file_put(file->f_path.dentry);
dentry             54 arch/x86/kernel/cpu/resctrl/rdtgroup.c struct dentry *debugfs_resctrl;
dentry             19 arch/x86/kernel/kdebugfs.c struct dentry *arch_debugfs_dir;
dentry             71 arch/x86/kernel/kdebugfs.c create_setup_data_node(struct dentry *parent, int no,
dentry             74 arch/x86/kernel/kdebugfs.c 	struct dentry *d;
dentry             84 arch/x86/kernel/kdebugfs.c static int __init create_setup_data_nodes(struct dentry *parent)
dentry             89 arch/x86/kernel/kdebugfs.c 	struct dentry *d;
dentry            135 arch/x86/kernel/kdebugfs.c 	struct dentry *dbp;
dentry             53 arch/x86/mm/debug_pagetables.c static struct dentry *dir;
dentry            413 arch/x86/oprofile/nmi_int.c static int nmi_create_files(struct dentry *root)
dentry            418 arch/x86/oprofile/nmi_int.c 		struct dentry *dir;
dentry            456 arch/x86/oprofile/op_model_amd.c static int (*create_arch_files)(struct dentry *root);
dentry            458 arch/x86/oprofile/op_model_amd.c static int setup_ibs_files(struct dentry *root)
dentry            460 arch/x86/oprofile/op_model_amd.c 	struct dentry *dir;
dentry            105 arch/x86/platform/atom/punit_atom_debug.c static struct dentry *punit_dbg_file;
dentry            484 arch/x86/platform/intel/iosf_mbi.c static struct dentry *iosf_dbg;
dentry             68 arch/x86/platform/uv/tlb_uv.c static struct dentry *tunables_dir;
dentry              8 arch/x86/xen/debugfs.c static struct dentry *d_xen_debug;
dentry             10 arch/x86/xen/debugfs.c struct dentry * __init xen_init_debugfs(void)
dentry              5 arch/x86/xen/debugfs.h struct dentry * __init xen_init_debugfs(void);
dentry            814 arch/x86/xen/p2m.c static struct dentry *d_mmu_debug;
dentry            818 arch/x86/xen/p2m.c 	struct dentry *d_xen = xen_init_debugfs();
dentry             52 block/blk-core.c struct dentry *blk_debugfs_root;
dentry            769 block/blk-core.c 	struct dentry *dir = fault_create_debugfs_attr("fail_make_request",
dentry            716 block/blk-mq-debugfs.c 	void *data = d_inode(m->file->f_path.dentry->d_parent)->i_private;
dentry            726 block/blk-mq-debugfs.c 	void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
dentry            741 block/blk-mq-debugfs.c 	void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
dentry            808 block/blk-mq-debugfs.c static void debugfs_create_files(struct dentry *parent, void *data,
dentry            867 block/blk-mq-debugfs.c 	struct dentry *ctx_dir;
dentry             32 block/blk-rq-qos.h 	struct dentry *debugfs_dir;
dentry             33 block/blk-timeout.c 	struct dentry *dir = fault_create_debugfs_attr("fail_io_timeout",
dentry             15 block/blk.h    extern struct dentry *blk_debugfs_root;
dentry             65 drivers/acpi/acpi_dbg.c static struct dentry *acpi_aml_dentry;
dentry            747 drivers/acpi/apei/apei-base.c struct dentry *apei_get_debugfs_dir(void)
dentry            749 drivers/acpi/apei/apei-base.c 	static struct dentry *dapei;
dentry            121 drivers/acpi/apei/apei-internal.h struct dentry;
dentry            122 drivers/acpi/apei/apei-internal.h struct dentry *apei_get_debugfs_dir(void);
dentry            564 drivers/acpi/apei/einj.c static struct dentry *einj_debug_dir;
dentry             20 drivers/acpi/custom_method.c static struct dentry *cm_dentry;
dentry             16 drivers/acpi/debugfs.c struct dentry *acpi_debugfs_dir;
dentry             28 drivers/acpi/ec_sys.c static struct dentry *acpi_ec_debugfs_dir;
dentry            112 drivers/acpi/ec_sys.c 	struct dentry *dev_dir;
dentry             70 drivers/acpi/internal.h extern struct dentry *acpi_debugfs_dir;
dentry             88 drivers/android/binder.c static struct dentry *binder_debugfs_dir_entry_root;
dentry             89 drivers/android/binder.c static struct dentry *binder_debugfs_dir_entry_proc;
dentry            484 drivers/android/binder.c 	struct dentry *debugfs_entry;
dentry            489 drivers/android/binder.c 	struct dentry *binderfs_entry;
dentry           5209 drivers/android/binder.c 	struct dentry *binder_binderfs_dir_entry_proc = NULL;
dentry           5271 drivers/android/binder.c 		struct dentry *binderfs_entry;
dentry             66 drivers/android/binder_internal.h 	struct dentry *control_dentry;
dentry             71 drivers/android/binder_internal.h 	struct dentry *proc_log_dir;
dentry             80 drivers/android/binder_internal.h extern struct dentry *binderfs_create_file(struct dentry *dir, const char *name,
dentry             83 drivers/android/binder_internal.h extern void binderfs_remove_file(struct dentry *dentry);
dentry             89 drivers/android/binder_internal.h static inline struct dentry *binderfs_create_file(struct dentry *dir,
dentry             96 drivers/android/binder_internal.h static inline void binderfs_remove_file(struct dentry *dentry) {}
dentry            104 drivers/android/binderfs.c 	struct dentry *dentry, *root;
dentry            177 drivers/android/binderfs.c 	dentry = lookup_one_len(name, root, name_len);
dentry            178 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            180 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            184 drivers/android/binderfs.c 	if (d_really_is_positive(dentry)) {
dentry            186 drivers/android/binderfs.c 		dput(dentry);
dentry            193 drivers/android/binderfs.c 	d_instantiate(dentry, inode);
dentry            194 drivers/android/binderfs.c 	fsnotify_create(root->d_inode, dentry);
dentry            340 drivers/android/binderfs.c static int binderfs_show_mount_opts(struct seq_file *seq, struct dentry *root)
dentry            360 drivers/android/binderfs.c static inline bool is_binderfs_control_device(const struct dentry *dentry)
dentry            362 drivers/android/binderfs.c 	struct binderfs_info *info = dentry->d_sb->s_fs_info;
dentry            363 drivers/android/binderfs.c 	return info->control_dentry == dentry;
dentry            366 drivers/android/binderfs.c static int binderfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            367 drivers/android/binderfs.c 			   struct inode *new_dir, struct dentry *new_dentry,
dentry            377 drivers/android/binderfs.c static int binderfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            379 drivers/android/binderfs.c 	if (is_binderfs_control_device(dentry))
dentry            382 drivers/android/binderfs.c 	return simple_unlink(dir, dentry);
dentry            405 drivers/android/binderfs.c 	struct dentry *dentry;
dentry            408 drivers/android/binderfs.c 	struct dentry *root = sb->s_root;
dentry            455 drivers/android/binderfs.c 	dentry = d_alloc_name(root, "binder-control");
dentry            456 drivers/android/binderfs.c 	if (!dentry)
dentry            460 drivers/android/binderfs.c 	info->control_dentry = dentry;
dentry            461 drivers/android/binderfs.c 	d_add(dentry, inode);
dentry            491 drivers/android/binderfs.c static struct dentry *binderfs_create_dentry(struct dentry *parent,
dentry            494 drivers/android/binderfs.c 	struct dentry *dentry;
dentry            496 drivers/android/binderfs.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            497 drivers/android/binderfs.c 	if (IS_ERR(dentry))
dentry            498 drivers/android/binderfs.c 		return dentry;
dentry            501 drivers/android/binderfs.c 	if (d_really_is_positive(dentry)) {
dentry            502 drivers/android/binderfs.c 		dput(dentry);
dentry            506 drivers/android/binderfs.c 	return dentry;
dentry            509 drivers/android/binderfs.c void binderfs_remove_file(struct dentry *dentry)
dentry            513 drivers/android/binderfs.c 	parent_inode = d_inode(dentry->d_parent);
dentry            515 drivers/android/binderfs.c 	if (simple_positive(dentry)) {
dentry            516 drivers/android/binderfs.c 		dget(dentry);
dentry            517 drivers/android/binderfs.c 		simple_unlink(parent_inode, dentry);
dentry            518 drivers/android/binderfs.c 		d_delete(dentry);
dentry            519 drivers/android/binderfs.c 		dput(dentry);
dentry            524 drivers/android/binderfs.c struct dentry *binderfs_create_file(struct dentry *parent, const char *name,
dentry            528 drivers/android/binderfs.c 	struct dentry *dentry;
dentry            535 drivers/android/binderfs.c 	dentry = binderfs_create_dentry(parent, name);
dentry            536 drivers/android/binderfs.c 	if (IS_ERR(dentry))
dentry            542 drivers/android/binderfs.c 		dput(dentry);
dentry            543 drivers/android/binderfs.c 		dentry = ERR_PTR(-ENOMEM);
dentry            549 drivers/android/binderfs.c 	d_instantiate(dentry, new_inode);
dentry            550 drivers/android/binderfs.c 	fsnotify_create(parent_inode, dentry);
dentry            554 drivers/android/binderfs.c 	return dentry;
dentry            557 drivers/android/binderfs.c static struct dentry *binderfs_create_dir(struct dentry *parent,
dentry            560 drivers/android/binderfs.c 	struct dentry *dentry;
dentry            567 drivers/android/binderfs.c 	dentry = binderfs_create_dentry(parent, name);
dentry            568 drivers/android/binderfs.c 	if (IS_ERR(dentry))
dentry            574 drivers/android/binderfs.c 		dput(dentry);
dentry            575 drivers/android/binderfs.c 		dentry = ERR_PTR(-ENOMEM);
dentry            583 drivers/android/binderfs.c 	d_instantiate(dentry, new_inode);
dentry            585 drivers/android/binderfs.c 	fsnotify_mkdir(parent_inode, dentry);
dentry            589 drivers/android/binderfs.c 	return dentry;
dentry            594 drivers/android/binderfs.c 	struct dentry *binder_logs_root_dir, *dentry, *proc_log_dir;
dentry            605 drivers/android/binderfs.c 	dentry = binderfs_create_file(binder_logs_root_dir, "stats",
dentry            607 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            608 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            612 drivers/android/binderfs.c 	dentry = binderfs_create_file(binder_logs_root_dir, "state",
dentry            614 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            615 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            619 drivers/android/binderfs.c 	dentry = binderfs_create_file(binder_logs_root_dir, "transactions",
dentry            621 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            622 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            626 drivers/android/binderfs.c 	dentry = binderfs_create_file(binder_logs_root_dir,
dentry            630 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            631 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            635 drivers/android/binderfs.c 	dentry = binderfs_create_file(binder_logs_root_dir,
dentry            639 drivers/android/binderfs.c 	if (IS_ERR(dentry)) {
dentry            640 drivers/android/binderfs.c 		ret = PTR_ERR(dentry);
dentry            739 drivers/android/binderfs.c static struct dentry *binderfs_mount(struct file_system_type *fs_type,
dentry             69 drivers/base/component.c 	struct dentry *dentry;
dentry             88 drivers/base/component.c static struct dentry *component_debugfs_dir;
dentry            129 drivers/base/component.c 	m->dentry = debugfs_create_file(dev_name(m->dev), 0444,
dentry            136 drivers/base/component.c 	debugfs_remove(m->dentry);
dentry            137 drivers/base/component.c 	m->dentry = NULL;
dentry             57 drivers/base/dd.c static struct dentry *deferred_devices;
dentry             61 drivers/base/devtmpfs.c static struct dentry *public_dev_mount(struct file_system_type *fs_type, int flags,
dentry            166 drivers/base/devtmpfs.c 	struct dentry *dentry;
dentry            170 drivers/base/devtmpfs.c 	dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY);
dentry            171 drivers/base/devtmpfs.c 	if (IS_ERR(dentry))
dentry            172 drivers/base/devtmpfs.c 		return PTR_ERR(dentry);
dentry            174 drivers/base/devtmpfs.c 	err = vfs_mkdir(d_inode(path.dentry), dentry, mode);
dentry            177 drivers/base/devtmpfs.c 		d_inode(dentry)->i_private = &thread;
dentry            178 drivers/base/devtmpfs.c 	done_path_create(&path, dentry);
dentry            212 drivers/base/devtmpfs.c 	struct dentry *dentry;
dentry            216 drivers/base/devtmpfs.c 	dentry = kern_path_create(AT_FDCWD, nodename, &path, 0);
dentry            217 drivers/base/devtmpfs.c 	if (dentry == ERR_PTR(-ENOENT)) {
dentry            219 drivers/base/devtmpfs.c 		dentry = kern_path_create(AT_FDCWD, nodename, &path, 0);
dentry            221 drivers/base/devtmpfs.c 	if (IS_ERR(dentry))
dentry            222 drivers/base/devtmpfs.c 		return PTR_ERR(dentry);
dentry            224 drivers/base/devtmpfs.c 	err = vfs_mknod(d_inode(path.dentry), dentry, mode, dev->devt);
dentry            232 drivers/base/devtmpfs.c 		inode_lock(d_inode(dentry));
dentry            233 drivers/base/devtmpfs.c 		notify_change(dentry, &newattrs, NULL);
dentry            234 drivers/base/devtmpfs.c 		inode_unlock(d_inode(dentry));
dentry            237 drivers/base/devtmpfs.c 		d_inode(dentry)->i_private = &thread;
dentry            239 drivers/base/devtmpfs.c 	done_path_create(&path, dentry);
dentry            246 drivers/base/devtmpfs.c 	struct dentry *dentry;
dentry            249 drivers/base/devtmpfs.c 	dentry = kern_path_locked(name, &parent);
dentry            250 drivers/base/devtmpfs.c 	if (IS_ERR(dentry))
dentry            251 drivers/base/devtmpfs.c 		return PTR_ERR(dentry);
dentry            252 drivers/base/devtmpfs.c 	if (d_really_is_positive(dentry)) {
dentry            253 drivers/base/devtmpfs.c 		if (d_inode(dentry)->i_private == &thread)
dentry            254 drivers/base/devtmpfs.c 			err = vfs_rmdir(d_inode(parent.dentry), dentry);
dentry            260 drivers/base/devtmpfs.c 	dput(dentry);
dentry            261 drivers/base/devtmpfs.c 	inode_unlock(d_inode(parent.dentry));
dentry            315 drivers/base/devtmpfs.c 	struct dentry *dentry;
dentry            319 drivers/base/devtmpfs.c 	dentry = kern_path_locked(nodename, &parent);
dentry            320 drivers/base/devtmpfs.c 	if (IS_ERR(dentry))
dentry            321 drivers/base/devtmpfs.c 		return PTR_ERR(dentry);
dentry            323 drivers/base/devtmpfs.c 	if (d_really_is_positive(dentry)) {
dentry            325 drivers/base/devtmpfs.c 		struct path p = {.mnt = parent.mnt, .dentry = dentry};
dentry            328 drivers/base/devtmpfs.c 		if (!err && dev_mynode(dev, d_inode(dentry), &stat)) {
dentry            339 drivers/base/devtmpfs.c 			inode_lock(d_inode(dentry));
dentry            340 drivers/base/devtmpfs.c 			notify_change(dentry, &newattrs, NULL);
dentry            341 drivers/base/devtmpfs.c 			inode_unlock(d_inode(dentry));
dentry            342 drivers/base/devtmpfs.c 			err = vfs_unlink(d_inode(parent.dentry), dentry, NULL);
dentry            349 drivers/base/devtmpfs.c 	dput(dentry);
dentry            350 drivers/base/devtmpfs.c 	inode_unlock(d_inode(parent.dentry));
dentry           2735 drivers/base/power/domain.c static struct dentry *genpd_debugfs_dir;
dentry           3014 drivers/base/power/domain.c 	struct dentry *d;
dentry             78 drivers/base/regmap/internal.h 	struct dentry *debugfs;
dentry             25 drivers/base/regmap/regmap-debugfs.c static struct dentry *regmap_debugfs_root;
dentry            171 drivers/block/aoe/aoe.h 	struct dentry *debugfs;
dentry             26 drivers/block/aoe/aoeblk.c static struct dentry *aoe_debugfs_dir;
dentry             20 drivers/block/drbd/drbd_debugfs.c static struct dentry *drbd_debugfs_root;
dentry             21 drivers/block/drbd/drbd_debugfs.c static struct dentry *drbd_debugfs_version;
dentry             22 drivers/block/drbd/drbd_debugfs.c static struct dentry *drbd_debugfs_resources;
dentry             23 drivers/block/drbd/drbd_debugfs.c static struct dentry *drbd_debugfs_minors;
dentry            422 drivers/block/drbd/drbd_debugfs.c 	struct dentry *parent;
dentry            427 drivers/block/drbd/drbd_debugfs.c 	parent = file->f_path.dentry->d_parent;
dentry            431 drivers/block/drbd/drbd_debugfs.c 	if (simple_positive(file->f_path.dentry)
dentry            467 drivers/block/drbd/drbd_debugfs.c 	struct dentry *dentry;
dentry            469 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir(resource->name, drbd_debugfs_resources);
dentry            470 drivers/block/drbd/drbd_debugfs.c 	resource->debugfs_res = dentry;
dentry            472 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("volumes", resource->debugfs_res);
dentry            473 drivers/block/drbd/drbd_debugfs.c 	resource->debugfs_res_volumes = dentry;
dentry            475 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("connections", resource->debugfs_res);
dentry            476 drivers/block/drbd/drbd_debugfs.c 	resource->debugfs_res_connections = dentry;
dentry            478 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_file("in_flight_summary", 0440,
dentry            481 drivers/block/drbd/drbd_debugfs.c 	resource->debugfs_res_in_flight_summary = dentry;
dentry            484 drivers/block/drbd/drbd_debugfs.c static void drbd_debugfs_remove(struct dentry **dp)
dentry            622 drivers/block/drbd/drbd_debugfs.c 	struct dentry *conns_dir = connection->resource->debugfs_res_connections;
dentry            623 drivers/block/drbd/drbd_debugfs.c 	struct dentry *dentry;
dentry            628 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("peer", conns_dir);
dentry            629 drivers/block/drbd/drbd_debugfs.c 	connection->debugfs_conn = dentry;
dentry            631 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_file("callback_history", 0440,
dentry            634 drivers/block/drbd/drbd_debugfs.c 	connection->debugfs_conn_callback_history = dentry;
dentry            636 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_file("oldest_requests", 0440,
dentry            639 drivers/block/drbd/drbd_debugfs.c 	connection->debugfs_conn_oldest_requests = dentry;
dentry            773 drivers/block/drbd/drbd_debugfs.c 	struct dentry *vols_dir = device->resource->debugfs_res_volumes;
dentry            778 drivers/block/drbd/drbd_debugfs.c 	struct dentry *dentry;
dentry            783 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir(vnr_buf, vols_dir);
dentry            784 drivers/block/drbd/drbd_debugfs.c 	device->debugfs_vol = dentry;
dentry            791 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_symlink(minor_buf, drbd_debugfs_minors, slink_name);
dentry            792 drivers/block/drbd/drbd_debugfs.c 	device->debugfs_minor = dentry;
dentry            797 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_file(#name, 0440,	\
dentry            800 drivers/block/drbd/drbd_debugfs.c 	device->debugfs_vol_ ## name = dentry;			\
dentry            829 drivers/block/drbd/drbd_debugfs.c 	struct dentry *conn_dir = peer_device->connection->debugfs_conn;
dentry            830 drivers/block/drbd/drbd_debugfs.c 	struct dentry *dentry;
dentry            834 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir(vnr_buf, conn_dir);
dentry            835 drivers/block/drbd/drbd_debugfs.c 	peer_device->debugfs_peer_dev = dentry;
dentry            878 drivers/block/drbd/drbd_debugfs.c 	struct dentry *dentry;
dentry            880 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("drbd", NULL);
dentry            881 drivers/block/drbd/drbd_debugfs.c 	drbd_debugfs_root = dentry;
dentry            883 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_file("version", 0444, drbd_debugfs_root, NULL, &drbd_version_fops);
dentry            884 drivers/block/drbd/drbd_debugfs.c 	drbd_debugfs_version = dentry;
dentry            886 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("resources", drbd_debugfs_root);
dentry            887 drivers/block/drbd/drbd_debugfs.c 	drbd_debugfs_resources = dentry;
dentry            889 drivers/block/drbd/drbd_debugfs.c 	dentry = debugfs_create_dir("minors", drbd_debugfs_root);
dentry            890 drivers/block/drbd/drbd_debugfs.c 	drbd_debugfs_minors = dentry;
dentry            655 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_res;
dentry            656 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_res_volumes;
dentry            657 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_res_connections;
dentry            658 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_res_in_flight_summary;
dentry            691 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_conn;
dentry            692 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_conn_callback_history;
dentry            693 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_conn_oldest_requests;
dentry            811 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_peer_dev;
dentry            822 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_minor;
dentry            823 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol;
dentry            824 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol_oldest_requests;
dentry            825 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol_act_log_extents;
dentry            826 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol_resync_extents;
dentry            827 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol_data_gen_id;
dentry            828 drivers/block/drbd/drbd_int.h 	struct dentry *debugfs_vol_ed_gen_id;
dentry            107 drivers/block/mtip32xx/mtip32xx.c static struct dentry *dfs_parent;
dentry            108 drivers/block/mtip32xx/mtip32xx.c static struct dentry *dfs_device_status;
dentry            450 drivers/block/mtip32xx/mtip32xx.h 	struct dentry *dfs_node;
dentry            102 drivers/block/nbd.c 	struct dentry *dbg_dir;
dentry            139 drivers/block/nbd.c static struct dentry *nbd_dbg_dir;
dentry           1573 drivers/block/nbd.c 	struct dentry *dir;
dentry           1603 drivers/block/nbd.c 	struct dentry *dbg_dir;
dentry            104 drivers/block/pktcdvd.c static struct dentry	*pkt_debugfs_root = NULL; /* /sys/kernel/debug/pktcdvd */
dentry            227 drivers/block/rsxx/core.c 	struct dentry *debugfs_stats;
dentry            228 drivers/block/rsxx/core.c 	struct dentry *debugfs_pci_regs;
dentry            229 drivers/block/rsxx/core.c 	struct dentry *debugfs_cram;
dentry            175 drivers/block/rsxx/rsxx_priv.h 	struct dentry		*debugfs_dir;
dentry            844 drivers/block/zram/zram_drv.c static struct dentry *zram_debugfs_root;
dentry            126 drivers/block/zram/zram_drv.h 	struct dentry *debugfs_dir;
dentry             30 drivers/bluetooth/btmrvl_debugfs.c 	struct dentry *config_dir;
dentry             31 drivers/bluetooth/btmrvl_debugfs.c 	struct dentry *status_dir;
dentry            548 drivers/bluetooth/hci_qca.c 	struct dentry *ibs_dir;
dentry            558 drivers/bus/moxtet.c 	struct dentry *root, *entry;
dentry            140 drivers/bus/mvebu-mbus.c 	struct dentry *debugfs_root;
dentry            141 drivers/bus/mvebu-mbus.c 	struct dentry *debugfs_sdram;
dentry            142 drivers/bus/mvebu-mbus.c 	struct dentry *debugfs_devs;
dentry             45 drivers/char/virtio_console.c 	struct dentry *debugfs_dir;
dentry            196 drivers/char/virtio_console.c 	struct dentry *debugfs_file;
dentry            400 drivers/clk/bcm/clk-bcm2835.c 				  struct dentry *dentry)
dentry            412 drivers/clk/bcm/clk-bcm2835.c 	debugfs_create_regset32("regdump", S_IRUGO, dentry, regset);
dentry            731 drivers/clk/bcm/clk-bcm2835.c 				  struct dentry *dentry)
dentry            757 drivers/clk/bcm/clk-bcm2835.c 	bcm2835_debugfs_regset(cprman, 0, regs, 7, dentry);
dentry            862 drivers/clk/bcm/clk-bcm2835.c 					   struct dentry *dentry)
dentry            878 drivers/clk/bcm/clk-bcm2835.c 	bcm2835_debugfs_regset(cprman, 0, regs, 2, dentry);
dentry           1255 drivers/clk/bcm/clk-bcm2835.c 				    struct dentry *dentry)
dentry           1264 drivers/clk/bcm/clk-bcm2835.c 		dentry);
dentry             88 drivers/clk/clk.c 	struct dentry		*dentry;
dentry           2880 drivers/clk/clk.c static struct dentry *rootdir;
dentry           3143 drivers/clk/clk.c static void clk_debug_create_one(struct clk_core *core, struct dentry *pdentry)
dentry           3145 drivers/clk/clk.c 	struct dentry *root;
dentry           3151 drivers/clk/clk.c 	core->dentry = root;
dentry           3175 drivers/clk/clk.c 		core->ops->debug_init(core->hw, core->dentry);
dentry           3207 drivers/clk/clk.c 	debugfs_remove_recursive(core->dentry);
dentry           3208 drivers/clk/clk.c 	core->dentry = NULL;
dentry            194 drivers/clk/davinci/pll.c static void davinci_pll_debug_init(struct clk_hw *hw, struct dentry *dentry);
dentry            995 drivers/clk/davinci/pll.c static void davinci_pll_debug_init(struct clk_hw *hw, struct dentry *dentry)
dentry           1008 drivers/clk/davinci/pll.c 	debugfs_create_regset32("registers", 0400, dentry, regset);
dentry            281 drivers/clk/tegra/clk-dfll.c 	struct dentry			*debugfs_dir;
dentry           1364 drivers/clk/tegra/clk-dfll.c 	struct dentry *root;
dentry             23 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c static struct dentry *dbgfs_root;
dentry             24 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c static struct dentry *dbgfs_file_io;
dentry             25 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c static struct dentry *dbgfs_file_info;
dentry             26 drivers/cpufreq/s3c24xx-cpufreq-debugfs.c static struct dentry *dbgfs_file_board;
dentry           2821 drivers/crypto/axis/artpec6_crypto.c static struct dentry *dbgfs_root;
dentry            435 drivers/crypto/bcm/cipher.h 	struct dentry *debugfs_dir;
dentry            436 drivers/crypto/bcm/cipher.h 	struct dentry *debugfs_stats;
dentry             68 drivers/crypto/caam/caamalg_qi2.h 	struct dentry *dfs_root;
dentry            105 drivers/crypto/caam/intern.h 	struct dentry *dfs_root;
dentry            106 drivers/crypto/caam/intern.h 	struct dentry *ctl; /* controller dir */
dentry             61 drivers/crypto/cavium/nitrox/nitrox_debugfs.c 	struct dentry *dir;
dentry            249 drivers/crypto/cavium/nitrox/nitrox_dev.h 	struct dentry *debugfs_dir;
dentry            624 drivers/crypto/cavium/zip/zip_main.c static struct dentry *zip_debugfs_root;
dentry            277 drivers/crypto/ccp/ccp-debugfs.c static struct dentry *ccp_debugfs_dir;
dentry            286 drivers/crypto/ccp/ccp-debugfs.c 	struct dentry *debugfs_q_instance;
dentry            438 drivers/crypto/ccp/ccp-dev.h 	struct dentry *debugfs_instance;
dentry             12 drivers/crypto/ccree/cc_debugfs.c 	struct dentry *dir;
dentry             26 drivers/crypto/ccree/cc_debugfs.c static struct dentry *cc_debugfs_dir;
dentry            966 drivers/crypto/hisilicon/qm.c 	struct dentry *qm_d = qm->debug.qm_d, *tmp;
dentry           1783 drivers/crypto/hisilicon/qm.c 	struct dentry *qm_d, *qm_regs;
dentry            107 drivers/crypto/hisilicon/qm.h 	struct dentry *debug_root;
dentry            108 drivers/crypto/hisilicon/qm.h 	struct dentry *qm_d;
dentry             86 drivers/crypto/hisilicon/zip/zip_main.c static struct dentry *hzip_debugfs_root;
dentry            171 drivers/crypto/hisilicon/zip/zip_main.c 	struct dentry *debug_root;
dentry            514 drivers/crypto/hisilicon/zip/zip_main.c 	struct dentry *tmp_d, *tmp;
dentry            546 drivers/crypto/hisilicon/zip/zip_main.c 	struct dentry *tmp;
dentry            568 drivers/crypto/hisilicon/zip/zip_main.c 	struct dentry *dev_d;
dentry             81 drivers/crypto/nx/nx.h 	struct dentry     *dfs_root;
dentry             35 drivers/crypto/nx/nx_debugfs.c 	struct dentry *root;
dentry            237 drivers/crypto/qat/qat_common/adf_accel_devices.h 	struct dentry *debugfs_dir;
dentry             72 drivers/crypto/qat/qat_common/adf_cfg.h 	struct dentry *debug;
dentry            264 drivers/crypto/qat/qat_common/adf_transport_debug.c 	struct dentry *parent = accel_dev->transport->debug;
dentry             56 drivers/crypto/qat/qat_common/adf_transport_internal.h 	struct dentry *debug;
dentry             84 drivers/crypto/qat/qat_common/adf_transport_internal.h 	struct dentry *bank_debug_dir;
dentry             85 drivers/crypto/qat/qat_common/adf_transport_internal.h 	struct dentry *bank_debug_cfg;
dentry             91 drivers/crypto/qat/qat_common/adf_transport_internal.h 	struct dentry *debug;
dentry             41 drivers/dma-buf/dma-buf.c static char *dmabuffs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry             47 drivers/dma-buf/dma-buf.c 	dmabuf = dentry->d_fsdata;
dentry             53 drivers/dma-buf/dma-buf.c 	return dynamic_dname(dentry, buffer, buflen, "/%s:%s",
dentry             54 drivers/dma-buf/dma-buf.c 			     dentry->d_name.name, ret > 0 ? name : "");
dentry            451 drivers/dma-buf/dma-buf.c 	file->f_path.dentry->d_fsdata = dmabuf;
dentry           1245 drivers/dma-buf/dma-buf.c static struct dentry *dma_buf_debugfs_dir;
dentry           1249 drivers/dma-buf/dma-buf.c 	struct dentry *d;
dentry             11 drivers/dma-buf/sync_debug.c static struct dentry *dbgfs;
dentry            166 drivers/dma/bcm-sba-raid.c 	struct dentry *root;
dentry           1337 drivers/dma/coh901318.c static struct dentry *dma_dentry;
dentry             41 drivers/dma/dw-edma/dw-edma-v0-debugfs.c static struct dentry				*base_dir;
dentry             98 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 				       int nr_entries, struct dentry *dir)
dentry            110 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 				    struct dentry *dir)
dentry            129 drivers/dma/dw-edma/dw-edma-v0-debugfs.c static void dw_edma_debugfs_regs_wr(struct dentry *dir)
dentry            166 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	struct dentry *regs_dir, *ch_dir;
dentry            197 drivers/dma/dw-edma/dw-edma-v0-debugfs.c static void dw_edma_debugfs_regs_rd(struct dentry *dir)
dentry            235 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	struct dentry *regs_dir, *ch_dir;
dentry            272 drivers/dma/dw-edma/dw-edma-v0-debugfs.c 	struct dentry *regs_dir;
dentry            702 drivers/dma/mic_x100_dma.c static struct dentry *mic_dma_dbg;
dentry            135 drivers/dma/mic_x100_dma.h 	struct dentry *dbg_dir;
dentry            131 drivers/dma/pxa_dma.c 	struct dentry			*dbgfs_root;
dentry            132 drivers/dma/pxa_dma.c 	struct dentry			**dbgfs_chan;
dentry            321 drivers/dma/pxa_dma.c static struct dentry *pxad_dbg_alloc_chan(struct pxad_device *pdev,
dentry            322 drivers/dma/pxa_dma.c 					     int ch, struct dentry *chandir)
dentry            325 drivers/dma/pxa_dma.c 	struct dentry *chan;
dentry            342 drivers/dma/pxa_dma.c 	struct dentry *chandir;
dentry            345 drivers/dma/pxa_dma.c 		kmalloc_array(pdev->nr_chans, sizeof(struct dentry *),
dentry            126 drivers/dma/qcom/hidma.h 	struct dentry			*debugfs;
dentry            145 drivers/dma/qcom/hidma_dbg.c 	struct dentry *dir;
dentry            379 drivers/edac/altera_edac.h 	struct dentry *debugfs_dir;
dentry            393 drivers/edac/armada_xp_edac.c 	struct dentry *debugfs;
dentry              4 drivers/edac/debugfs.c static struct dentry *edac_debugfs;
dentry             57 drivers/edac/debugfs.c 	struct dentry *parent;
dentry             83 drivers/edac/debugfs.c struct dentry *edac_debugfs_create_dir(const char *dirname)
dentry             93 drivers/edac/debugfs.c struct dentry *
dentry             94 drivers/edac/debugfs.c edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent)
dentry            109 drivers/edac/debugfs.c struct dentry *
dentry            110 drivers/edac/debugfs.c edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
dentry            122 drivers/edac/debugfs.c 			    struct dentry *parent, u8 *value)
dentry            133 drivers/edac/debugfs.c 			     struct dentry *parent, u16 *value)
dentry            144 drivers/edac/debugfs.c 			     struct dentry *parent, u32 *value)
dentry             75 drivers/edac/edac_module.h struct dentry *edac_debugfs_create_dir(const char *dirname);
dentry             76 drivers/edac/edac_module.h struct dentry *
dentry             77 drivers/edac/edac_module.h edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
dentry             78 drivers/edac/edac_module.h struct dentry *
dentry             79 drivers/edac/edac_module.h edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
dentry             82 drivers/edac/edac_module.h 			    struct dentry *parent, u8 *value);
dentry             84 drivers/edac/edac_module.h 			     struct dentry *parent, u16 *value);
dentry             86 drivers/edac/edac_module.h 			     struct dentry *parent, u32 *value);
dentry             91 drivers/edac/edac_module.h static inline struct dentry *edac_debugfs_create_dir(const char *dirname)	{ return NULL; }
dentry             92 drivers/edac/edac_module.h static inline struct dentry *
dentry             93 drivers/edac/edac_module.h edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent)		{ return NULL; }
dentry             94 drivers/edac/edac_module.h static inline struct dentry *
dentry             95 drivers/edac/edac_module.h edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
dentry             98 drivers/edac/edac_module.h 					  struct dentry *parent, u8 *value)	{ }
dentry            100 drivers/edac/edac_module.h 					   struct dentry *parent, u16 *value)	{ }
dentry            102 drivers/edac/edac_module.h 		       struct dentry *parent, u32 *value)			{ }
dentry            192 drivers/edac/i10nm_base.c static struct dentry *i10nm_test;
dentry            360 drivers/edac/i5100_edac.c 	struct dentry *debugfs;
dentry            363 drivers/edac/i5100_edac.c static struct dentry *i5100_debugfs;
dentry           1447 drivers/edac/pnd2_edac.c static struct dentry *pnd2_test;
dentry            545 drivers/edac/skx_base.c static struct dentry *skx_test;
dentry            466 drivers/edac/thunderx_edac.c static int thunderx_create_debugfs_nodes(struct dentry *parent,
dentry            472 drivers/edac/thunderx_edac.c 	struct dentry *ent;
dentry           1058 drivers/edac/thunderx_edac.c 	struct dentry *debugfs;
dentry           1749 drivers/edac/thunderx_edac.c 	struct dentry *debugfs;
dentry             54 drivers/edac/xgene_edac.c 	struct dentry           *dfs;
dentry            864 drivers/edac/xgene_edac.c 	struct dentry *dbgfs_dir;
dentry           1168 drivers/edac/xgene_edac.c 	struct dentry *dbgfs_dir;
dentry             86 drivers/firmware/tegra/bpmp-debugfs.c 	filename = dentry_path(file->f_path.dentry, buf, size);
dentry            302 drivers/firmware/tegra/bpmp-debugfs.c 			     struct dentry *parent, uint32_t depth)
dentry            307 drivers/firmware/tegra/bpmp-debugfs.c 	struct dentry *dentry;
dentry            331 drivers/firmware/tegra/bpmp-debugfs.c 			dentry = debugfs_create_dir(name, parent);
dentry            332 drivers/firmware/tegra/bpmp-debugfs.c 			if (!dentry)
dentry            334 drivers/firmware/tegra/bpmp-debugfs.c 			err = bpmp_populate_dir(bpmp, seqbuf, dentry, depth+1);
dentry            342 drivers/firmware/tegra/bpmp-debugfs.c 			dentry = debugfs_create_file(name, mode,
dentry            345 drivers/firmware/tegra/bpmp-debugfs.c 			if (!dentry)
dentry            354 drivers/firmware/tegra/bpmp-debugfs.c 				 size_t bufsize, struct dentry *root)
dentry            380 drivers/firmware/tegra/bpmp-debugfs.c 	struct dentry *root;
dentry            122 drivers/firmware/ti_sci.c 	struct dentry *d;
dentry             38 drivers/firmware/xilinx/zynqmp-debug.c struct dentry *firmware_debugfs_root;
dentry             57 drivers/gpio/gpio-mockup.c 	struct dentry *dbg_dir;
dentry             75 drivers/gpio/gpio-mockup.c static struct dentry *gpio_mockup_dbg_dir;
dentry            799 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	struct dentry                   *debugfs_preempt;
dentry            800 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	struct dentry			*debugfs_regs[AMDGPU_DEBUGFS_MAX_COMPONENTS];
dentry            828 drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c 	struct dentry *ent, *root = minor->debugfs_root;
dentry            319 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h 	struct dentry *dir;
dentry            321 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h 	struct dentry *ent;
dentry            395 drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h 	struct dentry *ent;
dentry            493 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c 	struct dentry *ent, *root = minor->debugfs_root;
dentry            227 drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h 	struct dentry *ent;
dentry           2437 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c 	struct dentry *ent, *root = minor->debugfs_root;
dentry             50 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h 	struct dentry			*debugfs_entries[8];
dentry             28 drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c static struct dentry *debugfs_root;
dentry            948 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dentry *dir = connector->base.debugfs_entry;
dentry           1124 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c 	struct dentry *root = minor->debugfs_root;
dentry            193 drivers/gpu/drm/arm/display/komeda/komeda_dev.h 	struct dentry *debugfs_root;
dentry             72 drivers/gpu/drm/armada/armada_drm.h 	struct dentry		*de;
dentry            240 drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c 	struct dentry *debugfs;
dentry             95 drivers/gpu/drm/bridge/ti-sn65dsi86.c 	struct dentry			*debugfs;
dentry            176 drivers/gpu/drm/drm_debugfs.c 			     struct dentry *root, struct drm_minor *minor)
dentry            208 drivers/gpu/drm/drm_debugfs.c 		     struct dentry *root)
dentry            427 drivers/gpu/drm/drm_debugfs.c 	struct dentry *root;
dentry            457 drivers/gpu/drm/drm_debugfs.c 	struct dentry *root;
dentry            365 drivers/gpu/drm/drm_debugfs_crc.c 	struct dentry *crc_ent;
dentry             82 drivers/gpu/drm/drm_drv.c static struct dentry *drm_debugfs_root;
dentry             31 drivers/gpu/drm/drm_internal.h struct dentry;
dentry            144 drivers/gpu/drm/drm_internal.h 		     struct dentry *root);
dentry            153 drivers/gpu/drm/drm_internal.h 				   struct dentry *root)
dentry            105 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c static struct dentry *create_buf_file_callback(const char *filename,
dentry            106 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c 					       struct dentry *parent,
dentry            111 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c 	struct dentry *buf_file;
dentry            135 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c static int remove_buf_file_callback(struct dentry *dentry)
dentry            137 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c 	debugfs_remove(dentry);
dentry            197 drivers/gpu/drm/i915/gvt/gvt.h 	struct dentry *debugfs;
dentry            343 drivers/gpu/drm/i915/gvt/gvt.h 	struct dentry *debugfs_root;
dentry             98 drivers/gpu/drm/i915/gvt/kvmgt.c 	struct dentry *debugfs_cache_entries;
dentry           4603 drivers/gpu/drm/i915/i915_debugfs.c 	struct dentry *root = connector->debugfs_entry;
dentry            337 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.c 		struct dentry *parent)
dentry            129 drivers/gpu/drm/msm/disp/dpu1/dpu_core_irq.h 		struct dentry *parent);
dentry            442 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c int dpu_core_perf_debugfs_init(struct dpu_kms *dpu_kms, struct dentry *parent)
dentry            446 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.c 	struct dentry *entry;
dentry             70 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h 	struct dentry *debugfs_root;
dentry            132 drivers/gpu/drm/msm/disp/dpu1/dpu_core_perf.h int dpu_core_perf_debugfs_init(struct dpu_kms *dpu_kms, struct dentry *parent);
dentry            149 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h 	struct dentry *debugfs_root;
dentry            187 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c 	struct dentry *debugfs_root;
dentry            117 drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys.h 			struct dentry *debugfs_root);
dentry            133 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 		struct dentry *parent)
dentry            135 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct dentry *entry = debugfs_create_dir("danger", parent);
dentry            226 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c 	struct dentry *entry;
dentry            107 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 	struct dentry *debugfs_root;
dentry            297 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c void dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root)
dentry            300 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.c 	struct dentry *entry, *debugfs_vbif;
dentry             73 drivers/gpu/drm/msm/disp/dpu1/dpu_vbif.h void dpu_debugfs_vbif_init(struct dpu_kms *dpu_kms, struct dentry *debugfs_root);
dentry            224 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	struct dentry *dentry;
dentry            228 drivers/gpu/drm/nouveau/nouveau_debugfs.c 		dentry = debugfs_create_file(nouveau_debugfs_files[i].name,
dentry            232 drivers/gpu/drm/nouveau/nouveau_debugfs.c 		if (!dentry)
dentry            245 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	dentry = debugfs_lookup("vbios.rom", minor->debugfs_root);
dentry            246 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	if (!dentry)
dentry            249 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	d_inode(dentry)->i_size = drm->vbios.length;
dentry            250 drivers/gpu/drm/nouveau/nouveau_debugfs.c 	dput(dentry);
dentry            884 drivers/gpu/drm/omapdrm/dss/dss.c 	struct dentry *dir;
dentry            901 drivers/gpu/drm/omapdrm/dss/dss.c 	struct dentry *dentry;
dentry            933 drivers/gpu/drm/omapdrm/dss/dss.c 	entry->dentry = debugfs_create_file(name, 0444, dss->debugfs.root,
dentry            944 drivers/gpu/drm/omapdrm/dss/dss.c 	debugfs_remove(entry->dentry);
dentry            250 drivers/gpu/drm/omapdrm/dss/dss.h 		struct dentry *root;
dentry             55 drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c 	struct dentry *debugfs;
dentry            455 drivers/gpu/drm/radeon/radeon.h 	struct dentry			*vram;
dentry            456 drivers/gpu/drm/radeon/radeon.h 	struct dentry			*gtt;
dentry           1067 drivers/gpu/drm/radeon/radeon_ttm.c 	struct dentry *root = minor->debugfs_root;
dentry           1495 drivers/gpu/drm/tegra/dc.c 	struct dentry *root;
dentry            235 drivers/gpu/drm/tegra/dsi.c 	struct dentry *root = connector->debugfs_entry;
dentry           1065 drivers/gpu/drm/tegra/hdmi.c 	struct dentry *root = connector->debugfs_entry;
dentry           1463 drivers/gpu/drm/tegra/sor.c 	struct dentry *root = connector->debugfs_entry;
dentry            163 drivers/gpu/host1x/debug.c 	struct dentry *de = debugfs_create_dir("tegra-host1x", NULL);
dentry             28 drivers/gpu/host1x/dev.h struct dentry;
dentry             53 drivers/gpu/host1x/dev.h 	void (*debug_init)(struct dentry *de);
dentry            137 drivers/gpu/host1x/dev.h 	struct dentry *debugfs;
dentry            301 drivers/gpu/host1x/dev.h static inline void host1x_hw_debug_init(struct host1x *host, struct dentry *de)
dentry            154 drivers/gpu/vga/vga_switcheroo.c 	struct dentry *debugfs_root;
dentry             12 drivers/greybus/debugfs.c static struct dentry *gb_debug_root;
dentry             25 drivers/greybus/debugfs.c struct dentry *gb_debugfs_get(void)
dentry            115 drivers/greybus/es2.c 	struct dentry *apb_log_dentry;
dentry            116 drivers/greybus/es2.c 	struct dentry *apb_log_enable_dentry;
dentry            762 drivers/greybus/svc.c 	struct dentry *dent;
dentry            792 drivers/greybus/svc.c 		struct dentry *dir;
dentry             31 drivers/hid/hid-debug.c static struct dentry *hid_debug_root;
dentry             67 drivers/hid/hid-picolcd.h 	struct dentry *debug_reset;
dentry             68 drivers/hid/hid-picolcd.h 	struct dentry *debug_eeprom;
dentry             69 drivers/hid/hid-picolcd.h 	struct dentry *debug_flash;
dentry            872 drivers/hid/hid-picolcd_debugfs.c 	struct dentry *dent;
dentry             19 drivers/hid/hid-wiimote-debug.c 	struct dentry *eeprom;
dentry             20 drivers/hid/hid-wiimote-debug.c 	struct dentry *drm;
dentry            104 drivers/hsi/controllers/omap_ssi.h 	struct dentry *dir;
dentry            155 drivers/hsi/controllers/omap_ssi.h 	struct dentry *dir;
dentry            113 drivers/hsi/controllers/omap_ssi_core.c 	struct dentry *dir;
dentry            155 drivers/hsi/controllers/omap_ssi_port.c 				     struct dentry *dir)
dentry            132 drivers/hwmon/asus_atk0110.c 		struct dentry *root;
dentry            791 drivers/hwmon/asus_atk0110.c 	struct dentry *d;
dentry            412 drivers/hwmon/pmbus/ibm-cffps.c 	struct dentry *debugfs;
dentry            413 drivers/hwmon/pmbus/ibm-cffps.c 	struct dentry *ibm_cffps_dir;
dentry            469 drivers/hwmon/pmbus/pmbus.h struct dentry *pmbus_get_debugfs_dir(struct i2c_client *client);
dentry             94 drivers/hwmon/pmbus/pmbus_core.c 	struct dentry *debugfs;		/* debugfs device directory */
dentry           2250 drivers/hwmon/pmbus/pmbus_core.c static struct dentry *pmbus_debugfs_dir;	/* pmbus debugfs directory */
dentry           2524 drivers/hwmon/pmbus/pmbus_core.c struct dentry *pmbus_get_debugfs_dir(struct i2c_client *client)
dentry             64 drivers/hwmon/pmbus/ucd9000.c 	struct dentry *debugfs;
dentry            423 drivers/hwmon/pmbus/ucd9000.c 	struct dentry *debugfs;
dentry            105 drivers/hwtracing/coresight/coresight-cpu-debug.c static struct dentry *debug_debugfs_dir;
dentry             15 drivers/hwtracing/intel_th/debug.c struct dentry *intel_th_dbg;
dentry             12 drivers/hwtracing/intel_th/debug.h extern struct dentry *intel_th_dbg;
dentry            289 drivers/hwtracing/intel_th/intel_th.h 	struct dentry		*dbg;
dentry             28 drivers/i2c/busses/i2c-gpio.c 	struct dentry *debug_dir;
dentry             75 drivers/i2c/busses/i2c-gpio.c static struct dentry *i2c_gpio_debug_dir;
dentry             46 drivers/iio/industrialio-core.c static struct dentry *iio_debugfs_dentry;
dentry             75 drivers/infiniband/hw/cxgb4/device.c static struct dentry *c4iw_debugfs_root;
dentry            322 drivers/infiniband/hw/cxgb4/iw_cxgb4.h 	struct dentry *debugfs_root;
dentry             65 drivers/infiniband/hw/hfi1/debugfs.c static struct dentry *hfi1_dbg_root;
dentry             71 drivers/infiniband/hw/hfi1/debugfs.c 	struct dentry *d = file->f_path.dentry;
dentry             84 drivers/infiniband/hw/hfi1/debugfs.c 	struct dentry *d = file->f_path.dentry;
dentry           1243 drivers/infiniband/hw/hfi1/debugfs.c 	struct dentry *root;
dentry            149 drivers/infiniband/hw/hfi1/fault.c 	ret = debugfs_file_get(file->f_path.dentry);
dentry            199 drivers/infiniband/hw/hfi1/fault.c 	debugfs_file_put(file->f_path.dentry);
dentry            218 drivers/infiniband/hw/hfi1/fault.c 	ret = debugfs_file_get(file->f_path.dentry);
dentry            234 drivers/infiniband/hw/hfi1/fault.c 	debugfs_file_put(file->f_path.dentry);
dentry            261 drivers/infiniband/hw/hfi1/fault.c 	struct dentry *parent = ibd->hfi1_ibdev_dbg;
dentry            262 drivers/infiniband/hw/hfi1/fault.c 	struct dentry *fault_dir;
dentry             62 drivers/infiniband/hw/hfi1/fault.h 	struct dentry *dir;
dentry            298 drivers/infiniband/hw/hfi1/verbs.h 	struct dentry *hfi1_ibdev_dbg;
dentry            300 drivers/infiniband/hw/hfi1/verbs.h 	struct dentry *hfi1_ibdev_link;
dentry            117 drivers/infiniband/hw/mlx4/mcg.c 	struct device_attribute	dentry;
dentry            457 drivers/infiniband/hw/mlx4/mcg.c 			del_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
dentry            779 drivers/infiniband/hw/mlx4/mcg.c 				add_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
dentry            843 drivers/infiniband/hw/mlx4/mcg.c 	sysfs_attr_init(&group->dentry.attr);
dentry            844 drivers/infiniband/hw/mlx4/mcg.c 	group->dentry.show = sysfs_show_group;
dentry            845 drivers/infiniband/hw/mlx4/mcg.c 	group->dentry.store = NULL;
dentry            846 drivers/infiniband/hw/mlx4/mcg.c 	group->dentry.attr.name = group->name;
dentry            847 drivers/infiniband/hw/mlx4/mcg.c 	group->dentry.attr.mode = 0400;
dentry            862 drivers/infiniband/hw/mlx4/mcg.c 	add_sysfs_port_mcg_attr(ctx->dev, ctx->port, &group->dentry.attr);
dentry            994 drivers/infiniband/hw/mlx4/mcg.c 		container_of(attr, struct mcast_group, dentry);
dentry           1068 drivers/infiniband/hw/mlx4/mcg.c 	del_sysfs_port_mcg_attr(group->demux->dev, group->demux->port, &group->dentry.attr);
dentry            539 drivers/infiniband/hw/mlx4/mlx4_ib.h 	struct device_attribute dentry;
dentry             50 drivers/infiniband/hw/mlx4/sysfs.c 		container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
dentry             75 drivers/infiniband/hw/mlx4/sysfs.c 		container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
dentry            116 drivers/infiniband/hw/mlx4/sysfs.c 		container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
dentry            143 drivers/infiniband/hw/mlx4/sysfs.c 		container_of(attr, struct mlx4_ib_iov_sysfs_attr, dentry);
dentry            159 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr);	\
dentry            176 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.show = show;
dentry            177 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.store = store;
dentry            178 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_attr_init(&vdentry->dentry.attr);
dentry            179 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.attr.name = vdentry->name;
dentry            180 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.attr.mode = 0;
dentry            184 drivers/infiniband/hw/mlx4/sysfs.c 	if (vdentry->dentry.store)
dentry            185 drivers/infiniband/hw/mlx4/sysfs.c 		vdentry->dentry.attr.mode |= S_IWUSR;
dentry            187 drivers/infiniband/hw/mlx4/sysfs.c 	if (vdentry->dentry.show)
dentry            188 drivers/infiniband/hw/mlx4/sysfs.c 		vdentry->dentry.attr.mode |= S_IRUGO;
dentry            190 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr);
dentry            192 drivers/infiniband/hw/mlx4/sysfs.c 		pr_err("failed to create %s\n", vdentry->dentry.attr.name);
dentry            423 drivers/infiniband/hw/mlx5/cong.c 		dbg_cc_params->params[i].dentry =
dentry            695 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*root;
dentry            761 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*dentry;
dentry            788 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry			*root;
dentry            797 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*dir_debugfs;
dentry            798 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*rqs_cnt_debugfs;
dentry            799 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*events_cnt_debugfs;
dentry            800 drivers/infiniband/hw/mlx5/mlx5_ib.h 	struct dentry		*timeout_debugfs;
dentry            581 drivers/infiniband/hw/mlx5/mr.c 	struct dentry *dir;
dentry            311 drivers/infiniband/hw/ocrdma/ocrdma.h 	struct dentry *dir;
dentry             47 drivers/infiniband/hw/ocrdma/ocrdma_stats.c static struct dentry *ocrdma_dbgfs_dir;
dentry             41 drivers/infiniband/hw/qib/qib_debugfs.c static struct dentry *qib_dbg_root;
dentry            243 drivers/infiniband/hw/qib/qib_debugfs.c 	struct dentry *root;
dentry             51 drivers/infiniband/hw/qib/qib_fs.c static int qibfs_mknod(struct inode *dir, struct dentry *dentry,
dentry             80 drivers/infiniband/hw/qib/qib_fs.c 	d_instantiate(dentry, inode);
dentry             88 drivers/infiniband/hw/qib/qib_fs.c 		       struct dentry *parent, struct dentry **dentry,
dentry             94 drivers/infiniband/hw/qib/qib_fs.c 	*dentry = lookup_one_len(name, parent, strlen(name));
dentry             95 drivers/infiniband/hw/qib/qib_fs.c 	if (!IS_ERR(*dentry))
dentry             96 drivers/infiniband/hw/qib/qib_fs.c 		error = qibfs_mknod(d_inode(parent), *dentry,
dentry             99 drivers/infiniband/hw/qib/qib_fs.c 		error = PTR_ERR(*dentry);
dentry            362 drivers/infiniband/hw/qib/qib_fs.c 	struct dentry *dir, *tmp;
dentry            430 drivers/infiniband/hw/qib/qib_fs.c static int remove_file(struct dentry *parent, char *name)
dentry            432 drivers/infiniband/hw/qib/qib_fs.c 	struct dentry *tmp;
dentry            464 drivers/infiniband/hw/qib/qib_fs.c 	struct dentry *dir, *root;
dentry            187 drivers/infiniband/hw/qib/qib_verbs.h 	struct dentry *qib_ibdev_dbg;
dentry             43 drivers/infiniband/hw/usnic/usnic_debugfs.c static struct dentry *debugfs_root;
dentry             44 drivers/infiniband/hw/usnic/usnic_debugfs.c static struct dentry *flows_dentry;
dentry             83 drivers/infiniband/hw/usnic/usnic_ib_qp_grp.h 	struct dentry			*dbgfs_dentry;
dentry            410 drivers/infiniband/ulp/ipoib/ipoib.h 	struct dentry *mcg_dentry;
dentry            411 drivers/infiniband/ulp/ipoib/ipoib.h 	struct dentry *path_dentry;
dentry             44 drivers/infiniband/ulp/ipoib/ipoib_fs.c static struct dentry *ipoib_root;
dentry            417 drivers/input/keyboard/applespi.c 	struct dentry			*debugfs_root;
dentry             96 drivers/input/touchscreen/edt-ft5x06.c 	struct dentry *debug_dir;
dentry             25 drivers/interconnect/core.c static struct dentry *icc_debugfs_dir;
dentry             16 drivers/iommu/amd_iommu_debugfs.c static struct dentry *amd_iommu_debugfs;
dentry            599 drivers/iommu/amd_iommu_types.h 	struct dentry *debugfs;
dentry            411 drivers/iommu/intel-iommu-debugfs.c 	struct dentry *intel_iommu_debug = debugfs_create_dir("intel",
dentry             14 drivers/iommu/iommu-debugfs.c struct dentry *iommu_debugfs_dir;
dentry             23 drivers/iommu/omap-iommu-debug.c static struct dentry *iommu_debug_root;
dentry            241 drivers/iommu/omap-iommu-debug.c 	struct dentry *d;
dentry             60 drivers/iommu/omap-iommu.h 	struct dentry	*debug_dir;
dentry             43 drivers/iommu/tegra-smmu.c 	struct dentry *debugfs;
dentry            298 drivers/mailbox/bcm-flexrm-mailbox.c 	struct dentry *root;
dentry            422 drivers/mailbox/bcm-pdc-mailbox.c static struct dentry *debugfs_dir;
dentry             43 drivers/mailbox/mailbox-test.c 	struct dentry		*root_debugfs_dir;
dentry            511 drivers/md/bcache/bcache.h 	struct dentry		*debug;
dentry            167 drivers/md/bcache/closure.c static struct dentry *closure_debug;
dentry            108 drivers/md/bcache/closure.h extern struct dentry *bcache_debug;
dentry             20 drivers/md/bcache/debug.c struct dentry *bcache_debug;
dentry             37 drivers/media/cec/cec-core.c static struct dentry *top_cec_dir;
dentry             21 drivers/media/common/siano/smsdvb-debugfs.c static struct dentry *smsdvb_debugfs_usb_root;
dentry            450 drivers/media/common/siano/smsdvb-debugfs.c 	struct dentry *d;
dentry            505 drivers/media/common/siano/smsdvb-debugfs.c 	struct dentry *d;
dentry             49 drivers/media/common/siano/smsdvb.h 	struct dentry		*debugfs;
dentry           1796 drivers/media/platform/coda/coda-common.c 		       size_t size, const char *name, struct dentry *parent)
dentry           1812 drivers/media/platform/coda/coda-common.c 		buf->dentry = debugfs_create_blob(name, 0644, parent,
dentry           1814 drivers/media/platform/coda/coda-common.c 		if (!buf->dentry)
dentry           1829 drivers/media/platform/coda/coda-common.c 		debugfs_remove(buf->dentry);
dentry           1830 drivers/media/platform/coda/coda-common.c 		buf->dentry = NULL;
dentry           3059 drivers/media/platform/coda/coda-common.c 		dev->iram.dentry = debugfs_create_blob("iram", 0644,
dentry             67 drivers/media/platform/coda/coda.h 	struct dentry		*dentry;
dentry             95 drivers/media/platform/coda/coda.h 	struct dentry		*debugfs_root;
dentry            265 drivers/media/platform/coda/coda.h 	struct dentry			*debugfs_entry;
dentry            292 drivers/media/platform/coda/coda.h 		       size_t size, const char *name, struct dentry *parent);
dentry            761 drivers/media/platform/exynos4-is/fimc-is.c 	struct dentry *dentry;
dentry            765 drivers/media/platform/exynos4-is/fimc-is.c 	dentry = debugfs_create_file("fw_log", S_IRUGO, is->debugfs_entry,
dentry            767 drivers/media/platform/exynos4-is/fimc-is.c 	if (!dentry)
dentry            285 drivers/media/platform/exynos4-is/fimc-is.h 	struct dentry			*debugfs_entry;
dentry            766 drivers/media/platform/mtk-vpu/mtk_vpu.c static struct dentry *vpu_debugfs;
dentry            156 drivers/media/platform/sti/bdisp/bdisp.h 	struct dentry           *debugfs_entry;
dentry             74 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.h 	struct dentry *root;
dentry            228 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	struct dentry		*root;
dentry            229 drivers/media/platform/sti/c8sectpfe/c8sectpfe-debugfs.c 	struct dentry		*file;
dentry            186 drivers/media/platform/sti/hva/hva.h 	struct dentry	*debugfs_entry;
dentry            291 drivers/media/platform/sti/hva/hva.h 	struct dentry	*debugfs_entry;
dentry            310 drivers/media/radio/radio-si476x.c 	struct dentry	*debugfs;
dentry           1349 drivers/media/radio/radio-si476x.c 	struct dentry	*dentry;
dentry           1352 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_dir(dev_name(radio->v4l2dev.dev), NULL);
dentry           1353 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1354 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry           1357 drivers/media/radio/radio-si476x.c 	radio->debugfs = dentry;
dentry           1359 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_file("acf", S_IRUGO,
dentry           1361 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1362 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry           1366 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_file("rds_blckcnt", S_IRUGO,
dentry           1369 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1370 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry           1374 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_file("agc", S_IRUGO,
dentry           1376 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1377 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry           1381 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_file("rsq", S_IRUGO,
dentry           1383 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1384 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry           1388 drivers/media/radio/radio-si476x.c 	dentry = debugfs_create_file("rsq_primary", S_IRUGO,
dentry           1391 drivers/media/radio/radio-si476x.c 	if (IS_ERR(dentry)) {
dentry           1392 drivers/media/radio/radio-si476x.c 		ret = PTR_ERR(dentry);
dentry             71 drivers/media/usb/uvc/uvc_debugfs.c static struct dentry *uvc_debugfs_root_dir;
dentry             76 drivers/media/usb/uvc/uvc_debugfs.c 	struct dentry *dent;
dentry            111 drivers/media/usb/uvc/uvc_debugfs.c 	struct dentry *dir;
dentry            591 drivers/media/usb/uvc/uvcvideo.h 	struct dentry *debugfs_dir;
dentry             68 drivers/memory/emif.c 	struct dentry			*debugfs_root;
dentry            166 drivers/memory/emif.c 	struct dentry	*dentry;
dentry            169 drivers/memory/emif.c 	dentry = debugfs_create_dir(dev_name(emif->dev), NULL);
dentry            170 drivers/memory/emif.c 	if (!dentry) {
dentry            174 drivers/memory/emif.c 	emif->debugfs_root = dentry;
dentry            176 drivers/memory/emif.c 	dentry = debugfs_create_file("regcache_dump", S_IRUGO,
dentry            178 drivers/memory/emif.c 	if (!dentry) {
dentry            183 drivers/memory/emif.c 	dentry = debugfs_create_file("mr4", S_IRUGO,
dentry            185 drivers/memory/emif.c 	if (!dentry) {
dentry           1057 drivers/memory/tegra/tegra124-emc.c 	struct dentry *root, *file;
dentry            583 drivers/mfd/ab3100-core.c 	struct dentry *ab3100_dir;
dentry             59 drivers/mfd/ab3100-otp.c 	struct dentry *debugfs;
dentry           2649 drivers/mfd/ab8500-debugfs.c 	struct dentry *ab8500_dir;
dentry           2650 drivers/mfd/ab8500-debugfs.c 	struct dentry *ab8500_gpadc_dir;
dentry             85 drivers/mfd/intel-lpss.c 	struct dentry *debugfs;
dentry            129 drivers/mfd/intel-lpss.c static struct dentry *intel_lpss_debugfs;
dentry            139 drivers/mfd/intel-lpss.c 	struct dentry *dir;
dentry             64 drivers/mfd/tps65010.c 	struct dentry		*file;
dentry            491 drivers/misc/cxl/cxl.h 	struct dentry *debugfs;
dentry            638 drivers/misc/cxl/cxl.h 	void (*debugfs_add_adapter_regs)(struct cxl *adapter, struct dentry *dir);
dentry            639 drivers/misc/cxl/cxl.h 	void (*debugfs_add_afu_regs)(struct cxl_afu *afu, struct dentry *dir);
dentry            682 drivers/misc/cxl/cxl.h 	struct dentry *trace;
dentry            683 drivers/misc/cxl/cxl.h 	struct dentry *psl_err_chk;
dentry            684 drivers/misc/cxl/cxl.h 	struct dentry *debugfs;
dentry            917 drivers/misc/cxl/cxl.h void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir);
dentry            918 drivers/misc/cxl/cxl.h void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir);
dentry            919 drivers/misc/cxl/cxl.h void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir);
dentry            920 drivers/misc/cxl/cxl.h void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir);
dentry            949 drivers/misc/cxl/cxl.h 						    struct dentry *dir)
dentry            954 drivers/misc/cxl/cxl.h 						    struct dentry *dir)
dentry            958 drivers/misc/cxl/cxl.h static inline void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir)
dentry            962 drivers/misc/cxl/cxl.h static inline void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir)
dentry             12 drivers/misc/cxl/debugfs.c static struct dentry *cxl_debugfs;
dentry             30 drivers/misc/cxl/debugfs.c 				  struct dentry *parent, u64 __iomem *value)
dentry             36 drivers/misc/cxl/debugfs.c void cxl_debugfs_add_adapter_regs_psl9(struct cxl *adapter, struct dentry *dir)
dentry             49 drivers/misc/cxl/debugfs.c void cxl_debugfs_add_adapter_regs_psl8(struct cxl *adapter, struct dentry *dir)
dentry             59 drivers/misc/cxl/debugfs.c 	struct dentry *dir;
dentry             80 drivers/misc/cxl/debugfs.c void cxl_debugfs_add_afu_regs_psl9(struct cxl_afu *afu, struct dentry *dir)
dentry             85 drivers/misc/cxl/debugfs.c void cxl_debugfs_add_afu_regs_psl8(struct cxl_afu *afu, struct dentry *dir)
dentry             98 drivers/misc/cxl/debugfs.c 	struct dentry *dir;
dentry             97 drivers/misc/eeprom/idt_89hpesx.c static struct dentry *csr_dbgdir;
dentry            138 drivers/misc/eeprom/idt_89hpesx.c 	struct dentry *csr_dir;
dentry             47 drivers/misc/genwqe/card_base.c static struct dentry *debugfs_genwqe;
dentry            296 drivers/misc/genwqe/card_base.h 	struct dentry *debugfs_root;	/* debugfs card root directory */
dentry            297 drivers/misc/genwqe/card_base.h 	struct dentry *debugfs_genwqe;	/* debugfs driver root directory */
dentry            321 drivers/misc/genwqe/card_debugfs.c 	struct dentry *root;
dentry             19 drivers/misc/habanalabs/debugfs.c static struct dentry *hl_debug_root;
dentry            943 drivers/misc/habanalabs/debugfs.c 	struct dentry *ent;
dentry            964 drivers/misc/habanalabs/habanalabs.h 	struct dentry			*dent;
dentry            994 drivers/misc/habanalabs/habanalabs.h 	struct dentry			*root;
dentry            147 drivers/misc/ibmasm/ibmasmfs.c static struct dentry *ibmasmfs_create_file(struct dentry *parent,
dentry            153 drivers/misc/ibmasm/ibmasmfs.c 	struct dentry *dentry;
dentry            156 drivers/misc/ibmasm/ibmasmfs.c 	dentry = d_alloc_name(parent, name);
dentry            157 drivers/misc/ibmasm/ibmasmfs.c 	if (!dentry)
dentry            162 drivers/misc/ibmasm/ibmasmfs.c 		dput(dentry);
dentry            169 drivers/misc/ibmasm/ibmasmfs.c 	d_add(dentry, inode);
dentry            170 drivers/misc/ibmasm/ibmasmfs.c 	return dentry;
dentry            173 drivers/misc/ibmasm/ibmasmfs.c static struct dentry *ibmasmfs_create_dir(struct dentry *parent,
dentry            176 drivers/misc/ibmasm/ibmasmfs.c 	struct dentry *dentry;
dentry            179 drivers/misc/ibmasm/ibmasmfs.c 	dentry = d_alloc_name(parent, name);
dentry            180 drivers/misc/ibmasm/ibmasmfs.c 	if (!dentry)
dentry            185 drivers/misc/ibmasm/ibmasmfs.c 		dput(dentry);
dentry            192 drivers/misc/ibmasm/ibmasmfs.c 	d_add(dentry, inode);
dentry            193 drivers/misc/ibmasm/ibmasmfs.c 	return dentry;
dentry            584 drivers/misc/ibmasm/ibmasmfs.c 		struct dentry *dir;
dentry            585 drivers/misc/ibmasm/ibmasmfs.c 		struct dentry *remote_dir;
dentry           1125 drivers/misc/ibmvmc.c 	file->f_path.dentry->d_inode->i_mtime = current_time(file_inode(file));
dentry           1126 drivers/misc/ibmvmc.c 	mark_inode_dirty(file->f_path.dentry->d_inode);
dentry            390 drivers/misc/lkdtm/core.c static struct dentry *lkdtm_debugfs_root;
dentry            160 drivers/misc/mei/debugfs.c 	struct dentry *dir;
dentry            529 drivers/misc/mei/mei_dev.h 	struct dentry *dbgfs_dir;
dentry             64 drivers/misc/mic/bus/cosm_bus.h 	struct dentry *dbg_dir;
dentry             25 drivers/misc/mic/card/mic_debugfs.c static struct dentry *mic_dbg;
dentry             72 drivers/misc/mic/card/mic_device.h 	struct dentry *dbg_dir;
dentry             16 drivers/misc/mic/cosm/cosm_debugfs.c static struct dentry *cosm_dbg;
dentry             19 drivers/misc/mic/host/mic_debugfs.c static struct dentry *mic_dbg;
dentry             77 drivers/misc/mic/host/mic_device.h 	struct dentry *dbg_dir;
dentry             16 drivers/misc/mic/scif/scif_debugfs.c static struct dentry *scif_dbg;
dentry             61 drivers/misc/mic/vop/vop_main.h 	struct dentry *dbg;
dentry            687 drivers/misc/ti-st/st_kim.c static struct dentry *kim_debugfs_dir;
dentry            350 drivers/misc/vmw_balloon.c 	struct dentry *dbg_entry;
dentry            134 drivers/mmc/core/block.c 	struct dentry *status_dentry;
dentry            135 drivers/mmc/core/block.c 	struct dentry *ext_csd_dentry;
dentry           2809 drivers/mmc/core/block.c 	struct dentry *root;
dentry            227 drivers/mmc/core/debugfs.c 	struct dentry *root;
dentry            255 drivers/mmc/core/debugfs.c 	struct dentry	*root;
dentry            130 drivers/mmc/core/mmc_test.c 	struct dentry *file;
dentry           3166 drivers/mmc/core/mmc_test.c 	struct dentry *file = NULL;
dentry            578 drivers/mmc/host/atmel-mci.c 	struct dentry		*root;
dentry            171 drivers/mmc/host/dw_mmc.c 	struct dentry *root;
dentry           1452 drivers/mmc/host/s3cmci.c 	struct dentry *root;
dentry             69 drivers/mmc/host/s3cmci.h 	struct dentry		*debug_root;
dentry           1719 drivers/mtd/devices/docg3.c 	struct dentry *root = floor->dbg.dfs_dir;
dentry            380 drivers/mtd/mtdcore.c static struct dentry *dfs_dir_mtd;
dentry            385 drivers/mtd/mtdcore.c 	struct dentry *root, *dent;
dentry           1259 drivers/mtd/mtdswap.c 	struct dentry *root = d->mtd->dbg.dfs_dir;
dentry           1260 drivers/mtd/mtdswap.c 	struct dentry *dent;
dentry            497 drivers/mtd/nand/raw/nandsim.c 	struct dentry *root = nsmtd->dbg.dfs_dir;
dentry            498 drivers/mtd/nand/raw/nandsim.c 	struct dentry *dent;
dentry            212 drivers/mtd/ubi/debug.c static struct dentry *dfs_rootdir;
dentry            251 drivers/mtd/ubi/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry            314 drivers/mtd/ubi/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry            507 drivers/mtd/ubi/debug.c 	struct dentry *dent;
dentry            430 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_dir;
dentry            431 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_chk_gen;
dentry            432 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_chk_io;
dentry            433 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_chk_fastmap;
dentry            434 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_disable_bgt;
dentry            435 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_emulate_bitflips;
dentry            436 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_emulate_io_failures;
dentry            437 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_emulate_power_cut;
dentry            438 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_power_cut_min;
dentry            439 drivers/mtd/ubi/ubi.h 	struct dentry *dfs_power_cut_max;
dentry             15 drivers/net/bonding/bond_debugfs.c static struct dentry *bonding_debug_root;
dentry             72 drivers/net/bonding/bond_debugfs.c 	struct dentry *d;
dentry             60 drivers/net/caif/caif_serial.c static struct dentry *debugfsdir;
dentry             74 drivers/net/caif/caif_serial.c 	struct dentry *debugfs_tty_dir;
dentry            112 drivers/net/caif/caif_spi.c static struct dentry *dbgfs_root;
dentry            126 drivers/net/caif/caif_virtio.c 	struct dentry *debugfs;
dentry             17 drivers/net/dsa/realtek-smi-core.h struct dentry;
dentry           1285 drivers/net/ethernet/amd/xgbe/xgbe.h 	struct dentry *xgbe_debugfs;
dentry           1820 drivers/net/ethernet/broadcom/bnxt/bnxt.h 	struct dentry		*debugfs_pdev;
dentry             18 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c static struct dentry *bnxt_debug_mnt;
dentry             65 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 				  struct dentry *dd)
dentry             76 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 	struct dentry *dir;
dentry            357 drivers/net/ethernet/brocade/bna/bnad.h 	struct dentry *bnad_dentry_files[5];
dentry            358 drivers/net/ethernet/brocade/bna/bnad.h 	struct dentry *port_debugfs_root;
dentry            488 drivers/net/ethernet/brocade/bna/bnad_debugfs.c static struct dentry *bna_debugfs_root;
dentry            261 drivers/net/ethernet/chelsio/cxgb3/adapter.h 	struct dentry *debugfs_root;
dentry            608 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h struct dentry;
dentry           1009 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h 	struct dentry *debugfs_root;
dentry            182 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static struct dentry *cxgb4_debugfs_root;
dentry            391 drivers/net/ethernet/chelsio/cxgb4vf/adapter.h 	struct dentry *debugfs_root;
dentry            128 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c static struct dentry *cxgb4vf_debugfs_root;
dentry             12 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c static struct dentry *dpaa2_dbg_root;
dentry            167 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.c 	struct dentry *dir;
dentry             13 drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-debugfs.h 	struct dentry *dir;
dentry            647 drivers/net/ethernet/hisilicon/hns3/hnae3.h 	struct dentry *hnae3_dbgfs;
dentry             13 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c static struct dentry *hns3_dbgfs_root;
dentry            789 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h 	struct dentry *hclge_dbgfs;
dentry            196 drivers/net/ethernet/intel/fm10k/fm10k.h 	struct dentry *dbg_q_vector;
dentry            383 drivers/net/ethernet/intel/fm10k/fm10k.h 	struct dentry *dbg_intfc;
dentry              9 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c static struct dentry *dbg_root;
dentry            605 drivers/net/ethernet/intel/i40e/i40e.h 	struct dentry *i40e_dbg_pf;
dentry             11 drivers/net/ethernet/intel/i40e/i40e_debugfs.c static struct dentry *i40e_dbg_root;
dentry            753 drivers/net/ethernet/intel/ixgbe/ixgbe.h 	struct dentry *ixgbe_dbg_adapter;
dentry              9 drivers/net/ethernet/intel/ixgbe/ixgbe_debugfs.c static struct dentry *ixgbe_dbg_root;
dentry            816 drivers/net/ethernet/marvell/mvpp2/mvpp2.h 	struct dentry *dbgfs_dir;
dentry            447 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_flow_port_init(struct dentry *parent,
dentry            452 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *port_dir;
dentry            470 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_flow_entry_init(struct dentry *parent,
dentry            474 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *flow_entry_dir;
dentry            507 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_flow_init(struct dentry *parent, struct mvpp2 *priv)
dentry            509 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *flow_dir;
dentry            523 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_prs_entry_init(struct dentry *parent,
dentry            527 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *prs_entry_dir;
dentry            567 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_prs_init(struct dentry *parent, struct mvpp2 *priv)
dentry            569 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *prs_dir;
dentry            583 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_c2_entry_init(struct dentry *parent,
dentry            587 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *c2_entry_dir;
dentry            616 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_flow_tbl_entry_init(struct dentry *parent,
dentry            620 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *flow_tbl_entry_dir;
dentry            643 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_cls_init(struct dentry *parent, struct mvpp2 *priv)
dentry            645 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *cls_dir, *c2_dir, *flow_tbl_dir;
dentry            675 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c static int mvpp2_dbgfs_port_init(struct dentry *parent,
dentry            678 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *port_dir;
dentry            703 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c 	struct dentry *mvpp2_dir, *mvpp2_root;
dentry           3686 drivers/net/ethernet/marvell/skge.c static struct dentry *skge_debug;
dentry           2476 drivers/net/ethernet/marvell/skge.h 	struct dentry	     *debugfs;
dentry           4431 drivers/net/ethernet/marvell/sky2.c static struct dentry *sky2_debug;
dentry           4658 drivers/net/ethernet/marvell/sky2.c 	struct dentry *ent;
dentry           2275 drivers/net/ethernet/marvell/sky2.h 	struct dentry	     *debugfs;
dentry             89 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c struct dentry *mlx5_debugfs_root;
dentry            167 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 	struct dentry **cmd;
dentry            416 drivers/net/ethernet/mellanox/mlx5/core/debugfs.c 			struct dentry *root, struct mlx5_rsc_debug **dbg,
dentry             21 drivers/net/ethernet/netronome/nfp/nfp_main.h struct dentry;
dentry            129 drivers/net/ethernet/netronome/nfp/nfp_main.h 	struct dentry *ddir;
dentry            687 drivers/net/ethernet/netronome/nfp/nfp_net.h 	struct dentry *debugfs_dir;
dentry            965 drivers/net/ethernet/netronome/nfp/nfp_net.h struct dentry *nfp_net_debugfs_device_add(struct pci_dev *pdev);
dentry            966 drivers/net/ethernet/netronome/nfp/nfp_net.h void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir);
dentry            967 drivers/net/ethernet/netronome/nfp/nfp_net.h void nfp_net_debugfs_dir_clean(struct dentry **dir);
dentry            977 drivers/net/ethernet/netronome/nfp/nfp_net.h static inline struct dentry *nfp_net_debugfs_device_add(struct pci_dev *pdev)
dentry            983 drivers/net/ethernet/netronome/nfp/nfp_net.h nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir)
dentry            987 drivers/net/ethernet/netronome/nfp/nfp_net.h static inline void nfp_net_debugfs_dir_clean(struct dentry **dir)
dentry              9 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c static struct dentry *nfp_dir;
dentry            148 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c void nfp_net_debugfs_vnic_add(struct nfp_net *nn, struct dentry *ddir)
dentry            150 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c 	struct dentry *queues, *tx, *rx, *xdp;
dentry            185 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c struct dentry *nfp_net_debugfs_device_add(struct pci_dev *pdev)
dentry            190 drivers/net/ethernet/netronome/nfp/nfp_net_debugfs.c void nfp_net_debugfs_dir_clean(struct dentry **dir)
dentry             34 drivers/net/ethernet/netronome/nfp/nfp_netvf_main.c 	struct dentry *ddir;
dentry             34 drivers/net/ethernet/pensando/ionic/ionic.h 	struct dentry *dentry;
dentry             14 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c static struct dentry *ionic_dir;
dentry             28 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	ionic->dentry = debugfs_create_dir(ionic_bus_info(ionic), ionic_dir);
dentry             33 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_remove_recursive(ionic->dentry);
dentry             34 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	ionic->dentry = NULL;
dentry             59 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_file("identity", 0400, ionic->dentry,
dentry             65 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_u32("nlifs", 0400, ionic->dentry,
dentry             67 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_u32("nintrs", 0400, ionic->dentry, &ionic->nintrs);
dentry             69 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_u32("ntxqs_per_lif", 0400, ionic->dentry,
dentry             71 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_u32("nrxqs_per_lif", 0400, ionic->dentry,
dentry            115 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	struct dentry *q_dentry, *cq_dentry, *intr_dentry, *stats_dentry;
dentry            124 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	qcq->dentry = debugfs_create_dir(q->name, lif->dentry);
dentry            126 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_x32("total_size", 0400, qcq->dentry, &qcq->total_size);
dentry            127 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_x64("base_pa", 0400, qcq->dentry, &qcq->base_pa);
dentry            129 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	q_dentry = debugfs_create_dir("q", qcq->dentry);
dentry            168 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	cq_dentry = debugfs_create_dir("cq", qcq->dentry);
dentry            186 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 		intr_dentry = debugfs_create_dir("intr", qcq->dentry);
dentry            206 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 		stats_dentry = debugfs_create_dir("notifyblock", qcq->dentry);
dentry            231 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	lif->dentry = debugfs_create_dir(lif->name, lif->ionic->dentry);
dentry            232 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_create_file("netdev", 0400, lif->dentry,
dentry            238 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_remove_recursive(lif->dentry);
dentry            239 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	lif->dentry = NULL;
dentry            244 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	debugfs_remove_recursive(qcq->dentry);
dentry            245 drivers/net/ethernet/pensando/ionic/ionic_debugfs.c 	qcq->dentry = NULL;
dentry             72 drivers/net/ethernet/pensando/ionic/ionic_lif.h 	struct dentry *dentry;
dentry            177 drivers/net/ethernet/pensando/ionic/ionic_lif.h 	struct dentry *dentry;
dentry            715 drivers/net/ethernet/qlogic/qed/qed.h 	struct dentry *dentry;
dentry            100 drivers/net/ethernet/qualcomm/qca_spi.h 	struct dentry *device_root;
dentry            218 drivers/net/ethernet/stmicro/stmmac/stmmac.h 	struct dentry *dbgfs_dir;
dentry           4034 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c static struct dentry *stmmac_fs_dir;
dentry             56 drivers/net/fjes/fjes.h 	struct dentry *dbg_adapter;
dentry             17 drivers/net/fjes/fjes_debugfs.c static struct dentry *fjes_debug_root;
dentry            276 drivers/net/ieee802154/adf7242.c 	struct dentry *debugfs_root;
dentry           1610 drivers/net/ieee802154/at86rf230.c static struct dentry *at86rf230_debugfs_root;
dentry            323 drivers/net/ieee802154/ca8210.c 	struct dentry *ca8210_dfs_spi_int;
dentry             32 drivers/net/netdevsim/bpf.c 	struct dentry *ddir;
dentry            615 drivers/net/netdevsim/bpf.c 	struct dentry *ddir = ns->nsim_dev_port->ddir;
dentry             37 drivers/net/netdevsim/dev.c static struct dentry *nsim_dev_ddir;
dentry             45 drivers/net/netdevsim/netdevsim.h 	struct dentry *pfile;
dentry            141 drivers/net/netdevsim/netdevsim.h 	struct dentry *ddir;
dentry            149 drivers/net/netdevsim/netdevsim.h 	struct dentry *ddir;
dentry            150 drivers/net/netdevsim/netdevsim.h 	struct dentry *ports_ddir;
dentry            154 drivers/net/netdevsim/netdevsim.h 	struct dentry *ddir_bpf_bound_progs;
dentry             11 drivers/net/netdevsim/sdev.c static struct dentry *nsim_sdev_ddir;
dentry            192 drivers/net/wimax/i2400m/debugfs.c 	struct dentry *dentry = i2400m->wimax_dev.debugfs_dentry;
dentry            194 drivers/net/wimax/i2400m/debugfs.c 	dentry = debugfs_create_dir("i2400m", dentry);
dentry            195 drivers/net/wimax/i2400m/debugfs.c 	i2400m->debugfs_dentry = dentry;
dentry            197 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", control, dentry);
dentry            198 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", driver, dentry);
dentry            199 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", debugfs, dentry);
dentry            200 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", fw, dentry);
dentry            201 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", netdev, dentry);
dentry            202 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", rfkill, dentry);
dentry            203 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", rx, dentry);
dentry            204 drivers/net/wimax/i2400m/debugfs.c 	d_level_register_debugfs("dl_", tx, dentry);
dentry            206 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_size_t("tx_in", 0400, dentry, &i2400m->tx_in);
dentry            207 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_size_t("tx_out", 0400, dentry, &i2400m->tx_out);
dentry            208 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_u32("state", 0600, dentry, &i2400m->state);
dentry            232 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_u8("trace_msg_from_user", 0600, dentry,
dentry            235 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_file("netdev_queue_stopped", 0400, dentry, i2400m,
dentry            238 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_file("rx_stats", 0600, dentry, i2400m,
dentry            241 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_file("tx_stats", 0600, dentry, i2400m,
dentry            244 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_file("suspend", 0200, dentry, i2400m,
dentry            247 drivers/net/wimax/i2400m/debugfs.c 	debugfs_create_file("reset", 0200, dentry, i2400m, &fops_i2400m_reset);
dentry            241 drivers/net/wimax/i2400m/i2400m-usb.h 	struct dentry *debugfs_dentry;
dentry            639 drivers/net/wimax/i2400m/i2400m.h 	struct dentry *debugfs_dentry;
dentry            372 drivers/net/wimax/i2400m/usb.c 	struct dentry *dentry = i2400mu->i2400m.wimax_dev.debugfs_dentry;
dentry            374 drivers/net/wimax/i2400m/usb.c 	dentry = debugfs_create_dir("i2400m-usb", dentry);
dentry            375 drivers/net/wimax/i2400m/usb.c 	i2400mu->debugfs_dentry = dentry;
dentry            377 drivers/net/wimax/i2400m/usb.c 	d_level_register_debugfs("dl_", usb, dentry);
dentry            378 drivers/net/wimax/i2400m/usb.c 	d_level_register_debugfs("dl_", fw, dentry);
dentry            379 drivers/net/wimax/i2400m/usb.c 	d_level_register_debugfs("dl_", notif, dentry);
dentry            380 drivers/net/wimax/i2400m/usb.c 	d_level_register_debugfs("dl_", rx, dentry);
dentry            381 drivers/net/wimax/i2400m/usb.c 	d_level_register_debugfs("dl_", tx, dentry);
dentry            384 drivers/net/wimax/i2400m/usb.c 	debugfs_create_u8("rx_size_auto_shrink", 0600, dentry,
dentry            387 drivers/net/wimax/i2400m/usb.c 	debugfs_create_size_t("rx_size", 0600, dentry, &i2400mu->rx_size);
dentry            623 drivers/net/wireless/ath/ath10k/core.h 	struct dentry *debugfs_phy;
dentry            204 drivers/net/wireless/ath/ath10k/debug.h 			    struct ieee80211_sta *sta, struct dentry *dir);
dentry            758 drivers/net/wireless/ath/ath10k/debugfs_sta.c 			    struct ieee80211_sta *sta, struct dentry *dir)
dentry            476 drivers/net/wireless/ath/ath10k/spectral.c static struct dentry *create_buf_file_handler(const char *filename,
dentry            477 drivers/net/wireless/ath/ath10k/spectral.c 					      struct dentry *parent,
dentry            482 drivers/net/wireless/ath/ath10k/spectral.c 	struct dentry *buf_file;
dentry            493 drivers/net/wireless/ath/ath10k/spectral.c static int remove_buf_file_handler(struct dentry *dentry)
dentry            495 drivers/net/wireless/ath/ath10k/spectral.c 	debugfs_remove(dentry);
dentry            999 drivers/net/wireless/ath/ath5k/debug.c 	struct dentry *phydir;
dentry            834 drivers/net/wireless/ath/ath6kl/core.h 	struct dentry *debugfs_phy;
dentry             47 drivers/net/wireless/ath/ath9k/common-debug.c void ath9k_cmn_debug_modal_eeprom(struct dentry *debugfs_phy,
dentry             82 drivers/net/wireless/ath/ath9k/common-debug.c void ath9k_cmn_debug_base_eeprom(struct dentry *debugfs_phy,
dentry            180 drivers/net/wireless/ath/ath9k/common-debug.c void ath9k_cmn_debug_recv(struct dentry *debugfs_phy,
dentry            256 drivers/net/wireless/ath/ath9k/common-debug.c void ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy,
dentry             68 drivers/net/wireless/ath/ath9k/common-debug.h void ath9k_cmn_debug_modal_eeprom(struct dentry *debugfs_phy,
dentry             70 drivers/net/wireless/ath/ath9k/common-debug.h void ath9k_cmn_debug_base_eeprom(struct dentry *debugfs_phy,
dentry             74 drivers/net/wireless/ath/ath9k/common-debug.h void ath9k_cmn_debug_recv(struct dentry *debugfs_phy,
dentry             76 drivers/net/wireless/ath/ath9k/common-debug.h void ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy,
dentry             79 drivers/net/wireless/ath/ath9k/common-debug.h static inline void ath9k_cmn_debug_modal_eeprom(struct dentry *debugfs_phy,
dentry             84 drivers/net/wireless/ath/ath9k/common-debug.h static inline void ath9k_cmn_debug_base_eeprom(struct dentry *debugfs_phy,
dentry             94 drivers/net/wireless/ath/ath9k/common-debug.h static inline void ath9k_cmn_debug_recv(struct dentry *debugfs_phy,
dentry             99 drivers/net/wireless/ath/ath9k/common-debug.h static inline void ath9k_cmn_debug_phy_err(struct dentry *debugfs_phy,
dentry           1032 drivers/net/wireless/ath/ath9k/common-spectral.c static struct dentry *create_buf_file_handler(const char *filename,
dentry           1033 drivers/net/wireless/ath/ath9k/common-spectral.c 					      struct dentry *parent,
dentry           1038 drivers/net/wireless/ath/ath9k/common-spectral.c 	struct dentry *buf_file;
dentry           1049 drivers/net/wireless/ath/ath9k/common-spectral.c static int remove_buf_file_handler(struct dentry *dentry)
dentry           1051 drivers/net/wireless/ath/ath9k/common-spectral.c 	debugfs_remove(dentry);
dentry           1075 drivers/net/wireless/ath/ath9k/common-spectral.c 				   struct dentry *debugfs_phy)
dentry            172 drivers/net/wireless/ath/ath9k/common-spectral.h void ath9k_cmn_spectral_init_debug(struct ath_spec_scan_priv *spec_priv, struct dentry *debugfs_phy);
dentry            184 drivers/net/wireless/ath/ath9k/common-spectral.h 						 struct dentry *debugfs_phy)
dentry            249 drivers/net/wireless/ath/ath9k/debug.h 	struct dentry *debugfs_phy;
dentry            273 drivers/net/wireless/ath/ath9k/debug.h 			   struct dentry *dir);
dentry            248 drivers/net/wireless/ath/ath9k/debug_sta.c 			   struct dentry *dir)
dentry            359 drivers/net/wireless/ath/ath9k/htc.h 	struct dentry *debugfs_phy;
dentry            439 drivers/net/wireless/ath/carl9170/carl9170.h 	struct dentry *debug_dir;
dentry            141 drivers/net/wireless/ath/wcn36xx/debug.c 		struct dentry *d;				\
dentry            145 drivers/net/wireless/ath/wcn36xx/debug.c 		dfs->file_##name.dentry = d;			\
dentry            148 drivers/net/wireless/ath/wcn36xx/debug.c 			dfs->file_##name.dentry = NULL;		\
dentry             26 drivers/net/wireless/ath/wcn36xx/debug.h 	struct dentry *dentry;
dentry             31 drivers/net/wireless/ath/wcn36xx/debug.h 	struct dentry *rootdir;
dentry            427 drivers/net/wireless/ath/wil6210/debugfs.c 					 struct dentry *parent, void *value,
dentry            465 drivers/net/wireless/ath/wil6210/debugfs.c 					struct dentry *dbg, void *base,
dentry            510 drivers/net/wireless/ath/wil6210/debugfs.c 				       const char *name, struct dentry *parent,
dentry            513 drivers/net/wireless/ath/wil6210/debugfs.c 	struct dentry *d = debugfs_create_dir(name, parent);
dentry            527 drivers/net/wireless/ath/wil6210/debugfs.c 					      struct dentry *parent)
dentry            529 drivers/net/wireless/ath/wil6210/debugfs.c 	struct dentry *d = debugfs_create_dir("PSEUDO_ISR", parent);
dentry            575 drivers/net/wireless/ath/wil6210/debugfs.c 					  struct dentry *parent)
dentry            577 drivers/net/wireless/ath/wil6210/debugfs.c 	struct dentry *d, *dtx, *drx;
dentry            695 drivers/net/wireless/ath/wil6210/debugfs.c struct dentry *wil_debugfs_create_ioblob(const char *name,
dentry            697 drivers/net/wireless/ath/wil6210/debugfs.c 					 struct dentry *parent,
dentry           2347 drivers/net/wireless/ath/wil6210/debugfs.c 				       struct dentry *dbg)
dentry           2409 drivers/net/wireless/ath/wil6210/debugfs.c 				       struct dentry *dbg)
dentry           2430 drivers/net/wireless/ath/wil6210/debugfs.c 				     struct dentry *dbg)
dentry           2489 drivers/net/wireless/ath/wil6210/debugfs.c 	struct dentry *dbg = wil->debug = debugfs_create_dir(WIL_NAME,
dentry           1019 drivers/net/wireless/ath/wil6210/wil6210.h 	struct dentry *debug;
dentry             28 drivers/net/wireless/broadcom/b43/debugfs.c static struct dentry *rootdir;
dentry            716 drivers/net/wireless/broadcom/b43/debugfs.c 		e->file_##name.dentry =				\
dentry            751 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_shm16read.dentry);
dentry            752 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_shm16write.dentry);
dentry            753 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_shm32read.dentry);
dentry            754 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_shm32write.dentry);
dentry            755 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_mmio16read.dentry);
dentry            756 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_mmio16write.dentry);
dentry            757 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_mmio32read.dentry);
dentry            758 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_mmio32write.dentry);
dentry            759 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_txstat.dentry);
dentry            760 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_restart.dentry);
dentry            761 drivers/net/wireless/broadcom/b43/debugfs.c 	debugfs_remove(e->file_loctls.dentry);
dentry             23 drivers/net/wireless/broadcom/b43/debugfs.h struct dentry;
dentry             35 drivers/net/wireless/broadcom/b43/debugfs.h 	struct dentry *dentry;
dentry             42 drivers/net/wireless/broadcom/b43/debugfs.h 	struct dentry *subdir;
dentry             74 drivers/net/wireless/broadcom/b43/debugfs.h 	struct dentry *dyn_debug_dentries[__B43_NR_DYNDBG];
dentry             29 drivers/net/wireless/broadcom/b43legacy/debugfs.c static struct dentry *rootdir;
dentry            399 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		e->file_##name.dentry =				\
dentry            403 drivers/net/wireless/broadcom/b43legacy/debugfs.c 		e->file_##name.dentry = NULL;			\
dentry            429 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	debugfs_remove(e->file_tsf.dentry);
dentry            430 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	debugfs_remove(e->file_ucode_regs.dentry);
dentry            431 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	debugfs_remove(e->file_shm.dentry);
dentry            432 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	debugfs_remove(e->file_txstat.dentry);
dentry            433 drivers/net/wireless/broadcom/b43legacy/debugfs.c 	debugfs_remove(e->file_restart.dentry);
dentry             20 drivers/net/wireless/broadcom/b43legacy/debugfs.h struct dentry;
dentry             31 drivers/net/wireless/broadcom/b43legacy/debugfs.h 	struct dentry *dentry;
dentry             38 drivers/net/wireless/broadcom/b43legacy/debugfs.h 	struct dentry *subdir;
dentry             53 drivers/net/wireless/broadcom/b43legacy/debugfs.h 	struct dentry *dyn_debug_dentries[__B43legacy_NR_DYNDBG];
dentry            313 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h 	struct dentry *debugfsdir;
dentry            129 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h 	struct dentry *dbgfs_dir;
dentry             45 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr)
dentry             53 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.c 	struct dentry *e;
dentry            118 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr);
dentry            124 drivers/net/wireless/broadcom/brcm80211/brcmfmac/debug.h static inline struct dentry *brcmf_debugfs_get_devdir(struct brcmf_pub *drvr)
dentry           3173 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	struct dentry *dentry = brcmf_debugfs_get_devdir(drvr);
dentry           3175 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (IS_ERR_OR_NULL(dentry))
dentry           3183 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	debugfs_create_u32("console_interval", 0644, dentry,
dentry             35 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c static struct dentry *root_folder;
dentry             59 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr)
dentry            194 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c 	struct dentry *dentry =  drvr->dbgfs_dir;
dentry            204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.c 	debugfs_create_file(fn, 0444, dentry, entry, &brcms_debugfs_def_ops);
dentry             73 drivers/net/wireless/broadcom/brcm80211/brcmsmac/debug.h struct dentry *brcms_debugfs_get_devdir(struct brcms_pub *drvr);
dentry            177 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h 	struct dentry *dbgfs_dir;
dentry            842 drivers/net/wireless/intel/iwlegacy/3945-rs.c il3945_add_debugfs(void *il, void *il_sta, struct dentry *dir)
dentry           2748 drivers/net/wireless/intel/iwlegacy/4965-rs.c il4965_rs_add_debugfs(void *il, void *il_sta, struct dentry *dir)
dentry           1408 drivers/net/wireless/intel/iwlegacy/common.h 	struct dentry *debugfs_dir;
dentry           1318 drivers/net/wireless/intel/iwlegacy/debug.c 	struct dentry *phyd = il->hw->wiphy->debugfsdir;
dentry           1319 drivers/net/wireless/intel/iwlegacy/debug.c 	struct dentry *dir_drv, *dir_data, *dir_rf, *dir_debug;
dentry            442 drivers/net/wireless/intel/iwlwifi/dvm/agn.h void iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir);
dentry            445 drivers/net/wireless/intel/iwlwifi/dvm/agn.h 				      struct dentry *dbgfs_dir) { }
dentry           2315 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c void iwl_dbgfs_register(struct iwl_priv *priv, struct dentry *dbgfs_dir)
dentry           2317 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 	struct dentry *dir_data, *dir_rf, *dir_debug;
dentry           2376 drivers/net/wireless/intel/iwlwifi/dvm/debugfs.c 		struct dentry *mac80211_dir, *dev_dir;
dentry            857 drivers/net/wireless/intel/iwlwifi/dvm/dev.h 	struct dentry *debugfs_dir;
dentry           1236 drivers/net/wireless/intel/iwlwifi/dvm/main.c 						 struct dentry *dbgfs_dir)
dentry           3256 drivers/net/wireless/intel/iwlwifi/dvm/rs.c 					struct dentry *dir)
dentry            324 drivers/net/wireless/intel/iwlwifi/fw/debugfs.c 			    struct dentry *dbgfs_dir)
dentry             67 drivers/net/wireless/intel/iwlwifi/fw/debugfs.h 			    struct dentry *dbgfs_dir);
dentry             71 drivers/net/wireless/intel/iwlwifi/fw/debugfs.h 					   struct dentry *dbgfs_dir) { }
dentry             68 drivers/net/wireless/intel/iwlwifi/fw/init.c 			struct dentry *dbgfs_dir)
dentry            188 drivers/net/wireless/intel/iwlwifi/fw/runtime.h 			struct dentry *dbgfs_dir);
dentry             94 drivers/net/wireless/intel/iwlwifi/iwl-drv.c static struct dentry *iwl_dbgfs_root;
dentry            122 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct dentry *dbgfs_drv;
dentry            123 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct dentry *dbgfs_trans;
dentry            124 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct dentry *dbgfs_op_mode;
dentry           1277 drivers/net/wireless/intel/iwlwifi/iwl-drv.c 	struct dentry *dbgfs_dir = NULL;
dentry            148 drivers/net/wireless/intel/iwlwifi/iwl-op-mode.h 				     struct dentry *dbgfs_dir);
dentry            816 drivers/net/wireless/intel/iwlwifi/iwl-trans.h 	struct dentry *dbgfs_dir;
dentry            764 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c 	struct dentry *dbgfs_dir = vif->debugfs_dir;
dentry           1978 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 			     struct dentry *dir)
dentry           1988 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir)
dentry           1990 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c 	struct dentry *bcast_dir __maybe_unused;
dentry            442 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct dentry *dbgfs_dir;
dentry            443 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct dentry *dbgfs_slink;
dentry            956 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 	struct dentry *debugfs_dir;
dentry           1748 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h void iwl_mvm_dbgfs_register(struct iwl_mvm *mvm, struct dentry *dbgfs_dir);
dentry           1753 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 					  struct dentry *dbgfs_dir)
dentry           2077 drivers/net/wireless/intel/iwlwifi/mvm/mvm.h 			     struct dentry *dir);
dentry            613 drivers/net/wireless/intel/iwlwifi/mvm/ops.c 		      const struct iwl_fw *fw, struct dentry *dbgfs_dir)
dentry           4103 drivers/net/wireless/intel/iwlwifi/mvm/rs.c 				   struct dentry *dir)
dentry           2928 drivers/net/wireless/intel/iwlwifi/pcie/trans.c 	struct dentry *dir = trans->dbgfs_dir;
dentry            528 drivers/net/wireless/mac80211_hwsim.c 	struct dentry *debugfs;
dentry             15 drivers/net/wireless/marvell/libertas/debugfs.c static struct dentry *lbs_dir;
dentry             65 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *debugfs_dir;
dentry             66 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *debugfs_debug;
dentry             67 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *debugfs_files[6];
dentry             68 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *events_dir;
dentry             69 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *debugfs_events_files[6];
dentry             70 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *regs_dir;
dentry             71 drivers/net/wireless/marvell/libertas/dev.h 	struct dentry *debugfs_regs_files[6];
dentry             26 drivers/net/wireless/marvell/mwifiex/debugfs.c static struct dentry *mwifiex_dfs_dir;
dentry            651 drivers/net/wireless/marvell/mwifiex/main.h 	struct dentry *dfs_dev_dir;
dentry             78 drivers/net/wireless/mediatek/mt76/debugfs.c struct dentry *mt76_register_debugfs(struct mt76_dev *dev)
dentry             80 drivers/net/wireless/mediatek/mt76/debugfs.c 	struct dentry *dir;
dentry            628 drivers/net/wireless/mediatek/mt76/mt76.h struct dentry *mt76_register_debugfs(struct mt76_dev *dev);
dentry             74 drivers/net/wireless/mediatek/mt76/mt7603/debugfs.c 	struct dentry *dir;
dentry             66 drivers/net/wireless/mediatek/mt76/mt7615/debugfs.c 	struct dentry *dir;
dentry            140 drivers/net/wireless/mediatek/mt76/mt76x02_debugfs.c 	struct dentry *dir;
dentry            149 drivers/net/wireless/mediatek/mt7601u/debugfs.c 	struct dentry *dir;
dentry             56 drivers/net/wireless/quantenna/qtnfmac/bus.h 	struct dentry *dbg_dir;
dentry             23 drivers/net/wireless/quantenna/qtnfmac/core.c static struct dentry *qtnf_debugfs_dir;
dentry            853 drivers/net/wireless/quantenna/qtnfmac/core.c struct dentry *qtnf_get_debugfs_dir(void)
dentry            156 drivers/net/wireless/quantenna/qtnfmac/core.h struct dentry *qtnf_get_debugfs_dir(void);
dentry              8 drivers/net/wireless/quantenna/qtnfmac/debug.c 	struct dentry *parent = qtnf_get_debugfs_dir();
dentry             67 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct dentry *driver_folder;
dentry            639 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct dentry *queue_folder;
dentry            640 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c 	struct dentry *register_folder;
dentry             73 drivers/net/wireless/realtek/rtlwifi/debug.c static struct dentry *debugfs_topdir;
dentry            459 drivers/net/wireless/realtek/rtlwifi/debug.c 	struct dentry *parent;
dentry           2495 drivers/net/wireless/realtek/rtlwifi/wifi.h 	struct dentry *debugfs_dir;
dentry            675 drivers/net/wireless/realtek/rtw88/debug.c 	struct dentry *debugfs_topdir;
dentry           1366 drivers/net/wireless/realtek/rtw88/main.h 	struct dentry *debugfs;
dentry             41 drivers/net/wireless/rsi/rsi_debugfs.h 	struct dentry *subdir;
dentry             43 drivers/net/wireless/rsi/rsi_debugfs.h 	struct dentry *rsi_files[MAX_DEBUGFS_ENTRIES];
dentry             13 drivers/net/wireless/st/cw1200/debug.h 	struct dentry *debugfs_phy;
dentry            146 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rootdir;
dentry            147 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *fw_statistics;
dentry            149 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *tx_internal_desc_overflow;
dentry            151 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_out_of_mem;
dentry            152 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_hdr_overflow;
dentry            153 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_hw_stuck;
dentry            154 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_dropped;
dentry            155 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_fcs_err;
dentry            156 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_xfr_hint_trig;
dentry            157 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_path_reset;
dentry            158 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rx_reset_counter;
dentry            160 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *dma_rx_requested;
dentry            161 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *dma_rx_errors;
dentry            162 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *dma_tx_requested;
dentry            163 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *dma_tx_errors;
dentry            165 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_cmd_cmplt;
dentry            166 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_fiqs;
dentry            167 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_rx_headers;
dentry            168 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_rx_mem_overflow;
dentry            169 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_rx_rdys;
dentry            170 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_irqs;
dentry            171 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_tx_procs;
dentry            172 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_decrypt_done;
dentry            173 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_dma0_done;
dentry            174 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_dma1_done;
dentry            175 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_tx_exch_complete;
dentry            176 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_commands;
dentry            177 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_rx_procs;
dentry            178 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_hw_pm_mode_changes;
dentry            179 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_host_acknowledges;
dentry            180 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_pci_pm;
dentry            181 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_wakeups;
dentry            182 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *isr_low_rssi;
dentry            184 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_addr_key_count;
dentry            185 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_default_key_count;
dentry            187 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_key_not_found;
dentry            188 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_decrypt_fail;
dentry            189 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_packets;
dentry            190 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *wep_interrupt;
dentry            192 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_ps_enter;
dentry            193 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_elp_enter;
dentry            194 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_missing_bcns;
dentry            195 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_wake_on_host;
dentry            196 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_wake_on_timer_exp;
dentry            197 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_tx_with_ps;
dentry            198 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_tx_without_ps;
dentry            199 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_rcvd_beacons;
dentry            200 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_power_save_off;
dentry            201 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_enable_ps;
dentry            202 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_disable_ps;
dentry            203 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_fix_tsf_ps;
dentry            205 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *pwr_rcvd_awake_beacons;
dentry            207 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *mic_rx_pkts;
dentry            208 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *mic_calc_failure;
dentry            210 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_encrypt_fail;
dentry            211 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_decrypt_fail;
dentry            212 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_encrypt_packets;
dentry            213 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_decrypt_packets;
dentry            214 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_encrypt_interrupt;
dentry            215 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *aes_decrypt_interrupt;
dentry            217 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_heart_beat;
dentry            218 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_calibration;
dentry            219 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_rx_mismatch;
dentry            220 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_rx_mem_empty;
dentry            221 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_rx_pool;
dentry            222 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_oom_late;
dentry            223 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_phy_transmit_error;
dentry            224 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *event_tx_stuck;
dentry            226 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_pspoll_timeouts;
dentry            227 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_upsd_timeouts;
dentry            228 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_upsd_max_sptime;
dentry            229 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_upsd_max_apturn;
dentry            230 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_pspoll_max_apturn;
dentry            231 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_pspoll_utilization;
dentry            232 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *ps_upsd_utilization;
dentry            234 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rxpipe_rx_prep_beacon_drop;
dentry            235 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rxpipe_descr_host_int_trig_rx_data;
dentry            236 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rxpipe_beacon_buffer_thres_host_int_trig_rx_data;
dentry            237 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rxpipe_missed_beacon_host_int_trig_rx_data;
dentry            238 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *rxpipe_tx_xfr_host_int_trig_rx_data;
dentry            240 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *tx_queue_len;
dentry            241 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *tx_queue_status;
dentry            243 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *retry_count;
dentry            244 drivers/net/wireless/ti/wl1251/wl1251.h 	struct dentry *excessive_retries;
dentry            112 drivers/net/wireless/ti/wl12xx/debugfs.c 			     struct dentry *rootdir)
dentry            114 drivers/net/wireless/ti/wl12xx/debugfs.c 	struct dentry *stats, *moddir;
dentry             12 drivers/net/wireless/ti/wl12xx/debugfs.h 			     struct dentry *rootdir);
dentry            409 drivers/net/wireless/ti/wl18xx/debugfs.c 			     struct dentry *rootdir)
dentry            411 drivers/net/wireless/ti/wl18xx/debugfs.c 	struct dentry *stats, *moddir;
dentry             12 drivers/net/wireless/ti/wl18xx/debugfs.h 			     struct dentry *rootdir);
dentry           1291 drivers/net/wireless/ti/wlcore/debugfs.c 				     struct dentry *rootdir)
dentry           1293 drivers/net/wireless/ti/wlcore/debugfs.c 	struct dentry *streaming;
dentry           1338 drivers/net/wireless/ti/wlcore/debugfs.c 	struct dentry *rootdir;
dentry            152 drivers/net/wireless/ti/wlcore/hw_ops.h wlcore_debugfs_init(struct wl1271 *wl, struct dentry *rootdir)
dentry             79 drivers/net/wireless/ti/wlcore/wlcore.h 	int (*debugfs_init)(struct wl1271 *wl, struct dentry *rootdir);
dentry            307 drivers/net/xen-netback/common.h 	struct dentry *xenvif_dbg_root;
dentry            405 drivers/net/xen-netback/common.h extern struct dentry *xen_netback_dbg_root;
dentry             24 drivers/net/xen-netback/xenbus.c struct dentry *xen_netback_dbg_root = NULL;
dentry            335 drivers/nfc/nfcsim.c static struct dentry *nfcsim_debugfs_root;
dentry            353 drivers/nfc/nfcsim.c 	struct dentry *dev_dir;
dentry             74 drivers/ntb/hw/amd/ntb_hw_amd.c static struct dentry *debugfs_dir;
dentry            214 drivers/ntb/hw/amd/ntb_hw_amd.h 	struct dentry *debugfs_dir;
dentry            215 drivers/ntb/hw/amd/ntb_hw_amd.h 	struct dentry *debugfs_info;
dentry            274 drivers/ntb/hw/idt/ntb_hw_idt.c static struct dentry *dbgfs_topdir;
dentry           1151 drivers/ntb/hw/idt/ntb_hw_idt.h 	struct dentry *dbgfs_info;
dentry             85 drivers/ntb/hw/intel/ntb_hw_gen1.c static struct dentry *debugfs_dir;
dentry            183 drivers/ntb/hw/intel/ntb_hw_intel.h 	struct dentry			*debugfs_dir;
dentry            184 drivers/ntb/hw/intel/ntb_hw_intel.h 	struct dentry			*debugfs_info;
dentry            102 drivers/ntb/ntb_transport.c static struct dentry *nt_debugfs_dir;
dentry            179 drivers/ntb/ntb_transport.c 	struct dentry *debugfs_dir;
dentry            180 drivers/ntb/ntb_transport.c 	struct dentry *debugfs_stats;
dentry            243 drivers/ntb/ntb_transport.c 	struct dentry *debugfs_node_dir;
dentry             21 drivers/ntb/test/ntb_msi_test.c 	struct dentry *dbgfs_dir;
dentry             41 drivers/ntb/test/ntb_msi_test.c static struct dentry *ntb_msit_dbgfs_topdir;
dentry            275 drivers/ntb/test/ntb_msi_test.c 	struct dentry *peer_dir;
dentry            205 drivers/ntb/test/ntb_perf.c 	struct dentry *dbgfs_dir;
dentry            235 drivers/ntb/test/ntb_perf.c static struct dentry *perf_dbgfs_topdir;
dentry            109 drivers/ntb/test/ntb_pingpong.c 	struct dentry *dbgfs_dir;
dentry            114 drivers/ntb/test/ntb_pingpong.c static struct dentry *pp_dbgfs_topdir;
dentry            218 drivers/ntb/test/ntb_tool.c 	struct dentry *dbgfs_file;
dentry            253 drivers/ntb/test/ntb_tool.c 	struct dentry *dbgfs_dir;
dentry            269 drivers/ntb/test/ntb_tool.c 	struct dentry *dbgfs_dir;
dentry            282 drivers/ntb/test/ntb_tool.c static struct dentry *tool_dbgfs_topdir;
dentry            214 drivers/nvdimm/btt.c static struct dentry *debugfs_root;
dentry            216 drivers/nvdimm/btt.c static void arena_debugfs_init(struct arena_info *a, struct dentry *parent,
dentry            220 drivers/nvdimm/btt.c 	struct dentry *d;
dentry            193 drivers/nvdimm/btt.h 	struct dentry *debugfs_dir;
dentry            223 drivers/nvdimm/btt.h 	struct dentry *debugfs_dir;
dentry             21 drivers/nvme/host/fault_inject.c 	struct dentry *dir, *parent;
dentry            174 drivers/nvme/host/nvme.h 	struct dentry *parent;
dentry             19 drivers/opp/debugfs.c static struct dentry *rootdir;
dentry             32 drivers/opp/debugfs.c 	debugfs_remove_recursive(opp->dentry);
dentry             37 drivers/opp/debugfs.c 				      struct dentry *pdentry)
dentry             39 drivers/opp/debugfs.c 	struct dentry *d;
dentry             66 drivers/opp/debugfs.c 	struct dentry *pdentry = opp_table->dentry;
dentry             67 drivers/opp/debugfs.c 	struct dentry *d;
dentry             98 drivers/opp/debugfs.c 	opp->dentry = d;
dentry            105 drivers/opp/debugfs.c 	struct dentry *d;
dentry            112 drivers/opp/debugfs.c 	opp_dev->dentry = d;
dentry            113 drivers/opp/debugfs.c 	opp_table->dentry = d;
dentry            124 drivers/opp/debugfs.c 	opp_dev->dentry = debugfs_create_symlink(name, rootdir,
dentry            139 drivers/opp/debugfs.c 	if (opp_table->dentry)
dentry            150 drivers/opp/debugfs.c 	struct dentry *dentry;
dentry            159 drivers/opp/debugfs.c 	debugfs_remove_recursive(new_dev->dentry);
dentry            163 drivers/opp/debugfs.c 	dentry = debugfs_rename(rootdir, opp_dev->dentry, rootdir,
dentry            165 drivers/opp/debugfs.c 	if (!dentry) {
dentry            171 drivers/opp/debugfs.c 	new_dev->dentry = dentry;
dentry            172 drivers/opp/debugfs.c 	opp_table->dentry = dentry;
dentry            185 drivers/opp/debugfs.c 	if (opp_dev->dentry == opp_table->dentry) {
dentry            191 drivers/opp/debugfs.c 		opp_table->dentry = NULL;
dentry            194 drivers/opp/debugfs.c 	debugfs_remove_recursive(opp_dev->dentry);
dentry            197 drivers/opp/debugfs.c 	opp_dev->dentry = NULL;
dentry             93 drivers/opp/opp.h 	struct dentry *dentry;
dentry            111 drivers/opp/opp.h 	struct dentry *dentry;
dentry            201 drivers/opp/opp.h 	struct dentry *dentry;
dentry            215 drivers/oprofile/buffer_sync.c 	if (path->dentry->d_flags & DCACHE_COOKIE)
dentry            216 drivers/oprofile/buffer_sync.c 		return (unsigned long)path->dentry;
dentry             33 drivers/oprofile/oprof.h struct dentry;
dentry             35 drivers/oprofile/oprof.h void oprofile_create_files(struct dentry *root);
dentry            178 drivers/oprofile/oprofile_files.c void oprofile_create_files(struct dentry *root)
dentry            142 drivers/oprofile/oprofile_perf.c static int oprofile_perf_create_files(struct dentry *root)
dentry            147 drivers/oprofile/oprofile_perf.c 		struct dentry *dir;
dentry             41 drivers/oprofile/oprofile_stats.c void oprofile_create_stats_files(struct dentry *root)
dentry             44 drivers/oprofile/oprofile_stats.c 	struct dentry *cpudir;
dentry             45 drivers/oprofile/oprofile_stats.c 	struct dentry *dir;
dentry             28 drivers/oprofile/oprofile_stats.h struct dentry;
dentry             31 drivers/oprofile/oprofile_stats.h void oprofile_create_stats_files(struct dentry *root);
dentry            136 drivers/oprofile/oprofilefs.c static int __oprofilefs_create_file(struct dentry *root, char const *name,
dentry            139 drivers/oprofile/oprofilefs.c 	struct dentry *dentry;
dentry            146 drivers/oprofile/oprofilefs.c 	dentry = d_alloc_name(root, name);
dentry            147 drivers/oprofile/oprofilefs.c 	if (!dentry) {
dentry            153 drivers/oprofile/oprofilefs.c 		dput(dentry);
dentry            159 drivers/oprofile/oprofilefs.c 	d_add(dentry, inode);
dentry            165 drivers/oprofile/oprofilefs.c int oprofilefs_create_ulong(struct dentry *root,
dentry            173 drivers/oprofile/oprofilefs.c int oprofilefs_create_ro_ulong(struct dentry *root,
dentry            195 drivers/oprofile/oprofilefs.c int oprofilefs_create_ro_atomic(struct dentry *root,
dentry            203 drivers/oprofile/oprofilefs.c int oprofilefs_create_file(struct dentry *root,
dentry            210 drivers/oprofile/oprofilefs.c int oprofilefs_create_file_perm(struct dentry *root,
dentry            217 drivers/oprofile/oprofilefs.c struct dentry *oprofilefs_mkdir(struct dentry *parent, char const *name)
dentry            219 drivers/oprofile/oprofilefs.c 	struct dentry *dentry;
dentry            223 drivers/oprofile/oprofilefs.c 	dentry = d_alloc_name(parent, name);
dentry            224 drivers/oprofile/oprofilefs.c 	if (!dentry) {
dentry            230 drivers/oprofile/oprofilefs.c 		dput(dentry);
dentry            236 drivers/oprofile/oprofilefs.c 	d_add(dentry, inode);
dentry            238 drivers/oprofile/oprofilefs.c 	return dentry;
dentry            287 drivers/pci/controller/dwc/pcie-tegra194.c 	struct dentry *debugfs;
dentry            556 drivers/pci/controller/dwc/pcie-tegra194.c 	struct dentry *d;
dentry            390 drivers/pci/controller/pci-tegra.c 	struct dentry *debugfs;
dentry           2745 drivers/pci/controller/pci-tegra.c 	struct dentry *file;
dentry            309 drivers/pci/hotplug/cpqphp.h 	struct dentry *dentry;		/* debugfs dentry */
dentry            184 drivers/pci/hotplug/cpqphp_sysfs.c static struct dentry *root;
dentry            199 drivers/pci/hotplug/cpqphp_sysfs.c 	ctrl->dentry = debugfs_create_file(dev_name(&ctrl->pci_dev->dev),
dentry            205 drivers/pci/hotplug/cpqphp_sysfs.c 	debugfs_remove(ctrl->dentry);
dentry            206 drivers/pci/hotplug/cpqphp_sysfs.c 	ctrl->dentry = NULL;
dentry           1844 drivers/pinctrl/core.c static struct dentry *debugfs_root;
dentry           1848 drivers/pinctrl/core.c 	struct dentry *device_root;
dentry             63 drivers/pinctrl/core.h 	struct dentry *device_root;
dentry            370 drivers/pinctrl/pinconf.c void pinconf_init_device_debugfs(struct dentry *devroot,
dentry             74 drivers/pinctrl/pinconf.h void pinconf_init_device_debugfs(struct dentry *devroot,
dentry             89 drivers/pinctrl/pinconf.h static inline void pinconf_init_device_debugfs(struct dentry *devroot,
dentry            673 drivers/pinctrl/pinmux.c void pinmux_init_device_debugfs(struct dentry *devroot,
dentry             99 drivers/pinctrl/pinmux.h void pinmux_init_device_debugfs(struct dentry *devroot,
dentry            114 drivers/pinctrl/pinmux.h static inline void pinmux_init_device_debugfs(struct dentry *devroot,
dentry             43 drivers/platform/chrome/cros_ec_debugfs.c 	struct dentry *dir;
dentry             24 drivers/platform/chrome/wilco_ec/debugfs.c 	struct dentry *dir;
dentry             47 drivers/platform/olpc/olpc-ec.c 	struct dentry *dbgfs_dir;
dentry            331 drivers/platform/olpc/olpc-ec.c static struct dentry *olpc_ec_setup_debugfs(void)
dentry            333 drivers/platform/olpc/olpc-ec.c 	struct dentry *dbgfs_dir;
dentry            346 drivers/platform/olpc/olpc-ec.c static struct dentry *olpc_ec_setup_debugfs(void)
dentry            261 drivers/platform/x86/acer-wmi.c 	struct dentry *root;
dentry            145 drivers/platform/x86/asus-wmi.c 	struct dentry *root;
dentry            569 drivers/platform/x86/dell-laptop.c static struct dentry *dell_laptop_dir;
dentry             92 drivers/platform/x86/ideapad-laptop.c 	struct dentry *debug;
dentry            321 drivers/platform/x86/ideapad-laptop.c 	struct dentry *dir;
dentry            287 drivers/platform/x86/intel_ips.c 	struct dentry *debug_root;
dentry            762 drivers/platform/x86/intel_pmc_core.c 	struct dentry *dir;
dentry            255 drivers/platform/x86/intel_pmc_core.h 	struct dentry *dbgfs_dir;
dentry            238 drivers/platform/x86/intel_telemetry_debugfs.c 	struct dentry *telemetry_dbg_dir;
dentry            903 drivers/platform/x86/intel_telemetry_debugfs.c 	struct dentry *dir;
dentry             43 drivers/platform/x86/pmc_atom.c 	struct dentry *dbgfs_dir;
dentry            346 drivers/platform/x86/pmc_atom.c 	struct dentry *dir;
dentry            310 drivers/platform/x86/samsung-laptop.c 	struct dentry *root;
dentry           1281 drivers/platform/x86/samsung-laptop.c 	struct dentry *root;
dentry            811 drivers/platform/x86/wmi.c 	const char *driver_name = filp->f_path.dentry->d_iname;
dentry             37 drivers/power/avs/smartreflex.c static struct dentry		*sr_dbg_dir;
dentry            828 drivers/power/avs/smartreflex.c 	struct dentry *nvalue_dir;
dentry            120 drivers/power/supply/axp288_fuel_gauge.c 	struct dentry *debug_file;
dentry            118 drivers/power/supply/da9030_battery.c 	struct dentry *debug_file;
dentry            187 drivers/power/supply/da9030_battery.c static struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger)
dentry            199 drivers/power/supply/da9030_battery.c static inline struct dentry *da9030_bat_create_debugfs(struct da9030_charger *charger)
dentry             72 drivers/ptp/ptp_qoriq_debugfs.c 	struct dentry *root;
dentry            485 drivers/ras/cec.c 	struct dentry *d, *pfn, *decay, *count, *array;
dentry              6 drivers/ras/debugfs.c struct dentry *ras_debugfs_dir;
dentry             42 drivers/ras/debugfs.c 	struct dentry *fentry;
dentry              7 drivers/ras/debugfs.h extern struct dentry *ras_debugfs_dir;
dentry             56 drivers/regulator/core.c static struct dentry *debugfs_root;
dentry             69 drivers/regulator/dbx500-prcmu.c 	struct dentry *dir;
dentry             70 drivers/regulator/dbx500-prcmu.c 	struct dentry *status_file;
dentry             71 drivers/regulator/dbx500-prcmu.c 	struct dentry *power_state_cnt_file;
dentry             46 drivers/regulator/internal.h 	struct dentry *debugfs;
dentry             28 drivers/remoteproc/remoteproc_debugfs.c static struct dentry *rproc_dbg;
dentry            314 drivers/remoteproc/remoteproc_debugfs.c void rproc_remove_trace_file(struct dentry *tfile)
dentry            319 drivers/remoteproc/remoteproc_debugfs.c struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc,
dentry            322 drivers/remoteproc/remoteproc_debugfs.c 	struct dentry *tfile;
dentry             22 drivers/remoteproc/remoteproc_internal.h 	struct dentry *tfile;
dentry             37 drivers/remoteproc/remoteproc_internal.h void rproc_remove_trace_file(struct dentry *tfile);
dentry             38 drivers/remoteproc/remoteproc_internal.h struct dentry *rproc_create_trace_file(const char *name, struct rproc *rproc,
dentry             58 drivers/s390/block/dasd.c static struct dentry *dasd_debugfs_root_entry;
dentry             85 drivers/s390/block/dasd.c static void dasd_profile_init(struct dasd_profile *, struct dentry *);
dentry             87 drivers/s390/block/dasd.c static void dasd_hosts_init(struct dentry *, struct dasd_device *);
dentry            240 drivers/s390/block/dasd.c static struct dentry *dasd_debugfs_setup(const char *name,
dentry            241 drivers/s390/block/dasd.c 					 struct dentry *base_dentry)
dentry            243 drivers/s390/block/dasd.c 	struct dentry *pde;
dentry            698 drivers/s390/block/dasd.c static struct dentry *dasd_debugfs_global_entry;
dentry           1099 drivers/s390/block/dasd.c 			      struct dentry *base_dentry)
dentry           1102 drivers/s390/block/dasd.c 	struct dentry *pde;
dentry           1106 drivers/s390/block/dasd.c 	profile->dentry = NULL;
dentry           1112 drivers/s390/block/dasd.c 		profile->dentry = pde;
dentry           1119 drivers/s390/block/dasd.c 	debugfs_remove(profile->dentry);
dentry           1120 drivers/s390/block/dasd.c 	profile->dentry = NULL;
dentry           1133 drivers/s390/block/dasd.c 	struct dentry *pde;
dentry           1175 drivers/s390/block/dasd.c 			      struct dentry *base_dentry)
dentry           1215 drivers/s390/block/dasd.c static void dasd_hosts_init(struct dentry *base_dentry,
dentry           1218 drivers/s390/block/dasd.c 	struct dentry *pde;
dentry            474 drivers/s390/block/dasd_int.h 	struct dentry *dentry;
dentry            546 drivers/s390/block/dasd_int.h 	struct dentry *debugfs_dentry;
dentry            547 drivers/s390/block/dasd_int.h 	struct dentry *hosts_dentry;
dentry            573 drivers/s390/block/dasd_int.h 	struct dentry *debugfs_dentry;
dentry             50 drivers/s390/char/zcore.c static struct dentry *zcore_dir;
dentry             51 drivers/s390/char/zcore.c static struct dentry *zcore_memmap_file;
dentry             52 drivers/s390/char/zcore.c static struct dentry *zcore_reipl_file;
dentry             53 drivers/s390/char/zcore.c static struct dentry *zcore_hsa_file;
dentry            261 drivers/s390/cio/qdio.h 	struct dentry *debugfs_q;
dentry            275 drivers/s390/cio/qdio.h 	struct dentry *debugfs_dev;
dentry            276 drivers/s390/cio/qdio.h 	struct dentry *debugfs_perf;
dentry             19 drivers/s390/cio/qdio_debug.c static struct dentry *debugfs_root;
dentry            437 drivers/scsi/bfa/bfad_debugfs.c static struct dentry *bfa_debugfs_root;
dentry            135 drivers/scsi/bfa/bfad_drv.h 	struct dentry *port_debugfs_root;
dentry            222 drivers/scsi/bfa/bfad_drv.h 	struct dentry *bfad_dentry_files[5];
dentry            554 drivers/scsi/csiostor/csio_hw.h 	struct dentry		*debugfs_root;		/* Debug FS */
dentry             55 drivers/scsi/csiostor/csio_init.c static struct dentry *csio_debugfs_root;
dentry            473 drivers/scsi/cxgbi/libcxgbi.h 	struct dentry *debugfs_root;
dentry            238 drivers/scsi/fnic/fnic.h 	struct dentry *fnic_stats_debugfs_host;
dentry            239 drivers/scsi/fnic/fnic.h 	struct dentry *fnic_stats_debugfs_file;
dentry            240 drivers/scsi/fnic/fnic.h 	struct dentry *fnic_reset_debugfs_file;
dentry             24 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_trace_debugfs_root;
dentry             25 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_trace_debugfs_file;
dentry             26 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_trace_enable;
dentry             27 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_stats_debugfs_root;
dentry             29 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_fc_trace_debugfs_file;
dentry             30 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_fc_rdata_trace_debugfs_file;
dentry             31 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_fc_trace_enable;
dentry             32 drivers/scsi/fnic/fnic_debugfs.c static struct dentry *fnic_fc_trace_clear;
dentry            414 drivers/scsi/hisi_sas/hisi_sas.h 	struct dentry *debugfs_dir;
dentry            415 drivers/scsi/hisi_sas/hisi_sas.h 	struct dentry *debugfs_dump_dentry;
dentry            416 drivers/scsi/hisi_sas/hisi_sas.h 	struct dentry *debugfs_bist_dentry;
dentry            559 drivers/scsi/hisi_sas/hisi_sas.h extern struct dentry *hisi_sas_debugfs_dir;
dentry           2693 drivers/scsi/hisi_sas/hisi_sas_main.c struct dentry *hisi_sas_debugfs_dir;
dentry           3195 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct dentry *dump_dentry;
dentry           3196 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct dentry *dentry;
dentry           3210 drivers/scsi/hisi_sas/hisi_sas_main.c 	dentry = debugfs_create_dir("port", dump_dentry);
dentry           3214 drivers/scsi/hisi_sas/hisi_sas_main.c 		debugfs_create_file(name, 0400, dentry, &hisi_hba->phy[p],
dentry           3219 drivers/scsi/hisi_sas/hisi_sas_main.c 	dentry = debugfs_create_dir("cq", dump_dentry);
dentry           3223 drivers/scsi/hisi_sas/hisi_sas_main.c 		debugfs_create_file(name, 0400, dentry, &hisi_hba->cq[c],
dentry           3228 drivers/scsi/hisi_sas/hisi_sas_main.c 	dentry = debugfs_create_dir("dq", dump_dentry);
dentry           3232 drivers/scsi/hisi_sas/hisi_sas_main.c 		debugfs_create_file(name, 0400, dentry, &hisi_hba->dq[d],
dentry            480 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_disc_trc;
dentry            481 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_nodelist;
dentry            482 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_nvmestat;
dentry            483 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_scsistat;
dentry            484 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_nvmektime;
dentry            485 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_cpucheck;
dentry            486 drivers/scsi/lpfc/lpfc.h 	struct dentry *vport_debugfs_root;
dentry           1037 drivers/scsi/lpfc/lpfc.h 	struct dentry *hba_debugfs_root;
dentry           1039 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_multixri_pools;
dentry           1040 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_hbqinfo;
dentry           1041 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_dumpHostSlim;
dentry           1042 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_dumpHBASlim;
dentry           1043 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_InjErrLBA;  /* LBA to inject errors at */
dentry           1044 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_InjErrNPortID;  /* NPortID to inject errors at */
dentry           1045 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_InjErrWWPN;  /* WWPN to inject errors at */
dentry           1046 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_writeGuard; /* inject write guard_tag errors */
dentry           1047 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_writeApp;   /* inject write app_tag errors */
dentry           1048 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_writeRef;   /* inject write ref_tag errors */
dentry           1049 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_readGuard;  /* inject read guard_tag errors */
dentry           1050 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_readApp;    /* inject read app_tag errors */
dentry           1051 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_readRef;    /* inject read ref_tag errors */
dentry           1053 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_nvmeio_trc;
dentry           1055 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_hdwqinfo;
dentry           1057 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_lockstat;
dentry           1075 drivers/scsi/lpfc/lpfc.h 	struct dentry *debug_slow_ring_trc;
dentry           1079 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_root;
dentry           1080 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_pci_cfg;
dentry           1081 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_bar_acc;
dentry           1082 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_que_info;
dentry           1083 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_que_acc;
dentry           1084 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_drb_acc;
dentry           1085 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_ctl_acc;
dentry           1086 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_mbx_acc;
dentry           1087 drivers/scsi/lpfc/lpfc.h 	struct dentry *idiag_ext_acc;
dentry           2169 drivers/scsi/lpfc/lpfc_debugfs.c 	struct dentry *dent = file->f_path.dentry;
dentry           2211 drivers/scsi/lpfc/lpfc_debugfs.c 	struct dentry *dent = file->f_path.dentry;
dentry           5376 drivers/scsi/lpfc/lpfc_debugfs.c static struct dentry *lpfc_debugfs_root = NULL;
dentry           2437 drivers/scsi/megaraid/megaraid_sas.h 	struct dentry *debugfs_root;
dentry           2438 drivers/scsi/megaraid/megaraid_sas.h 	struct dentry *raidmap_dump;
dentry            204 drivers/scsi/megaraid/megaraid_sas_base.c extern struct dentry *megasas_debugfs_root;
dentry             45 drivers/scsi/megaraid/megaraid_sas_debugfs.c struct dentry *megasas_debugfs_root;
dentry             68 drivers/scsi/qedf/qedf_dbg.h 	struct dentry *bdf_dentry;
dentry             15 drivers/scsi/qedf/qedf_debugfs.c static struct dentry *qedf_dbg_root;
dentry             68 drivers/scsi/qedi/qedi_dbg.h 	struct dentry *bdf_dentry;
dentry             15 drivers/scsi/qedi/qedi_debugfs.c static struct dentry *qedi_dbg_root;
dentry           3579 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_tgt_sess;
dentry           3580 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_tgt_port_database;
dentry           3581 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_naqp;
dentry           4104 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_dir;
dentry           4105 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_fce;
dentry           4106 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_tgt_counters;
dentry           4107 drivers/scsi/qla2xxx/qla_def.h 	struct dentry *dfs_fw_resource_cnt;
dentry             12 drivers/scsi/qla2xxx/qla_dfs.c static struct dentry *qla2x00_dfs_root;
dentry            335 drivers/scsi/snic/snic.h 	struct dentry *stats_host;	/* Per snic debugfs root */
dentry            336 drivers/scsi/snic/snic.h 	struct dentry *stats_file;	/* Per snic debugfs file */
dentry            337 drivers/scsi/snic/snic.h 	struct dentry *reset_stats_file;/* Per snic reset stats file */
dentry            364 drivers/scsi/snic/snic.h 	struct dentry *trc_root;
dentry            365 drivers/scsi/snic/snic.h 	struct dentry *stats_root;
dentry             50 drivers/scsi/snic/snic_trc.h 	struct dentry *trc_enable;	/* debugfs file object */
dentry             51 drivers/scsi/snic/snic_trc.h 	struct dentry *trc_file;
dentry            609 drivers/soc/amlogic/meson-clk-measure.c 	struct dentry *root, *clks;
dentry            152 drivers/soc/qcom/socinfo.c 	struct dentry *dbg_root;
dentry            301 drivers/soc/qcom/socinfo.c 	struct dentry *dentry;
dentry            388 drivers/soc/qcom/socinfo.c 		dentry = debugfs_create_dir(socinfo_image_names[i],
dentry            390 drivers/soc/qcom/socinfo.c 		debugfs_create_file("name", 0400, dentry, &versions[i],
dentry            392 drivers/soc/qcom/socinfo.c 		debugfs_create_file("variant", 0400, dentry, &versions[i],
dentry            394 drivers/soc/qcom/socinfo.c 		debugfs_create_file("oem", 0400, dentry, &versions[i],
dentry            324 drivers/soc/sunxi/sunxi_sram.c 	struct dentry *d;
dentry            320 drivers/soc/tegra/pmc.c 	struct dentry *debugfs;
dentry            332 drivers/soundwire/cadence_master.c void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root)
dentry            167 drivers/soundwire/cadence_master.h void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root);
dentry             12 drivers/soundwire/debugfs.c static struct dentry *sdw_debugfs_root;
dentry            123 drivers/soundwire/debugfs.c 	struct dentry *master;
dentry            124 drivers/soundwire/debugfs.c 	struct dentry *d;
dentry            107 drivers/soundwire/intel.c 	struct dentry *debugfs;
dentry            262 drivers/soundwire/intel.c 	struct dentry *root = sdw->cdns.bus.debugfs;
dentry            137 drivers/spi/spi-bcm2835.c 	struct dentry *debugfs_dir;
dentry            158 drivers/spi/spi-bcm2835.c 	struct dentry *dir;
dentry            104 drivers/spi/spi-bcm2835aux.c 	struct dentry *debugfs_dir;
dentry            112 drivers/spi/spi-bcm2835aux.c 	struct dentry *dir;
dentry            145 drivers/spi/spi-dw.h 	struct dentry *debugfs;
dentry            580 drivers/staging/android/ion/ion.c 	struct dentry *heap_root;
dentry             66 drivers/staging/android/ion/ion.h 	struct dentry *debug_root;
dentry           1963 drivers/staging/exfat/exfat_core.c 	int i, dentry, num_empty = 0;
dentry           1983 drivers/staging/exfat/exfat_core.c 		dentry = p_fs->hint_uentry.entry;
dentry           1991 drivers/staging/exfat/exfat_core.c 		dentry = 0;
dentry           1999 drivers/staging/exfat/exfat_core.c 			i = dentry % dentries_per_clu;
dentry           2001 drivers/staging/exfat/exfat_core.c 			i = dentry & (dentries_per_clu - 1);
dentry           2003 drivers/staging/exfat/exfat_core.c 		for (; i < dentries_per_clu; i++, dentry++) {
dentry           2014 drivers/staging/exfat/exfat_core.c 					p_fs->hint_uentry.entry = dentry;
dentry           2031 drivers/staging/exfat/exfat_core.c 					return dentry - (num_entries - 1);
dentry           2033 drivers/staging/exfat/exfat_core.c 					return dentry;
dentry           2056 drivers/staging/exfat/exfat_core.c 	s32 ret, dentry;
dentry           2069 drivers/staging/exfat/exfat_core.c 	while ((dentry = search_deleted_or_unused_entry(sb, p_dir, num_entries)) < 0) {
dentry           2137 drivers/staging/exfat/exfat_core.c 	return dentry;
dentry           2149 drivers/staging/exfat/exfat_core.c 	int i, dentry = 0, len;
dentry           2181 drivers/staging/exfat/exfat_core.c 		for (i = 0; i < dentries_per_clu; i++, dentry++) {
dentry           2191 drivers/staging/exfat/exfat_core.c 						return dentry;
dentry           2195 drivers/staging/exfat/exfat_core.c 						return dentry;
dentry           2247 drivers/staging/exfat/exfat_core.c 	int i = 0, dentry = 0, num_ext_entries = 0, len, step;
dentry           2304 drivers/staging/exfat/exfat_core.c 						p_fs->hint_uentry.entry = dentry - (num_empty - 1);
dentry           2353 drivers/staging/exfat/exfat_core.c 							return dentry - (num_ext_entries);
dentry           2364 drivers/staging/exfat/exfat_core.c 			dentry += step;
dentry           3203 drivers/staging/exfat/exfat_core.c 	s32 ret, dentry, num_entries;
dentry           3217 drivers/staging/exfat/exfat_core.c 	dentry = find_empty_entry(inode, p_dir, num_entries);
dentry           3218 drivers/staging/exfat/exfat_core.c 	if (dentry < 0)
dentry           3278 drivers/staging/exfat/exfat_core.c 	ret = fs_func->init_dir_entry(sb, p_dir, dentry, TYPE_DIR, clu.dir,
dentry           3283 drivers/staging/exfat/exfat_core.c 	ret = fs_func->init_ext_entry(sb, p_dir, dentry, num_entries, p_uniname,
dentry           3291 drivers/staging/exfat/exfat_core.c 	fid->entry = dentry;
dentry           3308 drivers/staging/exfat/exfat_core.c 	s32 ret, dentry, num_entries;
dentry           3320 drivers/staging/exfat/exfat_core.c 	dentry = find_empty_entry(inode, p_dir, num_entries);
dentry           3321 drivers/staging/exfat/exfat_core.c 	if (dentry < 0)
dentry           3328 drivers/staging/exfat/exfat_core.c 	ret = fs_func->init_dir_entry(sb, p_dir, dentry, TYPE_FILE | mode,
dentry           3333 drivers/staging/exfat/exfat_core.c 	ret = fs_func->init_ext_entry(sb, p_dir, dentry, num_entries, p_uniname,
dentry           3341 drivers/staging/exfat/exfat_core.c 	fid->entry = dentry;
dentry            172 drivers/staging/exfat/exfat_super.c static int __exfat_revalidate(struct dentry *dentry)
dentry            177 drivers/staging/exfat/exfat_super.c static int exfat_revalidate(struct dentry *dentry, unsigned int flags)
dentry            182 drivers/staging/exfat/exfat_super.c 	if (dentry->d_inode)
dentry            184 drivers/staging/exfat/exfat_super.c 	return __exfat_revalidate(dentry);
dentry            187 drivers/staging/exfat/exfat_super.c static int exfat_revalidate_ci(struct dentry *dentry, unsigned int flags)
dentry            192 drivers/staging/exfat/exfat_super.c 	if (dentry->d_inode)
dentry            201 drivers/staging/exfat/exfat_super.c 	return __exfat_revalidate(dentry);
dentry            216 drivers/staging/exfat/exfat_super.c static int exfat_d_hash(const struct dentry *dentry, struct qstr *qstr)
dentry            218 drivers/staging/exfat/exfat_super.c 	qstr->hash = full_name_hash(dentry, qstr->name,
dentry            223 drivers/staging/exfat/exfat_super.c static int exfat_d_hashi(const struct dentry *dentry, struct qstr *qstr)
dentry            225 drivers/staging/exfat/exfat_super.c 	struct super_block *sb = dentry->d_sb;
dentry            233 drivers/staging/exfat/exfat_super.c 	hash = init_name_hash(dentry);
dentry            241 drivers/staging/exfat/exfat_super.c static int exfat_cmpi(const struct dentry *dentry, unsigned int len,
dentry            244 drivers/staging/exfat/exfat_super.c 	struct nls_table *t = EXFAT_SB(dentry->d_sb)->nls_io;
dentry            261 drivers/staging/exfat/exfat_super.c static int exfat_cmp(const struct dentry *dentry, unsigned int len,
dentry            549 drivers/staging/exfat/exfat_super.c 	int ret, dentry, num_entries;
dentry            578 drivers/staging/exfat/exfat_super.c 	dentry = p_fs->fs_func->find_dir_entry(sb, &dir, &uni_name, num_entries,
dentry            580 drivers/staging/exfat/exfat_super.c 	if (dentry < -1) {
dentry            588 drivers/staging/exfat/exfat_super.c 	fid->entry = dentry;
dentry            590 drivers/staging/exfat/exfat_super.c 	if (dentry == -1) {
dentry            601 drivers/staging/exfat/exfat_super.c 			es = get_entry_set_in_dir(sb, &dir, dentry,
dentry            609 drivers/staging/exfat/exfat_super.c 			ep = get_entry_in_dir(sb, &dir, dentry, NULL);
dentry           1217 drivers/staging/exfat/exfat_super.c 		       struct inode *new_parent_inode, struct dentry *new_dentry)
dentry           1220 drivers/staging/exfat/exfat_super.c 	s32 dentry;
dentry           1250 drivers/staging/exfat/exfat_super.c 	dentry = fid->entry;
dentry           1254 drivers/staging/exfat/exfat_super.c 		if ((olddir.dir != p_fs->root_dir) && (dentry < 2)) {
dentry           1260 drivers/staging/exfat/exfat_super.c 	ep = get_entry_in_dir(sb, &olddir, dentry, NULL);
dentry           1311 drivers/staging/exfat/exfat_super.c 		ret = exfat_rename_file(new_parent_inode, &olddir, dentry,
dentry           1314 drivers/staging/exfat/exfat_super.c 		ret = move_file(new_parent_inode, &olddir, dentry, &newdir,
dentry           1347 drivers/staging/exfat/exfat_super.c 	s32 dentry;
dentry           1365 drivers/staging/exfat/exfat_super.c 	dentry = fid->entry;
dentry           1367 drivers/staging/exfat/exfat_super.c 	ep = get_entry_in_dir(sb, &dir, dentry, NULL);
dentry           1380 drivers/staging/exfat/exfat_super.c 	remove_file(inode, &dir, dentry);
dentry           1936 drivers/staging/exfat/exfat_super.c 	int i, dentry, clu_offset;
dentry           1970 drivers/staging/exfat/exfat_super.c 	dentry = (s32)fid->rwoffset;
dentry           1976 drivers/staging/exfat/exfat_super.c 		if (dentry == dentries_per_clu) {
dentry           1987 drivers/staging/exfat/exfat_super.c 		clu_offset = dentry >> dentries_per_clu_bits;
dentry           2019 drivers/staging/exfat/exfat_super.c 			i = dentry % dentries_per_clu;
dentry           2021 drivers/staging/exfat/exfat_super.c 			i = dentry & (dentries_per_clu - 1);
dentry           2023 drivers/staging/exfat/exfat_super.c 		for ( ; i < dentries_per_clu; i++, dentry++) {
dentry           2062 drivers/staging/exfat/exfat_super.c 			fs_func->get_uni_name_from_ext_entry(sb, &dir, dentry,
dentry           2090 drivers/staging/exfat/exfat_super.c 				fid->hint_last_off = dentry >>
dentry           2095 drivers/staging/exfat/exfat_super.c 			fid->rwoffset = (s64)(++dentry);
dentry           2121 drivers/staging/exfat/exfat_super.c 	fid->rwoffset = (s64)(++dentry);
dentry           2135 drivers/staging/exfat/exfat_super.c 	s32 dentry;
dentry           2149 drivers/staging/exfat/exfat_super.c 	dentry = fid->entry;
dentry           2153 drivers/staging/exfat/exfat_super.c 		if ((dir.dir != p_fs->root_dir) && (dentry < 2))
dentry           2172 drivers/staging/exfat/exfat_super.c 	remove_file(inode, &dir, dentry);
dentry           2223 drivers/staging/exfat/exfat_super.c 				inum = parent_ino(filp->f_path.dentry);
dentry           2264 drivers/staging/exfat/exfat_super.c 		inum = parent_ino(filp->f_path.dentry);
dentry           2304 drivers/staging/exfat/exfat_super.c struct inode *inode = filp->f_path.dentry->d_inode;
dentry           2350 drivers/staging/exfat/exfat_super.c static int exfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           2363 drivers/staging/exfat/exfat_super.c 	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_REGULAR, &fid);
dentry           2397 drivers/staging/exfat/exfat_super.c 	dentry->d_time = GET_IVERSION(dentry->d_parent->d_inode);
dentry           2398 drivers/staging/exfat/exfat_super.c 	d_instantiate(dentry, inode);
dentry           2421 drivers/staging/exfat/exfat_super.c static int exfat_d_anon_disconn(struct dentry *dentry)
dentry           2423 drivers/staging/exfat/exfat_super.c 	return IS_ROOT(dentry) && (dentry->d_flags & DCACHE_DISCONNECTED);
dentry           2426 drivers/staging/exfat/exfat_super.c static struct dentry *exfat_lookup(struct inode *dir, struct dentry *dentry,
dentry           2431 drivers/staging/exfat/exfat_super.c 	struct dentry *alias;
dentry           2440 drivers/staging/exfat/exfat_super.c 	err = exfat_find(dir, &dentry->d_name, &fid);
dentry           2473 drivers/staging/exfat/exfat_super.c 			d_move(alias, dentry);
dentry           2482 drivers/staging/exfat/exfat_super.c 	dentry->d_time = GET_IVERSION(dentry->d_parent->d_inode);
dentry           2483 drivers/staging/exfat/exfat_super.c 	dentry = d_splice_alias(inode, dentry);
dentry           2484 drivers/staging/exfat/exfat_super.c 	if (dentry)
dentry           2485 drivers/staging/exfat/exfat_super.c 		dentry->d_time = GET_IVERSION(dentry->d_parent->d_inode);
dentry           2487 drivers/staging/exfat/exfat_super.c 	return dentry;
dentry           2521 drivers/staging/exfat/exfat_super.c static int exfat_unlink(struct inode *dir, struct dentry *dentry)
dentry           2523 drivers/staging/exfat/exfat_super.c 	struct inode *inode = dentry->d_inode;
dentry           2559 drivers/staging/exfat/exfat_super.c static int exfat_symlink(struct inode *dir, struct dentry *dentry,
dentry           2574 drivers/staging/exfat/exfat_super.c 	err = ffsCreateFile(dir, (u8 *)dentry->d_name.name, FM_SYMLINK, &fid);
dentry           2623 drivers/staging/exfat/exfat_super.c 	dentry->d_time = GET_IVERSION(dentry->d_parent->d_inode);
dentry           2624 drivers/staging/exfat/exfat_super.c 	d_instantiate(dentry, inode);
dentry           2632 drivers/staging/exfat/exfat_super.c static int exfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2644 drivers/staging/exfat/exfat_super.c 	err = ffsCreateDir(dir, (u8 *)dentry->d_name.name, &fid);
dentry           2677 drivers/staging/exfat/exfat_super.c 	dentry->d_time = GET_IVERSION(dentry->d_parent->d_inode);
dentry           2678 drivers/staging/exfat/exfat_super.c 	d_instantiate(dentry, inode);
dentry           2686 drivers/staging/exfat/exfat_super.c static int exfat_rmdir(struct inode *dir, struct dentry *dentry)
dentry           2688 drivers/staging/exfat/exfat_super.c 	struct inode *inode = dentry->d_inode;
dentry           2731 drivers/staging/exfat/exfat_super.c static int exfat_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           2732 drivers/staging/exfat/exfat_super.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry           2929 drivers/staging/exfat/exfat_super.c static int exfat_setattr(struct dentry *dentry, struct iattr *attr)
dentry           2931 drivers/staging/exfat/exfat_super.c 	struct exfat_sb_info *sbi = EXFAT_SB(dentry->d_sb);
dentry           2932 drivers/staging/exfat/exfat_super.c 	struct inode *inode = dentry->d_inode;
dentry           2956 drivers/staging/exfat/exfat_super.c 	error = setattr_prepare(dentry, attr);
dentry           2998 drivers/staging/exfat/exfat_super.c 	struct inode *inode = path->dentry->d_inode;
dentry           3024 drivers/staging/exfat/exfat_super.c static const char *exfat_get_link(struct dentry *dentry, struct inode *inode,
dentry           3496 drivers/staging/exfat/exfat_super.c static int exfat_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           3498 drivers/staging/exfat/exfat_super.c 	struct super_block *sb = dentry->d_sb;
dentry           3536 drivers/staging/exfat/exfat_super.c static int exfat_show_options(struct seq_file *m, struct dentry *root)
dentry           3600 drivers/staging/exfat/exfat_super.c static struct dentry *exfat_fh_to_dentry(struct super_block *sb,
dentry           3608 drivers/staging/exfat/exfat_super.c static struct dentry *exfat_fh_to_parent(struct super_block *sb,
dentry           3932 drivers/staging/exfat/exfat_super.c static struct dentry *exfat_fs_mount(struct file_system_type *fs_type,
dentry             79 drivers/staging/fwserial/fwserial.c static struct dentry *fwserial_debugfs;
dentry            328 drivers/staging/fwserial/fwserial.h 	struct dentry	  *debugfs;
dentry             60 drivers/staging/greybus/camera.c 		struct dentry *root;
dentry           1149 drivers/staging/greybus/camera.c 		if (!strcmp(file->f_path.dentry->d_iname, entry->name)) {
dentry             41 drivers/staging/greybus/loopback.c 	struct dentry *root;
dentry             62 drivers/staging/greybus/loopback.c 	struct dentry *file;
dentry            236 drivers/staging/media/imx/imx7-mipi-csis.c 	struct dentry *debugfs_root;
dentry            917 drivers/staging/media/imx/imx7-mipi-csis.c 	struct dentry *d;
dentry             26 drivers/staging/unisys/visorhba/visorhba_main.c static struct dentry *visorhba_debugfs_dir;
dentry             91 drivers/staging/unisys/visorhba/visorhba_main.c 	struct dentry *debugfs_dir;
dentry             92 drivers/staging/unisys/visorhba/visorhba_main.c 	struct dentry *debugfs_info;
dentry            161 drivers/staging/unisys/visornic/visornic_main.c 	struct dentry *eth_debugfs_dir;
dentry           1572 drivers/staging/unisys/visornic/visornic_main.c static struct dentry *visornic_debugfs_dir;
dentry             46 drivers/staging/uwb/uwb-debug.c 	struct dentry *root_d;
dentry             47 drivers/staging/uwb/uwb-debug.c 	struct dentry *command_f;
dentry             48 drivers/staging/uwb/uwb-debug.c 	struct dentry *reservations_f;
dentry             49 drivers/staging/uwb/uwb-debug.c 	struct dentry *accept_f;
dentry             50 drivers/staging/uwb/uwb-debug.c 	struct dentry *drp_avail_f;
dentry             54 drivers/staging/uwb/uwb-debug.c static struct dentry *root_dir;
dentry            347 drivers/staging/uwb/uwb-debug.c struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal)
dentry            354 drivers/staging/uwb/uwb-internal.h struct dentry *uwb_dbg_create_pal_dir(struct uwb_pal *pal);
dentry            449 drivers/staging/uwb/uwb.h 	struct dentry *debugfs_dir;
dentry             27 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static struct dentry *vchiq_dbg_dir;
dentry             28 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c static struct dentry *vchiq_dbg_clients;
dentry            190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	struct dentry *top;
dentry            201 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	vchiq_instance_get_debugfs_node(instance)->dentry = top;
dentry            209 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	debugfs_remove_recursive(node->dentry);
dentry            214 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c 	struct dentry *dir;
dentry             10 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.h     struct dentry *dentry;
dentry             18 drivers/staging/wusbcore/host/whci/debug.c 	struct dentry *di_f;
dentry             19 drivers/staging/wusbcore/host/whci/debug.c 	struct dentry *asl_f;
dentry             20 drivers/staging/wusbcore/host/whci/debug.c 	struct dentry *pzl_f;
dentry             70 drivers/thermal/broadcom/bcm2835_thermal.c 	struct dentry *debugfsdir;
dentry             59 drivers/thermal/intel/intel_powerclamp.c static struct dentry *debug_dir;
dentry             74 drivers/thermal/intel/x86_pkg_temp_thermal.c static struct dentry *debugfs;
dentry            346 drivers/thermal/tegra/soctherm.c 	struct dentry *debugfs_dir;
dentry           1488 drivers/thermal/tegra/soctherm.c 	struct dentry *root;
dentry            645 drivers/tty/pty.c 	path.dentry = tty->link->driver_data;
dentry            730 drivers/tty/pty.c 	tty = devpts_get_priv(file->f_path.dentry);
dentry            815 drivers/tty/pty.c 	struct dentry *dentry;
dentry            863 drivers/tty/pty.c 	dentry = devpts_pty_new(fsi, index, tty->link);
dentry            864 drivers/tty/pty.c 	if (IS_ERR(dentry)) {
dentry            865 drivers/tty/pty.c 		retval = PTR_ERR(dentry);
dentry            868 drivers/tty/pty.c 	tty->link->driver_data = dentry;
dentry            242 drivers/tty/serial/pch_uart.c 	struct dentry	*debugfs;
dentry            251 drivers/usb/chipidea/ci.h 	struct dentry			*debugfs;
dentry            296 drivers/usb/common/common.c struct dentry *usb_debug_root;
dentry            966 drivers/usb/core/usb.c static struct dentry *usb_devices_root;
dentry            154 drivers/usb/dwc2/core.h 	struct dentry           *debugfs;
dentry           1083 drivers/usb/dwc2/core.h 	struct dentry *debug_root;
dentry            293 drivers/usb/dwc2/debugfs.c 	struct dentry *root;
dentry            771 drivers/usb/dwc2/debugfs.c 	struct dentry		*root;
dentry           1175 drivers/usb/dwc3/core.h 	struct dentry		*root;
dentry            869 drivers/usb/dwc3/debugfs.c 		struct dentry *parent)
dentry            882 drivers/usb/dwc3/debugfs.c 		struct dentry *parent)
dentry            884 drivers/usb/dwc3/debugfs.c 	struct dentry		*dir;
dentry            891 drivers/usb/dwc3/debugfs.c 		struct dentry *parent)
dentry            907 drivers/usb/dwc3/debugfs.c 	struct dentry		*root;
dentry            136 drivers/usb/gadget/function/f_fs.c 	struct dentry			*dentry;
dentry            241 drivers/usb/gadget/function/f_fs.c static struct dentry *
dentry           1421 drivers/usb/gadget/function/f_fs.c static struct dentry *ffs_sb_create_file(struct super_block *sb,
dentry           1426 drivers/usb/gadget/function/f_fs.c 	struct dentry	*dentry;
dentry           1431 drivers/usb/gadget/function/f_fs.c 	dentry = d_alloc_name(sb->s_root, name);
dentry           1432 drivers/usb/gadget/function/f_fs.c 	if (unlikely(!dentry))
dentry           1437 drivers/usb/gadget/function/f_fs.c 		dput(dentry);
dentry           1441 drivers/usb/gadget/function/f_fs.c 	d_add(dentry, inode);
dentry           1442 drivers/usb/gadget/function/f_fs.c 	return dentry;
dentry           1907 drivers/usb/gadget/function/f_fs.c 		epfile->dentry = ffs_sb_create_file(ffs->sb, epfile->name,
dentry           1910 drivers/usb/gadget/function/f_fs.c 		if (unlikely(!epfile->dentry)) {
dentry           1928 drivers/usb/gadget/function/f_fs.c 		if (epfile->dentry) {
dentry           1929 drivers/usb/gadget/function/f_fs.c 			d_delete(epfile->dentry);
dentry           1930 drivers/usb/gadget/function/f_fs.c 			dput(epfile->dentry);
dentry           1931 drivers/usb/gadget/function/f_fs.c 			epfile->dentry = NULL;
dentry            144 drivers/usb/gadget/legacy/inode.c 	struct dentry			*dentry;
dentry            202 drivers/usb/gadget/legacy/inode.c 	struct dentry			*dentry;
dentry           1537 drivers/usb/gadget/legacy/inode.c 		struct dentry	*dentry;
dentry           1544 drivers/usb/gadget/legacy/inode.c 		dentry = ep->dentry;
dentry           1545 drivers/usb/gadget/legacy/inode.c 		ep->dentry = NULL;
dentry           1546 drivers/usb/gadget/legacy/inode.c 		parent = d_inode(dentry->d_parent);
dentry           1562 drivers/usb/gadget/legacy/inode.c 		d_delete (dentry);
dentry           1563 drivers/usb/gadget/legacy/inode.c 		dput (dentry);
dentry           1572 drivers/usb/gadget/legacy/inode.c static struct dentry *
dentry           1602 drivers/usb/gadget/legacy/inode.c 		data->dentry = gadgetfs_create_file (dev->sb, data->name,
dentry           1604 drivers/usb/gadget/legacy/inode.c 		if (!data->dentry)
dentry           1966 drivers/usb/gadget/legacy/inode.c static struct dentry *
dentry           1970 drivers/usb/gadget/legacy/inode.c 	struct dentry	*dentry;
dentry           1973 drivers/usb/gadget/legacy/inode.c 	dentry = d_alloc_name(sb->s_root, name);
dentry           1974 drivers/usb/gadget/legacy/inode.c 	if (!dentry)
dentry           1980 drivers/usb/gadget/legacy/inode.c 		dput(dentry);
dentry           1983 drivers/usb/gadget/legacy/inode.c 	d_add (dentry, inode);
dentry           1984 drivers/usb/gadget/legacy/inode.c 	return dentry;
dentry           2030 drivers/usb/gadget/legacy/inode.c 	dev->dentry = gadgetfs_create_file(sb, CHIP, dev, &ep0_operations);
dentry           2031 drivers/usb/gadget/legacy/inode.c 	if (!dev->dentry) {
dentry            206 drivers/usb/gadget/udc/atmel_usba_udc.c 	struct dentry *ep_root;
dentry            226 drivers/usb/gadget/udc/atmel_usba_udc.c 	struct dentry *root;
dentry            289 drivers/usb/gadget/udc/atmel_usba_udc.h 	struct dentry				*debugfs_dir;
dentry            344 drivers/usb/gadget/udc/atmel_usba_udc.h 	struct dentry *debugfs_root;
dentry            330 drivers/usb/gadget/udc/bcm63xx_udc.c 	struct dentry			*debugfs_root;
dentry           2246 drivers/usb/gadget/udc/bcm63xx_udc.c 	struct dentry *root;
dentry            219 drivers/usb/gadget/udc/gr_udc.h 	struct dentry *dfs_root;
dentry            130 drivers/usb/gadget/udc/lpc32xx_udc.c 	struct dentry		*pde;
dentry            121 drivers/usb/gadget/udc/pxa25x_udc.h 	struct dentry				*debugfs_udc;
dentry            208 drivers/usb/gadget/udc/pxa27x_udc.c 	struct dentry *root;
dentry            478 drivers/usb/gadget/udc/pxa27x_udc.h 	struct dentry				*debugfs_root;
dentry            339 drivers/usb/gadget/udc/renesas_usb3.c 	struct dentry *dentry;
dentry           2539 drivers/usb/gadget/udc/renesas_usb3.c 	usb3->dentry = debugfs_create_dir(dev_name(dev), NULL);
dentry           2541 drivers/usb/gadget/udc/renesas_usb3.c 	debugfs_create_file("b_device", 0644, usb3->dentry, usb3,
dentry           2550 drivers/usb/gadget/udc/renesas_usb3.c 	debugfs_remove_recursive(usb3->dentry);
dentry             62 drivers/usb/gadget/udc/s3c2410_udc.c static struct dentry		*s3c2410_udc_debugfs_root;
dentry             92 drivers/usb/gadget/udc/s3c2410_udc.h 	struct dentry			*regs_info;
dentry            331 drivers/usb/host/ehci-dbg.c static struct dentry *ehci_debug_root;
dentry            245 drivers/usb/host/ehci.h 	struct dentry		*debug_dir;
dentry            264 drivers/usb/host/fhci.h 	struct dentry *dfs_root;
dentry            311 drivers/usb/host/fotg210-hcd.c static struct dentry *fotg210_debug_root;
dentry            849 drivers/usb/host/fotg210-hcd.c 	struct dentry *root;
dentry            189 drivers/usb/host/fotg210.h 	struct dentry		*debug_dir;
dentry            420 drivers/usb/host/imx21-dbg.c 	struct dentry *root;
dentry            418 drivers/usb/host/imx21-hcd.h 	struct dentry *debug_root;
dentry           1203 drivers/usb/host/isp116x-hcd.c 	isp116x->dentry = debugfs_create_file(hcd_name,
dentry           1210 drivers/usb/host/isp116x-hcd.c 	debugfs_remove(isp116x->dentry);
dentry            263 drivers/usb/host/isp116x.h 	struct dentry *dentry;
dentry            438 drivers/usb/host/isp1362.h 	struct dentry		*debug_file;
dentry            389 drivers/usb/host/ohci-dbg.c static struct dentry *ohci_debug_root;
dentry            765 drivers/usb/host/ohci-dbg.c 	struct dentry *root;
dentry            435 drivers/usb/host/ohci.h 	struct dentry		*debug_dir;
dentry            126 drivers/usb/host/sl811.h 	struct dentry 		*debug_file;
dentry             22 drivers/usb/host/uhci-debug.c static struct dentry *uhci_debugfs_root;
dentry            539 drivers/usb/host/uhci-hcd.c 	debugfs_remove(uhci->dentry);
dentry            580 drivers/usb/host/uhci-hcd.c 	struct dentry __maybe_unused *dentry;
dentry            593 drivers/usb/host/uhci-hcd.c 	uhci->dentry = debugfs_create_file(hcd->self.bus_name,
dentry            705 drivers/usb/host/uhci-hcd.c 	debugfs_remove(uhci->dentry);
dentry            386 drivers/usb/host/uhci-hcd.h 	struct dentry *dentry;
dentry             84 drivers/usb/host/xhci-debugfs.c static struct dentry *xhci_debugfs_root;
dentry            115 drivers/usb/host/xhci-debugfs.c 				size_t nregs, struct dentry *parent,
dentry            401 drivers/usb/host/xhci-debugfs.c 				      struct dentry *parent,
dentry            410 drivers/usb/host/xhci-debugfs.c static struct dentry *xhci_debugfs_create_ring_dir(struct xhci_hcd *xhci,
dentry            413 drivers/usb/host/xhci-debugfs.c 						   struct dentry *parent)
dentry            415 drivers/usb/host/xhci-debugfs.c 	struct dentry		*dir;
dentry            425 drivers/usb/host/xhci-debugfs.c 					      struct dentry *parent,
dentry            518 drivers/usb/host/xhci-debugfs.c 				      struct dentry *parent)
dentry            523 drivers/usb/host/xhci-debugfs.c 	struct dentry		*dir;
dentry             93 drivers/usb/host/xhci-debugfs.h 	struct dentry		*root;
dentry             98 drivers/usb/host/xhci-debugfs.h 	struct dentry		*root;
dentry           1899 drivers/usb/host/xhci.h 	struct dentry		*debugfs_root;
dentry           1900 drivers/usb/host/xhci.h 	struct dentry		*debugfs_slots;
dentry             96 drivers/usb/mon/mon_text.c static struct dentry *mon_dir;		/* Usually /sys/kernel/debug/usbmon */
dentry             25 drivers/usb/mon/usb_mon.h 	struct dentry *dent_s;		/* Debugging file */
dentry             26 drivers/usb/mon/usb_mon.h 	struct dentry *dent_t;		/* Text interface file */
dentry             27 drivers/usb/mon/usb_mon.h 	struct dentry *dent_u;		/* Second text interface file */
dentry            264 drivers/usb/mtu3/mtu3.h 	struct dentry *dbgfs_root;
dentry            125 drivers/usb/mtu3/mtu3_debugfs.c 				const char *name, struct dentry *parent)
dentry            144 drivers/usb/mtu3/mtu3_debugfs.c 				   struct dentry *parent)
dentry            353 drivers/usb/mtu3/mtu3_debugfs.c 	struct dentry *dir_prb;
dentry            369 drivers/usb/mtu3/mtu3_debugfs.c 				       struct dentry *parent)
dentry            372 drivers/usb/mtu3/mtu3_debugfs.c 	struct dentry *dir_ep;
dentry            389 drivers/usb/mtu3/mtu3_debugfs.c 	struct dentry *dir_eps;
dentry            403 drivers/usb/mtu3/mtu3_debugfs.c 	struct dentry *dir_regs;
dentry            523 drivers/usb/mtu3/mtu3_debugfs.c 	struct dentry *root = ssusb->dbgfs_root;
dentry            407 drivers/usb/musb/musb_core.h 	struct dentry		*debugfs_root;
dentry            326 drivers/usb/musb/musb_debugfs.c 	struct dentry *root;
dentry            113 drivers/usb/musb/musb_dsps.c 	struct dentry *dbgfs_root;
dentry            410 drivers/usb/musb/musb_dsps.c 	struct dentry *root;
dentry            114 drivers/usb/typec/tcpm/fusb302.c 	struct dentry *dentry;
dentry            216 drivers/usb/typec/tcpm/fusb302.c 	chip->dentry = debugfs_create_file(name, S_IFREG | 0444, usb_debug_root,
dentry            222 drivers/usb/typec/tcpm/fusb302.c 	debugfs_remove(chip->dentry);
dentry            326 drivers/usb/typec/tcpm/tcpm.c 	struct dentry *dentry;
dentry            581 drivers/usb/typec/tcpm/tcpm.c 	port->dentry = debugfs_create_file(name, S_IFREG | 0444, usb_debug_root,
dentry            596 drivers/usb/typec/tcpm/tcpm.c 	debugfs_remove(port->dentry);
dentry             10 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *dir;
dentry             11 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *sysconf;
dentry             12 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *clock;
dentry             13 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *display;
dentry             14 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *gsctl;
dentry             15 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *sdram;
dentry             16 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *misc;
dentry            214 drivers/video/fbdev/mbx/mbxdebugfs.c 	struct dentry *dir;
dentry             77 drivers/video/fbdev/mbx/mbxfb.c 	struct dentry *debugfs_dir;
dentry            100 drivers/video/fbdev/omap2/omapfb/dss/core.c static struct dentry *dss_debugfs_dir;
dentry            332 drivers/video/fbdev/omap2/omapfb/dss/dss.h struct dentry;
dentry             24 drivers/visorbus/visorbus_main.c static struct dentry *visorbus_debugfs_dir;
dentry             54 drivers/watchdog/bcm_kona_wdt.c 	struct dentry *debugfs;
dentry            137 drivers/watchdog/bcm_kona_wdt.c 	struct dentry *dir;
dentry             71 drivers/watchdog/ie6xx_wdt.c 	struct dentry *debugfs;
dentry            104 drivers/watchdog/mei_wdt.c 	struct dentry *dbgfs_dir;
dentry            542 drivers/watchdog/mei_wdt.c 	struct dentry *dir;
dentry            216 fs/9p/acl.c    			      struct dentry *dentry, struct inode *inode,
dentry            223 fs/9p/acl.c    	v9ses = v9fs_dentry2v9ses(dentry);
dentry            228 fs/9p/acl.c    		return v9fs_xattr_get(dentry, handler->name, buffer, size);
dentry            242 fs/9p/acl.c    			      struct dentry *dentry, struct inode *inode,
dentry            250 fs/9p/acl.c    	v9ses = v9fs_dentry2v9ses(dentry);
dentry            256 fs/9p/acl.c    		return v9fs_xattr_set(dentry, handler->name, value, size,
dentry            300 fs/9p/acl.c    			v9fs_vfs_setattr_dotl(dentry, &iattr);
dentry            312 fs/9p/acl.c    	retval = v9fs_xattr_set(dentry, handler->name, value, size, flags);
dentry             29 fs/9p/fid.c    static inline void __add_fid(struct dentry *dentry, struct p9_fid *fid)
dentry             31 fs/9p/fid.c    	hlist_add_head(&fid->dlist, (struct hlist_head *)&dentry->d_fsdata);
dentry             34 fs/9p/fid.c    void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid)
dentry             36 fs/9p/fid.c    	spin_lock(&dentry->d_lock);
dentry             37 fs/9p/fid.c    	__add_fid(dentry, fid);
dentry             38 fs/9p/fid.c    	spin_unlock(&dentry->d_lock);
dentry             49 fs/9p/fid.c    static struct p9_fid *v9fs_fid_find(struct dentry *dentry, kuid_t uid, int any)
dentry             54 fs/9p/fid.c    		 dentry, dentry, from_kuid(&init_user_ns, uid),
dentry             58 fs/9p/fid.c    	if (dentry->d_fsdata) {
dentry             59 fs/9p/fid.c    		struct hlist_head *h = (struct hlist_head *)&dentry->d_fsdata;
dentry             60 fs/9p/fid.c    		spin_lock(&dentry->d_lock);
dentry             67 fs/9p/fid.c    		spin_unlock(&dentry->d_lock);
dentry             79 fs/9p/fid.c    				  struct dentry *dentry, const unsigned char ***names)
dentry             83 fs/9p/fid.c    	struct dentry *ds;
dentry             85 fs/9p/fid.c    	for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent)
dentry             92 fs/9p/fid.c    	for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent)
dentry            101 fs/9p/fid.c    static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry,
dentry            104 fs/9p/fid.c    	struct dentry *ds;
dentry            110 fs/9p/fid.c    	v9ses = v9fs_dentry2v9ses(dentry);
dentry            112 fs/9p/fid.c    	fid = v9fs_fid_find(dentry, uid, any);
dentry            121 fs/9p/fid.c    	ds = dentry->d_parent;
dentry            125 fs/9p/fid.c    		fid = p9_client_walk(fid, 1, &dentry->d_name.name, 1);
dentry            131 fs/9p/fid.c    	fid = v9fs_fid_find(dentry->d_sb->s_root, uid, any);
dentry            147 fs/9p/fid.c    		v9fs_fid_add(dentry->d_sb->s_root, fid);
dentry            150 fs/9p/fid.c    	if (dentry->d_sb->s_root == dentry)
dentry            158 fs/9p/fid.c    	n  = build_path_from_dentry(v9ses, dentry, &wnames);
dentry            191 fs/9p/fid.c    		spin_lock(&dentry->d_lock);
dentry            192 fs/9p/fid.c    		if (d_unhashed(dentry)) {
dentry            193 fs/9p/fid.c    			spin_unlock(&dentry->d_lock);
dentry            197 fs/9p/fid.c    			__add_fid(dentry, fid);
dentry            198 fs/9p/fid.c    			spin_unlock(&dentry->d_lock);
dentry            216 fs/9p/fid.c    struct p9_fid *v9fs_fid_lookup(struct dentry *dentry)
dentry            222 fs/9p/fid.c    	v9ses = v9fs_dentry2v9ses(dentry);
dentry            242 fs/9p/fid.c    	return v9fs_fid_lookup_with_uid(dentry, uid, any);
dentry            245 fs/9p/fid.c    struct p9_fid *v9fs_writeback_fid(struct dentry *dentry)
dentry            250 fs/9p/fid.c    	fid = clone_fid(v9fs_fid_lookup_with_uid(dentry, GLOBAL_ROOT_UID, 0));
dentry             11 fs/9p/fid.h    struct p9_fid *v9fs_fid_lookup(struct dentry *dentry);
dentry             12 fs/9p/fid.h    static inline struct p9_fid *v9fs_parent_fid(struct dentry *dentry)
dentry             14 fs/9p/fid.h    	return v9fs_fid_lookup(dentry->d_parent);
dentry             16 fs/9p/fid.h    void v9fs_fid_add(struct dentry *dentry, struct p9_fid *fid);
dentry             17 fs/9p/fid.h    struct p9_fid *v9fs_writeback_fid(struct dentry *dentry);
dentry             22 fs/9p/fid.h    static inline struct p9_fid *v9fs_fid_clone(struct dentry *dentry)
dentry             24 fs/9p/fid.h    	return clone_fid(v9fs_fid_lookup(dentry));
dentry            106 fs/9p/v9fs.c   int v9fs_show_options(struct seq_file *m, struct dentry *root)
dentry            127 fs/9p/v9fs.h   extern int v9fs_show_options(struct seq_file *m, struct dentry *root);
dentry            134 fs/9p/v9fs.h   extern struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            136 fs/9p/v9fs.h   extern int v9fs_vfs_unlink(struct inode *i, struct dentry *d);
dentry            137 fs/9p/v9fs.h   extern int v9fs_vfs_rmdir(struct inode *i, struct dentry *d);
dentry            138 fs/9p/v9fs.h   extern int v9fs_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            139 fs/9p/v9fs.h   			   struct inode *new_dir, struct dentry *new_dentry,
dentry            163 fs/9p/v9fs.h   static inline struct v9fs_session_info *v9fs_dentry2v9ses(struct dentry *dentry)
dentry            165 fs/9p/v9fs.h   	return dentry->d_sb->s_fs_info;
dentry             62 fs/9p/v9fs_vfs.h int v9fs_vfs_setattr_dotl(struct dentry *, struct iattr *);
dentry             35 fs/9p/vfs_dentry.c static int v9fs_cached_dentry_delete(const struct dentry *dentry)
dentry             38 fs/9p/vfs_dentry.c 		 dentry, dentry);
dentry             41 fs/9p/vfs_dentry.c 	if (d_really_is_negative(dentry))
dentry             52 fs/9p/vfs_dentry.c static void v9fs_dentry_release(struct dentry *dentry)
dentry             56 fs/9p/vfs_dentry.c 		 dentry, dentry);
dentry             57 fs/9p/vfs_dentry.c 	hlist_for_each_safe(p, n, (struct hlist_head *)&dentry->d_fsdata)
dentry             59 fs/9p/vfs_dentry.c 	dentry->d_fsdata = NULL;
dentry             62 fs/9p/vfs_dentry.c static int v9fs_lookup_revalidate(struct dentry *dentry, unsigned int flags)
dentry             71 fs/9p/vfs_dentry.c 	inode = d_inode(dentry);
dentry             79 fs/9p/vfs_dentry.c 		fid = v9fs_fid_lookup(dentry);
dentry            586 fs/9p/vfs_inode.c static int v9fs_remove(struct inode *dir, struct dentry *dentry, int flags)
dentry            594 fs/9p/vfs_inode.c 		 dir, dentry, flags);
dentry            597 fs/9p/vfs_inode.c 	inode = d_inode(dentry);
dentry            598 fs/9p/vfs_inode.c 	dfid = v9fs_parent_fid(dentry);
dentry            605 fs/9p/vfs_inode.c 		retval = p9_client_unlinkat(dfid, dentry->d_name.name,
dentry            609 fs/9p/vfs_inode.c 		v9fid = v9fs_fid_clone(dentry);
dentry            643 fs/9p/vfs_inode.c 		struct dentry *dentry, char *extension, u32 perm, u8 mode)
dentry            650 fs/9p/vfs_inode.c 	p9_debug(P9_DEBUG_VFS, "name %pd\n", dentry);
dentry            655 fs/9p/vfs_inode.c 	name = dentry->d_name.name;
dentry            656 fs/9p/vfs_inode.c 	dfid = v9fs_parent_fid(dentry);
dentry            697 fs/9p/vfs_inode.c 		v9fs_fid_add(dentry, fid);
dentry            698 fs/9p/vfs_inode.c 		d_instantiate(dentry, inode);
dentry            724 fs/9p/vfs_inode.c v9fs_vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            732 fs/9p/vfs_inode.c 	fid = v9fs_create(v9ses, dir, dentry, NULL, perm, P9_ORDWR);
dentry            750 fs/9p/vfs_inode.c static int v9fs_vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            757 fs/9p/vfs_inode.c 	p9_debug(P9_DEBUG_VFS, "name %pd\n", dentry);
dentry            761 fs/9p/vfs_inode.c 	fid = v9fs_create(v9ses, dir, dentry, NULL, perm, P9_OREAD);
dentry            784 fs/9p/vfs_inode.c struct dentry *v9fs_vfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            787 fs/9p/vfs_inode.c 	struct dentry *res;
dentry            794 fs/9p/vfs_inode.c 		 dir, dentry, dentry, flags);
dentry            796 fs/9p/vfs_inode.c 	if (dentry->d_name.len > NAME_MAX)
dentry            801 fs/9p/vfs_inode.c 	dfid = v9fs_parent_fid(dentry);
dentry            810 fs/9p/vfs_inode.c 	name = dentry->d_name.name;
dentry            827 fs/9p/vfs_inode.c 	res = d_splice_alias(inode, dentry);
dentry            830 fs/9p/vfs_inode.c 			v9fs_fid_add(dentry, fid);
dentry            840 fs/9p/vfs_inode.c v9fs_vfs_atomic_open(struct inode *dir, struct dentry *dentry,
dentry            848 fs/9p/vfs_inode.c 	struct dentry *res = NULL;
dentry            850 fs/9p/vfs_inode.c 	if (d_in_lookup(dentry)) {
dentry            851 fs/9p/vfs_inode.c 		res = v9fs_vfs_lookup(dir, dentry, 0);
dentry            856 fs/9p/vfs_inode.c 			dentry = res;
dentry            860 fs/9p/vfs_inode.c 	if (!(flags & O_CREAT) || d_really_is_positive(dentry))
dentry            867 fs/9p/vfs_inode.c 	fid = v9fs_create(v9ses, dir, dentry, NULL, perm,
dentry            877 fs/9p/vfs_inode.c 	v9inode = V9FS_I(d_inode(dentry));
dentry            889 fs/9p/vfs_inode.c 		inode_fid = v9fs_writeback_fid(dentry);
dentry            898 fs/9p/vfs_inode.c 	err = finish_open(file, dentry, generic_file_open);
dentry            904 fs/9p/vfs_inode.c 		v9fs_cache_inode_set_cookie(d_inode(dentry), file);
dentry            924 fs/9p/vfs_inode.c int v9fs_vfs_unlink(struct inode *i, struct dentry *d)
dentry            936 fs/9p/vfs_inode.c int v9fs_vfs_rmdir(struct inode *i, struct dentry *d)
dentry            951 fs/9p/vfs_inode.c v9fs_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            952 fs/9p/vfs_inode.c 		struct inode *new_dir, struct dentry *new_dentry,
dentry           1055 fs/9p/vfs_inode.c 	struct dentry *dentry = path->dentry;
dentry           1060 fs/9p/vfs_inode.c 	p9_debug(P9_DEBUG_VFS, "dentry: %p\n", dentry);
dentry           1061 fs/9p/vfs_inode.c 	v9ses = v9fs_dentry2v9ses(dentry);
dentry           1063 fs/9p/vfs_inode.c 		generic_fillattr(d_inode(dentry), stat);
dentry           1066 fs/9p/vfs_inode.c 	fid = v9fs_fid_lookup(dentry);
dentry           1074 fs/9p/vfs_inode.c 	v9fs_stat2inode(st, d_inode(dentry), dentry->d_sb, 0);
dentry           1075 fs/9p/vfs_inode.c 	generic_fillattr(d_inode(dentry), stat);
dentry           1089 fs/9p/vfs_inode.c static int v9fs_vfs_setattr(struct dentry *dentry, struct iattr *iattr)
dentry           1097 fs/9p/vfs_inode.c 	retval = setattr_prepare(dentry, iattr);
dentry           1102 fs/9p/vfs_inode.c 	v9ses = v9fs_dentry2v9ses(dentry);
dentry           1103 fs/9p/vfs_inode.c 	fid = v9fs_fid_lookup(dentry);
dentry           1129 fs/9p/vfs_inode.c 	if (d_is_reg(dentry))
dentry           1130 fs/9p/vfs_inode.c 		filemap_write_and_wait(d_inode(dentry)->i_mapping);
dentry           1137 fs/9p/vfs_inode.c 	    iattr->ia_size != i_size_read(d_inode(dentry)))
dentry           1138 fs/9p/vfs_inode.c 		truncate_setsize(d_inode(dentry), iattr->ia_size);
dentry           1140 fs/9p/vfs_inode.c 	v9fs_invalidate_inode_attr(d_inode(dentry));
dentry           1142 fs/9p/vfs_inode.c 	setattr_copy(d_inode(dentry), iattr);
dentry           1143 fs/9p/vfs_inode.c 	mark_inode_dirty(d_inode(dentry));
dentry           1234 fs/9p/vfs_inode.c static const char *v9fs_vfs_get_link(struct dentry *dentry,
dentry           1243 fs/9p/vfs_inode.c 	if (!dentry)
dentry           1246 fs/9p/vfs_inode.c 	v9ses = v9fs_dentry2v9ses(dentry);
dentry           1247 fs/9p/vfs_inode.c 	fid = v9fs_fid_lookup(dentry);
dentry           1248 fs/9p/vfs_inode.c 	p9_debug(P9_DEBUG_VFS, "%pd\n", dentry);
dentry           1285 fs/9p/vfs_inode.c static int v9fs_vfs_mkspecial(struct inode *dir, struct dentry *dentry,
dentry           1297 fs/9p/vfs_inode.c 	fid = v9fs_create(v9ses, dir, dentry, (char *) extension, perm,
dentry           1318 fs/9p/vfs_inode.c v9fs_vfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
dentry           1321 fs/9p/vfs_inode.c 		 dir->i_ino, dentry, symname);
dentry           1323 fs/9p/vfs_inode.c 	return v9fs_vfs_mkspecial(dir, dentry, P9_DMSYMLINK, symname);
dentry           1337 fs/9p/vfs_inode.c v9fs_vfs_link(struct dentry *old_dentry, struct inode *dir,
dentry           1338 fs/9p/vfs_inode.c 	      struct dentry *dentry)
dentry           1345 fs/9p/vfs_inode.c 		 dir->i_ino, dentry, old_dentry);
dentry           1352 fs/9p/vfs_inode.c 	retval = v9fs_vfs_mkspecial(dir, dentry, P9_DMLINK, name);
dentry           1371 fs/9p/vfs_inode.c v9fs_vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry           1379 fs/9p/vfs_inode.c 		 dir->i_ino, dentry, mode,
dentry           1391 fs/9p/vfs_inode.c 	retval = v9fs_vfs_mkspecial(dir, dentry, perm, name);
dentry             36 fs/9p/vfs_inode_dotl.c v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
dentry            221 fs/9p/vfs_inode_dotl.c v9fs_vfs_create_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
dentry            224 fs/9p/vfs_inode_dotl.c 	return v9fs_vfs_mknod_dotl(dir, dentry, omode, 0);
dentry            228 fs/9p/vfs_inode_dotl.c v9fs_vfs_atomic_open_dotl(struct inode *dir, struct dentry *dentry,
dentry            242 fs/9p/vfs_inode_dotl.c 	struct dentry *res = NULL;
dentry            244 fs/9p/vfs_inode_dotl.c 	if (d_in_lookup(dentry)) {
dentry            245 fs/9p/vfs_inode_dotl.c 		res = v9fs_vfs_lookup(dir, dentry, 0);
dentry            250 fs/9p/vfs_inode_dotl.c 			dentry = res;
dentry            254 fs/9p/vfs_inode_dotl.c 	if (!(flags & O_CREAT) || d_really_is_positive(dentry))
dentry            259 fs/9p/vfs_inode_dotl.c 	name = dentry->d_name.name;
dentry            263 fs/9p/vfs_inode_dotl.c 	dfid = v9fs_parent_fid(dentry);
dentry            314 fs/9p/vfs_inode_dotl.c 	v9fs_fid_add(dentry, fid);
dentry            315 fs/9p/vfs_inode_dotl.c 	d_instantiate(dentry, inode);
dentry            329 fs/9p/vfs_inode_dotl.c 		inode_fid = v9fs_writeback_fid(dentry);
dentry            339 fs/9p/vfs_inode_dotl.c 	err = finish_open(file, dentry, generic_file_open);
dentry            369 fs/9p/vfs_inode_dotl.c 			       struct dentry *dentry, umode_t omode)
dentry            381 fs/9p/vfs_inode_dotl.c 	p9_debug(P9_DEBUG_VFS, "name %pd\n", dentry);
dentry            389 fs/9p/vfs_inode_dotl.c 	dfid = v9fs_parent_fid(dentry);
dentry            406 fs/9p/vfs_inode_dotl.c 	name = dentry->d_name.name;
dentry            429 fs/9p/vfs_inode_dotl.c 		v9fs_fid_add(dentry, fid);
dentry            431 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            446 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            461 fs/9p/vfs_inode_dotl.c 	struct dentry *dentry = path->dentry;
dentry            466 fs/9p/vfs_inode_dotl.c 	p9_debug(P9_DEBUG_VFS, "dentry: %p\n", dentry);
dentry            467 fs/9p/vfs_inode_dotl.c 	v9ses = v9fs_dentry2v9ses(dentry);
dentry            469 fs/9p/vfs_inode_dotl.c 		generic_fillattr(d_inode(dentry), stat);
dentry            472 fs/9p/vfs_inode_dotl.c 	fid = v9fs_fid_lookup(dentry);
dentry            484 fs/9p/vfs_inode_dotl.c 	v9fs_stat2inode_dotl(st, d_inode(dentry), 0);
dentry            485 fs/9p/vfs_inode_dotl.c 	generic_fillattr(d_inode(dentry), stat);
dentry            540 fs/9p/vfs_inode_dotl.c int v9fs_vfs_setattr_dotl(struct dentry *dentry, struct iattr *iattr)
dentry            545 fs/9p/vfs_inode_dotl.c 	struct inode *inode = d_inode(dentry);
dentry            549 fs/9p/vfs_inode_dotl.c 	retval = setattr_prepare(dentry, iattr);
dentry            563 fs/9p/vfs_inode_dotl.c 	fid = v9fs_fid_lookup(dentry);
dentry            668 fs/9p/vfs_inode_dotl.c v9fs_vfs_symlink_dotl(struct inode *dir, struct dentry *dentry,
dentry            680 fs/9p/vfs_inode_dotl.c 	name = dentry->d_name.name;
dentry            684 fs/9p/vfs_inode_dotl.c 	dfid = v9fs_parent_fid(dentry);
dentry            721 fs/9p/vfs_inode_dotl.c 		v9fs_fid_add(dentry, fid);
dentry            722 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            732 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            751 fs/9p/vfs_inode_dotl.c v9fs_vfs_link_dotl(struct dentry *old_dentry, struct inode *dir,
dentry            752 fs/9p/vfs_inode_dotl.c 		struct dentry *dentry)
dentry            759 fs/9p/vfs_inode_dotl.c 		 dir->i_ino, old_dentry, dentry);
dentry            762 fs/9p/vfs_inode_dotl.c 	dfid = v9fs_parent_fid(dentry);
dentry            770 fs/9p/vfs_inode_dotl.c 	err = p9_client_link(dfid, oldfid, dentry->d_name.name);
dentry            788 fs/9p/vfs_inode_dotl.c 	d_instantiate(dentry, d_inode(old_dentry));
dentry            802 fs/9p/vfs_inode_dotl.c v9fs_vfs_mknod_dotl(struct inode *dir, struct dentry *dentry, umode_t omode,
dentry            816 fs/9p/vfs_inode_dotl.c 		 dir->i_ino, dentry, omode,
dentry            820 fs/9p/vfs_inode_dotl.c 	dfid = v9fs_parent_fid(dentry);
dentry            837 fs/9p/vfs_inode_dotl.c 	name = dentry->d_name.name;
dentry            863 fs/9p/vfs_inode_dotl.c 		v9fs_fid_add(dentry, fid);
dentry            864 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            878 fs/9p/vfs_inode_dotl.c 		d_instantiate(dentry, inode);
dentry            895 fs/9p/vfs_inode_dotl.c v9fs_vfs_get_link_dotl(struct dentry *dentry,
dentry            903 fs/9p/vfs_inode_dotl.c 	if (!dentry)
dentry            906 fs/9p/vfs_inode_dotl.c 	p9_debug(P9_DEBUG_VFS, "%pd\n", dentry);
dentry            908 fs/9p/vfs_inode_dotl.c 	fid = v9fs_fid_lookup(dentry);
dentry            107 fs/9p/vfs_super.c static struct dentry *v9fs_mount(struct file_system_type *fs_type, int flags,
dentry            112 fs/9p/vfs_super.c 	struct dentry *root = NULL;
dentry            237 fs/9p/vfs_super.c static int v9fs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            244 fs/9p/vfs_super.c 	fid = v9fs_fid_lookup(dentry);
dentry            250 fs/9p/vfs_super.c 	v9ses = v9fs_dentry2v9ses(dentry);
dentry            268 fs/9p/vfs_super.c 	res = simple_statfs(dentry, buf);
dentry             70 fs/9p/xattr.c  ssize_t v9fs_xattr_get(struct dentry *dentry, const char *name,
dentry             77 fs/9p/xattr.c  	fid = v9fs_fid_lookup(dentry);
dentry             96 fs/9p/xattr.c  int v9fs_xattr_set(struct dentry *dentry, const char *name,
dentry             99 fs/9p/xattr.c  	struct p9_fid *fid = v9fs_fid_lookup(dentry);
dentry            135 fs/9p/xattr.c  ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            137 fs/9p/xattr.c  	return v9fs_xattr_get(dentry, NULL, buffer, buffer_size);
dentry            141 fs/9p/xattr.c  				  struct dentry *dentry, struct inode *inode,
dentry            146 fs/9p/xattr.c  	return v9fs_xattr_get(dentry, full_name, buffer, size);
dentry            150 fs/9p/xattr.c  				  struct dentry *dentry, struct inode *inode,
dentry            156 fs/9p/xattr.c  	return v9fs_xattr_set(dentry, full_name, value, size, flags);
dentry             27 fs/9p/xattr.h  extern ssize_t v9fs_xattr_get(struct dentry *, const char *,
dentry             31 fs/9p/xattr.h  extern int v9fs_xattr_set(struct dentry *, const char *,
dentry             33 fs/9p/xattr.h  extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
dentry            144 fs/adfs/adfs.h int adfs_notify_change(struct dentry *dentry, struct iattr *attr);
dentry            217 fs/adfs/dir.c  adfs_hash(const struct dentry *parent, struct qstr *qstr)
dentry            240 fs/adfs/dir.c  static int adfs_compare(const struct dentry *dentry, unsigned int len,
dentry            251 fs/adfs/dir.c  static struct dentry *
dentry            252 fs/adfs/dir.c  adfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            258 fs/adfs/dir.c  	error = adfs_dir_lookup_byname(dir, &dentry->d_name, &obj);
dentry            270 fs/adfs/dir.c  	return d_splice_alias(inode, dentry);
dentry            294 fs/adfs/inode.c adfs_notify_change(struct dentry *dentry, struct iattr *attr)
dentry            296 fs/adfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            301 fs/adfs/inode.c 	error = setattr_prepare(dentry, attr);
dentry            147 fs/adfs/super.c static int adfs_show_options(struct seq_file *seq, struct dentry *root)
dentry            248 fs/adfs/super.c static int adfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            250 fs/adfs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            537 fs/adfs/super.c static struct dentry *adfs_mount(struct file_system_type *fs_type,
dentry            139 fs/affs/affs.h extern int	affs_remove_header(struct dentry *dentry);
dentry            151 fs/affs/affs.h extern bool	affs_nofilenametruncate(const struct dentry *dentry);
dentry            154 fs/affs/affs.h extern int	affs_copy_name(unsigned char *bstr, struct dentry *dentry);
dentry            168 fs/affs/affs.h extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int);
dentry            169 fs/affs/affs.h extern int	affs_unlink(struct inode *dir, struct dentry *dentry);
dentry            170 fs/affs/affs.h extern int	affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool);
dentry            171 fs/affs/affs.h extern int	affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
dentry            172 fs/affs/affs.h extern int	affs_rmdir(struct inode *dir, struct dentry *dentry);
dentry            173 fs/affs/affs.h extern int	affs_link(struct dentry *olddentry, struct inode *dir,
dentry            174 fs/affs/affs.h 			  struct dentry *dentry);
dentry            175 fs/affs/affs.h extern int	affs_symlink(struct inode *dir, struct dentry *dentry,
dentry            177 fs/affs/affs.h extern int	affs_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry            178 fs/affs/affs.h 			    struct inode *new_dir, struct dentry *new_dentry,
dentry            184 fs/affs/affs.h extern int			 affs_notify_change(struct dentry *dentry, struct iattr *attr);
dentry            190 fs/affs/affs.h extern int			 affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type);
dentry            127 fs/affs/amigaffs.c 	struct dentry *dentry;
dentry            129 fs/affs/amigaffs.c 	hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) {
dentry            130 fs/affs/amigaffs.c 		if (entry_ino == (u32)(long)dentry->d_fsdata) {
dentry            131 fs/affs/amigaffs.c 			dentry->d_fsdata = (void *)inode->i_ino;
dentry            142 fs/affs/amigaffs.c affs_remove_link(struct dentry *dentry)
dentry            144 fs/affs/amigaffs.c 	struct inode *dir, *inode = d_inode(dentry);
dentry            156 fs/affs/amigaffs.c 	link_ino = (u32)(long)dentry->d_fsdata;
dentry            267 fs/affs/amigaffs.c affs_remove_header(struct dentry *dentry)
dentry            274 fs/affs/amigaffs.c 	dir = d_inode(dentry->d_parent);
dentry            278 fs/affs/amigaffs.c 	inode = d_inode(dentry);
dentry            284 fs/affs/amigaffs.c 	bh = affs_bread(sb, (u32)(long)dentry->d_fsdata);
dentry            314 fs/affs/amigaffs.c 		retval = affs_remove_link(dentry);
dentry            475 fs/affs/amigaffs.c affs_nofilenametruncate(const struct dentry *dentry)
dentry            477 fs/affs/amigaffs.c 	return affs_test_opt(AFFS_SB(dentry->d_sb)->s_flags, SF_NO_TRUNCATE);
dentry            509 fs/affs/amigaffs.c affs_copy_name(unsigned char *bstr, struct dentry *dentry)
dentry            511 fs/affs/amigaffs.c 	u32 len = min(dentry->d_name.len, AFFSNAMEMAX);
dentry            514 fs/affs/amigaffs.c 	memcpy(bstr, dentry->d_name.name, len);
dentry            219 fs/affs/inode.c affs_notify_change(struct dentry *dentry, struct iattr *attr)
dentry            221 fs/affs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            226 fs/affs/inode.c 	error = setattr_prepare(dentry, attr);
dentry            350 fs/affs/inode.c affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type)
dentry            359 fs/affs/inode.c 		 dir->i_ino, inode->i_ino, dentry, type);
dentry            386 fs/affs/inode.c 	affs_copy_name(AFFS_TAIL(sb, bh)->name, dentry);
dentry            403 fs/affs/inode.c 	dentry->d_fsdata = (void *)(long)bh->b_blocknr;
dentry            411 fs/affs/inode.c 	d_instantiate(dentry, inode);
dentry             46 fs/affs/namei.c __affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr, toupper_t toupper, bool notruncate)
dentry             57 fs/affs/namei.c 	hash = init_name_hash(dentry);
dentry             67 fs/affs/namei.c affs_hash_dentry(const struct dentry *dentry, struct qstr *qstr)
dentry             69 fs/affs/namei.c 	return __affs_hash_dentry(dentry, qstr, affs_toupper,
dentry             70 fs/affs/namei.c 				  affs_nofilenametruncate(dentry));
dentry             75 fs/affs/namei.c affs_intl_hash_dentry(const struct dentry *dentry, struct qstr *qstr)
dentry             77 fs/affs/namei.c 	return __affs_hash_dentry(dentry, qstr, affs_intl_toupper,
dentry             78 fs/affs/namei.c 				  affs_nofilenametruncate(dentry));
dentry            116 fs/affs/namei.c affs_compare_dentry(const struct dentry *dentry,
dentry            121 fs/affs/namei.c 				     affs_nofilenametruncate(dentry));
dentry            125 fs/affs/namei.c affs_intl_compare_dentry(const struct dentry *dentry,
dentry            129 fs/affs/namei.c 				     affs_nofilenametruncate(dentry));
dentry            138 fs/affs/namei.c affs_match(struct dentry *dentry, const u8 *name2, toupper_t toupper)
dentry            140 fs/affs/namei.c 	const u8 *name = dentry->d_name.name;
dentry            141 fs/affs/namei.c 	int len = dentry->d_name.len;
dentry            170 fs/affs/namei.c affs_find_entry(struct inode *dir, struct dentry *dentry)
dentry            177 fs/affs/namei.c 	pr_debug("%s(\"%pd\")\n", __func__, dentry);
dentry            183 fs/affs/namei.c 	key = be32_to_cpu(AFFS_HEAD(bh)->table[affs_hash_name(sb, dentry->d_name.name, dentry->d_name.len)]);
dentry            192 fs/affs/namei.c 		if (affs_match(dentry, AFFS_TAIL(sb, bh)->name, toupper))
dentry            198 fs/affs/namei.c struct dentry *
dentry            199 fs/affs/namei.c affs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            204 fs/affs/namei.c 	struct dentry *res;
dentry            206 fs/affs/namei.c 	pr_debug("%s(\"%pd\")\n", __func__, dentry);
dentry            209 fs/affs/namei.c 	bh = affs_find_entry(dir, dentry);
dentry            218 fs/affs/namei.c 		dentry->d_fsdata = (void *)(long)ino;
dentry            228 fs/affs/namei.c 	res = d_splice_alias(inode, dentry);
dentry            230 fs/affs/namei.c 		res->d_fsdata = dentry->d_fsdata;
dentry            236 fs/affs/namei.c affs_unlink(struct inode *dir, struct dentry *dentry)
dentry            239 fs/affs/namei.c 		 d_inode(dentry)->i_ino, dentry);
dentry            241 fs/affs/namei.c 	return affs_remove_header(dentry);
dentry            245 fs/affs/namei.c affs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
dentry            252 fs/affs/namei.c 		 __func__, dir->i_ino, dentry, mode);
dentry            266 fs/affs/namei.c 	error = affs_add_entry(dir, inode, dentry, ST_FILE);
dentry            276 fs/affs/namei.c affs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            282 fs/affs/namei.c 		 __func__, dir->i_ino, dentry, mode);
dentry            294 fs/affs/namei.c 	error = affs_add_entry(dir, inode, dentry, ST_USERDIR);
dentry            305 fs/affs/namei.c affs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            308 fs/affs/namei.c 		 d_inode(dentry)->i_ino, dentry);
dentry            310 fs/affs/namei.c 	return affs_remove_header(dentry);
dentry            314 fs/affs/namei.c affs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
dentry            324 fs/affs/namei.c 		 __func__, dir->i_ino, dentry, symname);
dentry            377 fs/affs/namei.c 	error = affs_add_entry(dir, inode, dentry, ST_SOFTLINK);
dentry            391 fs/affs/namei.c affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
dentry            396 fs/affs/namei.c 		 dentry);
dentry            398 fs/affs/namei.c 	return affs_add_entry(dir, inode, dentry, ST_LINKFILE);
dentry            402 fs/affs/namei.c affs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            403 fs/affs/namei.c 	    struct inode *new_dir, struct dentry *new_dentry)
dentry            449 fs/affs/namei.c affs_xrename(struct inode *old_dir, struct dentry *old_dentry,
dentry            450 fs/affs/namei.c 	     struct inode *new_dir, struct dentry *new_dentry)
dentry            501 fs/affs/namei.c int affs_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry            502 fs/affs/namei.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry            518 fs/affs/namei.c static struct dentry *affs_get_parent(struct dentry *child)
dentry            551 fs/affs/namei.c static struct dentry *affs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            558 fs/affs/namei.c static struct dentry *affs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry             28 fs/affs/super.c static int affs_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry             29 fs/affs/super.c static int affs_show_options(struct seq_file *m, struct dentry *root);
dentry            295 fs/affs/super.c static int affs_show_options(struct seq_file *m, struct dentry *root)
dentry            607 fs/affs/super.c affs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            609 fs/affs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            629 fs/affs/super.c static struct dentry *affs_mount(struct file_system_type *fs_type,
dentry             20 fs/afs/dir.c   static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
dentry             24 fs/afs/dir.c   static int afs_d_revalidate(struct dentry *dentry, unsigned int flags);
dentry             25 fs/afs/dir.c   static int afs_d_delete(const struct dentry *dentry);
dentry             26 fs/afs/dir.c   static void afs_d_iput(struct dentry *dentry, struct inode *inode);
dentry             31 fs/afs/dir.c   static int afs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry             33 fs/afs/dir.c   static int afs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
dentry             34 fs/afs/dir.c   static int afs_rmdir(struct inode *dir, struct dentry *dentry);
dentry             35 fs/afs/dir.c   static int afs_unlink(struct inode *dir, struct dentry *dentry);
dentry             36 fs/afs/dir.c   static int afs_link(struct dentry *from, struct inode *dir,
dentry             37 fs/afs/dir.c   		    struct dentry *dentry);
dentry             38 fs/afs/dir.c   static int afs_symlink(struct inode *dir, struct dentry *dentry,
dentry             40 fs/afs/dir.c   static int afs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry             41 fs/afs/dir.c   		      struct inode *new_dir, struct dentry *new_dentry,
dentry            561 fs/afs/dir.c   static int afs_do_lookup_one(struct inode *dir, struct dentry *dentry,
dentry            568 fs/afs/dir.c   		.name = dentry->d_name,
dentry            573 fs/afs/dir.c   	_enter("{%lu},%p{%pd},", dir->i_ino, dentry, dentry);
dentry            638 fs/afs/dir.c   static struct inode *afs_do_lookup(struct inode *dir, struct dentry *dentry,
dentry            653 fs/afs/dir.c   	_enter("{%lu},%p{%pd},", dir->i_ino, dentry, dentry);
dentry            660 fs/afs/dir.c   	cookie->name = dentry->d_name;
dentry            684 fs/afs/dir.c   	dentry->d_fsdata = (void *)(unsigned long)data_version;
dentry            851 fs/afs/dir.c   static struct dentry *afs_lookup_atsys(struct inode *dir, struct dentry *dentry,
dentry            856 fs/afs/dir.c   	struct dentry *ret;
dentry            866 fs/afs/dir.c   	if (dentry->d_name.len > 4) {
dentry            867 fs/afs/dir.c   		memcpy(p, dentry->d_name.name, dentry->d_name.len - 4);
dentry            868 fs/afs/dir.c   		p += dentry->d_name.len - 4;
dentry            879 fs/afs/dir.c   		len = dentry->d_name.len - 4 + strlen(name);
dentry            886 fs/afs/dir.c   		ret = lookup_one_len(buf, dentry->d_parent, len);
dentry            907 fs/afs/dir.c   static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
dentry            913 fs/afs/dir.c   	struct dentry *d;
dentry            918 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry, dentry);
dentry            920 fs/afs/dir.c   	ASSERTCMP(d_inode(dentry), ==, NULL);
dentry            922 fs/afs/dir.c   	if (dentry->d_name.len >= AFSNAMEMAX) {
dentry            945 fs/afs/dir.c   	if (dentry->d_name.len >= 4 &&
dentry            946 fs/afs/dir.c   	    dentry->d_name.name[dentry->d_name.len - 4] == '@' &&
dentry            947 fs/afs/dir.c   	    dentry->d_name.name[dentry->d_name.len - 3] == 's' &&
dentry            948 fs/afs/dir.c   	    dentry->d_name.name[dentry->d_name.len - 2] == 'y' &&
dentry            949 fs/afs/dir.c   	    dentry->d_name.name[dentry->d_name.len - 1] == 's')
dentry            950 fs/afs/dir.c   		return afs_lookup_atsys(dir, dentry, key);
dentry            953 fs/afs/dir.c   	inode = afs_do_lookup(dir, dentry, key);
dentry            956 fs/afs/dir.c   		inode = afs_try_auto_mntpt(dentry, dir);
dentry            961 fs/afs/dir.c   	d = d_splice_alias(inode, dentry);
dentry            963 fs/afs/dir.c   		d->d_fsdata = dentry->d_fsdata;
dentry            966 fs/afs/dir.c   		trace_afs_lookup(dvnode, &dentry->d_name, &fid);
dentry            974 fs/afs/dir.c   static int afs_d_revalidate_rcu(struct dentry *dentry)
dentry            977 fs/afs/dir.c   	struct dentry *parent;
dentry            981 fs/afs/dir.c   	_enter("%p", dentry);
dentry            984 fs/afs/dir.c   	parent = READ_ONCE(dentry->d_parent);
dentry           1001 fs/afs/dir.c   	de_version = (long)READ_ONCE(dentry->d_fsdata);
dentry           1011 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1012 fs/afs/dir.c   		inode = d_inode_rcu(dentry);
dentry           1028 fs/afs/dir.c   static int afs_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1032 fs/afs/dir.c   	struct dentry *parent;
dentry           1040 fs/afs/dir.c   		return afs_d_revalidate_rcu(dentry);
dentry           1042 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1043 fs/afs/dir.c   		vnode = AFS_FS_I(d_inode(dentry));
dentry           1045 fs/afs/dir.c   		       vnode->fid.vid, vnode->fid.vnode, dentry,
dentry           1048 fs/afs/dir.c   		_enter("{neg n=%pd}", dentry);
dentry           1051 fs/afs/dir.c   	key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell);
dentry           1055 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1056 fs/afs/dir.c   		inode = d_inode(dentry);
dentry           1066 fs/afs/dir.c   	parent = dget_parent(dentry);
dentry           1073 fs/afs/dir.c   		_debug("%pd: parent dir deleted", dentry);
dentry           1083 fs/afs/dir.c   	de_version = (long)dentry->d_fsdata;
dentry           1095 fs/afs/dir.c   	ret = afs_do_lookup_one(&dir->vfs_inode, dentry, &fid, key, &dir_version);
dentry           1099 fs/afs/dir.c   		if (d_really_is_negative(dentry))
dentry           1101 fs/afs/dir.c   		inode = d_inode(dentry);
dentry           1104 fs/afs/dir.c   			       dentry);
dentry           1114 fs/afs/dir.c   			       dentry, fid.vnode,
dentry           1124 fs/afs/dir.c   			       dentry, fid.unique,
dentry           1136 fs/afs/dir.c   		_debug("%pd: dirent not found", dentry);
dentry           1137 fs/afs/dir.c   		if (d_really_is_positive(dentry))
dentry           1148 fs/afs/dir.c   	dentry->d_fsdata = (void *)(unsigned long)dir_version;
dentry           1157 fs/afs/dir.c   	spin_lock(&dentry->d_lock);
dentry           1158 fs/afs/dir.c   	dentry->d_flags |= DCACHE_NFSFS_RENAMED;
dentry           1159 fs/afs/dir.c   	spin_unlock(&dentry->d_lock);
dentry           1162 fs/afs/dir.c   	_debug("dropping dentry %pd2", dentry);
dentry           1177 fs/afs/dir.c   static int afs_d_delete(const struct dentry *dentry)
dentry           1179 fs/afs/dir.c   	_enter("%pd", dentry);
dentry           1181 fs/afs/dir.c   	if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry           1184 fs/afs/dir.c   	if (d_really_is_positive(dentry) &&
dentry           1185 fs/afs/dir.c   	    (test_bit(AFS_VNODE_DELETED,   &AFS_FS_I(d_inode(dentry))->flags) ||
dentry           1186 fs/afs/dir.c   	     test_bit(AFS_VNODE_PSEUDODIR, &AFS_FS_I(d_inode(dentry))->flags)))
dentry           1200 fs/afs/dir.c   static void afs_d_iput(struct dentry *dentry, struct inode *inode)
dentry           1202 fs/afs/dir.c   	if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry           1203 fs/afs/dir.c   		afs_silly_iput(dentry, inode);
dentry           1210 fs/afs/dir.c   void afs_d_release(struct dentry *dentry)
dentry           1212 fs/afs/dir.c   	_enter("%pd", dentry);
dentry           1219 fs/afs/dir.c   				struct dentry *new_dentry,
dentry           1260 fs/afs/dir.c   				      struct dentry *dentry,
dentry           1264 fs/afs/dir.c   		dentry->d_fsdata =
dentry           1271 fs/afs/dir.c   static int afs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1284 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry, mode);
dentry           1304 fs/afs/dir.c   			afs_fs_create(&fc, dentry->d_name.name, mode,
dentry           1311 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, &scb[0]);
dentry           1312 fs/afs/dir.c   		afs_vnode_new_inode(&fc, dentry, &iget_data, &scb[1]);
dentry           1324 fs/afs/dir.c   			afs_edit_dir_add(dvnode, &dentry->d_name, &iget_data.fid,
dentry           1339 fs/afs/dir.c   	d_drop(dentry);
dentry           1347 fs/afs/dir.c   static void afs_dir_remove_subdir(struct dentry *dentry)
dentry           1349 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1350 fs/afs/dir.c   		struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
dentry           1362 fs/afs/dir.c   static int afs_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1372 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry);
dentry           1385 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1386 fs/afs/dir.c   		vnode = AFS_FS_I(d_inode(dentry));
dentry           1404 fs/afs/dir.c   			afs_fs_remove(&fc, vnode, dentry->d_name.name, true, scb);
dentry           1409 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, scb);
dentry           1412 fs/afs/dir.c   			afs_dir_remove_subdir(dentry);
dentry           1416 fs/afs/dir.c   				afs_edit_dir_remove(dvnode, &dentry->d_name,
dentry           1441 fs/afs/dir.c   static int afs_dir_remove_link(struct afs_vnode *dvnode, struct dentry *dentry,
dentry           1446 fs/afs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1447 fs/afs/dir.c   		struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
dentry           1479 fs/afs/dir.c   static int afs_unlink(struct inode *dir, struct dentry *dentry)
dentry           1484 fs/afs/dir.c   	struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
dentry           1490 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry);
dentry           1492 fs/afs/dir.c   	if (dentry->d_name.len >= AFSNAMEMAX)
dentry           1511 fs/afs/dir.c   	spin_lock(&dentry->d_lock);
dentry           1512 fs/afs/dir.c   	if (d_count(dentry) > 1) {
dentry           1513 fs/afs/dir.c   		spin_unlock(&dentry->d_lock);
dentry           1515 fs/afs/dir.c   		write_inode_now(d_inode(dentry), 0);
dentry           1516 fs/afs/dir.c   		ret = afs_sillyrename(dvnode, vnode, dentry, key);
dentry           1519 fs/afs/dir.c   	if (!d_unhashed(dentry)) {
dentry           1521 fs/afs/dir.c   		__d_drop(dentry);
dentry           1524 fs/afs/dir.c   	spin_unlock(&dentry->d_lock);
dentry           1537 fs/afs/dir.c   				yfs_fs_remove_file2(&fc, vnode, dentry->d_name.name,
dentry           1545 fs/afs/dir.c   			afs_fs_remove(&fc, vnode, dentry->d_name.name, false, &scb[0]);
dentry           1552 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, &scb[0]);
dentry           1555 fs/afs/dir.c   			ret = afs_dir_remove_link(dvnode, dentry, key);
dentry           1561 fs/afs/dir.c   				afs_edit_dir_remove(dvnode, &dentry->d_name,
dentry           1568 fs/afs/dir.c   		d_rehash(dentry);
dentry           1582 fs/afs/dir.c   static int afs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           1596 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry, mode);
dentry           1599 fs/afs/dir.c   	if (dentry->d_name.len >= AFSNAMEMAX)
dentry           1620 fs/afs/dir.c   			afs_fs_create(&fc, dentry->d_name.name, mode,
dentry           1627 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, &scb[0]);
dentry           1628 fs/afs/dir.c   		afs_vnode_new_inode(&fc, dentry, &iget_data, &scb[1]);
dentry           1639 fs/afs/dir.c   		afs_edit_dir_add(dvnode, &dentry->d_name, &iget_data.fid,
dentry           1653 fs/afs/dir.c   	d_drop(dentry);
dentry           1661 fs/afs/dir.c   static int afs_link(struct dentry *from, struct inode *dir,
dentry           1662 fs/afs/dir.c   		    struct dentry *dentry)
dentry           1675 fs/afs/dir.c   	       dentry);
dentry           1678 fs/afs/dir.c   	if (dentry->d_name.len >= AFSNAMEMAX)
dentry           1704 fs/afs/dir.c   			afs_fs_link(&fc, vnode, dentry->d_name.name,
dentry           1713 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, &scb[0]);
dentry           1714 fs/afs/dir.c   		d_instantiate(dentry, &vnode->vfs_inode);
dentry           1727 fs/afs/dir.c   		afs_edit_dir_add(dvnode, &dentry->d_name, &vnode->fid,
dentry           1741 fs/afs/dir.c   	d_drop(dentry);
dentry           1749 fs/afs/dir.c   static int afs_symlink(struct inode *dir, struct dentry *dentry,
dentry           1761 fs/afs/dir.c   	       dvnode->fid.vid, dvnode->fid.vnode, dentry,
dentry           1765 fs/afs/dir.c   	if (dentry->d_name.len >= AFSNAMEMAX)
dentry           1790 fs/afs/dir.c   			afs_fs_symlink(&fc, dentry->d_name.name, content,
dentry           1797 fs/afs/dir.c   		afs_update_dentry_version(&fc, dentry, &scb[0]);
dentry           1798 fs/afs/dir.c   		afs_vnode_new_inode(&fc, dentry, &iget_data, &scb[1]);
dentry           1809 fs/afs/dir.c   		afs_edit_dir_add(dvnode, &dentry->d_name, &iget_data.fid,
dentry           1823 fs/afs/dir.c   	d_drop(dentry);
dentry           1831 fs/afs/dir.c   static int afs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1832 fs/afs/dir.c   		      struct inode *new_dir, struct dentry *new_dentry,
dentry           1838 fs/afs/dir.c   	struct dentry *tmp = NULL, *rehash = NULL;
dentry             19 fs/afs/dir_silly.c 			       struct dentry *old, struct dentry *new,
dentry             86 fs/afs/dir_silly.c 		    struct dentry *dentry, struct key *key)
dentry             89 fs/afs/dir_silly.c 	struct dentry *sdentry = NULL;
dentry             96 fs/afs/dir_silly.c 	if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry            110 fs/afs/dir_silly.c 		sdentry = lookup_one_len(silly, dentry->d_parent, slen);
dentry            121 fs/afs/dir_silly.c 	ret = afs_do_silly_rename(dvnode, vnode, dentry, sdentry, key);
dentry            125 fs/afs/dir_silly.c 		d_move(dentry, sdentry);
dentry            131 fs/afs/dir_silly.c 		d_drop(dentry);
dentry            146 fs/afs/dir_silly.c 			       struct dentry *dentry, struct key *key)
dentry            167 fs/afs/dir_silly.c 				yfs_fs_remove_file2(&fc, vnode, dentry->d_name.name,
dentry            175 fs/afs/dir_silly.c 			afs_fs_remove(&fc, vnode, dentry->d_name.name, false, &scb[0]);
dentry            192 fs/afs/dir_silly.c 				afs_edit_dir_remove(dvnode, &dentry->d_name,
dentry            206 fs/afs/dir_silly.c int afs_silly_iput(struct dentry *dentry, struct inode *inode)
dentry            208 fs/afs/dir_silly.c 	struct afs_vnode *dvnode = AFS_FS_I(d_inode(dentry->d_parent));
dentry            210 fs/afs/dir_silly.c 	struct dentry *alias;
dentry            215 fs/afs/dir_silly.c 	_enter("%p{%pd},%llx", dentry, dentry, vnode->fid.vnode);
dentry            219 fs/afs/dir_silly.c 	alias = d_alloc_parallel(dentry->d_parent, &dentry->d_name, &wq);
dentry            248 fs/afs/dir_silly.c 	afs_do_silly_unlink(dvnode, vnode, dentry, dvnode->silly_key);
dentry             17 fs/afs/dynroot.c static int afs_probe_cell_name(struct dentry *dentry)
dentry             20 fs/afs/dynroot.c 	struct afs_net *net = afs_d2net(dentry);
dentry             21 fs/afs/dynroot.c 	const char *name = dentry->d_name.name;
dentry             22 fs/afs/dynroot.c 	size_t len = dentry->d_name.len;
dentry             50 fs/afs/dynroot.c struct inode *afs_try_auto_mntpt(struct dentry *dentry, struct inode *dir)
dentry             57 fs/afs/dynroot.c 	       dentry, dentry, vnode->fid.vid, vnode->fid.vnode);
dentry             62 fs/afs/dynroot.c 	ret = afs_probe_cell_name(dentry);
dentry             84 fs/afs/dynroot.c static struct dentry *afs_lookup_atcell(struct dentry *dentry)
dentry             87 fs/afs/dynroot.c 	struct afs_net *net = afs_d2net(dentry);
dentry             88 fs/afs/dynroot.c 	struct dentry *ret;
dentry            117 fs/afs/dynroot.c 	ret = lookup_one_len(name, dentry->d_parent, len);
dentry            132 fs/afs/dynroot.c static struct dentry *afs_dynroot_lookup(struct inode *dir, struct dentry *dentry,
dentry            135 fs/afs/dynroot.c 	_enter("%pd", dentry);
dentry            137 fs/afs/dynroot.c 	ASSERTCMP(d_inode(dentry), ==, NULL);
dentry            142 fs/afs/dynroot.c 	if (dentry->d_name.len >= AFSNAMEMAX) {
dentry            147 fs/afs/dynroot.c 	if (dentry->d_name.len == 5 &&
dentry            148 fs/afs/dynroot.c 	    memcmp(dentry->d_name.name, "@cell", 5) == 0)
dentry            149 fs/afs/dynroot.c 		return afs_lookup_atcell(dentry);
dentry            151 fs/afs/dynroot.c 	return d_splice_alias(afs_try_auto_mntpt(dentry, dir), dentry);
dentry            161 fs/afs/dynroot.c static int afs_dynroot_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry            172 fs/afs/dynroot.c static int afs_dynroot_d_delete(const struct dentry *dentry)
dentry            174 fs/afs/dynroot.c 	return d_really_is_positive(dentry);
dentry            191 fs/afs/dynroot.c 	struct dentry *root, *subdir;
dentry            221 fs/afs/dynroot.c 	struct dentry *root, *subdir;
dentry            284 fs/afs/dynroot.c 	struct dentry *root = sb->s_root, *subdir, *tmp;
dentry            726 fs/afs/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            815 fs/afs/inode.c int afs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            819 fs/afs/inode.c 	struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
dentry            824 fs/afs/inode.c 	       vnode->fid.vid, vnode->fid.vnode, dentry,
dentry            894 fs/afs/internal.h extern void afs_d_release(struct dentry *);
dentry            907 fs/afs/internal.h 			   struct dentry *, struct key *);
dentry            908 fs/afs/internal.h extern int afs_silly_iput(struct dentry *, struct inode *);
dentry            916 fs/afs/internal.h extern struct inode *afs_try_auto_mntpt(struct dentry *, struct inode *);
dentry           1020 fs/afs/internal.h extern int afs_setattr(struct dentry *, struct iattr *);
dentry           1040 fs/afs/internal.h static inline struct afs_net *afs_d2net(struct dentry *dentry)
dentry           1042 fs/afs/internal.h 	return afs_sb2net(dentry->d_sb);
dentry           1356 fs/afs/internal.h extern ssize_t afs_listxattr(struct dentry *, char *, size_t);
dentry             20 fs/afs/mntpt.c static struct dentry *afs_mntpt_lookup(struct inode *dir,
dentry             21 fs/afs/mntpt.c 				       struct dentry *dentry,
dentry             52 fs/afs/mntpt.c static struct dentry *afs_mntpt_lookup(struct inode *dir,
dentry             53 fs/afs/mntpt.c 				       struct dentry *dentry,
dentry             56 fs/afs/mntpt.c 	_enter("%p,%p{%pd2}", dir, dentry, dentry);
dentry             72 fs/afs/mntpt.c static int afs_mntpt_set_params(struct fs_context *fc, struct dentry *mntpt)
dentry            158 fs/afs/mntpt.c static struct vfsmount *afs_mntpt_do_automount(struct dentry *mntpt)
dentry            187 fs/afs/mntpt.c 	_enter("{%pd}", path->dentry);
dentry            189 fs/afs/mntpt.c 	newmnt = afs_mntpt_do_automount(path->dentry);
dentry             37 fs/afs/super.c static int afs_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry             38 fs/afs/super.c static int afs_show_devname(struct seq_file *m, struct dentry *root);
dentry             39 fs/afs/super.c static int afs_show_options(struct seq_file *m, struct dentry *root);
dentry            161 fs/afs/super.c static int afs_show_devname(struct seq_file *m, struct dentry *root)
dentry            195 fs/afs/super.c static int afs_show_options(struct seq_file *m, struct dentry *root)
dentry            721 fs/afs/super.c static int afs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            723 fs/afs/super.c 	struct afs_super_info *as = AFS_FS_S(dentry->d_sb);
dentry            726 fs/afs/super.c 	struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry));
dentry            730 fs/afs/super.c 	buf->f_type	= dentry->d_sb->s_magic;
dentry             27 fs/afs/xattr.c ssize_t afs_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry             41 fs/afs/xattr.c 			     struct dentry *dentry,
dentry             99 fs/afs/xattr.c                              struct dentry *dentry,
dentry            164 fs/afs/xattr.c 			     struct dentry *dentry,
dentry            269 fs/afs/xattr.c                              struct dentry *dentry,
dentry            335 fs/afs/xattr.c 			      struct dentry *dentry,
dentry            362 fs/afs/xattr.c 			     struct dentry *dentry,
dentry            398 fs/afs/xattr.c 			      struct dentry *dentry,
dentry             33 fs/anon_inodes.c static char *anon_inodefs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry             35 fs/anon_inodes.c 	return dynamic_dname(dentry, buffer, buflen, "anon_inode:%s",
dentry             36 fs/anon_inodes.c 				dentry->d_name.name);
dentry             61 fs/attr.c      int setattr_prepare(struct dentry *dentry, struct iattr *attr)
dentry             63 fs/attr.c      	struct inode *inode = d_inode(dentry);
dentry            110 fs/attr.c      		error = security_inode_killpriv(dentry);
dentry            223 fs/attr.c      int notify_change(struct dentry * dentry, struct iattr * attr, struct inode **delegated_inode)
dentry            225 fs/attr.c      	struct inode *inode = dentry->d_inode;
dentry            273 fs/attr.c      		error = security_inode_need_killpriv(dentry);
dentry            328 fs/attr.c      	error = security_inode_setattr(dentry, attr);
dentry            336 fs/attr.c      		error = inode->i_op->setattr(dentry, attr);
dentry            338 fs/attr.c      		error = simple_setattr(dentry, attr);
dentry            341 fs/attr.c      		fsnotify_change(dentry, ia_valid);
dentry            342 fs/attr.c      		ima_inode_post_setattr(dentry);
dentry            343 fs/attr.c      		evm_inode_post_setattr(dentry, ia_valid);
dentry             53 fs/autofs/autofs_i.h 	struct dentry	*dentry;
dentry            135 fs/autofs/autofs_i.h static inline struct autofs_info *autofs_dentry_ino(struct dentry *dentry)
dentry            137 fs/autofs/autofs_i.h 	return (struct autofs_info *)(dentry->d_fsdata);
dentry            154 fs/autofs/autofs_i.h int is_autofs_dentry(struct dentry *);
dentry            178 fs/autofs/autofs_i.h static inline void __managed_dentry_set_managed(struct dentry *dentry)
dentry            180 fs/autofs/autofs_i.h 	dentry->d_flags |= (DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT);
dentry            183 fs/autofs/autofs_i.h static inline void managed_dentry_set_managed(struct dentry *dentry)
dentry            185 fs/autofs/autofs_i.h 	spin_lock(&dentry->d_lock);
dentry            186 fs/autofs/autofs_i.h 	__managed_dentry_set_managed(dentry);
dentry            187 fs/autofs/autofs_i.h 	spin_unlock(&dentry->d_lock);
dentry            190 fs/autofs/autofs_i.h static inline void __managed_dentry_clear_managed(struct dentry *dentry)
dentry            192 fs/autofs/autofs_i.h 	dentry->d_flags &= ~(DCACHE_NEED_AUTOMOUNT|DCACHE_MANAGE_TRANSIT);
dentry            195 fs/autofs/autofs_i.h static inline void managed_dentry_clear_managed(struct dentry *dentry)
dentry            197 fs/autofs/autofs_i.h 	spin_lock(&dentry->d_lock);
dentry            198 fs/autofs/autofs_i.h 	__managed_dentry_clear_managed(dentry);
dentry            199 fs/autofs/autofs_i.h 	spin_unlock(&dentry->d_lock);
dentry            238 fs/autofs/autofs_i.h static inline void __autofs_add_expiring(struct dentry *dentry)
dentry            240 fs/autofs/autofs_i.h 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            241 fs/autofs/autofs_i.h 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            249 fs/autofs/autofs_i.h static inline void autofs_add_expiring(struct dentry *dentry)
dentry            251 fs/autofs/autofs_i.h 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            252 fs/autofs/autofs_i.h 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            262 fs/autofs/autofs_i.h static inline void autofs_del_expiring(struct dentry *dentry)
dentry            264 fs/autofs/autofs_i.h 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            265 fs/autofs/autofs_i.h 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            193 fs/autofs/dev-ioctl.c 	while (path.dentry == path.mnt->mnt_root) {
dentry            194 fs/autofs/dev-ioctl.c 		if (path.dentry->d_sb->s_magic == AUTOFS_SUPER_MAGIC) {
dentry            211 fs/autofs/dev-ioctl.c 	return path->dentry->d_sb->s_dev == *(dev_t *)p;
dentry            216 fs/autofs/dev-ioctl.c 	struct autofs_info *ino = autofs_dentry_ino(path->dentry);
dentry            437 fs/autofs/dev-ioctl.c 	ino = autofs_dentry_ino(path.dentry);
dentry            529 fs/autofs/dev-ioctl.c 		devid = new_encode_dev(path.dentry->d_sb->s_dev);
dentry            531 fs/autofs/dev-ioctl.c 		if (path.mnt->mnt_root == path.dentry) {
dentry            533 fs/autofs/dev-ioctl.c 			magic = path.dentry->d_sb->s_magic;
dentry            547 fs/autofs/dev-ioctl.c 			magic = path.dentry->d_sb->s_magic;
dentry             11 fs/autofs/expire.c static inline int autofs_can_expire(struct dentry *dentry,
dentry             14 fs/autofs/expire.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry             30 fs/autofs/expire.c 			     struct dentry *dentry, unsigned int how)
dentry             32 fs/autofs/expire.c 	struct dentry *top = dentry;
dentry             33 fs/autofs/expire.c 	struct path path = {.mnt = mnt, .dentry = dentry};
dentry             36 fs/autofs/expire.c 	pr_debug("dentry %p %pd\n", dentry, dentry);
dentry             43 fs/autofs/expire.c 	if (is_autofs_dentry(path.dentry)) {
dentry             44 fs/autofs/expire.c 		struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb);
dentry             74 fs/autofs/expire.c static struct dentry *positive_after(struct dentry *p, struct dentry *child)
dentry             79 fs/autofs/expire.c 		child = list_first_entry(&p->d_subdirs, struct dentry, d_child);
dentry             97 fs/autofs/expire.c static struct dentry *get_next_positive_subdir(struct dentry *prev,
dentry             98 fs/autofs/expire.c 					       struct dentry *root)
dentry            101 fs/autofs/expire.c 	struct dentry *q;
dentry            115 fs/autofs/expire.c static struct dentry *get_next_positive_dentry(struct dentry *prev,
dentry            116 fs/autofs/expire.c 					       struct dentry *root)
dentry            119 fs/autofs/expire.c 	struct dentry *p = prev, *ret = NULL, *d = NULL;
dentry            127 fs/autofs/expire.c 		struct dentry *parent;
dentry            151 fs/autofs/expire.c 			      struct dentry *top,
dentry            183 fs/autofs/expire.c 			    struct dentry *top,
dentry            188 fs/autofs/expire.c 	struct dentry *p;
dentry            241 fs/autofs/expire.c static struct dentry *autofs_check_leaves(struct vfsmount *mnt,
dentry            242 fs/autofs/expire.c 					  struct dentry *parent,
dentry            246 fs/autofs/expire.c 	struct dentry *p;
dentry            274 fs/autofs/expire.c static struct dentry *autofs_expire_direct(struct super_block *sb,
dentry            279 fs/autofs/expire.c 	struct dentry *root = dget(sb->s_root);
dentry            321 fs/autofs/expire.c static struct dentry *should_expire(struct dentry *dentry,
dentry            326 fs/autofs/expire.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            339 fs/autofs/expire.c 	if (d_mountpoint(dentry)) {
dentry            340 fs/autofs/expire.c 		pr_debug("checking mountpoint %p %pd\n", dentry, dentry);
dentry            343 fs/autofs/expire.c 		if (autofs_mount_busy(mnt, dentry, how))
dentry            350 fs/autofs/expire.c 			return dentry;
dentry            353 fs/autofs/expire.c 		if (autofs_can_expire(dentry, timeout, how))
dentry            354 fs/autofs/expire.c 			return dentry;
dentry            358 fs/autofs/expire.c 	if (d_really_is_positive(dentry) && d_is_symlink(dentry)) {
dentry            359 fs/autofs/expire.c 		pr_debug("checking symlink %p %pd\n", dentry, dentry);
dentry            363 fs/autofs/expire.c 			return dentry;
dentry            369 fs/autofs/expire.c 		if (autofs_can_expire(dentry, timeout, how))
dentry            370 fs/autofs/expire.c 			return dentry;
dentry            374 fs/autofs/expire.c 	if (simple_empty(dentry))
dentry            383 fs/autofs/expire.c 			if (d_count(dentry) > ino_count)
dentry            387 fs/autofs/expire.c 		if (!autofs_tree_busy(mnt, dentry, timeout, how))
dentry            388 fs/autofs/expire.c 			return dentry;
dentry            394 fs/autofs/expire.c 		struct dentry *expired;
dentry            400 fs/autofs/expire.c 			if (d_count(dentry) > ino_count)
dentry            404 fs/autofs/expire.c 		expired = autofs_check_leaves(mnt, dentry, timeout, how);
dentry            406 fs/autofs/expire.c 			if (expired == dentry)
dentry            407 fs/autofs/expire.c 				dput(dentry);
dentry            420 fs/autofs/expire.c static struct dentry *autofs_expire_indirect(struct super_block *sb,
dentry            426 fs/autofs/expire.c 	struct dentry *root = sb->s_root;
dentry            427 fs/autofs/expire.c 	struct dentry *dentry;
dentry            428 fs/autofs/expire.c 	struct dentry *expired;
dentry            429 fs/autofs/expire.c 	struct dentry *found;
dentry            437 fs/autofs/expire.c 	dentry = NULL;
dentry            438 fs/autofs/expire.c 	while ((dentry = get_next_positive_subdir(dentry, root))) {
dentry            440 fs/autofs/expire.c 		ino = autofs_dentry_ino(dentry);
dentry            447 fs/autofs/expire.c 		expired = should_expire(dentry, mnt, timeout, how);
dentry            467 fs/autofs/expire.c 		if (expired != dentry)
dentry            468 fs/autofs/expire.c 			dput(dentry);
dentry            476 fs/autofs/expire.c 		if (expired != dentry)
dentry            491 fs/autofs/expire.c 	struct dentry *dentry = path->dentry;
dentry            492 fs/autofs/expire.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            493 fs/autofs/expire.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            518 fs/autofs/expire.c 		pr_debug("waiting for expire %p name=%pd\n", dentry, dentry);
dentry            525 fs/autofs/expire.c 		if (d_unhashed(dentry))
dentry            543 fs/autofs/expire.c 	struct dentry *dentry;
dentry            551 fs/autofs/expire.c 	dentry = autofs_expire_indirect(sb, mnt, sbi, 0);
dentry            552 fs/autofs/expire.c 	if (!dentry)
dentry            555 fs/autofs/expire.c 	pkt.len = dentry->d_name.len;
dentry            556 fs/autofs/expire.c 	memcpy(pkt.name, dentry->d_name.name, pkt.len);
dentry            563 fs/autofs/expire.c 	ino = autofs_dentry_ino(dentry);
dentry            570 fs/autofs/expire.c 	dput(dentry);
dentry            578 fs/autofs/expire.c 	struct dentry *dentry;
dentry            582 fs/autofs/expire.c 		dentry = autofs_expire_direct(sb, mnt, sbi, how);
dentry            584 fs/autofs/expire.c 		dentry = autofs_expire_indirect(sb, mnt, sbi, how);
dentry            586 fs/autofs/expire.c 	if (dentry) {
dentry            587 fs/autofs/expire.c 		struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            588 fs/autofs/expire.c 		const struct path path = { .mnt = mnt, .dentry = dentry };
dentry            601 fs/autofs/expire.c 		dput(dentry);
dentry             10 fs/autofs/init.c static struct dentry *autofs_mount(struct file_system_type *fs_type,
dentry             61 fs/autofs/inode.c static int autofs_show_options(struct seq_file *m, struct dentry *root)
dentry            223 fs/autofs/inode.c 	struct dentry *root;
dentry             13 fs/autofs/root.c static int autofs_dir_symlink(struct inode *, struct dentry *, const char *);
dentry             14 fs/autofs/root.c static int autofs_dir_unlink(struct inode *, struct dentry *);
dentry             15 fs/autofs/root.c static int autofs_dir_rmdir(struct inode *, struct dentry *);
dentry             16 fs/autofs/root.c static int autofs_dir_mkdir(struct inode *, struct dentry *, umode_t);
dentry             23 fs/autofs/root.c static struct dentry *autofs_lookup(struct inode *,
dentry             24 fs/autofs/root.c 				    struct dentry *, unsigned int);
dentry             27 fs/autofs/root.c static void autofs_dentry_release(struct dentry *);
dentry             63 fs/autofs/root.c static void autofs_del_active(struct dentry *dentry)
dentry             65 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry             68 fs/autofs/root.c 	ino = autofs_dentry_ino(dentry);
dentry             76 fs/autofs/root.c 	struct dentry *dentry = file->f_path.dentry;
dentry             77 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry             79 fs/autofs/root.c 	pr_debug("file=%p dentry=%p %pd\n", file, dentry, dentry);
dentry             94 fs/autofs/root.c 	if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) {
dentry            104 fs/autofs/root.c static void autofs_dentry_release(struct dentry *de)
dentry            126 fs/autofs/root.c static struct dentry *autofs_lookup_active(struct dentry *dentry)
dentry            128 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            129 fs/autofs/root.c 	struct dentry *parent = dentry->d_parent;
dentry            130 fs/autofs/root.c 	const struct qstr *name = &dentry->d_name;
dentry            142 fs/autofs/root.c 		struct dentry *active;
dentry            146 fs/autofs/root.c 		active = ino->dentry;
dentry            180 fs/autofs/root.c static struct dentry *autofs_lookup_expiring(struct dentry *dentry,
dentry            183 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            184 fs/autofs/root.c 	struct dentry *parent = dentry->d_parent;
dentry            185 fs/autofs/root.c 	const struct qstr *name = &dentry->d_name;
dentry            197 fs/autofs/root.c 		struct dentry *expiring;
dentry            206 fs/autofs/root.c 		expiring = ino->dentry;
dentry            242 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(path->dentry->d_sb);
dentry            243 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(path->dentry);
dentry            249 fs/autofs/root.c 		pr_debug("waiting for mount name=%pd\n", path->dentry);
dentry            262 fs/autofs/root.c 	struct dentry *dentry = path->dentry;
dentry            263 fs/autofs/root.c 	struct dentry *expiring;
dentry            265 fs/autofs/root.c 	expiring = autofs_lookup_expiring(dentry, rcu_walk);
dentry            271 fs/autofs/root.c 		const struct path this = { .mnt = path->mnt, .dentry = expiring };
dentry            284 fs/autofs/root.c static struct dentry *autofs_mountpoint_changed(struct path *path)
dentry            286 fs/autofs/root.c 	struct dentry *dentry = path->dentry;
dentry            287 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            293 fs/autofs/root.c 	if (autofs_type_indirect(sbi->type) && d_unhashed(dentry)) {
dentry            294 fs/autofs/root.c 		struct dentry *parent = dentry->d_parent;
dentry            296 fs/autofs/root.c 		struct dentry *new;
dentry            298 fs/autofs/root.c 		new = d_lookup(parent, &dentry->d_name);
dentry            303 fs/autofs/root.c 		dput(path->dentry);
dentry            304 fs/autofs/root.c 		path->dentry = new;
dentry            306 fs/autofs/root.c 	return path->dentry;
dentry            311 fs/autofs/root.c 	struct dentry *dentry = path->dentry;
dentry            312 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            313 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            316 fs/autofs/root.c 	pr_debug("dentry=%p %pd\n", dentry, dentry);
dentry            349 fs/autofs/root.c 	if (d_really_is_positive(dentry) && d_is_symlink(dentry)) {
dentry            372 fs/autofs/root.c 			if (!simple_empty(dentry)) {
dentry            390 fs/autofs/root.c 	dentry = autofs_mountpoint_changed(path);
dentry            391 fs/autofs/root.c 	if (!dentry)
dentry            399 fs/autofs/root.c 	struct dentry *dentry = path->dentry;
dentry            400 fs/autofs/root.c 	struct autofs_sb_info *sbi = autofs_sbi(dentry->d_sb);
dentry            401 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            404 fs/autofs/root.c 	pr_debug("dentry=%p %pd\n", dentry, dentry);
dentry            439 fs/autofs/root.c 		inode = d_inode_rcu(dentry);
dentry            442 fs/autofs/root.c 		if (list_empty(&dentry->d_subdirs))
dentry            444 fs/autofs/root.c 		if (!simple_empty(dentry))
dentry            464 fs/autofs/root.c 		if ((!path_is_mountpoint(path) && !simple_empty(dentry)) ||
dentry            465 fs/autofs/root.c 		    (d_really_is_positive(dentry) && d_is_symlink(dentry)))
dentry            474 fs/autofs/root.c static struct dentry *autofs_lookup(struct inode *dir,
dentry            475 fs/autofs/root.c 				    struct dentry *dentry, unsigned int flags)
dentry            479 fs/autofs/root.c 	struct dentry *active;
dentry            481 fs/autofs/root.c 	pr_debug("name = %pd\n", dentry);
dentry            484 fs/autofs/root.c 	if (dentry->d_name.len > NAME_MAX)
dentry            494 fs/autofs/root.c 	active = autofs_lookup_active(dentry);
dentry            504 fs/autofs/root.c 		if (!autofs_oz_mode(sbi) && !IS_ROOT(dentry->d_parent))
dentry            512 fs/autofs/root.c 		spin_lock(&dentry->d_lock);
dentry            514 fs/autofs/root.c 		if (IS_ROOT(dentry->d_parent) &&
dentry            516 fs/autofs/root.c 			__managed_dentry_set_managed(dentry);
dentry            517 fs/autofs/root.c 		dentry->d_fsdata = ino;
dentry            518 fs/autofs/root.c 		ino->dentry = dentry;
dentry            522 fs/autofs/root.c 		spin_unlock(&dentry->d_lock);
dentry            528 fs/autofs/root.c 			       struct dentry *dentry,
dentry            532 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            538 fs/autofs/root.c 	pr_debug("%s <- %pd\n", symname, dentry);
dentry            554 fs/autofs/root.c 	autofs_del_active(dentry);
dentry            569 fs/autofs/root.c 	d_add(dentry, inode);
dentry            571 fs/autofs/root.c 	dget(dentry);
dentry            573 fs/autofs/root.c 	p_ino = autofs_dentry_ino(dentry->d_parent);
dentry            574 fs/autofs/root.c 	if (p_ino && !IS_ROOT(dentry))
dentry            597 fs/autofs/root.c static int autofs_dir_unlink(struct inode *dir, struct dentry *dentry)
dentry            600 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            614 fs/autofs/root.c 		p_ino = autofs_dentry_ino(dentry->d_parent);
dentry            615 fs/autofs/root.c 		if (p_ino && !IS_ROOT(dentry))
dentry            618 fs/autofs/root.c 	dput(ino->dentry);
dentry            620 fs/autofs/root.c 	d_inode(dentry)->i_size = 0;
dentry            621 fs/autofs/root.c 	clear_nlink(d_inode(dentry));
dentry            626 fs/autofs/root.c 	__autofs_add_expiring(dentry);
dentry            627 fs/autofs/root.c 	d_drop(dentry);
dentry            644 fs/autofs/root.c static void autofs_set_leaf_automount_flags(struct dentry *dentry)
dentry            646 fs/autofs/root.c 	struct dentry *parent;
dentry            649 fs/autofs/root.c 	if (IS_ROOT(dentry->d_parent))
dentry            652 fs/autofs/root.c 	managed_dentry_set_managed(dentry);
dentry            654 fs/autofs/root.c 	parent = dentry->d_parent;
dentry            661 fs/autofs/root.c static void autofs_clear_leaf_automount_flags(struct dentry *dentry)
dentry            664 fs/autofs/root.c 	struct dentry *parent;
dentry            667 fs/autofs/root.c 	if (IS_ROOT(dentry->d_parent))
dentry            670 fs/autofs/root.c 	managed_dentry_clear_managed(dentry);
dentry            672 fs/autofs/root.c 	parent = dentry->d_parent;
dentry            676 fs/autofs/root.c 	d_child = &dentry->d_child;
dentry            683 fs/autofs/root.c static int autofs_dir_rmdir(struct inode *dir, struct dentry *dentry)
dentry            686 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            689 fs/autofs/root.c 	pr_debug("dentry %p, removing %pd\n", dentry, dentry);
dentry            702 fs/autofs/root.c 	if (!simple_empty(dentry)) {
dentry            706 fs/autofs/root.c 	__autofs_add_expiring(dentry);
dentry            707 fs/autofs/root.c 	d_drop(dentry);
dentry            711 fs/autofs/root.c 		autofs_clear_leaf_automount_flags(dentry);
dentry            714 fs/autofs/root.c 		p_ino = autofs_dentry_ino(dentry->d_parent);
dentry            715 fs/autofs/root.c 		if (p_ino && dentry->d_parent != dentry)
dentry            718 fs/autofs/root.c 	dput(ino->dentry);
dentry            719 fs/autofs/root.c 	d_inode(dentry)->i_size = 0;
dentry            720 fs/autofs/root.c 	clear_nlink(d_inode(dentry));
dentry            729 fs/autofs/root.c 			    struct dentry *dentry, umode_t mode)
dentry            732 fs/autofs/root.c 	struct autofs_info *ino = autofs_dentry_ino(dentry);
dentry            746 fs/autofs/root.c 	pr_debug("dentry %p, creating %pd\n", dentry, dentry);
dentry            752 fs/autofs/root.c 	autofs_del_active(dentry);
dentry            757 fs/autofs/root.c 	d_add(dentry, inode);
dentry            760 fs/autofs/root.c 		autofs_set_leaf_automount_flags(dentry);
dentry            762 fs/autofs/root.c 	dget(dentry);
dentry            764 fs/autofs/root.c 	p_ino = autofs_dentry_ino(dentry->d_parent);
dentry            765 fs/autofs/root.c 	if (p_ino && !IS_ROOT(dentry))
dentry            859 fs/autofs/root.c int is_autofs_dentry(struct dentry *dentry)
dentry            861 fs/autofs/root.c 	return dentry && d_really_is_positive(dentry) &&
dentry            862 fs/autofs/root.c 		dentry->d_op == &autofs_dentry_operations &&
dentry            863 fs/autofs/root.c 		dentry->d_fsdata != NULL;
dentry              8 fs/autofs/symlink.c static const char *autofs_get_link(struct dentry *dentry,
dentry             15 fs/autofs/symlink.c 	if (!dentry)
dentry             17 fs/autofs/symlink.c 	sbi = autofs_sbi(dentry->d_sb);
dentry             18 fs/autofs/symlink.c 	ino = autofs_dentry_ino(dentry);
dentry             21 fs/autofs/symlink.c 	return d_inode(dentry)->i_private;
dentry            179 fs/autofs/waitq.c 			  struct dentry *dentry, char *name)
dentry            181 fs/autofs/waitq.c 	struct dentry *root = sbi->sb->s_root;
dentry            182 fs/autofs/waitq.c 	struct dentry *tmp;
dentry            195 fs/autofs/waitq.c 	for (tmp = dentry ; tmp != root ; tmp = tmp->d_parent)
dentry            207 fs/autofs/waitq.c 	p = buf + len - dentry->d_name.len;
dentry            208 fs/autofs/waitq.c 	strncpy(p, dentry->d_name.name, dentry->d_name.len);
dentry            210 fs/autofs/waitq.c 	for (tmp = dentry->d_parent; tmp != root ; tmp = tmp->d_parent) {
dentry            251 fs/autofs/waitq.c 	struct dentry *dentry = path->dentry;
dentry            268 fs/autofs/waitq.c 	ino = autofs_dentry_ino(dentry);
dentry            313 fs/autofs/waitq.c 		struct dentry *new = NULL;
dentry            324 fs/autofs/waitq.c 		if (!IS_ROOT(dentry)) {
dentry            325 fs/autofs/waitq.c 			if (d_unhashed(dentry) &&
dentry            326 fs/autofs/waitq.c 			    d_really_is_positive(dentry)) {
dentry            327 fs/autofs/waitq.c 				struct dentry *parent = dentry->d_parent;
dentry            329 fs/autofs/waitq.c 				new = d_lookup(parent, &dentry->d_name);
dentry            331 fs/autofs/waitq.c 					dentry = new;
dentry            335 fs/autofs/waitq.c 		this.dentry = dentry;
dentry            350 fs/autofs/waitq.c 	struct dentry *dentry = path->dentry;
dentry            372 fs/autofs/waitq.c 	if (d_really_is_negative(dentry)) {
dentry            383 fs/autofs/waitq.c 		else if (!IS_ROOT(dentry->d_parent))
dentry            392 fs/autofs/waitq.c 	if (IS_ROOT(dentry) && autofs_type_trigger(sbi->type))
dentry            393 fs/autofs/waitq.c 		qstr.len = sprintf(name, "%p", dentry);
dentry            395 fs/autofs/waitq.c 		qstr.len = autofs_getpath(sbi, dentry, name);
dentry            402 fs/autofs/waitq.c 	qstr.hash = full_name_hash(dentry, name, qstr.len);
dentry            493 fs/autofs/waitq.c 		struct dentry *de = NULL;
dentry            496 fs/autofs/waitq.c 		ino = autofs_dentry_ino(dentry);
dentry            499 fs/autofs/waitq.c 			de = d_lookup(dentry->d_parent, &dentry->d_name);
dentry             29 fs/bad_inode.c static int bad_inode_create (struct inode *dir, struct dentry *dentry,
dentry             35 fs/bad_inode.c static struct dentry *bad_inode_lookup(struct inode *dir,
dentry             36 fs/bad_inode.c 			struct dentry *dentry, unsigned int flags)
dentry             41 fs/bad_inode.c static int bad_inode_link (struct dentry *old_dentry, struct inode *dir,
dentry             42 fs/bad_inode.c 		struct dentry *dentry)
dentry             47 fs/bad_inode.c static int bad_inode_unlink(struct inode *dir, struct dentry *dentry)
dentry             52 fs/bad_inode.c static int bad_inode_symlink (struct inode *dir, struct dentry *dentry,
dentry             58 fs/bad_inode.c static int bad_inode_mkdir(struct inode *dir, struct dentry *dentry,
dentry             64 fs/bad_inode.c static int bad_inode_rmdir (struct inode *dir, struct dentry *dentry)
dentry             69 fs/bad_inode.c static int bad_inode_mknod (struct inode *dir, struct dentry *dentry,
dentry             75 fs/bad_inode.c static int bad_inode_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry             76 fs/bad_inode.c 			     struct inode *new_dir, struct dentry *new_dentry,
dentry             82 fs/bad_inode.c static int bad_inode_readlink(struct dentry *dentry, char __user *buffer,
dentry             99 fs/bad_inode.c static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs)
dentry            104 fs/bad_inode.c static ssize_t bad_inode_listxattr(struct dentry *dentry, char *buffer,
dentry            110 fs/bad_inode.c static const char *bad_inode_get_link(struct dentry *dentry,
dentry            135 fs/bad_inode.c static int bad_inode_atomic_open(struct inode *inode, struct dentry *dentry,
dentry            142 fs/bad_inode.c static int bad_inode_tmpfile(struct inode *inode, struct dentry *dentry,
dentry             44 fs/befs/linuxvfs.c static struct dentry *befs_lookup(struct inode *, struct dentry *,
dentry             57 fs/befs/linuxvfs.c static int befs_statfs(struct dentry *, struct kstatfs *);
dentry             58 fs/befs/linuxvfs.c static int befs_show_options(struct seq_file *, struct dentry *);
dentry             60 fs/befs/linuxvfs.c static struct dentry *befs_fh_to_dentry(struct super_block *sb,
dentry             62 fs/befs/linuxvfs.c static struct dentry *befs_fh_to_parent(struct super_block *sb,
dentry             64 fs/befs/linuxvfs.c static struct dentry *befs_get_parent(struct dentry *child);
dentry            170 fs/befs/linuxvfs.c static struct dentry *
dentry            171 fs/befs/linuxvfs.c befs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            180 fs/befs/linuxvfs.c 	const char *name = dentry->d_name.name;
dentry            183 fs/befs/linuxvfs.c 		   dentry, dir->i_ino);
dentry            201 fs/befs/linuxvfs.c 		befs_debug(sb, "<--- %s %pd not found", __func__, dentry);
dentry            211 fs/befs/linuxvfs.c 	return d_splice_alias(inode, dentry);
dentry            649 fs/befs/linuxvfs.c static struct dentry *befs_fh_to_dentry(struct super_block *sb,
dentry            659 fs/befs/linuxvfs.c static struct dentry *befs_fh_to_parent(struct super_block *sb,
dentry            666 fs/befs/linuxvfs.c static struct dentry *befs_get_parent(struct dentry *child)
dentry            768 fs/befs/linuxvfs.c static int befs_show_options(struct seq_file *m, struct dentry *root)
dentry            951 fs/befs/linuxvfs.c befs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            953 fs/befs/linuxvfs.c 	struct super_block *sb = dentry->d_sb;
dentry            974 fs/befs/linuxvfs.c static struct dentry *
dentry             78 fs/bfs/dir.c   static int bfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            113 fs/bfs/dir.c   	err = bfs_add_entry(dir, &dentry->d_name, inode->i_ino);
dentry            121 fs/bfs/dir.c   	d_instantiate(dentry, inode);
dentry            125 fs/bfs/dir.c   static struct dentry *bfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            133 fs/bfs/dir.c   	if (dentry->d_name.len > BFS_NAMELEN)
dentry            137 fs/bfs/dir.c   	bh = bfs_find_entry(dir, &dentry->d_name, &de);
dentry            144 fs/bfs/dir.c   	return d_splice_alias(inode, dentry);
dentry            147 fs/bfs/dir.c   static int bfs_link(struct dentry *old, struct inode *dir,
dentry            148 fs/bfs/dir.c   						struct dentry *new)
dentry            169 fs/bfs/dir.c   static int bfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            172 fs/bfs/dir.c   	struct inode *inode = d_inode(dentry);
dentry            178 fs/bfs/dir.c   	bh = bfs_find_entry(dir, &dentry->d_name, &de);
dentry            202 fs/bfs/dir.c   static int bfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            203 fs/bfs/dir.c   		      struct inode *new_dir, struct dentry *new_dentry,
dentry            221 fs/bfs/inode.c static int bfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            223 fs/bfs/inode.c 	struct super_block *s = dentry->d_sb;
dentry            453 fs/bfs/inode.c static struct dentry *bfs_mount(struct file_system_type *fs_type,
dentry             61 fs/binfmt_misc.c 	struct dentry *dentry;
dentry            147 fs/binfmt_misc.c 		dget(fmt->dentry);
dentry            242 fs/binfmt_misc.c 	dput(fmt->dentry);
dentry            616 fs/binfmt_misc.c 	struct dentry *dentry;
dentry            622 fs/binfmt_misc.c 	dentry = e->dentry;
dentry            623 fs/binfmt_misc.c 	drop_nlink(d_inode(dentry));
dentry            624 fs/binfmt_misc.c 	d_drop(dentry);
dentry            625 fs/binfmt_misc.c 	dput(dentry);
dentry            653 fs/binfmt_misc.c 	struct dentry *root;
dentry            697 fs/binfmt_misc.c 	struct dentry *root = sb->s_root, *dentry;
dentry            706 fs/binfmt_misc.c 	dentry = lookup_one_len(e->name, root, strlen(e->name));
dentry            707 fs/binfmt_misc.c 	err = PTR_ERR(dentry);
dentry            708 fs/binfmt_misc.c 	if (IS_ERR(dentry))
dentry            712 fs/binfmt_misc.c 	if (d_really_is_positive(dentry))
dentry            743 fs/binfmt_misc.c 	e->dentry = dget(dentry);
dentry            747 fs/binfmt_misc.c 	d_instantiate(dentry, inode);
dentry            754 fs/binfmt_misc.c 	dput(dentry);
dentry            784 fs/binfmt_misc.c 	struct dentry *root;
dentry           2173 fs/block_dev.c 	inode = d_backing_inode(path.dentry);
dentry           2823 fs/btrfs/ctree.h struct inode *btrfs_lookup_dentry(struct inode *dir, struct dentry *dentry);
dentry           2832 fs/btrfs/ctree.h int btrfs_delete_subvolume(struct inode *dir, struct dentry *dentry);
dentry             60 fs/btrfs/export.c static struct dentry *btrfs_get_dentry(struct super_block *sb, u64 objectid,
dentry            109 fs/btrfs/export.c static struct dentry *btrfs_fh_to_parent(struct super_block *sb, struct fid *fh,
dentry            133 fs/btrfs/export.c static struct dentry *btrfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
dentry            155 fs/btrfs/export.c static struct dentry *btrfs_get_parent(struct dentry *child)
dentry            223 fs/btrfs/export.c static int btrfs_get_name(struct dentry *parent, char *name,
dentry            224 fs/btrfs/export.c 			  struct dentry *child)
dentry           2064 fs/btrfs/file.c 	struct dentry *dentry = file_dentry(file);
dentry           2065 fs/btrfs/file.c 	struct inode *inode = d_inode(dentry);
dentry           2202 fs/btrfs/file.c 	ret = btrfs_log_dentry_safe(trans, dentry, start, end, &ctx);
dentry           4256 fs/btrfs/inode.c static int btrfs_unlink(struct inode *dir, struct dentry *dentry)
dentry           4260 fs/btrfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           4267 fs/btrfs/inode.c 	btrfs_record_unlink_dir(trans, BTRFS_I(dir), BTRFS_I(d_inode(dentry)),
dentry           4271 fs/btrfs/inode.c 			BTRFS_I(d_inode(dentry)), dentry->d_name.name,
dentry           4272 fs/btrfs/inode.c 			dentry->d_name.len);
dentry           4289 fs/btrfs/inode.c 			       struct inode *dir, struct dentry *dentry)
dentry           4292 fs/btrfs/inode.c 	struct btrfs_inode *inode = BTRFS_I(d_inode(dentry));
dentry           4297 fs/btrfs/inode.c 	const char *name = dentry->d_name.name;
dentry           4298 fs/btrfs/inode.c 	int name_len = dentry->d_name.len;
dentry           4505 fs/btrfs/inode.c int btrfs_delete_subvolume(struct inode *dir, struct dentry *dentry)
dentry           4507 fs/btrfs/inode.c 	struct btrfs_fs_info *fs_info = btrfs_sb(dentry->d_sb);
dentry           4509 fs/btrfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           4561 fs/btrfs/inode.c 	ret = btrfs_unlink_subvol(trans, dir, dentry);
dentry           4624 fs/btrfs/inode.c 		d_invalidate(dentry);
dentry           4638 fs/btrfs/inode.c static int btrfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry           4640 fs/btrfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           4649 fs/btrfs/inode.c 		return btrfs_delete_subvolume(dir, dentry);
dentry           4656 fs/btrfs/inode.c 		err = btrfs_unlink_subvol(trans, dir, dentry);
dentry           4668 fs/btrfs/inode.c 			BTRFS_I(d_inode(dentry)), dentry->d_name.name,
dentry           4669 fs/btrfs/inode.c 			dentry->d_name.len);
dentry           5381 fs/btrfs/inode.c static int btrfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry           5383 fs/btrfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           5390 fs/btrfs/inode.c 	err = setattr_prepare(dentry, attr);
dentry           5663 fs/btrfs/inode.c static int btrfs_inode_by_name(struct inode *dir, struct dentry *dentry,
dentry           5666 fs/btrfs/inode.c 	const char *name = dentry->d_name.name;
dentry           5667 fs/btrfs/inode.c 	int namelen = dentry->d_name.len;
dentry           5707 fs/btrfs/inode.c 				    struct dentry *dentry,
dentry           5740 fs/btrfs/inode.c 	    btrfs_root_ref_name_len(leaf, ref) != dentry->d_name.len)
dentry           5743 fs/btrfs/inode.c 	ret = memcmp_extent_buffer(leaf, dentry->d_name.name,
dentry           5745 fs/btrfs/inode.c 				   dentry->d_name.len);
dentry           5948 fs/btrfs/inode.c struct inode *btrfs_lookup_dentry(struct inode *dir, struct dentry *dentry)
dentry           5959 fs/btrfs/inode.c 	if (dentry->d_name.len > BTRFS_NAME_LEN)
dentry           5962 fs/btrfs/inode.c 	ret = btrfs_inode_by_name(dir, dentry, &location, &di_type);
dentry           5984 fs/btrfs/inode.c 	ret = fixup_tree_root_location(fs_info, dir, dentry,
dentry           6010 fs/btrfs/inode.c static int btrfs_dentry_delete(const struct dentry *dentry)
dentry           6013 fs/btrfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           6015 fs/btrfs/inode.c 	if (!inode && !IS_ROOT(dentry))
dentry           6016 fs/btrfs/inode.c 		inode = d_inode(dentry->d_parent);
dentry           6029 fs/btrfs/inode.c static struct dentry *btrfs_lookup(struct inode *dir, struct dentry *dentry,
dentry           6032 fs/btrfs/inode.c 	struct inode *inode = btrfs_lookup_dentry(dir, dentry);
dentry           6036 fs/btrfs/inode.c 	return d_splice_alias(inode, dentry);
dentry           6673 fs/btrfs/inode.c 			    struct btrfs_inode *dir, struct dentry *dentry,
dentry           6677 fs/btrfs/inode.c 				 dentry->d_name.name, dentry->d_name.len,
dentry           6684 fs/btrfs/inode.c static int btrfs_mknod(struct inode *dir, struct dentry *dentry,
dentry           6708 fs/btrfs/inode.c 	inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name,
dentry           6709 fs/btrfs/inode.c 			dentry->d_name.len, btrfs_ino(BTRFS_I(dir)), objectid,
dentry           6726 fs/btrfs/inode.c 	err = btrfs_init_inode_security(trans, inode, dir, &dentry->d_name);
dentry           6730 fs/btrfs/inode.c 	err = btrfs_add_nondir(trans, BTRFS_I(dir), dentry, BTRFS_I(inode),
dentry           6736 fs/btrfs/inode.c 	d_instantiate_new(dentry, inode);
dentry           6748 fs/btrfs/inode.c static int btrfs_create(struct inode *dir, struct dentry *dentry,
dentry           6772 fs/btrfs/inode.c 	inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name,
dentry           6773 fs/btrfs/inode.c 			dentry->d_name.len, btrfs_ino(BTRFS_I(dir)), objectid,
dentry           6790 fs/btrfs/inode.c 	err = btrfs_init_inode_security(trans, inode, dir, &dentry->d_name);
dentry           6798 fs/btrfs/inode.c 	err = btrfs_add_nondir(trans, BTRFS_I(dir), dentry, BTRFS_I(inode),
dentry           6804 fs/btrfs/inode.c 	d_instantiate_new(dentry, inode);
dentry           6816 fs/btrfs/inode.c static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
dentry           6817 fs/btrfs/inode.c 		      struct dentry *dentry)
dentry           6859 fs/btrfs/inode.c 	err = btrfs_add_nondir(trans, BTRFS_I(dir), dentry, BTRFS_I(inode),
dentry           6865 fs/btrfs/inode.c 		struct dentry *parent = dentry->d_parent;
dentry           6880 fs/btrfs/inode.c 		d_instantiate(dentry, inode);
dentry           6900 fs/btrfs/inode.c static int btrfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           6923 fs/btrfs/inode.c 	inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name,
dentry           6924 fs/btrfs/inode.c 			dentry->d_name.len, btrfs_ino(BTRFS_I(dir)), objectid,
dentry           6936 fs/btrfs/inode.c 	err = btrfs_init_inode_security(trans, inode, dir, &dentry->d_name);
dentry           6946 fs/btrfs/inode.c 			dentry->d_name.name,
dentry           6947 fs/btrfs/inode.c 			dentry->d_name.len, 0, index);
dentry           6951 fs/btrfs/inode.c 	d_instantiate_new(dentry, inode);
dentry           9571 fs/btrfs/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry           9604 fs/btrfs/inode.c 			      struct dentry *old_dentry,
dentry           9606 fs/btrfs/inode.c 			      struct dentry *new_dentry)
dentry           9615 fs/btrfs/inode.c 	struct dentry *parent;
dentry           9879 fs/btrfs/inode.c 				     struct dentry *dentry)
dentry           9891 fs/btrfs/inode.c 				dentry->d_name.name,
dentry           9892 fs/btrfs/inode.c 				dentry->d_name.len,
dentry           9908 fs/btrfs/inode.c 				&dentry->d_name);
dentry           9912 fs/btrfs/inode.c 	ret = btrfs_add_nondir(trans, BTRFS_I(dir), dentry,
dentry           9927 fs/btrfs/inode.c static int btrfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           9928 fs/btrfs/inode.c 			   struct inode *new_dir, struct dentry *new_dentry,
dentry           10094 fs/btrfs/inode.c 		struct dentry *parent = new_dentry->d_parent;
dentry           10165 fs/btrfs/inode.c static int btrfs_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry           10166 fs/btrfs/inode.c 			 struct inode *new_dir, struct dentry *new_dentry,
dentry           10348 fs/btrfs/inode.c static int btrfs_symlink(struct inode *dir, struct dentry *dentry,
dentry           10385 fs/btrfs/inode.c 	inode = btrfs_new_inode(trans, root, dir, dentry->d_name.name,
dentry           10386 fs/btrfs/inode.c 				dentry->d_name.len, btrfs_ino(BTRFS_I(dir)),
dentry           10405 fs/btrfs/inode.c 	err = btrfs_init_inode_security(trans, inode, dir, &dentry->d_name);
dentry           10451 fs/btrfs/inode.c 		err = btrfs_add_nondir(trans, BTRFS_I(dir), dentry,
dentry           10456 fs/btrfs/inode.c 	d_instantiate_new(dentry, inode);
dentry           10647 fs/btrfs/inode.c static int btrfs_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           10701 fs/btrfs/inode.c 	d_tmpfile(dentry, inode);
dentry            556 fs/btrfs/ioctl.c 				  struct dentry *dentry,
dentry            743 fs/btrfs/ioctl.c 		inode = btrfs_lookup_dentry(dir, dentry);
dentry            746 fs/btrfs/ioctl.c 		d_instantiate(dentry, inode);
dentry            756 fs/btrfs/ioctl.c 			   struct dentry *dentry,
dentry            829 fs/btrfs/ioctl.c 	pending_snapshot->dentry = dentry;
dentry            864 fs/btrfs/ioctl.c 	inode = btrfs_lookup_dentry(d_inode(dentry->d_parent), dentry);
dentry            870 fs/btrfs/ioctl.c 	d_instantiate(dentry, inode);
dentry            907 fs/btrfs/ioctl.c static int btrfs_may_delete(struct inode *dir, struct dentry *victim, int isdir)
dentry            940 fs/btrfs/ioctl.c static inline int btrfs_may_create(struct inode *dir, struct dentry *child)
dentry            960 fs/btrfs/ioctl.c 	struct inode *dir = d_inode(parent->dentry);
dentry            962 fs/btrfs/ioctl.c 	struct dentry *dentry;
dentry            969 fs/btrfs/ioctl.c 	dentry = lookup_one_len(name, parent->dentry, namelen);
dentry            970 fs/btrfs/ioctl.c 	error = PTR_ERR(dentry);
dentry            971 fs/btrfs/ioctl.c 	if (IS_ERR(dentry))
dentry            974 fs/btrfs/ioctl.c 	error = btrfs_may_create(dir, dentry);
dentry            994 fs/btrfs/ioctl.c 		error = create_snapshot(snap_src, dir, dentry,
dentry            997 fs/btrfs/ioctl.c 		error = create_subvol(dir, dentry, name, namelen,
dentry           1001 fs/btrfs/ioctl.c 		fsnotify_mkdir(dir, dentry);
dentry           1005 fs/btrfs/ioctl.c 	dput(dentry);
dentry           2842 fs/btrfs/ioctl.c 	struct dentry *parent = file->f_path.dentry;
dentry           2844 fs/btrfs/ioctl.c 	struct dentry *dentry;
dentry           2876 fs/btrfs/ioctl.c 	dentry = lookup_one_len(vol_args->name, parent, namelen);
dentry           2877 fs/btrfs/ioctl.c 	if (IS_ERR(dentry)) {
dentry           2878 fs/btrfs/ioctl.c 		err = PTR_ERR(dentry);
dentry           2882 fs/btrfs/ioctl.c 	if (d_really_is_negative(dentry)) {
dentry           2887 fs/btrfs/ioctl.c 	inode = d_inode(dentry);
dentry           2924 fs/btrfs/ioctl.c 	err = btrfs_may_delete(dir, dentry, 1);
dentry           2934 fs/btrfs/ioctl.c 	err = btrfs_delete_subvolume(dir, dentry);
dentry           2937 fs/btrfs/ioctl.c 		fsnotify_rmdir(dir, dentry);
dentry           2938 fs/btrfs/ioctl.c 		d_delete(dentry);
dentry           2942 fs/btrfs/ioctl.c 	dput(dentry);
dentry           1286 fs/btrfs/super.c static int btrfs_show_options(struct seq_file *seq, struct dentry *dentry)
dentry           1288 fs/btrfs/super.c 	struct btrfs_fs_info *info = btrfs_sb(dentry->d_sb);
dentry           1373 fs/btrfs/super.c 		  BTRFS_I(d_inode(dentry))->root->root_key.objectid);
dentry           1375 fs/btrfs/super.c 	seq_dentry(seq, dentry, " \t\n\\");
dentry           1405 fs/btrfs/super.c static struct dentry *mount_subvol(const char *subvol_name, u64 subvol_objectid,
dentry           1408 fs/btrfs/super.c 	struct dentry *root;
dentry           1476 fs/btrfs/super.c static struct dentry *btrfs_mount_root(struct file_system_type *fs_type,
dentry           1604 fs/btrfs/super.c static struct dentry *btrfs_mount(struct file_system_type *fs_type, int flags,
dentry           1608 fs/btrfs/super.c 	struct dentry *root;
dentry           2023 fs/btrfs/super.c static int btrfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           2025 fs/btrfs/super.c 	struct btrfs_fs_info *fs_info = btrfs_sb(dentry->d_sb);
dentry           2032 fs/btrfs/super.c 	int bits = dentry->d_sb->s_blocksize_bits;
dentry           2119 fs/btrfs/super.c 	buf->f_bsize = dentry->d_sb->s_blocksize;
dentry           2129 fs/btrfs/super.c 		BTRFS_I(d_inode(dentry))->root->root_key.objectid >> 32;
dentry           2131 fs/btrfs/super.c 		BTRFS_I(d_inode(dentry))->root->root_key.objectid;
dentry           2254 fs/btrfs/super.c static int btrfs_show_devname(struct seq_file *m, struct dentry *root)
dentry           1418 fs/btrfs/transaction.c 	struct dentry *dentry;
dentry           1466 fs/btrfs/transaction.c 	dentry = pending->dentry;
dentry           1482 fs/btrfs/transaction.c 					 dentry->d_name.name,
dentry           1483 fs/btrfs/transaction.c 					 dentry->d_name.len, 0);
dentry           1576 fs/btrfs/transaction.c 				 dentry->d_name.name, dentry->d_name.len);
dentry           1613 fs/btrfs/transaction.c 	ret = btrfs_insert_dir_item(trans, dentry->d_name.name,
dentry           1614 fs/btrfs/transaction.c 				    dentry->d_name.len, BTRFS_I(parent_inode),
dentry           1624 fs/btrfs/transaction.c 					 dentry->d_name.len * 2);
dentry            131 fs/btrfs/transaction.h 	struct dentry *dentry;
dentry           5446 fs/btrfs/tree-log.c 					       struct dentry *parent,
dentry           5451 fs/btrfs/tree-log.c 	struct dentry *old_parent = NULL;
dentry           5861 fs/btrfs/tree-log.c 				  struct dentry *parent,
dentry           5866 fs/btrfs/tree-log.c 	struct dentry *old_parent = NULL;
dentry           5899 fs/btrfs/tree-log.c 				 struct dentry *parent,
dentry           5988 fs/btrfs/tree-log.c 				  struct dentry *parent,
dentry           6138 fs/btrfs/tree-log.c 			  struct dentry *dentry,
dentry           6143 fs/btrfs/tree-log.c 	struct dentry *parent = dget_parent(dentry);
dentry           6146 fs/btrfs/tree-log.c 	ret = btrfs_log_inode_parent(trans, BTRFS_I(d_inode(dentry)), parent,
dentry           6433 fs/btrfs/tree-log.c 			struct dentry *parent,
dentry             51 fs/btrfs/tree-log.h 			  struct dentry *dentry,
dentry             79 fs/btrfs/tree-log.h 			struct dentry *parent,
dentry            249 fs/btrfs/xattr.c ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            252 fs/btrfs/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            355 fs/btrfs/xattr.c 				   struct dentry *unused, struct inode *inode,
dentry            363 fs/btrfs/xattr.c 				   struct dentry *unused, struct inode *inode,
dentry            372 fs/btrfs/xattr.c 					struct dentry *unused, struct inode *inode,
dentry             19 fs/btrfs/xattr.h ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry             86 fs/cachefiles/bind.c 	struct dentry *graveyard, *cachedir, *root;
dentry            119 fs/cachefiles/bind.c 	root = path.dentry;
dentry            195 fs/cachefiles/bind.c 	fsdef->dentry = cachedir;
dentry            215 fs/cachefiles/bind.c 			   fsdef->dentry->d_sb->s_id);
dentry            241 fs/cachefiles/bind.c 	dput(fsdef->dentry);
dentry            242 fs/cachefiles/bind.c 	fsdef->dentry = NULL;
dentry            574 fs/cachefiles/daemon.c 	if (!d_can_lookup(path.dentry))
dentry            578 fs/cachefiles/daemon.c 	ret = cachefiles_cull(cache, path.dentry, args);
dentry            646 fs/cachefiles/daemon.c 	if (!d_can_lookup(path.dentry))
dentry            650 fs/cachefiles/daemon.c 	ret = cachefiles_check_in_use(cache, path.dentry, args);
dentry            677 fs/cachefiles/daemon.c 		.dentry	= cache->mnt->mnt_root,
dentry            288 fs/cachefiles/interface.c 	if (object->dentry) {
dentry            294 fs/cachefiles/interface.c 			inode = d_backing_inode(object->dentry);
dentry            304 fs/cachefiles/interface.c 		if (object->backer != object->dentry)
dentry            313 fs/cachefiles/interface.c 	dput(object->dentry);
dentry            314 fs/cachefiles/interface.c 	object->dentry = NULL;
dentry            353 fs/cachefiles/interface.c 		ASSERTCMP(object->dentry, ==, NULL);
dentry            522 fs/cachefiles/interface.c 		path.dentry = object->backer;
dentry             38 fs/cachefiles/internal.h 	struct dentry			*dentry;	/* the file/dir representing this object */
dentry             39 fs/cachefiles/internal.h 	struct dentry			*backer;	/* backing file */
dentry             58 fs/cachefiles/internal.h 	struct dentry			*graveyard;	/* directory into which dead objects go */
dentry            170 fs/cachefiles/internal.h extern struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache,
dentry            171 fs/cachefiles/internal.h 					       struct dentry *dir,
dentry            174 fs/cachefiles/internal.h extern int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir,
dentry            178 fs/cachefiles/internal.h 				   struct dentry *dir, char *filename);
dentry            225 fs/cachefiles/internal.h 					       struct dentry *root,
dentry            252 fs/cachefiles/internal.h 					  struct dentry *dentry);
dentry             85 fs/cachefiles/namei.c 					  struct dentry *dentry,
dentry             91 fs/cachefiles/namei.c 	_enter(",'%pd'", dentry);
dentry             98 fs/cachefiles/namei.c 		if (object->dentry > dentry)
dentry            100 fs/cachefiles/namei.c 		else if (object->dentry < dentry)
dentry            107 fs/cachefiles/namei.c 	trace_cachefiles_mark_buried(NULL, dentry, why);
dentry            116 fs/cachefiles/namei.c 	       dentry);
dentry            118 fs/cachefiles/namei.c 	trace_cachefiles_mark_buried(object, dentry, why);
dentry            141 fs/cachefiles/namei.c 	struct dentry *dentry;
dentry            148 fs/cachefiles/namei.c 	dentry = object->dentry;
dentry            149 fs/cachefiles/namei.c 	trace_cachefiles_mark_active(object, dentry);
dentry            165 fs/cachefiles/namei.c 		if (xobject->dentry > dentry)
dentry            167 fs/cachefiles/namei.c 		else if (xobject->dentry < dentry)
dentry            183 fs/cachefiles/namei.c 	trace_cachefiles_wait_active(object, dentry, xobject);
dentry            260 fs/cachefiles/namei.c 	struct dentry *dentry = object->dentry;
dentry            261 fs/cachefiles/namei.c 	struct inode *inode = d_backing_inode(dentry);
dentry            263 fs/cachefiles/namei.c 	trace_cachefiles_mark_inactive(object, dentry, inode);
dentry            289 fs/cachefiles/namei.c 				  struct dentry *dir,
dentry            290 fs/cachefiles/namei.c 				  struct dentry *rep,
dentry            294 fs/cachefiles/namei.c 	struct dentry *grave, *trap;
dentry            308 fs/cachefiles/namei.c 		path.dentry = dir;
dentry            408 fs/cachefiles/namei.c 	path.dentry = dir;
dentry            410 fs/cachefiles/namei.c 	path_to_graveyard.dentry = cache->graveyard;
dentry            438 fs/cachefiles/namei.c 	struct dentry *dir;
dentry            441 fs/cachefiles/namei.c 	_enter(",OBJ%x{%p}", object->fscache.debug_id, object->dentry);
dentry            443 fs/cachefiles/namei.c 	ASSERT(object->dentry);
dentry            444 fs/cachefiles/namei.c 	ASSERT(d_backing_inode(object->dentry));
dentry            445 fs/cachefiles/namei.c 	ASSERT(object->dentry->d_parent);
dentry            447 fs/cachefiles/namei.c 	dir = dget_parent(object->dentry);
dentry            460 fs/cachefiles/namei.c 		if (dir == object->dentry->d_parent) {
dentry            462 fs/cachefiles/namei.c 						     object->dentry, false,
dentry            488 fs/cachefiles/namei.c 	struct dentry *dir, *next = NULL;
dentry            496 fs/cachefiles/namei.c 	       parent->fscache.debug_id, parent->dentry,
dentry            503 fs/cachefiles/namei.c 	ASSERT(parent->dentry);
dentry            504 fs/cachefiles/namei.c 	ASSERT(d_backing_inode(parent->dentry));
dentry            506 fs/cachefiles/namei.c 	if (!(d_is_dir(parent->dentry))) {
dentry            512 fs/cachefiles/namei.c 	dir = dget(parent->dentry);
dentry            559 fs/cachefiles/namei.c 			path.dentry = dir;
dentry            595 fs/cachefiles/namei.c 			path.dentry = dir;
dentry            632 fs/cachefiles/namei.c 	object->dentry = next;
dentry            643 fs/cachefiles/namei.c 			object->dentry = NULL;
dentry            682 fs/cachefiles/namei.c 		path.dentry = next;
dentry            688 fs/cachefiles/namei.c 		if (d_is_reg(object->dentry)) {
dentry            692 fs/cachefiles/namei.c 			aops = d_backing_inode(object->dentry)->i_mapping->a_ops;
dentry            695 fs/cachefiles/namei.c 			if (object->dentry->d_sb->s_blocksize > PAGE_SIZE)
dentry            698 fs/cachefiles/namei.c 			object->backer = object->dentry;
dentry            707 fs/cachefiles/namei.c 	_leave(" = 0 [%lu]", d_backing_inode(object->dentry)->i_ino);
dentry            725 fs/cachefiles/namei.c 		cache, object, d_backing_inode(object->dentry)->i_blocks);
dentry            727 fs/cachefiles/namei.c 	dput(object->dentry);
dentry            728 fs/cachefiles/namei.c 	object->dentry = NULL;
dentry            754 fs/cachefiles/namei.c struct dentry *cachefiles_get_directory(struct cachefiles_cache *cache,
dentry            755 fs/cachefiles/namei.c 					struct dentry *dir,
dentry            758 fs/cachefiles/namei.c 	struct dentry *subdir;
dentry            790 fs/cachefiles/namei.c 		path.dentry = dir;
dentry            863 fs/cachefiles/namei.c static struct dentry *cachefiles_check_active(struct cachefiles_cache *cache,
dentry            864 fs/cachefiles/namei.c 					      struct dentry *dir,
dentry            869 fs/cachefiles/namei.c 	struct dentry *victim;
dentry            906 fs/cachefiles/namei.c 		if (object->dentry > victim)
dentry            908 fs/cachefiles/namei.c 		else if (object->dentry < victim)
dentry            950 fs/cachefiles/namei.c int cachefiles_cull(struct cachefiles_cache *cache, struct dentry *dir,
dentry            953 fs/cachefiles/namei.c 	struct dentry *victim;
dentry           1010 fs/cachefiles/namei.c int cachefiles_check_in_use(struct cachefiles_cache *cache, struct dentry *dir,
dentry           1013 fs/cachefiles/namei.c 	struct dentry *victim;
dentry            921 fs/cachefiles/rdwr.c 	path.dentry = object->backer;
dentry             50 fs/cachefiles/security.c 				      struct dentry *root)
dentry             76 fs/cachefiles/security.c 					struct dentry *root,
dentry             27 fs/cachefiles/xattr.c 	struct dentry *dentry = object->dentry;
dentry             31 fs/cachefiles/xattr.c 	ASSERT(dentry);
dentry             32 fs/cachefiles/xattr.c 	ASSERT(d_backing_inode(dentry));
dentry             42 fs/cachefiles/xattr.c 	ret = vfs_setxattr(dentry, cachefiles_xattr_cache, type, 2,
dentry             51 fs/cachefiles/xattr.c 		       dentry, d_backing_inode(dentry)->i_ino,
dentry             57 fs/cachefiles/xattr.c 	ret = vfs_getxattr(dentry, cachefiles_xattr_cache, xtype, 3);
dentry             63 fs/cachefiles/xattr.c 		       dentry, d_backing_inode(dentry)->i_ino,
dentry             83 fs/cachefiles/xattr.c 	       d_backing_inode(dentry)->i_ino);
dentry             90 fs/cachefiles/xattr.c 	       dentry, d_backing_inode(dentry)->i_ino,
dentry            102 fs/cachefiles/xattr.c 	struct dentry *dentry = object->dentry;
dentry            105 fs/cachefiles/xattr.c 	ASSERT(dentry);
dentry            113 fs/cachefiles/xattr.c 	ret = vfs_setxattr(dentry, cachefiles_xattr_cache,
dentry            131 fs/cachefiles/xattr.c 	struct dentry *dentry = object->dentry;
dentry            134 fs/cachefiles/xattr.c 	if (!dentry)
dentry            143 fs/cachefiles/xattr.c 	ret = vfs_setxattr(dentry, cachefiles_xattr_cache,
dentry            162 fs/cachefiles/xattr.c 	struct dentry *dentry = object->dentry;
dentry            166 fs/cachefiles/xattr.c 	ASSERT(dentry);
dentry            167 fs/cachefiles/xattr.c 	ASSERT(d_backing_inode(dentry));
dentry            174 fs/cachefiles/xattr.c 	xlen = vfs_getxattr(dentry, cachefiles_xattr_cache,
dentry            183 fs/cachefiles/xattr.c 				     i_size_read(d_backing_inode(dentry)));
dentry            201 fs/cachefiles/xattr.c 	struct dentry *dentry = object->dentry;
dentry            206 fs/cachefiles/xattr.c 	ASSERT(dentry);
dentry            207 fs/cachefiles/xattr.c 	ASSERT(d_backing_inode(dentry));
dentry            216 fs/cachefiles/xattr.c 	ret = vfs_getxattr(dentry, cachefiles_xattr_cache,
dentry            228 fs/cachefiles/xattr.c 					d_backing_inode(dentry)->i_ino, -ret);
dentry            253 fs/cachefiles/xattr.c 					   i_size_read(d_backing_inode(dentry)));
dentry            273 fs/cachefiles/xattr.c 		ret = vfs_setxattr(dentry, cachefiles_xattr_cache,
dentry            280 fs/cachefiles/xattr.c 						d_backing_inode(dentry)->i_ino, -ret);
dentry            295 fs/cachefiles/xattr.c 	       d_backing_inode(dentry)->i_ino);
dentry            308 fs/cachefiles/xattr.c 				   struct dentry *dentry)
dentry            312 fs/cachefiles/xattr.c 	ret = vfs_removexattr(dentry, cachefiles_xattr_cache);
dentry            320 fs/cachefiles/xattr.c 					    d_backing_inode(dentry)->i_ino, -ret);
dentry           3042 fs/ceph/caps.c 	struct dentry *dn, *prev = NULL;
dentry           4240 fs/ceph/caps.c int ceph_encode_dentry_release(void **p, struct dentry *dentry,
dentry           4244 fs/ceph/caps.c 	struct dentry *parent = NULL;
dentry           4246 fs/ceph/caps.c 	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           4256 fs/ceph/caps.c 	spin_lock(&dentry->d_lock);
dentry           4260 fs/ceph/caps.c 		parent = dget(dentry->d_parent);
dentry           4263 fs/ceph/caps.c 	spin_unlock(&dentry->d_lock);
dentry           4268 fs/ceph/caps.c 	spin_lock(&dentry->d_lock);
dentry           4271 fs/ceph/caps.c 		     dentry, mds, (int)di->lease_seq);
dentry           4272 fs/ceph/caps.c 		rel->dname_len = cpu_to_le32(dentry->d_name.len);
dentry           4273 fs/ceph/caps.c 		memcpy(*p, dentry->d_name.name, dentry->d_name.len);
dentry           4274 fs/ceph/caps.c 		*p += dentry->d_name.len;
dentry           4276 fs/ceph/caps.c 		__ceph_mdsc_drop_dentry_lease(dentry);
dentry           4278 fs/ceph/caps.c 	spin_unlock(&dentry->d_lock);
dentry             33 fs/ceph/dir.c  static int __dir_lease_try_check(const struct dentry *dentry);
dentry             38 fs/ceph/dir.c  static int ceph_d_init(struct dentry *dentry)
dentry             46 fs/ceph/dir.c  	di->dentry = dentry;
dentry             49 fs/ceph/dir.c  	dentry->d_fsdata = di;
dentry            123 fs/ceph/dir.c  static struct dentry *
dentry            124 fs/ceph/dir.c  __dcache_find_get_entry(struct dentry *parent, u64 idx,
dentry            128 fs/ceph/dir.c  	struct dentry *dentry;
dentry            129 fs/ceph/dir.c  	unsigned idx_mask = (PAGE_SIZE / sizeof(struct dentry *)) - 1;
dentry            130 fs/ceph/dir.c  	loff_t ptr_pos = idx * sizeof(struct dentry *);
dentry            156 fs/ceph/dir.c  		dentry = cache_ctl->dentries[cache_ctl->index];
dentry            158 fs/ceph/dir.c  		dentry = NULL;
dentry            160 fs/ceph/dir.c  	if (dentry && !lockref_get_not_dead(&dentry->d_lockref))
dentry            161 fs/ceph/dir.c  		dentry = NULL;
dentry            163 fs/ceph/dir.c  	return dentry ? : ERR_PTR(-EAGAIN);
dentry            181 fs/ceph/dir.c  	struct dentry *parent = file->f_path.dentry;
dentry            183 fs/ceph/dir.c  	struct dentry *dentry, *last = NULL;
dentry            193 fs/ceph/dir.c  		u64 count = div_u64(i_size_read(dir), sizeof(struct dentry *));
dentry            196 fs/ceph/dir.c  			dentry = __dcache_find_get_entry(parent, idx + step,
dentry            198 fs/ceph/dir.c  			if (!dentry) {
dentry            203 fs/ceph/dir.c  			if (IS_ERR(dentry)) {
dentry            204 fs/ceph/dir.c  				err = PTR_ERR(dentry);
dentry            207 fs/ceph/dir.c  			di = ceph_dentry(dentry);
dentry            208 fs/ceph/dir.c  			spin_lock(&dentry->d_lock);
dentry            215 fs/ceph/dir.c  			spin_unlock(&dentry->d_lock);
dentry            216 fs/ceph/dir.c  			dput(dentry);
dentry            225 fs/ceph/dir.c  		dentry = __dcache_find_get_entry(parent, idx++, &cache_ctl);
dentry            226 fs/ceph/dir.c  		if (!dentry) {
dentry            231 fs/ceph/dir.c  		if (IS_ERR(dentry)) {
dentry            232 fs/ceph/dir.c  			err = PTR_ERR(dentry);
dentry            236 fs/ceph/dir.c  		spin_lock(&dentry->d_lock);
dentry            237 fs/ceph/dir.c  		di = ceph_dentry(dentry);
dentry            238 fs/ceph/dir.c  		if (d_unhashed(dentry) ||
dentry            239 fs/ceph/dir.c  		    d_really_is_negative(dentry) ||
dentry            241 fs/ceph/dir.c  			spin_unlock(&dentry->d_lock);
dentry            242 fs/ceph/dir.c  			dput(dentry);
dentry            250 fs/ceph/dir.c  		spin_unlock(&dentry->d_lock);
dentry            254 fs/ceph/dir.c  			     dentry, dentry, d_inode(dentry));
dentry            256 fs/ceph/dir.c  			if (!dir_emit(ctx, dentry->d_name.name,
dentry            257 fs/ceph/dir.c  				      dentry->d_name.len,
dentry            258 fs/ceph/dir.c  				      ceph_translate_ino(dentry->d_sb,
dentry            259 fs/ceph/dir.c  							 d_inode(dentry)->i_ino),
dentry            260 fs/ceph/dir.c  				      d_inode(dentry)->i_mode >> 12)) {
dentry            261 fs/ceph/dir.c  				dput(dentry);
dentry            269 fs/ceph/dir.c  			last = dentry;
dentry            271 fs/ceph/dir.c  			dput(dentry);
dentry            329 fs/ceph/dir.c  		ino_t ino = parent_ino(file->f_path.dentry);
dentry            416 fs/ceph/dir.c  		req->r_dentry = dget(file->f_path.dentry);
dentry            569 fs/ceph/dir.c  				     sizeof(struct dentry*));
dentry            666 fs/ceph/dir.c  			struct dentry *dentry, int err)
dentry            668 fs/ceph/dir.c  	struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb);
dentry            669 fs/ceph/dir.c  	struct inode *parent = d_inode(dentry->d_parent); /* we hold i_mutex */
dentry            674 fs/ceph/dir.c  	    strcmp(dentry->d_name.name,
dentry            678 fs/ceph/dir.c  		     dentry, dentry, inode);
dentry            679 fs/ceph/dir.c  		BUG_ON(!d_unhashed(dentry));
dentry            680 fs/ceph/dir.c  		d_add(dentry, inode);
dentry            697 fs/ceph/dir.c  struct dentry *ceph_finish_lookup(struct ceph_mds_request *req,
dentry            698 fs/ceph/dir.c  				  struct dentry *dentry, int err)
dentry            705 fs/ceph/dir.c  			     dentry, d_inode(dentry));
dentry            706 fs/ceph/dir.c  			if (d_really_is_positive(dentry)) {
dentry            707 fs/ceph/dir.c  				d_drop(dentry);
dentry            710 fs/ceph/dir.c  				d_add(dentry, NULL);
dentry            715 fs/ceph/dir.c  		dentry = ERR_PTR(err);
dentry            716 fs/ceph/dir.c  	else if (dentry != req->r_dentry)
dentry            717 fs/ceph/dir.c  		dentry = dget(req->r_dentry);   /* we got spliced */
dentry            719 fs/ceph/dir.c  		dentry = NULL;
dentry            720 fs/ceph/dir.c  	return dentry;
dentry            723 fs/ceph/dir.c  static bool is_root_ceph_dentry(struct inode *inode, struct dentry *dentry)
dentry            726 fs/ceph/dir.c  		strncmp(dentry->d_name.name, ".ceph", 5) == 0;
dentry            733 fs/ceph/dir.c  static struct dentry *ceph_lookup(struct inode *dir, struct dentry *dentry,
dentry            744 fs/ceph/dir.c  	     dir, dentry, dentry);
dentry            746 fs/ceph/dir.c  	if (dentry->d_name.len > NAME_MAX)
dentry            750 fs/ceph/dir.c  	if (d_really_is_negative(dentry)) {
dentry            752 fs/ceph/dir.c  		struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry            756 fs/ceph/dir.c  		if (strncmp(dentry->d_name.name,
dentry            758 fs/ceph/dir.c  			    dentry->d_name.len) &&
dentry            759 fs/ceph/dir.c  		    !is_root_ceph_dentry(dir, dentry) &&
dentry            765 fs/ceph/dir.c  			d_add(dentry, NULL);
dentry            777 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry            788 fs/ceph/dir.c  	err = ceph_handle_snapdir(req, dentry, err);
dentry            789 fs/ceph/dir.c  	dentry = ceph_finish_lookup(req, dentry, err);
dentry            791 fs/ceph/dir.c  	dout("lookup result=%p\n", dentry);
dentry            792 fs/ceph/dir.c  	return dentry;
dentry            799 fs/ceph/dir.c  int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry)
dentry            801 fs/ceph/dir.c  	struct dentry *result = ceph_lookup(dir, dentry, 0);
dentry            822 fs/ceph/dir.c  static int ceph_mknod(struct inode *dir, struct dentry *dentry,
dentry            842 fs/ceph/dir.c  	err = ceph_security_init_secctx(dentry, mode, &as_ctx);
dentry            847 fs/ceph/dir.c  	     dir, dentry, mode, rdev);
dentry            853 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry            867 fs/ceph/dir.c  		err = ceph_handle_notrace_create(dir, dentry);
dentry            871 fs/ceph/dir.c  		ceph_init_inode_acls(d_inode(dentry), &as_ctx);
dentry            873 fs/ceph/dir.c  		d_drop(dentry);
dentry            878 fs/ceph/dir.c  static int ceph_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            881 fs/ceph/dir.c  	return ceph_mknod(dir, dentry, mode, 0);
dentry            884 fs/ceph/dir.c  static int ceph_symlink(struct inode *dir, struct dentry *dentry,
dentry            901 fs/ceph/dir.c  	err = ceph_security_init_secctx(dentry, S_IFLNK | 0777, &as_ctx);
dentry            905 fs/ceph/dir.c  	dout("symlink in dir %p dentry %p to '%s'\n", dir, dentry, dest);
dentry            919 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry            925 fs/ceph/dir.c  		err = ceph_handle_notrace_create(dir, dentry);
dentry            929 fs/ceph/dir.c  		d_drop(dentry);
dentry            934 fs/ceph/dir.c  static int ceph_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            947 fs/ceph/dir.c  		     dentry, dentry);
dentry            949 fs/ceph/dir.c  		dout("mkdir dir %p dn %p mode 0%ho\n", dir, dentry, mode);
dentry            965 fs/ceph/dir.c  	err = ceph_security_init_secctx(dentry, mode, &as_ctx);
dentry            975 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry            990 fs/ceph/dir.c  		err = ceph_handle_notrace_create(dir, dentry);
dentry            994 fs/ceph/dir.c  		ceph_init_inode_acls(d_inode(dentry), &as_ctx);
dentry            996 fs/ceph/dir.c  		d_drop(dentry);
dentry           1001 fs/ceph/dir.c  static int ceph_link(struct dentry *old_dentry, struct inode *dir,
dentry           1002 fs/ceph/dir.c  		     struct dentry *dentry)
dentry           1013 fs/ceph/dir.c  	     old_dentry, dentry);
dentry           1016 fs/ceph/dir.c  		d_drop(dentry);
dentry           1019 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry           1030 fs/ceph/dir.c  		d_drop(dentry);
dentry           1033 fs/ceph/dir.c  		d_instantiate(dentry, d_inode(old_dentry));
dentry           1042 fs/ceph/dir.c  static int ceph_unlink(struct inode *dir, struct dentry *dentry)
dentry           1046 fs/ceph/dir.c  	struct inode *inode = d_inode(dentry);
dentry           1053 fs/ceph/dir.c  		dout("rmsnap dir %p '%pd' dn %p\n", dir, dentry, dentry);
dentry           1057 fs/ceph/dir.c  		     dir, dentry, inode);
dentry           1058 fs/ceph/dir.c  		op = d_is_dir(dentry) ?
dentry           1067 fs/ceph/dir.c  	req->r_dentry = dget(dentry);
dentry           1076 fs/ceph/dir.c  		d_delete(dentry);
dentry           1082 fs/ceph/dir.c  static int ceph_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1083 fs/ceph/dir.c  		       struct inode *new_dir, struct dentry *new_dentry,
dentry           1152 fs/ceph/dir.c  	struct dentry *dn = di->dentry;
dentry           1186 fs/ceph/dir.c  	struct dentry *dn = di->dentry;
dentry           1224 fs/ceph/dir.c  	mdsc = ceph_sb_to_client(di->dentry->d_sb)->mdsc;
dentry           1247 fs/ceph/dir.c  		     int (*check)(struct dentry*, void*))
dentry           1250 fs/ceph/dir.c  	struct dentry *dentry, *last = NULL;
dentry           1263 fs/ceph/dir.c  		dentry = di->dentry;
dentry           1264 fs/ceph/dir.c  		if (last == dentry)
dentry           1267 fs/ceph/dir.c  		if (!spin_trylock(&dentry->d_lock))
dentry           1270 fs/ceph/dir.c  		if (__lockref_is_dead(&dentry->d_lockref)) {
dentry           1275 fs/ceph/dir.c  		ret = check(dentry, lwc);
dentry           1280 fs/ceph/dir.c  				last = dentry;
dentry           1285 fs/ceph/dir.c  			if (dentry->d_lockref.count > 0) {
dentry           1294 fs/ceph/dir.c  				dget_dlock(dentry);
dentry           1298 fs/ceph/dir.c  		spin_unlock(&dentry->d_lock);
dentry           1307 fs/ceph/dir.c  		dentry = di->dentry;
dentry           1308 fs/ceph/dir.c  		spin_lock(&dentry->d_lock);
dentry           1325 fs/ceph/dir.c  		spin_unlock(&dentry->d_lock);
dentry           1327 fs/ceph/dir.c  		dput(dentry);
dentry           1332 fs/ceph/dir.c  static int __dentry_lease_check(struct dentry *dentry, void *arg)
dentry           1334 fs/ceph/dir.c  	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1339 fs/ceph/dir.c  	ret = __dir_lease_try_check(dentry);
dentry           1347 fs/ceph/dir.c  static int __dir_lease_check(struct dentry *dentry, void *arg)
dentry           1350 fs/ceph/dir.c  	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1352 fs/ceph/dir.c  	int ret = __dir_lease_try_check(dentry);
dentry           1363 fs/ceph/dir.c  		if (dentry->d_lockref.count > 0 ||
dentry           1408 fs/ceph/dir.c  void ceph_invalidate_dentry_lease(struct dentry *dentry)
dentry           1410 fs/ceph/dir.c  	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1411 fs/ceph/dir.c  	spin_lock(&dentry->d_lock);
dentry           1415 fs/ceph/dir.c  	spin_unlock(&dentry->d_lock);
dentry           1448 fs/ceph/dir.c  static int dentry_lease_is_valid(struct dentry *dentry, unsigned int flags)
dentry           1455 fs/ceph/dir.c  	spin_lock(&dentry->d_lock);
dentry           1456 fs/ceph/dir.c  	di = ceph_dentry(dentry);
dentry           1477 fs/ceph/dir.c  	spin_unlock(&dentry->d_lock);
dentry           1480 fs/ceph/dir.c  		ceph_mdsc_lease_send_msg(session, dentry,
dentry           1484 fs/ceph/dir.c  	dout("dentry_lease_is_valid - dentry %p = %d\n", dentry, valid);
dentry           1491 fs/ceph/dir.c  static int __dir_lease_try_check(const struct dentry *dentry)
dentry           1493 fs/ceph/dir.c  	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1500 fs/ceph/dir.c  	if (IS_ROOT(dentry))
dentry           1503 fs/ceph/dir.c  	dir = d_inode(dentry->d_parent);
dentry           1523 fs/ceph/dir.c  static int dir_lease_is_valid(struct inode *dir, struct dentry *dentry)
dentry           1535 fs/ceph/dir.c  		spin_lock(&dentry->d_lock);
dentry           1536 fs/ceph/dir.c  		di = ceph_dentry(dentry);
dentry           1537 fs/ceph/dir.c  		if (dir == d_inode(dentry->d_parent) &&
dentry           1542 fs/ceph/dir.c  		spin_unlock(&dentry->d_lock);
dentry           1545 fs/ceph/dir.c  	     dir, (unsigned)atomic_read(&ci->i_shared_gen), dentry, valid);
dentry           1552 fs/ceph/dir.c  static int ceph_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1555 fs/ceph/dir.c  	struct dentry *parent;
dentry           1559 fs/ceph/dir.c  		parent = READ_ONCE(dentry->d_parent);
dentry           1563 fs/ceph/dir.c  		inode = d_inode_rcu(dentry);
dentry           1565 fs/ceph/dir.c  		parent = dget_parent(dentry);
dentry           1567 fs/ceph/dir.c  		inode = d_inode(dentry);
dentry           1570 fs/ceph/dir.c  	dout("d_revalidate %p '%pd' inode %p offset %lld\n", dentry,
dentry           1571 fs/ceph/dir.c  	     dentry, inode, ceph_dentry(dentry)->offset);
dentry           1575 fs/ceph/dir.c  		dout("d_revalidate %p '%pd' inode %p is SNAPPED\n", dentry,
dentry           1576 fs/ceph/dir.c  		     dentry, inode);
dentry           1581 fs/ceph/dir.c  		valid = dentry_lease_is_valid(dentry, flags);
dentry           1584 fs/ceph/dir.c  		if (valid || dir_lease_is_valid(dir, dentry)) {
dentry           1606 fs/ceph/dir.c  			req->r_dentry = dget(dentry);
dentry           1618 fs/ceph/dir.c  				if (d_really_is_positive(dentry) &&
dentry           1619 fs/ceph/dir.c  				    d_inode(dentry) == req->r_target_inode)
dentry           1623 fs/ceph/dir.c  				if (d_really_is_negative(dentry))
dentry           1631 fs/ceph/dir.c  			     dentry, err);
dentry           1635 fs/ceph/dir.c  	dout("d_revalidate %p %s\n", dentry, valid ? "valid" : "invalid");
dentry           1649 fs/ceph/dir.c  static int ceph_d_delete(const struct dentry *dentry)
dentry           1654 fs/ceph/dir.c  	if (d_really_is_negative(dentry))
dentry           1656 fs/ceph/dir.c  	if (ceph_snap(d_inode(dentry)) != CEPH_NOSNAP)
dentry           1659 fs/ceph/dir.c  	di = ceph_dentry(dentry);
dentry           1663 fs/ceph/dir.c  		if (__dir_lease_try_check(dentry))
dentry           1672 fs/ceph/dir.c  static void ceph_d_release(struct dentry *dentry)
dentry           1674 fs/ceph/dir.c  	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1676 fs/ceph/dir.c  	dout("d_release %p\n", dentry);
dentry           1678 fs/ceph/dir.c  	spin_lock(&dentry->d_lock);
dentry           1680 fs/ceph/dir.c  	dentry->d_fsdata = NULL;
dentry           1681 fs/ceph/dir.c  	spin_unlock(&dentry->d_lock);
dentry           1694 fs/ceph/dir.c  static void ceph_d_prune(struct dentry *dentry)
dentry           1699 fs/ceph/dir.c  	dout("ceph_d_prune %pd %p\n", dentry, dentry);
dentry           1702 fs/ceph/dir.c  	if (IS_ROOT(dentry))
dentry           1706 fs/ceph/dir.c  	dir_ci = ceph_inode(d_inode(dentry->d_parent));
dentry           1711 fs/ceph/dir.c  	if (d_really_is_negative(dentry))
dentry           1715 fs/ceph/dir.c  	if (!d_unhashed(dentry)) {
dentry           1723 fs/ceph/dir.c  	di = ceph_dentry(dentry);
dentry           1786 fs/ceph/dir.c  unsigned ceph_dentry_hash(struct inode *dir, struct dentry *dn)
dentry             54 fs/ceph/export.c 		struct dentry *dentry = d_find_alias(inode);
dentry             55 fs/ceph/export.c 		if (!dentry)
dentry             59 fs/ceph/export.c 		dir = d_inode_rcu(dentry->d_parent);
dentry             62 fs/ceph/export.c 			sfh->hash = ceph_dentry_hash(dir, dentry);
dentry             66 fs/ceph/export.c 		dput(dentry);
dentry            172 fs/ceph/export.c static struct dentry *__fh_to_dentry(struct super_block *sb, u64 ino)
dentry            184 fs/ceph/export.c static struct dentry *__snapfh_to_dentry(struct super_block *sb,
dentry            266 fs/ceph/export.c static struct dentry *ceph_fh_to_dentry(struct super_block *sb,
dentry            287 fs/ceph/export.c static struct dentry *__get_parent(struct super_block *sb,
dentry            288 fs/ceph/export.c 				   struct dentry *child, u64 ino)
dentry            333 fs/ceph/export.c static struct dentry *ceph_get_parent(struct dentry *child)
dentry            336 fs/ceph/export.c 	struct dentry *dn;
dentry            383 fs/ceph/export.c static struct dentry *ceph_fh_to_parent(struct super_block *sb,
dentry            388 fs/ceph/export.c 	struct dentry *dentry;
dentry            401 fs/ceph/export.c 	dentry = __get_parent(sb, NULL, cfh->ino);
dentry            402 fs/ceph/export.c 	if (unlikely(dentry == ERR_PTR(-ENOENT)))
dentry            403 fs/ceph/export.c 		dentry = __fh_to_dentry(sb, cfh->parent_ino);
dentry            404 fs/ceph/export.c 	return dentry;
dentry            407 fs/ceph/export.c static int __get_snap_name(struct dentry *parent, char *name,
dentry            408 fs/ceph/export.c 			   struct dentry *child)
dentry            504 fs/ceph/export.c static int ceph_get_name(struct dentry *parent, char *name,
dentry            505 fs/ceph/export.c 			 struct dentry *child)
dentry            438 fs/ceph/file.c int ceph_atomic_open(struct inode *dir, struct dentry *dentry,
dentry            444 fs/ceph/file.c 	struct dentry *dn;
dentry            450 fs/ceph/file.c 	     dir, dentry, dentry,
dentry            451 fs/ceph/file.c 	     d_unhashed(dentry) ? "unhashed" : "hashed", flags, mode);
dentry            453 fs/ceph/file.c 	if (dentry->d_name.len > NAME_MAX)
dentry            462 fs/ceph/file.c 		err = ceph_security_init_secctx(dentry, mode, &as_ctx);
dentry            465 fs/ceph/file.c 	} else if (!d_in_lookup(dentry)) {
dentry            476 fs/ceph/file.c 	req->r_dentry = dget(dentry);
dentry            497 fs/ceph/file.c 	err = ceph_handle_snapdir(req, dentry, err);
dentry            502 fs/ceph/file.c 		err = ceph_handle_notrace_create(dir, dentry);
dentry            504 fs/ceph/file.c 	if (d_in_lookup(dentry)) {
dentry            505 fs/ceph/file.c 		dn = ceph_finish_lookup(req, dentry, err);
dentry            514 fs/ceph/file.c 	if (dn || d_really_is_negative(dentry) || d_is_symlink(dentry)) {
dentry            521 fs/ceph/file.c 			ceph_init_inode_acls(d_inode(dentry), &as_ctx);
dentry            524 fs/ceph/file.c 		err = finish_open(file, dentry, ceph_open);
dentry           1042 fs/ceph/inode.c static void __update_dentry_lease(struct inode *dir, struct dentry *dentry,
dentry           1048 fs/ceph/inode.c 	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           1054 fs/ceph/inode.c 	     dentry, duration, ttl);
dentry           1086 fs/ceph/inode.c static inline void update_dentry_lease(struct inode *dir, struct dentry *dentry,
dentry           1092 fs/ceph/inode.c 	spin_lock(&dentry->d_lock);
dentry           1093 fs/ceph/inode.c 	__update_dentry_lease(dir, dentry, lease, session, from_time,
dentry           1095 fs/ceph/inode.c 	spin_unlock(&dentry->d_lock);
dentry           1103 fs/ceph/inode.c static void update_dentry_lease_careful(struct dentry *dentry,
dentry           1115 fs/ceph/inode.c 	spin_lock(&dentry->d_lock);
dentry           1117 fs/ceph/inode.c 	if (dentry->d_name.len != dname_len ||
dentry           1118 fs/ceph/inode.c 	    memcmp(dentry->d_name.name, dname, dname_len))
dentry           1121 fs/ceph/inode.c 	dir = d_inode(dentry->d_parent);
dentry           1129 fs/ceph/inode.c 		if (d_really_is_negative(dentry))
dentry           1131 fs/ceph/inode.c 		if (!ceph_ino_compare(d_inode(dentry), ptvino))
dentry           1134 fs/ceph/inode.c 		if (d_really_is_positive(dentry))
dentry           1138 fs/ceph/inode.c 	__update_dentry_lease(dir, dentry, lease, session,
dentry           1141 fs/ceph/inode.c 	spin_unlock(&dentry->d_lock);
dentry           1150 fs/ceph/inode.c static int splice_dentry(struct dentry **pdn, struct inode *in)
dentry           1152 fs/ceph/inode.c 	struct dentry *dn = *pdn;
dentry           1153 fs/ceph/inode.c 	struct dentry *realdn;
dentry           1252 fs/ceph/inode.c 			struct dentry *dn, *parent;
dentry           1335 fs/ceph/inode.c 		struct dentry *dn = req->r_dentry;
dentry           1518 fs/ceph/inode.c static int fill_readdir_cache(struct inode *dir, struct dentry *dn,
dentry           1523 fs/ceph/inode.c 	unsigned nsize = PAGE_SIZE / sizeof(struct dentry*);
dentry           1560 fs/ceph/inode.c 	struct dentry *parent = req->r_dentry;
dentry           1564 fs/ceph/inode.c 	struct dentry *dn;
dentry           2207 fs/ceph/inode.c int ceph_setattr(struct dentry *dentry, struct iattr *attr)
dentry           2209 fs/ceph/inode.c 	struct inode *inode = d_inode(dentry);
dentry           2216 fs/ceph/inode.c 	err = setattr_prepare(dentry, attr);
dentry           2332 fs/ceph/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            857 fs/ceph/mds_client.c static struct inode *get_nonsnap_parent(struct dentry *dentry)
dentry            861 fs/ceph/mds_client.c 	while (dentry && !IS_ROOT(dentry)) {
dentry            862 fs/ceph/mds_client.c 		inode = d_inode_rcu(dentry);
dentry            865 fs/ceph/mds_client.c 		dentry = dentry->d_parent;
dentry            920 fs/ceph/mds_client.c 		struct dentry *parent;
dentry           1692 fs/ceph/mds_client.c static bool drop_negative_children(struct dentry *dentry)
dentry           1694 fs/ceph/mds_client.c 	struct dentry *child;
dentry           1697 fs/ceph/mds_client.c 	if (!d_is_dir(dentry))
dentry           1700 fs/ceph/mds_client.c 	spin_lock(&dentry->d_lock);
dentry           1701 fs/ceph/mds_client.c 	list_for_each_entry(child, &dentry->d_subdirs, d_child) {
dentry           1707 fs/ceph/mds_client.c 	spin_unlock(&dentry->d_lock);
dentry           1710 fs/ceph/mds_client.c 		shrink_dcache_parent(dentry);
dentry           1770 fs/ceph/mds_client.c 		struct dentry *dentry;
dentry           1773 fs/ceph/mds_client.c 		dentry = d_find_any_alias(inode);
dentry           1774 fs/ceph/mds_client.c 		if (dentry && drop_negative_children(dentry)) {
dentry           1776 fs/ceph/mds_client.c 			dput(dentry);
dentry           1784 fs/ceph/mds_client.c 			dput(dentry);
dentry           2129 fs/ceph/mds_client.c char *ceph_mdsc_build_path(struct dentry *dentry, int *plen, u64 *pbase,
dentry           2132 fs/ceph/mds_client.c 	struct dentry *temp;
dentry           2138 fs/ceph/mds_client.c 	if (!dentry)
dentry           2150 fs/ceph/mds_client.c 	temp = dentry;
dentry           2159 fs/ceph/mds_client.c 		} else if (stop_on_nosnap && inode && dentry != temp &&
dentry           2200 fs/ceph/mds_client.c 	     dentry, d_count(dentry), base, *plen, path + pos);
dentry           2204 fs/ceph/mds_client.c static int build_dentry_path(struct dentry *dentry, struct inode *dir,
dentry           2212 fs/ceph/mds_client.c 		dir = d_inode_rcu(dentry->d_parent);
dentry           2216 fs/ceph/mds_client.c 		*ppath = dentry->d_name.name;
dentry           2217 fs/ceph/mds_client.c 		*ppathlen = dentry->d_name.len;
dentry           2221 fs/ceph/mds_client.c 	path = ceph_mdsc_build_path(dentry, ppathlen, pino, 1);
dentry           2233 fs/ceph/mds_client.c 	struct dentry *dentry;
dentry           2241 fs/ceph/mds_client.c 	dentry = d_find_alias(inode);
dentry           2242 fs/ceph/mds_client.c 	path = ceph_mdsc_build_path(dentry, ppathlen, pino, 1);
dentry           2243 fs/ceph/mds_client.c 	dput(dentry);
dentry           2255 fs/ceph/mds_client.c static int set_request_path_attr(struct inode *rinode, struct dentry *rdentry,
dentry           3468 fs/ceph/mds_client.c 		struct dentry *dentry;
dentry           3470 fs/ceph/mds_client.c 		dentry = d_find_alias(inode);
dentry           3471 fs/ceph/mds_client.c 		if (dentry) {
dentry           3472 fs/ceph/mds_client.c 			path = ceph_mdsc_build_path(dentry,
dentry           3474 fs/ceph/mds_client.c 			dput(dentry);
dentry           3854 fs/ceph/mds_client.c void __ceph_mdsc_drop_dentry_lease(struct dentry *dentry)
dentry           3856 fs/ceph/mds_client.c 	struct ceph_dentry_info *di = ceph_dentry(dentry);
dentry           3868 fs/ceph/mds_client.c 	struct dentry *parent, *dentry;
dentry           3912 fs/ceph/mds_client.c 	dentry = d_lookup(parent, &dname);
dentry           3914 fs/ceph/mds_client.c 	if (!dentry)
dentry           3917 fs/ceph/mds_client.c 	spin_lock(&dentry->d_lock);
dentry           3918 fs/ceph/mds_client.c 	di = ceph_dentry(dentry);
dentry           3924 fs/ceph/mds_client.c 			__ceph_mdsc_drop_dentry_lease(dentry);
dentry           3945 fs/ceph/mds_client.c 	spin_unlock(&dentry->d_lock);
dentry           3946 fs/ceph/mds_client.c 	dput(dentry);
dentry           3969 fs/ceph/mds_client.c 			      struct dentry *dentry, char action,
dentry           3978 fs/ceph/mds_client.c 	     dentry, ceph_lease_op_name(action), session->s_mds);
dentry           3987 fs/ceph/mds_client.c 	spin_lock(&dentry->d_lock);
dentry           3988 fs/ceph/mds_client.c 	dir = d_inode(dentry->d_parent);
dentry           3992 fs/ceph/mds_client.c 	put_unaligned_le32(dentry->d_name.len, lease + 1);
dentry           3994 fs/ceph/mds_client.c 	       dentry->d_name.name, dentry->d_name.len);
dentry           3995 fs/ceph/mds_client.c 	spin_unlock(&dentry->d_lock);
dentry            231 fs/ceph/mds_client.h 	struct dentry *r_dentry;            /* arg1 */
dentry            232 fs/ceph/mds_client.h 	struct dentry *r_old_dentry;        /* arg2: rename from or link from */
dentry            505 fs/ceph/mds_client.h extern char *ceph_mdsc_build_path(struct dentry *dentry, int *plen, u64 *base,
dentry            508 fs/ceph/mds_client.h extern void __ceph_mdsc_drop_dentry_lease(struct dentry *dentry);
dentry            510 fs/ceph/mds_client.h 				     struct dentry *dentry, char action,
dentry             46 fs/ceph/super.c static int ceph_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry             48 fs/ceph/super.c 	struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry));
dentry            578 fs/ceph/super.c static int ceph_show_options(struct seq_file *m, struct dentry *root)
dentry            912 fs/ceph/super.c static struct dentry *open_root_dentry(struct ceph_fs_client *fsc,
dentry            919 fs/ceph/super.c 	struct dentry *root;
dentry            960 fs/ceph/super.c static struct dentry *ceph_real_mount(struct ceph_fs_client *fsc)
dentry            964 fs/ceph/super.c 	struct dentry *root;
dentry           1094 fs/ceph/super.c static struct dentry *ceph_mount(struct file_system_type *fs_type,
dentry           1099 fs/ceph/super.c 	struct dentry *res;
dentry            123 fs/ceph/super.h 	struct dentry *debugfs_dentry_lru, *debugfs_caps;
dentry            124 fs/ceph/super.h 	struct dentry *debugfs_congestion_kb;
dentry            125 fs/ceph/super.h 	struct dentry *debugfs_bdi;
dentry            126 fs/ceph/super.h 	struct dentry *debugfs_mdsc, *debugfs_mdsmap;
dentry            127 fs/ceph/super.h 	struct dentry *debugfs_mds_sessions;
dentry            271 fs/ceph/super.h 	struct dentry *dentry;
dentry            621 fs/ceph/super.h static inline struct ceph_dentry_info *ceph_dentry(const struct dentry *dentry)
dentry            623 fs/ceph/super.h 	return (struct ceph_dentry_info *)dentry->d_fsdata;
dentry            784 fs/ceph/super.h 	struct dentry **dentries;
dentry            934 fs/ceph/super.h extern int ceph_setattr(struct dentry *dentry, struct iattr *attr);
dentry            941 fs/ceph/super.h extern ssize_t ceph_listxattr(struct dentry *, char *, size_t);
dentry            973 fs/ceph/super.h extern int ceph_security_init_secctx(struct dentry *dentry, umode_t mode,
dentry            980 fs/ceph/super.h static inline int ceph_security_init_secctx(struct dentry *dentry, umode_t mode,
dentry           1021 fs/ceph/super.h static inline int ceph_acl_chmod(struct dentry *dentry, struct inode *inode)
dentry           1072 fs/ceph/super.h extern int ceph_encode_dentry_release(void **p, struct dentry *dn,
dentry           1097 fs/ceph/super.h extern int ceph_atomic_open(struct inode *dir, struct dentry *dentry,
dentry           1111 fs/ceph/super.h extern int ceph_handle_notrace_create(struct inode *dir, struct dentry *dentry);
dentry           1113 fs/ceph/super.h 			       struct dentry *dentry, int err);
dentry           1114 fs/ceph/super.h extern struct dentry *ceph_finish_lookup(struct ceph_mds_request *req,
dentry           1115 fs/ceph/super.h 					 struct dentry *dentry, int err);
dentry           1119 fs/ceph/super.h extern void ceph_invalidate_dentry_lease(struct dentry *dentry);
dentry           1121 fs/ceph/super.h extern unsigned ceph_dentry_hash(struct inode *dir, struct dentry *dn);
dentry            904 fs/ceph/xattr.c ssize_t ceph_listxattr(struct dentry *dentry, char *names, size_t size)
dentry            906 fs/ceph/xattr.c 	struct inode *inode = d_inode(dentry);
dentry           1155 fs/ceph/xattr.c 				  struct dentry *dentry, struct inode *inode,
dentry           1164 fs/ceph/xattr.c 				  struct dentry *unused, struct inode *inode,
dentry           1201 fs/ceph/xattr.c int ceph_security_init_secctx(struct dentry *dentry, umode_t mode,
dentry           1209 fs/ceph/xattr.c 	err = security_dentry_init_security(dentry, mode, &dentry->d_name,
dentry            179 fs/cifs/cifs_debug.c 						cfile->dentry->d_name.name);
dentry            264 fs/cifs/cifs_dfs_ref.c static struct vfsmount *cifs_dfs_do_mount(struct dentry *mntpt,
dentry            295 fs/cifs/cifs_dfs_ref.c static struct vfsmount *cifs_dfs_do_automount(struct dentry *mntpt)
dentry            398 fs/cifs/cifs_dfs_ref.c 	newmnt = cifs_dfs_do_automount(path->dentry);
dentry            253 fs/cifs/cifsfs.c cifs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            255 fs/cifs/cifsfs.c 	struct super_block *sb = dentry->d_sb;
dentry            471 fs/cifs/cifsfs.c cifs_show_options(struct seq_file *s, struct dentry *root)
dentry            663 fs/cifs/cifsfs.c static int cifs_show_stats(struct seq_file *s, struct dentry *root)
dentry            708 fs/cifs/cifsfs.c static struct dentry *
dentry            711 fs/cifs/cifsfs.c 	struct dentry *dentry;
dentry            728 fs/cifs/cifsfs.c 	dentry = dget(sb->s_root);
dentry            732 fs/cifs/cifsfs.c 		struct inode *dir = d_inode(dentry);
dentry            733 fs/cifs/cifsfs.c 		struct dentry *child;
dentry            736 fs/cifs/cifsfs.c 			dput(dentry);
dentry            737 fs/cifs/cifsfs.c 			dentry = ERR_PTR(-ENOENT);
dentry            741 fs/cifs/cifsfs.c 			dput(dentry);
dentry            742 fs/cifs/cifsfs.c 			dentry = ERR_PTR(-ENOTDIR);
dentry            756 fs/cifs/cifsfs.c 		child = lookup_one_len_unlocked(p, dentry, s - p);
dentry            757 fs/cifs/cifsfs.c 		dput(dentry);
dentry            758 fs/cifs/cifsfs.c 		dentry = child;
dentry            759 fs/cifs/cifsfs.c 	} while (!IS_ERR(dentry));
dentry            761 fs/cifs/cifsfs.c 	return dentry;
dentry            771 fs/cifs/cifsfs.c static struct dentry *
dentry            780 fs/cifs/cifsfs.c 	struct dentry *root;
dentry            871 fs/cifs/cifsfs.c static struct dentry *
dentry            878 fs/cifs/cifsfs.c static struct dentry *
dentry             44 fs/cifs/cifsfs.h static inline void cifs_set_time(struct dentry *dentry, unsigned long time)
dentry             46 fs/cifs/cifsfs.h 	dentry->d_fsdata = (void *) time;
dentry             49 fs/cifs/cifsfs.h static inline unsigned long cifs_get_time(struct dentry *dentry)
dentry             51 fs/cifs/cifsfs.h 	return (unsigned long) dentry->d_fsdata;
dentry             65 fs/cifs/cifsfs.h extern int cifs_create(struct inode *, struct dentry *, umode_t,
dentry             67 fs/cifs/cifsfs.h extern int cifs_atomic_open(struct inode *, struct dentry *,
dentry             69 fs/cifs/cifsfs.h extern struct dentry *cifs_lookup(struct inode *, struct dentry *,
dentry             71 fs/cifs/cifsfs.h extern int cifs_unlink(struct inode *dir, struct dentry *dentry);
dentry             72 fs/cifs/cifsfs.h extern int cifs_hardlink(struct dentry *, struct inode *, struct dentry *);
dentry             73 fs/cifs/cifsfs.h extern int cifs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
dentry             74 fs/cifs/cifsfs.h extern int cifs_mkdir(struct inode *, struct dentry *, umode_t);
dentry             75 fs/cifs/cifsfs.h extern int cifs_rmdir(struct inode *, struct dentry *);
dentry             76 fs/cifs/cifsfs.h extern int cifs_rename2(struct inode *, struct dentry *, struct inode *,
dentry             77 fs/cifs/cifsfs.h 			struct dentry *, unsigned int);
dentry             79 fs/cifs/cifsfs.h extern int cifs_revalidate_dentry_attr(struct dentry *);
dentry             81 fs/cifs/cifsfs.h extern int cifs_revalidate_dentry(struct dentry *);
dentry             86 fs/cifs/cifsfs.h extern int cifs_setattr(struct dentry *, struct iattr *);
dentry            132 fs/cifs/cifsfs.h extern const char *cifs_get_link(struct dentry *, struct inode *,
dentry            134 fs/cifs/cifsfs.h extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
dentry            139 fs/cifs/cifsfs.h extern ssize_t	cifs_listxattr(struct dentry *, char *, size_t);
dentry            348 fs/cifs/cifsglob.h 	int (*rename_pending_delete)(const char *, struct dentry *,
dentry            493 fs/cifs/cifsglob.h 			 struct dentry *dentry,
dentry           1259 fs/cifs/cifsglob.h 	struct dentry *dentry;
dentry             72 fs/cifs/cifsproto.h extern char *build_path_from_dentry(struct dentry *);
dentry             73 fs/cifs/cifsproto.h extern char *build_path_from_dentry_optional_prefix(struct dentry *direntry,
dentry             79 fs/cifs/cifsproto.h extern char *build_wildcard_path_from_dentry(struct dentry *direntry);
dentry            202 fs/cifs/cifsproto.h 				      struct dentry *dentry,
dentry           2071 fs/cifs/cifssmb.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
dentry           2167 fs/cifs/cifssmb.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
dentry             38 fs/cifs/dir.c  renew_parental_timestamps(struct dentry *direntry)
dentry             81 fs/cifs/dir.c  build_path_from_dentry(struct dentry *direntry)
dentry             92 fs/cifs/dir.c  build_path_from_dentry_optional_prefix(struct dentry *direntry, bool prefix)
dentry             94 fs/cifs/dir.c  	struct dentry *temp;
dentry            201 fs/cifs/dir.c  check_name(struct dentry *direntry, struct cifs_tcon *tcon)
dentry            226 fs/cifs/dir.c  cifs_do_create(struct inode *inode, struct dentry *direntry, unsigned int xid,
dentry            466 fs/cifs/dir.c  cifs_atomic_open(struct inode *inode, struct dentry *direntry,
dentry            491 fs/cifs/dir.c  		struct dentry *res;
dentry            573 fs/cifs/dir.c  int cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode,
dentry            617 fs/cifs/dir.c  int cifs_mknod(struct inode *inode, struct dentry *direntry, umode_t mode,
dentry            656 fs/cifs/dir.c  struct dentry *
dentry            657 fs/cifs/dir.c  cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
dentry            738 fs/cifs/dir.c  cifs_d_revalidate(struct dentry *direntry, unsigned int flags)
dentry            807 fs/cifs/dir.c  static int cifs_ci_hash(const struct dentry *dentry, struct qstr *q)
dentry            809 fs/cifs/dir.c  	struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
dentry            814 fs/cifs/dir.c  	hash = init_name_hash(dentry);
dentry            827 fs/cifs/dir.c  static int cifs_ci_compare(const struct dentry *dentry,
dentry            830 fs/cifs/dir.c  	struct nls_table *codepage = CIFS_SB(dentry->d_sb)->local_nls;
dentry             49 fs/cifs/export.c static struct dentry *cifs_get_parent(struct dentry *dentry)
dentry             52 fs/cifs/export.c 	cifs_dbg(FYI, "get parent for %p\n", dentry);
dentry            297 fs/cifs/file.c 	struct dentry *dentry = file_dentry(file);
dentry            298 fs/cifs/file.c 	struct inode *inode = d_inode(dentry);
dentry            322 fs/cifs/file.c 	cfile->dentry = dget(dentry);
dentry            384 fs/cifs/file.c 	struct inode *inode = d_inode(cifs_file->dentry);
dentry            404 fs/cifs/file.c 	dput(cifs_file->dentry);
dentry            443 fs/cifs/file.c 	struct inode *inode = d_inode(cifs_file->dentry);
dentry            477 fs/cifs/file.c 			 d_inode(cifs_file->dentry));
dentry            651 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
dentry            652 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry            700 fs/cifs/file.c 	inode = d_inode(cfile->dentry);
dentry            711 fs/cifs/file.c 	full_path = build_path_from_dentry(cfile->dentry);
dentry           1013 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1039 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1068 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1085 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1280 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
dentry           1368 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
dentry           1369 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1540 fs/cifs/file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1650 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
dentry           1812 fs/cifs/file.c 	struct dentry *dentry = open_file->dentry;
dentry           1813 fs/cifs/file.c 	struct cifsInodeInfo *cifsi = CIFS_I(d_inode(dentry));
dentry           1817 fs/cifs/file.c 		 write_size, *offset, dentry);
dentry           1844 fs/cifs/file.c 			len = min(server->ops->wp_retry_size(d_inode(dentry)),
dentry           1864 fs/cifs/file.c 			spin_lock(&d_inode(dentry)->i_lock);
dentry           1866 fs/cifs/file.c 			spin_unlock(&d_inode(dentry)->i_lock);
dentry           1874 fs/cifs/file.c 		spin_lock(&d_inode(dentry)->i_lock);
dentry           1875 fs/cifs/file.c 		if (*offset > d_inode(dentry)->i_size)
dentry           1876 fs/cifs/file.c 			i_size_write(d_inode(dentry), *offset);
dentry           1877 fs/cifs/file.c 		spin_unlock(&d_inode(dentry)->i_lock);
dentry           1879 fs/cifs/file.c 	mark_inode_dirty_sync(d_inode(dentry));
dentry           2038 fs/cifs/file.c 		full_path = build_path_from_dentry(cfile->dentry);
dentry           2049 fs/cifs/file.c 		cinode = CIFS_I(d_inode(cfile->dentry));
dentry           2073 fs/cifs/file.c 		full_path = build_path_from_dentry(cfile->dentry);
dentry           2084 fs/cifs/file.c 		cinode = CIFS_I(d_inode(cfile->dentry));
dentry           2494 fs/cifs/file.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(cfile->dentry->d_sb);
dentry           2698 fs/cifs/file.c 	struct inode *inode = d_inode(wdata->cfile->dentry);
dentry           2990 fs/cifs/file.c 	struct dentry *dentry = ctx->cfile->dentry;
dentry           2994 fs/cifs/file.c 	cifs_sb = CIFS_SB(dentry->d_sb);
dentry           3055 fs/cifs/file.c 	set_bit(CIFS_INO_INVALID_MAPPING, &CIFS_I(dentry->d_inode)->flags);
dentry           3694 fs/cifs/file.c 	cifs_sb = CIFS_SB(ctx->cfile->dentry->d_sb);
dentry           4673 fs/cifs/file.c 	struct inode *inode = d_inode(cfile->dentry);
dentry           1009 fs/cifs/inode.c 	struct dentry *dentry;
dentry           1012 fs/cifs/inode.c 	hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) {
dentry           1013 fs/cifs/inode.c 		if (!d_unhashed(dentry) || IS_ROOT(dentry)) {
dentry           1192 fs/cifs/inode.c cifs_rename_pending_delete(const char *full_path, struct dentry *dentry,
dentry           1199 fs/cifs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1304 fs/cifs/inode.c 	CIFSSMBRenameOpenFile(xid, tcon, fid.netfid, dentry->d_name.name,
dentry           1334 fs/cifs/inode.c int cifs_unlink(struct inode *dir, struct dentry *dentry)
dentry           1339 fs/cifs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1349 fs/cifs/inode.c 	cifs_dbg(FYI, "cifs_unlink, dir=0x%p, dentry=0x%p\n", dir, dentry);
dentry           1361 fs/cifs/inode.c 	full_path = build_path_from_dentry(dentry);
dentry           1390 fs/cifs/inode.c 		d_drop(dentry);
dentry           1394 fs/cifs/inode.c 								dentry, xid);
dentry           1445 fs/cifs/inode.c cifs_mkdir_qinfo(struct inode *parent, struct dentry *dentry, umode_t mode,
dentry           1512 fs/cifs/inode.c 	d_instantiate(dentry, inode);
dentry           1517 fs/cifs/inode.c cifs_posix_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode,
dentry           1541 fs/cifs/inode.c 		d_drop(dentry);
dentry           1559 fs/cifs/inode.c 	d_instantiate(dentry, newinode);
dentry           1563 fs/cifs/inode.c 		 dentry, dentry, newinode);
dentry           1574 fs/cifs/inode.c 	rc = cifs_mkdir_qinfo(inode, dentry, mode, full_path, cifs_sb, tcon,
dentry           1579 fs/cifs/inode.c int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode)
dentry           1651 fs/cifs/inode.c int cifs_rmdir(struct inode *inode, struct dentry *direntry)
dentry           1718 fs/cifs/inode.c cifs_do_rename(const unsigned int xid, struct dentry *from_dentry,
dentry           1719 fs/cifs/inode.c 	       const char *from_path, struct dentry *to_dentry,
dentry           1781 fs/cifs/inode.c cifs_rename2(struct inode *source_dir, struct dentry *source_dentry,
dentry           1782 fs/cifs/inode.c 	     struct inode *target_dir, struct dentry *target_dentry,
dentry           2007 fs/cifs/inode.c int cifs_revalidate_dentry_attr(struct dentry *dentry)
dentry           2011 fs/cifs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           2012 fs/cifs/inode.c 	struct super_block *sb = dentry->d_sb;
dentry           2026 fs/cifs/inode.c 	full_path = build_path_from_dentry(dentry);
dentry           2034 fs/cifs/inode.c 		 dentry, cifs_get_time(dentry), jiffies);
dentry           2064 fs/cifs/inode.c int cifs_revalidate_dentry(struct dentry *dentry)
dentry           2067 fs/cifs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           2069 fs/cifs/inode.c 	rc = cifs_revalidate_dentry_attr(dentry);
dentry           2079 fs/cifs/inode.c 	struct dentry *dentry = path->dentry;
dentry           2080 fs/cifs/inode.c 	struct cifs_sb_info *cifs_sb = CIFS_SB(dentry->d_sb);
dentry           2082 fs/cifs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           2098 fs/cifs/inode.c 	rc = cifs_revalidate_dentry_attr(dentry);
dentry           2274 fs/cifs/inode.c cifs_setattr_unix(struct dentry *direntry, struct iattr *attrs)
dentry           2419 fs/cifs/inode.c cifs_setattr_nounix(struct dentry *direntry, struct iattr *attrs)
dentry           2600 fs/cifs/inode.c cifs_setattr(struct dentry *direntry, struct iattr *attrs)
dentry             44 fs/cifs/ioctl.c 	struct dentry *dentry = filep->f_path.dentry;
dentry             49 fs/cifs/ioctl.c 	path = build_path_from_dentry(dentry);
dentry            518 fs/cifs/link.c cifs_hardlink(struct dentry *old_file, struct inode *inode,
dentry            519 fs/cifs/link.c 	      struct dentry *direntry)
dentry            608 fs/cifs/link.c cifs_get_link(struct dentry *direntry, struct inode *inode,
dentry            674 fs/cifs/link.c cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname)
dentry            486 fs/cifs/misc.c 				pCifsInode = CIFS_I(d_inode(netfile->dentry));
dentry             76 fs/cifs/readdir.c cifs_prime_dcache(struct dentry *parent, struct qstr *name,
dentry             79 fs/cifs/readdir.c 	struct dentry *dentry, *alias;
dentry             87 fs/cifs/readdir.c 	dentry = d_hash_and_lookup(parent, name);
dentry             88 fs/cifs/readdir.c 	if (!dentry) {
dentry             98 fs/cifs/readdir.c 		dentry = d_alloc_parallel(parent, name, &wq);
dentry            100 fs/cifs/readdir.c 	if (IS_ERR(dentry))
dentry            102 fs/cifs/readdir.c 	if (!d_in_lookup(dentry)) {
dentry            103 fs/cifs/readdir.c 		inode = d_inode(dentry);
dentry            105 fs/cifs/readdir.c 			if (d_mountpoint(dentry)) {
dentry            106 fs/cifs/readdir.c 				dput(dentry);
dentry            123 fs/cifs/readdir.c 				dput(dentry);
dentry            127 fs/cifs/readdir.c 		d_invalidate(dentry);
dentry            128 fs/cifs/readdir.c 		dput(dentry);
dentry            134 fs/cifs/readdir.c 		alias = d_splice_alias(inode, dentry);
dentry            135 fs/cifs/readdir.c 		d_lookup_done(dentry);
dentry            139 fs/cifs/readdir.c 	dput(dentry);
dentry            715 fs/cifs/smb1ops.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1028 fs/cifs/smb1ops.c 	       struct dentry *dentry, struct cifs_tcon *tcon,
dentry           1073 fs/cifs/smb1ops.c 			d_instantiate(dentry, newinode);
dentry           1141 fs/cifs/smb1ops.c 	d_drop(dentry);
dentry            124 fs/cifs/smb2file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry            262 fs/cifs/smb2file.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry            529 fs/cifs/smb2misc.c 		cinode = CIFS_I(d_inode(cfile->dentry));
dentry            693 fs/cifs/smb2misc.c 				cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1341 fs/cifs/smb2ops.c 	struct cifsInodeInfo *cinode = CIFS_I(d_inode(cfile->dentry));
dentry           1848 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
dentry           2966 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
dentry           3028 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
dentry           3064 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
dentry           3157 fs/cifs/smb2ops.c 	inode = d_inode(cfile->dentry);
dentry           4381 fs/cifs/smb2ops.c 	       struct dentry *dentry, struct cifs_tcon *tcon,
dentry           4468 fs/cifs/smb2ops.c 	d_drop(dentry);
dentry             51 fs/cifs/xattr.c 			  struct dentry *dentry, struct inode *inode,
dentry             57 fs/cifs/xattr.c 	struct super_block *sb = dentry->d_sb;
dentry             70 fs/cifs/xattr.c 	full_path = build_path_from_dentry(dentry);
dentry            154 fs/cifs/xattr.c static int cifs_attrib_get(struct dentry *dentry,
dentry            161 fs/cifs/xattr.c 	rc = cifs_revalidate_dentry_attr(dentry);
dentry            178 fs/cifs/xattr.c static int cifs_creation_time_get(struct dentry *dentry, struct inode *inode,
dentry            184 fs/cifs/xattr.c 	rc = cifs_revalidate_dentry_attr(dentry);
dentry            201 fs/cifs/xattr.c 			  struct dentry *dentry, struct inode *inode,
dentry            206 fs/cifs/xattr.c 	struct super_block *sb = dentry->d_sb;
dentry            219 fs/cifs/xattr.c 	full_path = build_path_from_dentry(dentry);
dentry            231 fs/cifs/xattr.c 			rc = cifs_attrib_get(dentry, inode, value, size);
dentry            235 fs/cifs/xattr.c 			rc = cifs_creation_time_get(dentry, inode, value, size);
dentry            309 fs/cifs/xattr.c ssize_t cifs_listxattr(struct dentry *direntry, char *data, size_t buf_size)
dentry             91 fs/coda/cache.c static void coda_flag_children(struct dentry *parent, int flag)
dentry             93 fs/coda/cache.c 	struct dentry *de;
dentry            107 fs/coda/cache.c 	struct dentry *alias_de;
dentry              5 fs/coda/coda_int.h struct dentry;
dentry             52 fs/coda/coda_linux.h int coda_setattr(struct dentry *, struct iattr *);
dentry             85 fs/coda/coda_psdev.h int venus_statfs(struct dentry *dentry, struct kstatfs *sfs);
dentry             41 fs/coda/dir.c  static struct dentry *coda_lookup(struct inode *dir, struct dentry *entry, unsigned int flags)
dentry            135 fs/coda/dir.c  static int coda_create(struct inode *dir, struct dentry *de, umode_t mode, bool excl)
dentry            167 fs/coda/dir.c  static int coda_mkdir(struct inode *dir, struct dentry *de, umode_t mode)
dentry            202 fs/coda/dir.c  static int coda_link(struct dentry *source_de, struct inode *dir_inode, 
dentry            203 fs/coda/dir.c  	  struct dentry *de)
dentry            228 fs/coda/dir.c  static int coda_symlink(struct inode *dir_inode, struct dentry *de,
dentry            259 fs/coda/dir.c  static int coda_unlink(struct inode *dir, struct dentry *de)
dentry            274 fs/coda/dir.c  static int coda_rmdir(struct inode *dir, struct dentry *de)
dentry            294 fs/coda/dir.c  static int coda_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            295 fs/coda/dir.c  		       struct inode *new_dir, struct dentry *new_dentry,
dentry            454 fs/coda/dir.c  static int coda_dentry_revalidate(struct dentry *de, unsigned int flags)
dentry            496 fs/coda/dir.c  static int coda_dentry_delete(const struct dentry * dentry)
dentry            500 fs/coda/dir.c  	if (d_really_is_negative(dentry)) 
dentry            503 fs/coda/dir.c  	flags = (ITOC(d_inode(dentry))->c_flags) & C_PURGE;
dentry            504 fs/coda/dir.c  	if (is_bad_inode(d_inode(dentry)) || flags) {
dentry             39 fs/coda/inode.c static int coda_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry            257 fs/coda/inode.c 	int err = coda_revalidate_inode(d_inode(path->dentry));
dentry            259 fs/coda/inode.c 		generic_fillattr(d_inode(path->dentry), stat);
dentry            263 fs/coda/inode.c int coda_setattr(struct dentry *de, struct iattr *iattr)
dentry            291 fs/coda/inode.c static int coda_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            295 fs/coda/inode.c 	error = venus_statfs(dentry, buf);
dentry            316 fs/coda/inode.c static struct dentry *coda_mount(struct file_system_type *fs_type,
dentry             71 fs/coda/pioctl.c 	target_inode = d_inode(path.dentry);
dentry            550 fs/coda/upcall.c int venus_statfs(struct dentry *dentry, struct kstatfs *sfs)
dentry            559 fs/coda/upcall.c 	error = coda_upcall(coda_vcp(dentry->d_sb), insize, &outsize, inp);
dentry             41 fs/configfs/configfs_internal.h 	struct dentry		* s_dentry;
dentry             69 fs/configfs/configfs_internal.h extern struct inode *configfs_create(struct dentry *, umode_t mode);
dentry             74 fs/configfs/configfs_internal.h extern int configfs_make_dirent(struct configfs_dirent *, struct dentry *,
dentry             78 fs/configfs/configfs_internal.h extern void configfs_hash_and_remove(struct dentry * dir, const char * name);
dentry             81 fs/configfs/configfs_internal.h extern void configfs_drop_dentry(struct configfs_dirent *sd, struct dentry *parent);
dentry             82 fs/configfs/configfs_internal.h extern int configfs_setattr(struct dentry *dentry, struct iattr *iattr);
dentry             84 fs/configfs/configfs_internal.h extern struct dentry *configfs_pin_fs(void);
dentry             95 fs/configfs/configfs_internal.h extern int configfs_symlink(struct inode *dir, struct dentry *dentry,
dentry             97 fs/configfs/configfs_internal.h extern int configfs_unlink(struct inode *dir, struct dentry *dentry);
dentry             99 fs/configfs/configfs_internal.h int configfs_create_link(struct configfs_dirent *target, struct dentry *parent,
dentry            100 fs/configfs/configfs_internal.h 		struct dentry *dentry, char *body);
dentry            102 fs/configfs/configfs_internal.h static inline struct config_item * to_item(struct dentry * dentry)
dentry            104 fs/configfs/configfs_internal.h 	struct configfs_dirent * sd = dentry->d_fsdata;
dentry            108 fs/configfs/configfs_internal.h static inline struct configfs_attribute * to_attr(struct dentry * dentry)
dentry            110 fs/configfs/configfs_internal.h 	struct configfs_dirent * sd = dentry->d_fsdata;
dentry            114 fs/configfs/configfs_internal.h static inline struct configfs_bin_attribute *to_bin_attr(struct dentry *dentry)
dentry            116 fs/configfs/configfs_internal.h 	struct configfs_attribute *attr = to_attr(dentry);
dentry            121 fs/configfs/configfs_internal.h static inline struct config_item *configfs_get_config_item(struct dentry *dentry)
dentry            125 fs/configfs/configfs_internal.h 	spin_lock(&dentry->d_lock);
dentry            126 fs/configfs/configfs_internal.h 	if (!d_unhashed(dentry)) {
dentry            127 fs/configfs/configfs_internal.h 		struct configfs_dirent * sd = dentry->d_fsdata;
dentry            130 fs/configfs/configfs_internal.h 	spin_unlock(&dentry->d_lock);
dentry             39 fs/configfs/dir.c static void configfs_d_iput(struct dentry * dentry,
dentry             42 fs/configfs/dir.c 	struct configfs_dirent *sd = dentry->d_fsdata;
dentry             53 fs/configfs/dir.c 		if (sd->s_dentry == dentry)
dentry            237 fs/configfs/dir.c 			 struct dentry * dentry, void * element,
dentry            247 fs/configfs/dir.c 	sd->s_dentry = dentry;
dentry            248 fs/configfs/dir.c 	if (dentry)
dentry            249 fs/configfs/dir.c 		dentry->d_fsdata = configfs_get(sd);
dentry            254 fs/configfs/dir.c static void configfs_remove_dirent(struct dentry *dentry)
dentry            256 fs/configfs/dir.c 	struct configfs_dirent *sd = dentry->d_fsdata;
dentry            275 fs/configfs/dir.c static int configfs_create_dir(struct config_item *item, struct dentry *dentry,
dentry            280 fs/configfs/dir.c 	struct dentry *p = dentry->d_parent;
dentry            285 fs/configfs/dir.c 	error = configfs_dirent_exists(p->d_fsdata, dentry->d_name.name);
dentry            289 fs/configfs/dir.c 	error = configfs_make_dirent(p->d_fsdata, dentry, item, mode,
dentry            295 fs/configfs/dir.c 	configfs_set_dir_dirent_depth(p->d_fsdata, dentry->d_fsdata);
dentry            296 fs/configfs/dir.c 	inode = configfs_create(dentry, mode);
dentry            304 fs/configfs/dir.c 	d_instantiate(dentry, inode);
dentry            306 fs/configfs/dir.c 	dget(dentry);  /* pin directory dentries in core */
dentry            308 fs/configfs/dir.c 	item->ci_dentry = dentry;
dentry            312 fs/configfs/dir.c 	configfs_remove_dirent(dentry);
dentry            354 fs/configfs/dir.c int configfs_create_link(struct configfs_dirent *target, struct dentry *parent,
dentry            355 fs/configfs/dir.c 		struct dentry *dentry, char *body)
dentry            362 fs/configfs/dir.c 	err = configfs_make_dirent(p, dentry, target, mode, CONFIGFS_ITEM_LINK,
dentry            367 fs/configfs/dir.c 	inode = configfs_create(dentry, mode);
dentry            373 fs/configfs/dir.c 	d_instantiate(dentry, inode);
dentry            374 fs/configfs/dir.c 	dget(dentry);  /* pin link dentries in core */
dentry            378 fs/configfs/dir.c 	configfs_remove_dirent(dentry);
dentry            382 fs/configfs/dir.c static void remove_dir(struct dentry * d)
dentry            384 fs/configfs/dir.c 	struct dentry * parent = dget(d->d_parent);
dentry            409 fs/configfs/dir.c 	struct dentry * dentry = dget(item->ci_dentry);
dentry            411 fs/configfs/dir.c 	if (!dentry)
dentry            414 fs/configfs/dir.c 	remove_dir(dentry);
dentry            418 fs/configfs/dir.c 	dput(dentry);
dentry            425 fs/configfs/dir.c static int configfs_attach_attr(struct configfs_dirent * sd, struct dentry * dentry)
dentry            431 fs/configfs/dir.c 	dentry->d_fsdata = configfs_get(sd);
dentry            432 fs/configfs/dir.c 	sd->s_dentry = dentry;
dentry            435 fs/configfs/dir.c 	inode = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG);
dentry            447 fs/configfs/dir.c 	d_add(dentry, inode);
dentry            451 fs/configfs/dir.c static struct dentry * configfs_lookup(struct inode *dir,
dentry            452 fs/configfs/dir.c 				       struct dentry *dentry,
dentry            455 fs/configfs/dir.c 	struct configfs_dirent * parent_sd = dentry->d_parent->d_fsdata;
dentry            476 fs/configfs/dir.c 			if (strcmp(name, dentry->d_name.name))
dentry            480 fs/configfs/dir.c 			err = configfs_attach_attr(sd, dentry);
dentry            490 fs/configfs/dir.c 		if (dentry->d_name.len > NAME_MAX)
dentry            492 fs/configfs/dir.c 		d_add(dentry, NULL);
dentry            508 fs/configfs/dir.c static int configfs_detach_prep(struct dentry *dentry, struct dentry **wait)
dentry            510 fs/configfs/dir.c 	struct configfs_dirent *parent_sd = dentry->d_fsdata;
dentry            555 fs/configfs/dir.c static void configfs_detach_rollback(struct dentry *dentry)
dentry            557 fs/configfs/dir.c 	struct configfs_dirent *parent_sd = dentry->d_fsdata;
dentry            569 fs/configfs/dir.c 	struct dentry * dentry = dget(item->ci_dentry);
dentry            573 fs/configfs/dir.c 	if (!dentry)
dentry            577 fs/configfs/dir.c 		 dentry->d_name.name);
dentry            579 fs/configfs/dir.c 	parent_sd = dentry->d_fsdata;
dentry            586 fs/configfs/dir.c 		configfs_drop_dentry(sd, dentry);
dentry            593 fs/configfs/dir.c 	dput(dentry);
dentry            628 fs/configfs/dir.c 				 struct dentry *dentry,
dentry            634 fs/configfs/dir.c 	struct dentry * dentry = dget(group->cg_item.ci_dentry);
dentry            635 fs/configfs/dir.c 	struct dentry *child;
dentry            639 fs/configfs/dir.c 	if (!dentry)
dentry            642 fs/configfs/dir.c 	parent_sd = dentry->d_fsdata;
dentry            665 fs/configfs/dir.c 	dput(dentry);
dentry            683 fs/configfs/dir.c 	struct dentry *child, *parent = parent_group->cg_item.ci_dentry;
dentry            829 fs/configfs/dir.c 				struct dentry *dentry,
dentry            834 fs/configfs/dir.c 	ret = configfs_create_dir(item, dentry, frag);
dentry            843 fs/configfs/dir.c 			inode_lock(d_inode(dentry));
dentry            845 fs/configfs/dir.c 			d_inode(dentry)->i_flags |= S_DEAD;
dentry            846 fs/configfs/dir.c 			dont_mount(dentry);
dentry            847 fs/configfs/dir.c 			inode_unlock(d_inode(dentry));
dentry            848 fs/configfs/dir.c 			d_delete(dentry);
dentry            864 fs/configfs/dir.c 				 struct dentry *dentry,
dentry            870 fs/configfs/dir.c 	ret = configfs_attach_item(parent_item, item, dentry, frag);
dentry            872 fs/configfs/dir.c 		sd = dentry->d_fsdata;
dentry            884 fs/configfs/dir.c 		inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD);
dentry            889 fs/configfs/dir.c 			d_inode(dentry)->i_flags |= S_DEAD;
dentry            890 fs/configfs/dir.c 			dont_mount(dentry);
dentry            893 fs/configfs/dir.c 		inode_unlock(d_inode(dentry));
dentry            895 fs/configfs/dir.c 			d_delete(dentry);
dentry           1050 fs/configfs/dir.c static int configfs_depend_prep(struct dentry *origin,
dentry           1080 fs/configfs/dir.c static int configfs_do_depend_item(struct dentry *subsys_dentry,
dentry           1130 fs/configfs/dir.c 	struct dentry *root;
dentry           1270 fs/configfs/dir.c static int configfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1284 fs/configfs/dir.c 	sd = dentry->d_parent->d_fsdata;
dentry           1307 fs/configfs/dir.c 	parent_item = configfs_get_config_item(dentry->d_parent);
dentry           1334 fs/configfs/dir.c 	name = kmalloc(dentry->d_name.len + 1, GFP_KERNEL);
dentry           1340 fs/configfs/dir.c 	snprintf(name, dentry->d_name.len + 1, "%s", dentry->d_name.name);
dentry           1408 fs/configfs/dir.c 		ret = configfs_attach_group(parent_item, item, dentry, frag);
dentry           1410 fs/configfs/dir.c 		ret = configfs_attach_item(parent_item, item, dentry, frag);
dentry           1415 fs/configfs/dir.c 		configfs_dir_set_ready(dentry->d_fsdata);
dentry           1453 fs/configfs/dir.c static int configfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1463 fs/configfs/dir.c 	sd = dentry->d_fsdata;
dentry           1468 fs/configfs/dir.c 	parent_item = configfs_get_config_item(dentry->d_parent);
dentry           1486 fs/configfs/dir.c 		struct dentry *wait;
dentry           1497 fs/configfs/dir.c 			ret = configfs_detach_prep(dentry, &wait);
dentry           1499 fs/configfs/dir.c 				configfs_detach_rollback(dentry);
dentry           1520 fs/configfs/dir.c 		configfs_detach_rollback(dentry);
dentry           1529 fs/configfs/dir.c 	item = configfs_get_config_item(dentry);
dentry           1579 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
dentry           1580 fs/configfs/dir.c 	struct configfs_dirent * parent_sd = dentry->d_fsdata;
dentry           1583 fs/configfs/dir.c 	inode_lock(d_inode(dentry));
dentry           1596 fs/configfs/dir.c 	inode_unlock(d_inode(dentry));
dentry           1603 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
dentry           1606 fs/configfs/dir.c 	inode_lock(d_inode(dentry));
dentry           1610 fs/configfs/dir.c 	inode_unlock(d_inode(dentry));
dentry           1625 fs/configfs/dir.c 	struct dentry *dentry = file->f_path.dentry;
dentry           1626 fs/configfs/dir.c 	struct super_block *sb = dentry->d_sb;
dentry           1627 fs/configfs/dir.c 	struct configfs_dirent * parent_sd = dentry->d_fsdata;
dentry           1660 fs/configfs/dir.c 		dentry = next->s_dentry;
dentry           1661 fs/configfs/dir.c 		if (dentry)
dentry           1662 fs/configfs/dir.c 			inode = d_inode(dentry);
dentry           1686 fs/configfs/dir.c 	struct dentry * dentry = file->f_path.dentry;
dentry           1702 fs/configfs/dir.c 			struct configfs_dirent *sd = dentry->d_fsdata;
dentry           1747 fs/configfs/dir.c 	struct dentry *parent;
dentry           1791 fs/configfs/dir.c 	struct dentry *dentry = group->cg_item.ci_dentry;
dentry           1792 fs/configfs/dir.c 	struct dentry *parent = group->cg_item.ci_parent->ci_dentry;
dentry           1793 fs/configfs/dir.c 	struct configfs_dirent *sd = dentry->d_fsdata;
dentry           1802 fs/configfs/dir.c 	configfs_detach_prep(dentry, NULL);
dentry           1806 fs/configfs/dir.c 	d_inode(dentry)->i_flags |= S_DEAD;
dentry           1807 fs/configfs/dir.c 	dont_mount(dentry);
dentry           1808 fs/configfs/dir.c 	fsnotify_rmdir(d_inode(parent), dentry);
dentry           1809 fs/configfs/dir.c 	d_delete(dentry);
dentry           1812 fs/configfs/dir.c 	dput(dentry);
dentry           1868 fs/configfs/dir.c 	struct dentry *dentry;
dentry           1869 fs/configfs/dir.c 	struct dentry *root;
dentry           1892 fs/configfs/dir.c 	dentry = d_alloc_name(root, group->cg_item.ci_name);
dentry           1893 fs/configfs/dir.c 	if (dentry) {
dentry           1894 fs/configfs/dir.c 		d_add(dentry, NULL);
dentry           1897 fs/configfs/dir.c 					    dentry, frag);
dentry           1899 fs/configfs/dir.c 			BUG_ON(d_inode(dentry));
dentry           1900 fs/configfs/dir.c 			d_drop(dentry);
dentry           1901 fs/configfs/dir.c 			dput(dentry);
dentry           1904 fs/configfs/dir.c 			configfs_dir_set_ready(dentry->d_fsdata);
dentry           1923 fs/configfs/dir.c 	struct dentry *dentry = group->cg_item.ci_dentry;
dentry           1924 fs/configfs/dir.c 	struct dentry *root = dentry->d_sb->s_root;
dentry           1925 fs/configfs/dir.c 	struct configfs_dirent *sd = dentry->d_fsdata;
dentry           1928 fs/configfs/dir.c 	if (dentry->d_parent != root) {
dentry           1939 fs/configfs/dir.c 	inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD);
dentry           1942 fs/configfs/dir.c 	if (configfs_detach_prep(dentry, NULL)) {
dentry           1948 fs/configfs/dir.c 	d_inode(dentry)->i_flags |= S_DEAD;
dentry           1949 fs/configfs/dir.c 	dont_mount(dentry);
dentry           1950 fs/configfs/dir.c 	fsnotify_rmdir(d_inode(root), dentry);
dentry           1951 fs/configfs/dir.c 	inode_unlock(d_inode(dentry));
dentry           1953 fs/configfs/dir.c 	d_delete(dentry);
dentry           1957 fs/configfs/dir.c 	dput(dentry);
dentry             53 fs/configfs/file.c 	struct configfs_dirent *sd = file->f_path.dentry->d_fsdata;
dentry            358 fs/configfs/file.c 	struct dentry *dentry = file->f_path.dentry;
dentry            375 fs/configfs/file.c 	buffer->item = to_item(dentry->d_parent);
dentry            379 fs/configfs/file.c 	attr = to_attr(dentry);
dentry            384 fs/configfs/file.c 		buffer->bin_attr = to_bin_attr(dentry);
dentry            523 fs/configfs/file.c 	struct dentry *dir = item->ci_dentry;
dentry            545 fs/configfs/file.c 	struct dentry *dir = item->ci_dentry;
dentry             43 fs/configfs/inode.c int configfs_setattr(struct dentry * dentry, struct iattr * iattr)
dentry             45 fs/configfs/inode.c 	struct inode * inode = d_inode(dentry);
dentry             46 fs/configfs/inode.c 	struct configfs_dirent * sd = dentry->d_fsdata;
dentry             70 fs/configfs/inode.c 	error = simple_setattr(dentry, iattr);
dentry            164 fs/configfs/inode.c struct inode *configfs_create(struct dentry *dentry, umode_t mode)
dentry            170 fs/configfs/inode.c 	if (!dentry)
dentry            173 fs/configfs/inode.c 	if (d_really_is_positive(dentry))
dentry            176 fs/configfs/inode.c 	sd = dentry->d_fsdata;
dentry            177 fs/configfs/inode.c 	inode = configfs_new_inode(mode, sd, dentry->d_sb);
dentry            181 fs/configfs/inode.c 	p_inode = d_inode(dentry->d_parent);
dentry            212 fs/configfs/inode.c void configfs_drop_dentry(struct configfs_dirent * sd, struct dentry * parent)
dentry            214 fs/configfs/inode.c 	struct dentry * dentry = sd->s_dentry;
dentry            216 fs/configfs/inode.c 	if (dentry) {
dentry            217 fs/configfs/inode.c 		spin_lock(&dentry->d_lock);
dentry            218 fs/configfs/inode.c 		if (simple_positive(dentry)) {
dentry            219 fs/configfs/inode.c 			dget_dlock(dentry);
dentry            220 fs/configfs/inode.c 			__d_drop(dentry);
dentry            221 fs/configfs/inode.c 			spin_unlock(&dentry->d_lock);
dentry            222 fs/configfs/inode.c 			simple_unlink(d_inode(parent), dentry);
dentry            224 fs/configfs/inode.c 			spin_unlock(&dentry->d_lock);
dentry            228 fs/configfs/inode.c void configfs_hash_and_remove(struct dentry * dir, const char * name)
dentry             68 fs/configfs/mount.c 	struct dentry *root;
dentry            124 fs/configfs/mount.c struct dentry *configfs_pin_fs(void)
dentry             81 fs/configfs/symlink.c 		       struct dentry *dentry)
dentry            107 fs/configfs/symlink.c 					   dentry, body);
dentry            126 fs/configfs/symlink.c 		if (path->dentry->d_sb == sb) {
dentry            127 fs/configfs/symlink.c 			*target = configfs_get_config_item(path->dentry);
dentry            142 fs/configfs/symlink.c int configfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
dentry            151 fs/configfs/symlink.c 	sd = dentry->d_parent->d_fsdata;
dentry            159 fs/configfs/symlink.c 	parent_item = configfs_get_config_item(dentry->d_parent);
dentry            192 fs/configfs/symlink.c 	ret = get_target(symname, &path, &target_item, dentry->d_sb);
dentry            197 fs/configfs/symlink.c 	if (dentry->d_inode || d_unhashed(dentry))
dentry            205 fs/configfs/symlink.c 		ret = create_link(parent_item, target_item, dentry);
dentry            220 fs/configfs/symlink.c int configfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            222 fs/configfs/symlink.c 	struct configfs_dirent *sd = dentry->d_fsdata, *target_sd;
dentry            233 fs/configfs/symlink.c 	parent_item = configfs_get_config_item(dentry->d_parent);
dentry            239 fs/configfs/symlink.c 	configfs_drop_dentry(sd, dentry->d_parent);
dentry            240 fs/configfs/symlink.c 	dput(dentry);
dentry            748 fs/coredump.c  			cprm.file = file_open_root(root.dentry, root.mnt,
dentry            760 fs/coredump.c  		if (d_unhashed(cprm.file->f_path.dentry))
dentry            780 fs/coredump.c  		if (do_truncate(cprm.file->f_path.dentry, 0, 0, cprm.file))
dentry            892 fs/coredump.c  			do_truncate(file->f_path.dentry, offset, 0, file);
dentry            676 fs/cramfs/inode.c static int cramfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            678 fs/cramfs/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            765 fs/cramfs/inode.c static struct dentry *cramfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            783 fs/cramfs/inode.c 		if (sorted && (dentry->d_name.name[0] < name[0]))
dentry            790 fs/cramfs/inode.c 		if (((dentry->d_name.len + 3) & ~3) != namelen)
dentry            802 fs/cramfs/inode.c 		if (namelen != dentry->d_name.len)
dentry            804 fs/cramfs/inode.c 		retval = memcmp(dentry->d_name.name, name, namelen);
dentry            817 fs/cramfs/inode.c 	return d_splice_alias(inode, dentry);
dentry            355 fs/crypto/crypto.c static int fscrypt_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry            357 fs/crypto/crypto.c 	struct dentry *dir;
dentry            366 fs/crypto/crypto.c 	if (!(dentry->d_flags & DCACHE_ENCRYPTED_NAME))
dentry            384 fs/crypto/crypto.c 	dir = dget_parent(dentry);
dentry             33 fs/crypto/hooks.c 	struct dentry *dir;
dentry             53 fs/crypto/hooks.c 			   struct dentry *dentry)
dentry             62 fs/crypto/hooks.c 	if (dentry->d_flags & DCACHE_ENCRYPTED_NAME)
dentry             72 fs/crypto/hooks.c int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry             73 fs/crypto/hooks.c 			     struct inode *new_dir, struct dentry *new_dentry,
dentry            107 fs/crypto/hooks.c int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry,
dentry            110 fs/crypto/hooks.c 	int err = fscrypt_setup_filename(dir, &dentry->d_name, 1, fname);
dentry            116 fs/crypto/hooks.c 		spin_lock(&dentry->d_lock);
dentry            117 fs/crypto/hooks.c 		dentry->d_flags |= DCACHE_ENCRYPTED_NAME;
dentry            118 fs/crypto/hooks.c 		spin_unlock(&dentry->d_lock);
dentry            119 fs/crypto/hooks.c 		d_set_d_op(dentry, &fscrypt_d_ops);
dentry            619 fs/crypto/keyring.c 	struct dentry *dentry;
dentry            622 fs/crypto/keyring.c 		dentry = d_find_any_alias(inode);
dentry            623 fs/crypto/keyring.c 		if (dentry) {
dentry            624 fs/crypto/keyring.c 			shrink_dcache_parent(dentry);
dentry            625 fs/crypto/keyring.c 			dput(dentry);
dentry             79 fs/d_path.c    	struct dentry *dentry;
dentry             96 fs/d_path.c    	dentry = path->dentry;
dentry            100 fs/d_path.c    	while (dentry != root->dentry || vfsmnt != root->mnt) {
dentry            101 fs/d_path.c    		struct dentry * parent;
dentry            103 fs/d_path.c    		if (dentry == vfsmnt->mnt_root || IS_ROOT(dentry)) {
dentry            106 fs/d_path.c    			if (dentry != vfsmnt->mnt_root) {
dentry            114 fs/d_path.c    				dentry = READ_ONCE(mnt->mnt_mountpoint);
dentry            125 fs/d_path.c    		parent = dentry->d_parent;
dentry            127 fs/d_path.c    		error = prepend_name(&bptr, &blen, &dentry->d_name);
dentry            131 fs/d_path.c    		dentry = parent;
dentry            218 fs/d_path.c    	if (d_unlinked(path->dentry)) {
dentry            275 fs/d_path.c    	if (path->dentry->d_op && path->dentry->d_op->d_dname &&
dentry            276 fs/d_path.c    	    (!IS_ROOT(path->dentry) || path->dentry != path->mnt->mnt_root))
dentry            277 fs/d_path.c    		return path->dentry->d_op->d_dname(path->dentry, buf, buflen);
dentry            293 fs/d_path.c    char *dynamic_dname(struct dentry *dentry, char *buffer, int buflen,
dentry            311 fs/d_path.c    char *simple_dname(struct dentry *dentry, char *buffer, int buflen)
dentry            316 fs/d_path.c    	    prepend(&end, &buflen, dentry->d_name.name, dentry->d_name.len) ||
dentry            325 fs/d_path.c    static char *__dentry_path(struct dentry *d, char *buf, int buflen)
dentry            327 fs/d_path.c    	struct dentry *dentry;
dentry            337 fs/d_path.c    	dentry = d;
dentry            345 fs/d_path.c    	while (!IS_ROOT(dentry)) {
dentry            346 fs/d_path.c    		struct dentry *parent = dentry->d_parent;
dentry            349 fs/d_path.c    		error = prepend_name(&end, &len, &dentry->d_name);
dentry            354 fs/d_path.c    		dentry = parent;
dentry            370 fs/d_path.c    char *dentry_path_raw(struct dentry *dentry, char *buf, int buflen)
dentry            372 fs/d_path.c    	return __dentry_path(dentry, buf, buflen);
dentry            376 fs/d_path.c    char *dentry_path(struct dentry *dentry, char *buf, int buflen)
dentry            381 fs/d_path.c    	if (d_unlinked(dentry)) {
dentry            387 fs/d_path.c    	retval = __dentry_path(dentry, buf, buflen);
dentry            438 fs/d_path.c    	if (!d_unlinked(pwd.dentry)) {
dentry            109 fs/dcache.c    static inline struct hlist_bl_head *in_lookup_hash(const struct dentry *parent,
dentry            231 fs/dcache.c    static inline int dentry_cmp(const struct dentry *dentry, const unsigned char *ct, unsigned tcount)
dentry            249 fs/dcache.c    	const unsigned char *cs = READ_ONCE(dentry->d_name.name);
dentry            262 fs/dcache.c    static inline struct external_name *external_name(struct dentry *dentry)
dentry            264 fs/dcache.c    	return container_of(dentry->d_name.name, struct external_name, name[0]);
dentry            269 fs/dcache.c    	struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu);
dentry            271 fs/dcache.c    	kmem_cache_free(dentry_cache, dentry); 
dentry            276 fs/dcache.c    	struct dentry *dentry = container_of(head, struct dentry, d_u.d_rcu);
dentry            277 fs/dcache.c    	kfree(external_name(dentry));
dentry            278 fs/dcache.c    	kmem_cache_free(dentry_cache, dentry);
dentry            281 fs/dcache.c    static inline int dname_external(const struct dentry *dentry)
dentry            283 fs/dcache.c    	return dentry->d_name.name != dentry->d_iname;
dentry            286 fs/dcache.c    void take_dentry_name_snapshot(struct name_snapshot *name, struct dentry *dentry)
dentry            288 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry            289 fs/dcache.c    	name->name = dentry->d_name;
dentry            290 fs/dcache.c    	if (unlikely(dname_external(dentry))) {
dentry            291 fs/dcache.c    		atomic_inc(&external_name(dentry)->u.count);
dentry            293 fs/dcache.c    		memcpy(name->inline_name, dentry->d_iname,
dentry            294 fs/dcache.c    		       dentry->d_name.len + 1);
dentry            297 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            312 fs/dcache.c    static inline void __d_set_inode_and_type(struct dentry *dentry,
dentry            318 fs/dcache.c    	dentry->d_inode = inode;
dentry            319 fs/dcache.c    	flags = READ_ONCE(dentry->d_flags);
dentry            322 fs/dcache.c    	WRITE_ONCE(dentry->d_flags, flags);
dentry            325 fs/dcache.c    static inline void __d_clear_type_and_inode(struct dentry *dentry)
dentry            327 fs/dcache.c    	unsigned flags = READ_ONCE(dentry->d_flags);
dentry            330 fs/dcache.c    	WRITE_ONCE(dentry->d_flags, flags);
dentry            331 fs/dcache.c    	dentry->d_inode = NULL;
dentry            332 fs/dcache.c    	if (dentry->d_flags & DCACHE_LRU_LIST)
dentry            336 fs/dcache.c    static void dentry_free(struct dentry *dentry)
dentry            338 fs/dcache.c    	WARN_ON(!hlist_unhashed(&dentry->d_u.d_alias));
dentry            339 fs/dcache.c    	if (unlikely(dname_external(dentry))) {
dentry            340 fs/dcache.c    		struct external_name *p = external_name(dentry);
dentry            342 fs/dcache.c    			call_rcu(&dentry->d_u.d_rcu, __d_free_external);
dentry            347 fs/dcache.c    	if (dentry->d_flags & DCACHE_NORCU)
dentry            348 fs/dcache.c    		__d_free(&dentry->d_u.d_rcu);
dentry            350 fs/dcache.c    		call_rcu(&dentry->d_u.d_rcu, __d_free);
dentry            357 fs/dcache.c    static void dentry_unlink_inode(struct dentry * dentry)
dentry            358 fs/dcache.c    	__releases(dentry->d_lock)
dentry            359 fs/dcache.c    	__releases(dentry->d_inode->i_lock)
dentry            361 fs/dcache.c    	struct inode *inode = dentry->d_inode;
dentry            363 fs/dcache.c    	raw_write_seqcount_begin(&dentry->d_seq);
dentry            364 fs/dcache.c    	__d_clear_type_and_inode(dentry);
dentry            365 fs/dcache.c    	hlist_del_init(&dentry->d_u.d_alias);
dentry            366 fs/dcache.c    	raw_write_seqcount_end(&dentry->d_seq);
dentry            367 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            371 fs/dcache.c    	if (dentry->d_op && dentry->d_op->d_iput)
dentry            372 fs/dcache.c    		dentry->d_op->d_iput(dentry, inode);
dentry            396 fs/dcache.c    #define D_FLAG_VERIFY(dentry,x) WARN_ON_ONCE(((dentry)->d_flags & (DCACHE_LRU_LIST | DCACHE_SHRINK_LIST)) != (x))
dentry            397 fs/dcache.c    static void d_lru_add(struct dentry *dentry)
dentry            399 fs/dcache.c    	D_FLAG_VERIFY(dentry, 0);
dentry            400 fs/dcache.c    	dentry->d_flags |= DCACHE_LRU_LIST;
dentry            402 fs/dcache.c    	if (d_is_negative(dentry))
dentry            404 fs/dcache.c    	WARN_ON_ONCE(!list_lru_add(&dentry->d_sb->s_dentry_lru, &dentry->d_lru));
dentry            407 fs/dcache.c    static void d_lru_del(struct dentry *dentry)
dentry            409 fs/dcache.c    	D_FLAG_VERIFY(dentry, DCACHE_LRU_LIST);
dentry            410 fs/dcache.c    	dentry->d_flags &= ~DCACHE_LRU_LIST;
dentry            412 fs/dcache.c    	if (d_is_negative(dentry))
dentry            414 fs/dcache.c    	WARN_ON_ONCE(!list_lru_del(&dentry->d_sb->s_dentry_lru, &dentry->d_lru));
dentry            417 fs/dcache.c    static void d_shrink_del(struct dentry *dentry)
dentry            419 fs/dcache.c    	D_FLAG_VERIFY(dentry, DCACHE_SHRINK_LIST | DCACHE_LRU_LIST);
dentry            420 fs/dcache.c    	list_del_init(&dentry->d_lru);
dentry            421 fs/dcache.c    	dentry->d_flags &= ~(DCACHE_SHRINK_LIST | DCACHE_LRU_LIST);
dentry            425 fs/dcache.c    static void d_shrink_add(struct dentry *dentry, struct list_head *list)
dentry            427 fs/dcache.c    	D_FLAG_VERIFY(dentry, 0);
dentry            428 fs/dcache.c    	list_add(&dentry->d_lru, list);
dentry            429 fs/dcache.c    	dentry->d_flags |= DCACHE_SHRINK_LIST | DCACHE_LRU_LIST;
dentry            439 fs/dcache.c    static void d_lru_isolate(struct list_lru_one *lru, struct dentry *dentry)
dentry            441 fs/dcache.c    	D_FLAG_VERIFY(dentry, DCACHE_LRU_LIST);
dentry            442 fs/dcache.c    	dentry->d_flags &= ~DCACHE_LRU_LIST;
dentry            444 fs/dcache.c    	if (d_is_negative(dentry))
dentry            446 fs/dcache.c    	list_lru_isolate(lru, &dentry->d_lru);
dentry            449 fs/dcache.c    static void d_lru_shrink_move(struct list_lru_one *lru, struct dentry *dentry,
dentry            452 fs/dcache.c    	D_FLAG_VERIFY(dentry, DCACHE_LRU_LIST);
dentry            453 fs/dcache.c    	dentry->d_flags |= DCACHE_SHRINK_LIST;
dentry            454 fs/dcache.c    	if (d_is_negative(dentry))
dentry            456 fs/dcache.c    	list_lru_isolate_move(lru, &dentry->d_lru, list);
dentry            476 fs/dcache.c    static void ___d_drop(struct dentry *dentry)
dentry            484 fs/dcache.c    	if (unlikely(IS_ROOT(dentry)))
dentry            485 fs/dcache.c    		b = &dentry->d_sb->s_roots;
dentry            487 fs/dcache.c    		b = d_hash(dentry->d_name.hash);
dentry            490 fs/dcache.c    	__hlist_bl_del(&dentry->d_hash);
dentry            494 fs/dcache.c    void __d_drop(struct dentry *dentry)
dentry            496 fs/dcache.c    	if (!d_unhashed(dentry)) {
dentry            497 fs/dcache.c    		___d_drop(dentry);
dentry            498 fs/dcache.c    		dentry->d_hash.pprev = NULL;
dentry            499 fs/dcache.c    		write_seqcount_invalidate(&dentry->d_seq);
dentry            504 fs/dcache.c    void d_drop(struct dentry *dentry)
dentry            506 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry            507 fs/dcache.c    	__d_drop(dentry);
dentry            508 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            512 fs/dcache.c    static inline void dentry_unlist(struct dentry *dentry, struct dentry *parent)
dentry            514 fs/dcache.c    	struct dentry *next;
dentry            519 fs/dcache.c    	dentry->d_flags |= DCACHE_DENTRY_KILLED;
dentry            520 fs/dcache.c    	if (unlikely(list_empty(&dentry->d_child)))
dentry            522 fs/dcache.c    	__list_del_entry(&dentry->d_child);
dentry            542 fs/dcache.c    	while (dentry->d_child.next != &parent->d_subdirs) {
dentry            543 fs/dcache.c    		next = list_entry(dentry->d_child.next, struct dentry, d_child);
dentry            546 fs/dcache.c    		dentry->d_child.next = next->d_child.next;
dentry            550 fs/dcache.c    static void __dentry_kill(struct dentry *dentry)
dentry            552 fs/dcache.c    	struct dentry *parent = NULL;
dentry            554 fs/dcache.c    	if (!IS_ROOT(dentry))
dentry            555 fs/dcache.c    		parent = dentry->d_parent;
dentry            560 fs/dcache.c    	lockref_mark_dead(&dentry->d_lockref);
dentry            566 fs/dcache.c    	if (dentry->d_flags & DCACHE_OP_PRUNE)
dentry            567 fs/dcache.c    		dentry->d_op->d_prune(dentry);
dentry            569 fs/dcache.c    	if (dentry->d_flags & DCACHE_LRU_LIST) {
dentry            570 fs/dcache.c    		if (!(dentry->d_flags & DCACHE_SHRINK_LIST))
dentry            571 fs/dcache.c    			d_lru_del(dentry);
dentry            574 fs/dcache.c    	__d_drop(dentry);
dentry            575 fs/dcache.c    	dentry_unlist(dentry, parent);
dentry            578 fs/dcache.c    	if (dentry->d_inode)
dentry            579 fs/dcache.c    		dentry_unlink_inode(dentry);
dentry            581 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry            583 fs/dcache.c    	if (dentry->d_op && dentry->d_op->d_release)
dentry            584 fs/dcache.c    		dentry->d_op->d_release(dentry);
dentry            586 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry            587 fs/dcache.c    	if (dentry->d_flags & DCACHE_SHRINK_LIST) {
dentry            588 fs/dcache.c    		dentry->d_flags |= DCACHE_MAY_FREE;
dentry            591 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            593 fs/dcache.c    		dentry_free(dentry);
dentry            597 fs/dcache.c    static struct dentry *__lock_parent(struct dentry *dentry)
dentry            599 fs/dcache.c    	struct dentry *parent;
dentry            601 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            603 fs/dcache.c    	parent = READ_ONCE(dentry->d_parent);
dentry            613 fs/dcache.c    	if (unlikely(parent != dentry->d_parent)) {
dentry            618 fs/dcache.c    	if (parent != dentry)
dentry            619 fs/dcache.c    		spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
dentry            625 fs/dcache.c    static inline struct dentry *lock_parent(struct dentry *dentry)
dentry            627 fs/dcache.c    	struct dentry *parent = dentry->d_parent;
dentry            628 fs/dcache.c    	if (IS_ROOT(dentry))
dentry            632 fs/dcache.c    	return __lock_parent(dentry);
dentry            635 fs/dcache.c    static inline bool retain_dentry(struct dentry *dentry)
dentry            637 fs/dcache.c    	WARN_ON(d_in_lookup(dentry));
dentry            640 fs/dcache.c    	if (unlikely(d_unhashed(dentry)))
dentry            643 fs/dcache.c    	if (unlikely(dentry->d_flags & DCACHE_DISCONNECTED))
dentry            646 fs/dcache.c    	if (unlikely(dentry->d_flags & DCACHE_OP_DELETE)) {
dentry            647 fs/dcache.c    		if (dentry->d_op->d_delete(dentry))
dentry            651 fs/dcache.c    	dentry->d_lockref.count--;
dentry            652 fs/dcache.c    	if (unlikely(!(dentry->d_flags & DCACHE_LRU_LIST)))
dentry            653 fs/dcache.c    		d_lru_add(dentry);
dentry            654 fs/dcache.c    	else if (unlikely(!(dentry->d_flags & DCACHE_REFERENCED)))
dentry            655 fs/dcache.c    		dentry->d_flags |= DCACHE_REFERENCED;
dentry            664 fs/dcache.c    static struct dentry *dentry_kill(struct dentry *dentry)
dentry            665 fs/dcache.c    	__releases(dentry->d_lock)
dentry            667 fs/dcache.c    	struct inode *inode = dentry->d_inode;
dentry            668 fs/dcache.c    	struct dentry *parent = NULL;
dentry            673 fs/dcache.c    	if (!IS_ROOT(dentry)) {
dentry            674 fs/dcache.c    		parent = dentry->d_parent;
dentry            676 fs/dcache.c    			parent = __lock_parent(dentry);
dentry            677 fs/dcache.c    			if (likely(inode || !dentry->d_inode))
dentry            682 fs/dcache.c    			inode = dentry->d_inode;
dentry            686 fs/dcache.c    	__dentry_kill(dentry);
dentry            690 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            692 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry            693 fs/dcache.c    	parent = lock_parent(dentry);
dentry            695 fs/dcache.c    	if (unlikely(dentry->d_lockref.count != 1)) {
dentry            696 fs/dcache.c    		dentry->d_lockref.count--;
dentry            697 fs/dcache.c    	} else if (likely(!retain_dentry(dentry))) {
dentry            698 fs/dcache.c    		__dentry_kill(dentry);
dentry            706 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            718 fs/dcache.c    static inline bool fast_dput(struct dentry *dentry)
dentry            727 fs/dcache.c    	if (unlikely(dentry->d_flags & DCACHE_OP_DELETE))
dentry            728 fs/dcache.c    		return lockref_put_or_lock(&dentry->d_lockref);
dentry            734 fs/dcache.c    	ret = lockref_put_return(&dentry->d_lockref);
dentry            742 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry            743 fs/dcache.c    		if (dentry->d_lockref.count > 1) {
dentry            744 fs/dcache.c    			dentry->d_lockref.count--;
dentry            745 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry            779 fs/dcache.c    	d_flags = READ_ONCE(dentry->d_flags);
dentry            783 fs/dcache.c    	if (d_flags == (DCACHE_REFERENCED | DCACHE_LRU_LIST) && !d_unhashed(dentry))
dentry            791 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry            799 fs/dcache.c    	if (dentry->d_lockref.count) {
dentry            800 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry            809 fs/dcache.c    	dentry->d_lockref.count = 1;
dentry            840 fs/dcache.c    void dput(struct dentry *dentry)
dentry            842 fs/dcache.c    	while (dentry) {
dentry            846 fs/dcache.c    		if (likely(fast_dput(dentry))) {
dentry            854 fs/dcache.c    		if (likely(retain_dentry(dentry))) {
dentry            855 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry            859 fs/dcache.c    		dentry = dentry_kill(dentry);
dentry            864 fs/dcache.c    static void __dput_to_list(struct dentry *dentry, struct list_head *list)
dentry            865 fs/dcache.c    __must_hold(&dentry->d_lock)
dentry            867 fs/dcache.c    	if (dentry->d_flags & DCACHE_SHRINK_LIST) {
dentry            869 fs/dcache.c    		--dentry->d_lockref.count;
dentry            871 fs/dcache.c    		if (dentry->d_flags & DCACHE_LRU_LIST)
dentry            872 fs/dcache.c    			d_lru_del(dentry);
dentry            873 fs/dcache.c    		if (!--dentry->d_lockref.count)
dentry            874 fs/dcache.c    			d_shrink_add(dentry, list);
dentry            878 fs/dcache.c    void dput_to_list(struct dentry *dentry, struct list_head *list)
dentry            881 fs/dcache.c    	if (likely(fast_dput(dentry))) {
dentry            886 fs/dcache.c    	if (!retain_dentry(dentry))
dentry            887 fs/dcache.c    		__dput_to_list(dentry, list);
dentry            888 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry            892 fs/dcache.c    static inline void __dget_dlock(struct dentry *dentry)
dentry            894 fs/dcache.c    	dentry->d_lockref.count++;
dentry            897 fs/dcache.c    static inline void __dget(struct dentry *dentry)
dentry            899 fs/dcache.c    	lockref_get(&dentry->d_lockref);
dentry            902 fs/dcache.c    struct dentry *dget_parent(struct dentry *dentry)
dentry            905 fs/dcache.c    	struct dentry *ret;
dentry            912 fs/dcache.c    	ret = READ_ONCE(dentry->d_parent);
dentry            916 fs/dcache.c    		if (likely(ret == READ_ONCE(dentry->d_parent)))
dentry            927 fs/dcache.c    	ret = dentry->d_parent;
dentry            929 fs/dcache.c    	if (unlikely(ret != dentry->d_parent)) {
dentry            942 fs/dcache.c    static struct dentry * __d_find_any_alias(struct inode *inode)
dentry            944 fs/dcache.c    	struct dentry *alias;
dentry            948 fs/dcache.c    	alias = hlist_entry(inode->i_dentry.first, struct dentry, d_u.d_alias);
dentry            960 fs/dcache.c    struct dentry *d_find_any_alias(struct inode *inode)
dentry            962 fs/dcache.c    	struct dentry *de;
dentry            985 fs/dcache.c    static struct dentry *__d_find_alias(struct inode *inode)
dentry            987 fs/dcache.c    	struct dentry *alias;
dentry           1004 fs/dcache.c    struct dentry *d_find_alias(struct inode *inode)
dentry           1006 fs/dcache.c    	struct dentry *de = NULL;
dentry           1023 fs/dcache.c    	struct dentry *dentry;
dentry           1026 fs/dcache.c    	hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) {
dentry           1027 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           1028 fs/dcache.c    		if (!dentry->d_lockref.count) {
dentry           1029 fs/dcache.c    			struct dentry *parent = lock_parent(dentry);
dentry           1030 fs/dcache.c    			if (likely(!dentry->d_lockref.count)) {
dentry           1031 fs/dcache.c    				__dentry_kill(dentry);
dentry           1038 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1055 fs/dcache.c    static bool shrink_lock_dentry(struct dentry *dentry)
dentry           1058 fs/dcache.c    	struct dentry *parent;
dentry           1060 fs/dcache.c    	if (dentry->d_lockref.count)
dentry           1063 fs/dcache.c    	inode = dentry->d_inode;
dentry           1065 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1067 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           1068 fs/dcache.c    		if (unlikely(dentry->d_lockref.count))
dentry           1071 fs/dcache.c    		if (unlikely(inode != dentry->d_inode))
dentry           1075 fs/dcache.c    	parent = dentry->d_parent;
dentry           1076 fs/dcache.c    	if (IS_ROOT(dentry) || likely(spin_trylock(&parent->d_lock)))
dentry           1079 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1081 fs/dcache.c    	if (unlikely(parent != dentry->d_parent)) {
dentry           1083 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           1086 fs/dcache.c    	spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
dentry           1087 fs/dcache.c    	if (likely(!dentry->d_lockref.count))
dentry           1099 fs/dcache.c    		struct dentry *dentry, *parent;
dentry           1101 fs/dcache.c    		dentry = list_entry(list->prev, struct dentry, d_lru);
dentry           1102 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           1104 fs/dcache.c    		if (!shrink_lock_dentry(dentry)) {
dentry           1107 fs/dcache.c    			d_shrink_del(dentry);
dentry           1108 fs/dcache.c    			if (dentry->d_lockref.count < 0)
dentry           1109 fs/dcache.c    				can_free = dentry->d_flags & DCACHE_MAY_FREE;
dentry           1110 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry           1112 fs/dcache.c    				dentry_free(dentry);
dentry           1116 fs/dcache.c    		d_shrink_del(dentry);
dentry           1117 fs/dcache.c    		parent = dentry->d_parent;
dentry           1118 fs/dcache.c    		if (parent != dentry)
dentry           1120 fs/dcache.c    		__dentry_kill(dentry);
dentry           1128 fs/dcache.c    	struct dentry	*dentry = container_of(item, struct dentry, d_lru);
dentry           1136 fs/dcache.c    	if (!spin_trylock(&dentry->d_lock))
dentry           1144 fs/dcache.c    	if (dentry->d_lockref.count) {
dentry           1145 fs/dcache.c    		d_lru_isolate(lru, dentry);
dentry           1146 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1150 fs/dcache.c    	if (dentry->d_flags & DCACHE_REFERENCED) {
dentry           1151 fs/dcache.c    		dentry->d_flags &= ~DCACHE_REFERENCED;
dentry           1152 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1176 fs/dcache.c    	d_lru_shrink_move(lru, dentry, freeable);
dentry           1177 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1209 fs/dcache.c    	struct dentry	*dentry = container_of(item, struct dentry, d_lru);
dentry           1216 fs/dcache.c    	if (!spin_trylock(&dentry->d_lock))
dentry           1219 fs/dcache.c    	d_lru_shrink_move(lru, dentry, freeable);
dentry           1220 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1267 fs/dcache.c    static void d_walk(struct dentry *parent, void *data,
dentry           1268 fs/dcache.c    		   enum d_walk_ret (*enter)(void *, struct dentry *))
dentry           1270 fs/dcache.c    	struct dentry *this_parent;
dentry           1297 fs/dcache.c    		struct dentry *dentry = list_entry(tmp, struct dentry, d_child);
dentry           1300 fs/dcache.c    		if (unlikely(dentry->d_flags & DCACHE_DENTRY_CURSOR))
dentry           1303 fs/dcache.c    		spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
dentry           1305 fs/dcache.c    		ret = enter(data, dentry);
dentry           1310 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry           1316 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry           1320 fs/dcache.c    		if (!list_empty(&dentry->d_subdirs)) {
dentry           1322 fs/dcache.c    			spin_release(&dentry->d_lock.dep_map, 1, _RET_IP_);
dentry           1323 fs/dcache.c    			this_parent = dentry;
dentry           1327 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1335 fs/dcache.c    		struct dentry *child = this_parent;
dentry           1349 fs/dcache.c    			child = list_entry(next, struct dentry, d_child);
dentry           1378 fs/dcache.c    static enum d_walk_ret path_check_mount(void *data, struct dentry *dentry)
dentry           1381 fs/dcache.c    	struct path path = { .mnt = info->mnt, .dentry = dentry };
dentry           1383 fs/dcache.c    	if (likely(!d_mountpoint(dentry)))
dentry           1405 fs/dcache.c    	d_walk(parent->dentry, &data, path_check_mount);
dentry           1420 fs/dcache.c    int d_set_mounted(struct dentry *dentry)
dentry           1422 fs/dcache.c    	struct dentry *p;
dentry           1425 fs/dcache.c    	for (p = dentry->d_parent; !IS_ROOT(p); p = p->d_parent) {
dentry           1434 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           1435 fs/dcache.c    	if (!d_unlinked(dentry)) {
dentry           1437 fs/dcache.c    		if (!d_mountpoint(dentry)) {
dentry           1438 fs/dcache.c    			dentry->d_flags |= DCACHE_MOUNTED;
dentry           1442 fs/dcache.c     	spin_unlock(&dentry->d_lock);
dentry           1464 fs/dcache.c    	struct dentry *start;
dentry           1467 fs/dcache.c    		struct dentry *victim;
dentry           1472 fs/dcache.c    static enum d_walk_ret select_collect(void *_data, struct dentry *dentry)
dentry           1477 fs/dcache.c    	if (data->start == dentry)
dentry           1480 fs/dcache.c    	if (dentry->d_flags & DCACHE_SHRINK_LIST) {
dentry           1483 fs/dcache.c    		if (dentry->d_flags & DCACHE_LRU_LIST)
dentry           1484 fs/dcache.c    			d_lru_del(dentry);
dentry           1485 fs/dcache.c    		if (!dentry->d_lockref.count) {
dentry           1486 fs/dcache.c    			d_shrink_add(dentry, &data->dispose);
dentry           1501 fs/dcache.c    static enum d_walk_ret select_collect2(void *_data, struct dentry *dentry)
dentry           1506 fs/dcache.c    	if (data->start == dentry)
dentry           1509 fs/dcache.c    	if (dentry->d_flags & DCACHE_SHRINK_LIST) {
dentry           1510 fs/dcache.c    		if (!dentry->d_lockref.count) {
dentry           1512 fs/dcache.c    			data->victim = dentry;
dentry           1516 fs/dcache.c    		if (dentry->d_flags & DCACHE_LRU_LIST)
dentry           1517 fs/dcache.c    			d_lru_del(dentry);
dentry           1518 fs/dcache.c    		if (!dentry->d_lockref.count)
dentry           1519 fs/dcache.c    			d_shrink_add(dentry, &data->dispose);
dentry           1538 fs/dcache.c    void shrink_dcache_parent(struct dentry *parent)
dentry           1557 fs/dcache.c    			struct dentry *parent;
dentry           1576 fs/dcache.c    static enum d_walk_ret umount_check(void *_data, struct dentry *dentry)
dentry           1579 fs/dcache.c    	if (!list_empty(&dentry->d_subdirs))
dentry           1583 fs/dcache.c    	if (dentry == _data && dentry->d_lockref.count == 1)
dentry           1588 fs/dcache.c    		       dentry,
dentry           1589 fs/dcache.c    		       dentry->d_inode ?
dentry           1590 fs/dcache.c    		       dentry->d_inode->i_ino : 0UL,
dentry           1591 fs/dcache.c    		       dentry,
dentry           1592 fs/dcache.c    		       dentry->d_lockref.count,
dentry           1593 fs/dcache.c    		       dentry->d_sb->s_type->name,
dentry           1594 fs/dcache.c    		       dentry->d_sb->s_id);
dentry           1599 fs/dcache.c    static void do_one_tree(struct dentry *dentry)
dentry           1601 fs/dcache.c    	shrink_dcache_parent(dentry);
dentry           1602 fs/dcache.c    	d_walk(dentry, dentry, umount_check);
dentry           1603 fs/dcache.c    	d_drop(dentry);
dentry           1604 fs/dcache.c    	dput(dentry);
dentry           1612 fs/dcache.c    	struct dentry *dentry;
dentry           1616 fs/dcache.c    	dentry = sb->s_root;
dentry           1618 fs/dcache.c    	do_one_tree(dentry);
dentry           1621 fs/dcache.c    		dentry = dget(hlist_bl_entry(hlist_bl_first(&sb->s_roots), struct dentry, d_hash));
dentry           1622 fs/dcache.c    		do_one_tree(dentry);
dentry           1626 fs/dcache.c    static enum d_walk_ret find_submount(void *_data, struct dentry *dentry)
dentry           1628 fs/dcache.c    	struct dentry **victim = _data;
dentry           1629 fs/dcache.c    	if (d_mountpoint(dentry)) {
dentry           1630 fs/dcache.c    		__dget_dlock(dentry);
dentry           1631 fs/dcache.c    		*victim = dentry;
dentry           1641 fs/dcache.c    void d_invalidate(struct dentry *dentry)
dentry           1644 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           1645 fs/dcache.c    	if (d_unhashed(dentry)) {
dentry           1646 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           1649 fs/dcache.c    	__d_drop(dentry);
dentry           1650 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1653 fs/dcache.c    	if (!dentry->d_inode)
dentry           1656 fs/dcache.c    	shrink_dcache_parent(dentry);
dentry           1658 fs/dcache.c    		struct dentry *victim = NULL;
dentry           1659 fs/dcache.c    		d_walk(dentry, &victim, find_submount);
dentry           1662 fs/dcache.c    				shrink_dcache_parent(dentry);
dentry           1682 fs/dcache.c    struct dentry *__d_alloc(struct super_block *sb, const struct qstr *name)
dentry           1684 fs/dcache.c    	struct dentry *dentry;
dentry           1688 fs/dcache.c    	dentry = kmem_cache_alloc(dentry_cache, GFP_KERNEL);
dentry           1689 fs/dcache.c    	if (!dentry)
dentry           1698 fs/dcache.c    	dentry->d_iname[DNAME_INLINE_LEN-1] = 0;
dentry           1701 fs/dcache.c    		dname = dentry->d_iname;
dentry           1708 fs/dcache.c    			kmem_cache_free(dentry_cache, dentry); 
dentry           1714 fs/dcache.c    		dname = dentry->d_iname;
dentry           1717 fs/dcache.c    	dentry->d_name.len = name->len;
dentry           1718 fs/dcache.c    	dentry->d_name.hash = name->hash;
dentry           1723 fs/dcache.c    	smp_store_release(&dentry->d_name.name, dname); /* ^^^ */
dentry           1725 fs/dcache.c    	dentry->d_lockref.count = 1;
dentry           1726 fs/dcache.c    	dentry->d_flags = 0;
dentry           1727 fs/dcache.c    	spin_lock_init(&dentry->d_lock);
dentry           1728 fs/dcache.c    	seqcount_init(&dentry->d_seq);
dentry           1729 fs/dcache.c    	dentry->d_inode = NULL;
dentry           1730 fs/dcache.c    	dentry->d_parent = dentry;
dentry           1731 fs/dcache.c    	dentry->d_sb = sb;
dentry           1732 fs/dcache.c    	dentry->d_op = NULL;
dentry           1733 fs/dcache.c    	dentry->d_fsdata = NULL;
dentry           1734 fs/dcache.c    	INIT_HLIST_BL_NODE(&dentry->d_hash);
dentry           1735 fs/dcache.c    	INIT_LIST_HEAD(&dentry->d_lru);
dentry           1736 fs/dcache.c    	INIT_LIST_HEAD(&dentry->d_subdirs);
dentry           1737 fs/dcache.c    	INIT_HLIST_NODE(&dentry->d_u.d_alias);
dentry           1738 fs/dcache.c    	INIT_LIST_HEAD(&dentry->d_child);
dentry           1739 fs/dcache.c    	d_set_d_op(dentry, dentry->d_sb->s_d_op);
dentry           1741 fs/dcache.c    	if (dentry->d_op && dentry->d_op->d_init) {
dentry           1742 fs/dcache.c    		err = dentry->d_op->d_init(dentry);
dentry           1744 fs/dcache.c    			if (dname_external(dentry))
dentry           1745 fs/dcache.c    				kfree(external_name(dentry));
dentry           1746 fs/dcache.c    			kmem_cache_free(dentry_cache, dentry);
dentry           1753 fs/dcache.c    	return dentry;
dentry           1765 fs/dcache.c    struct dentry *d_alloc(struct dentry * parent, const struct qstr *name)
dentry           1767 fs/dcache.c    	struct dentry *dentry = __d_alloc(parent->d_sb, name);
dentry           1768 fs/dcache.c    	if (!dentry)
dentry           1776 fs/dcache.c    	dentry->d_parent = parent;
dentry           1777 fs/dcache.c    	list_add(&dentry->d_child, &parent->d_subdirs);
dentry           1780 fs/dcache.c    	return dentry;
dentry           1784 fs/dcache.c    struct dentry *d_alloc_anon(struct super_block *sb)
dentry           1790 fs/dcache.c    struct dentry *d_alloc_cursor(struct dentry * parent)
dentry           1792 fs/dcache.c    	struct dentry *dentry = d_alloc_anon(parent->d_sb);
dentry           1793 fs/dcache.c    	if (dentry) {
dentry           1794 fs/dcache.c    		dentry->d_flags |= DCACHE_DENTRY_CURSOR;
dentry           1795 fs/dcache.c    		dentry->d_parent = dget(parent);
dentry           1797 fs/dcache.c    	return dentry;
dentry           1815 fs/dcache.c    struct dentry *d_alloc_pseudo(struct super_block *sb, const struct qstr *name)
dentry           1817 fs/dcache.c    	struct dentry *dentry = __d_alloc(sb, name);
dentry           1818 fs/dcache.c    	if (likely(dentry))
dentry           1819 fs/dcache.c    		dentry->d_flags |= DCACHE_NORCU;
dentry           1820 fs/dcache.c    	return dentry;
dentry           1823 fs/dcache.c    struct dentry *d_alloc_name(struct dentry *parent, const char *name)
dentry           1833 fs/dcache.c    void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op)
dentry           1835 fs/dcache.c    	WARN_ON_ONCE(dentry->d_op);
dentry           1836 fs/dcache.c    	WARN_ON_ONCE(dentry->d_flags & (DCACHE_OP_HASH	|
dentry           1842 fs/dcache.c    	dentry->d_op = op;
dentry           1846 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_HASH;
dentry           1848 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_COMPARE;
dentry           1850 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_REVALIDATE;
dentry           1852 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_WEAK_REVALIDATE;
dentry           1854 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_DELETE;
dentry           1856 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_PRUNE;
dentry           1858 fs/dcache.c    		dentry->d_flags |= DCACHE_OP_REAL;
dentry           1871 fs/dcache.c    void d_set_fallthru(struct dentry *dentry)
dentry           1873 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           1874 fs/dcache.c    	dentry->d_flags |= DCACHE_FALLTHRU;
dentry           1875 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1914 fs/dcache.c    static void __d_instantiate(struct dentry *dentry, struct inode *inode)
dentry           1917 fs/dcache.c    	WARN_ON(d_in_lookup(dentry));
dentry           1919 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           1923 fs/dcache.c    	if (dentry->d_flags & DCACHE_LRU_LIST)
dentry           1925 fs/dcache.c    	hlist_add_head(&dentry->d_u.d_alias, &inode->i_dentry);
dentry           1926 fs/dcache.c    	raw_write_seqcount_begin(&dentry->d_seq);
dentry           1927 fs/dcache.c    	__d_set_inode_and_type(dentry, inode, add_flags);
dentry           1928 fs/dcache.c    	raw_write_seqcount_end(&dentry->d_seq);
dentry           1929 fs/dcache.c    	fsnotify_update_flags(dentry);
dentry           1930 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           1948 fs/dcache.c    void d_instantiate(struct dentry *entry, struct inode * inode)
dentry           1966 fs/dcache.c    void d_instantiate_new(struct dentry *entry, struct inode *inode)
dentry           1982 fs/dcache.c    struct dentry *d_make_root(struct inode *root_inode)
dentry           1984 fs/dcache.c    	struct dentry *res = NULL;
dentry           1997 fs/dcache.c    static struct dentry *__d_instantiate_anon(struct dentry *dentry,
dentry           2001 fs/dcache.c    	struct dentry *res;
dentry           2004 fs/dcache.c    	security_d_instantiate(dentry, inode);
dentry           2009 fs/dcache.c    		dput(dentry);
dentry           2019 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           2020 fs/dcache.c    	__d_set_inode_and_type(dentry, inode, add_flags);
dentry           2021 fs/dcache.c    	hlist_add_head(&dentry->d_u.d_alias, &inode->i_dentry);
dentry           2023 fs/dcache.c    		hlist_bl_lock(&dentry->d_sb->s_roots);
dentry           2024 fs/dcache.c    		hlist_bl_add_head(&dentry->d_hash, &dentry->d_sb->s_roots);
dentry           2025 fs/dcache.c    		hlist_bl_unlock(&dentry->d_sb->s_roots);
dentry           2027 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           2030 fs/dcache.c    	return dentry;
dentry           2037 fs/dcache.c    struct dentry *d_instantiate_anon(struct dentry *dentry, struct inode *inode)
dentry           2039 fs/dcache.c    	return __d_instantiate_anon(dentry, inode, true);
dentry           2043 fs/dcache.c    static struct dentry *__d_obtain_alias(struct inode *inode, bool disconnected)
dentry           2045 fs/dcache.c    	struct dentry *tmp;
dentry           2046 fs/dcache.c    	struct dentry *res;
dentry           2088 fs/dcache.c    struct dentry *d_obtain_alias(struct inode *inode)
dentry           2109 fs/dcache.c    struct dentry *d_obtain_root(struct inode *inode)
dentry           2131 fs/dcache.c    struct dentry *d_add_ci(struct dentry *dentry, struct inode *inode,
dentry           2134 fs/dcache.c    	struct dentry *found, *res;
dentry           2140 fs/dcache.c    	found = d_hash_and_lookup(dentry->d_parent, name);
dentry           2145 fs/dcache.c    	if (d_in_lookup(dentry)) {
dentry           2146 fs/dcache.c    		found = d_alloc_parallel(dentry->d_parent, name,
dentry           2147 fs/dcache.c    					dentry->d_wait);
dentry           2153 fs/dcache.c    		found = d_alloc(dentry->d_parent, name);
dentry           2169 fs/dcache.c    static inline bool d_same_name(const struct dentry *dentry,
dentry           2170 fs/dcache.c    				const struct dentry *parent,
dentry           2174 fs/dcache.c    		if (dentry->d_name.len != name->len)
dentry           2176 fs/dcache.c    		return dentry_cmp(dentry, name->name, name->len) == 0;
dentry           2178 fs/dcache.c    	return parent->d_op->d_compare(dentry,
dentry           2179 fs/dcache.c    				       dentry->d_name.len, dentry->d_name.name,
dentry           2212 fs/dcache.c    struct dentry *__d_lookup_rcu(const struct dentry *parent,
dentry           2220 fs/dcache.c    	struct dentry *dentry;
dentry           2242 fs/dcache.c    	hlist_bl_for_each_entry_rcu(dentry, node, b, d_hash) {
dentry           2263 fs/dcache.c    		seq = raw_seqcount_begin(&dentry->d_seq);
dentry           2264 fs/dcache.c    		if (dentry->d_parent != parent)
dentry           2266 fs/dcache.c    		if (d_unhashed(dentry))
dentry           2272 fs/dcache.c    			if (dentry->d_name.hash != hashlen_hash(hashlen))
dentry           2274 fs/dcache.c    			tlen = dentry->d_name.len;
dentry           2275 fs/dcache.c    			tname = dentry->d_name.name;
dentry           2277 fs/dcache.c    			if (read_seqcount_retry(&dentry->d_seq, seq)) {
dentry           2281 fs/dcache.c    			if (parent->d_op->d_compare(dentry,
dentry           2285 fs/dcache.c    			if (dentry->d_name.hash_len != hashlen)
dentry           2287 fs/dcache.c    			if (dentry_cmp(dentry, str, hashlen_len(hashlen)) != 0)
dentry           2291 fs/dcache.c    		return dentry;
dentry           2307 fs/dcache.c    struct dentry *d_lookup(const struct dentry *parent, const struct qstr *name)
dentry           2309 fs/dcache.c    	struct dentry *dentry;
dentry           2314 fs/dcache.c    		dentry = __d_lookup(parent, name);
dentry           2315 fs/dcache.c    		if (dentry)
dentry           2318 fs/dcache.c    	return dentry;
dentry           2337 fs/dcache.c    struct dentry *__d_lookup(const struct dentry *parent, const struct qstr *name)
dentry           2342 fs/dcache.c    	struct dentry *found = NULL;
dentry           2343 fs/dcache.c    	struct dentry *dentry;
dentry           2367 fs/dcache.c    	hlist_bl_for_each_entry_rcu(dentry, node, b, d_hash) {
dentry           2369 fs/dcache.c    		if (dentry->d_name.hash != hash)
dentry           2372 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           2373 fs/dcache.c    		if (dentry->d_parent != parent)
dentry           2375 fs/dcache.c    		if (d_unhashed(dentry))
dentry           2378 fs/dcache.c    		if (!d_same_name(dentry, parent, name))
dentry           2381 fs/dcache.c    		dentry->d_lockref.count++;
dentry           2382 fs/dcache.c    		found = dentry;
dentry           2383 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           2386 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           2400 fs/dcache.c    struct dentry *d_hash_and_lookup(struct dentry *dir, struct qstr *name)
dentry           2438 fs/dcache.c    void d_delete(struct dentry * dentry)
dentry           2440 fs/dcache.c    	struct inode *inode = dentry->d_inode;
dentry           2443 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           2447 fs/dcache.c    	if (dentry->d_lockref.count == 1) {
dentry           2448 fs/dcache.c    		dentry->d_flags &= ~DCACHE_CANT_MOUNT;
dentry           2449 fs/dcache.c    		dentry_unlink_inode(dentry);
dentry           2451 fs/dcache.c    		__d_drop(dentry);
dentry           2452 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           2458 fs/dcache.c    static void __d_rehash(struct dentry *entry)
dentry           2474 fs/dcache.c    void d_rehash(struct dentry * entry)
dentry           2498 fs/dcache.c    static void d_wait_lookup(struct dentry *dentry)
dentry           2500 fs/dcache.c    	if (d_in_lookup(dentry)) {
dentry           2502 fs/dcache.c    		add_wait_queue(dentry->d_wait, &wait);
dentry           2505 fs/dcache.c    			spin_unlock(&dentry->d_lock);
dentry           2507 fs/dcache.c    			spin_lock(&dentry->d_lock);
dentry           2508 fs/dcache.c    		} while (d_in_lookup(dentry));
dentry           2512 fs/dcache.c    struct dentry *d_alloc_parallel(struct dentry *parent,
dentry           2519 fs/dcache.c    	struct dentry *new = d_alloc(parent, name);
dentry           2520 fs/dcache.c    	struct dentry *dentry;
dentry           2530 fs/dcache.c    	dentry = __d_lookup_rcu(parent, name, &d_seq);
dentry           2531 fs/dcache.c    	if (unlikely(dentry)) {
dentry           2532 fs/dcache.c    		if (!lockref_get_not_dead(&dentry->d_lockref)) {
dentry           2536 fs/dcache.c    		if (read_seqcount_retry(&dentry->d_seq, d_seq)) {
dentry           2538 fs/dcache.c    			dput(dentry);
dentry           2543 fs/dcache.c    		return dentry;
dentry           2568 fs/dcache.c    	hlist_bl_for_each_entry(dentry, node, b, d_u.d_in_lookup_hash) {
dentry           2569 fs/dcache.c    		if (dentry->d_name.hash != hash)
dentry           2571 fs/dcache.c    		if (dentry->d_parent != parent)
dentry           2573 fs/dcache.c    		if (!d_same_name(dentry, parent, name))
dentry           2577 fs/dcache.c    		if (!lockref_get_not_dead(&dentry->d_lockref)) {
dentry           2587 fs/dcache.c    		spin_lock(&dentry->d_lock);
dentry           2588 fs/dcache.c    		d_wait_lookup(dentry);
dentry           2595 fs/dcache.c    		if (unlikely(dentry->d_name.hash != hash))
dentry           2597 fs/dcache.c    		if (unlikely(dentry->d_parent != parent))
dentry           2599 fs/dcache.c    		if (unlikely(d_unhashed(dentry)))
dentry           2601 fs/dcache.c    		if (unlikely(!d_same_name(dentry, parent, name)))
dentry           2604 fs/dcache.c    		spin_unlock(&dentry->d_lock);
dentry           2606 fs/dcache.c    		return dentry;
dentry           2616 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           2617 fs/dcache.c    	dput(dentry);
dentry           2622 fs/dcache.c    void __d_lookup_done(struct dentry *dentry)
dentry           2624 fs/dcache.c    	struct hlist_bl_head *b = in_lookup_hash(dentry->d_parent,
dentry           2625 fs/dcache.c    						 dentry->d_name.hash);
dentry           2627 fs/dcache.c    	dentry->d_flags &= ~DCACHE_PAR_LOOKUP;
dentry           2628 fs/dcache.c    	__hlist_bl_del(&dentry->d_u.d_in_lookup_hash);
dentry           2629 fs/dcache.c    	wake_up_all(dentry->d_wait);
dentry           2630 fs/dcache.c    	dentry->d_wait = NULL;
dentry           2632 fs/dcache.c    	INIT_HLIST_NODE(&dentry->d_u.d_alias);
dentry           2633 fs/dcache.c    	INIT_LIST_HEAD(&dentry->d_lru);
dentry           2639 fs/dcache.c    static inline void __d_add(struct dentry *dentry, struct inode *inode)
dentry           2643 fs/dcache.c    	spin_lock(&dentry->d_lock);
dentry           2644 fs/dcache.c    	if (unlikely(d_in_lookup(dentry))) {
dentry           2645 fs/dcache.c    		dir = dentry->d_parent->d_inode;
dentry           2647 fs/dcache.c    		__d_lookup_done(dentry);
dentry           2651 fs/dcache.c    		hlist_add_head(&dentry->d_u.d_alias, &inode->i_dentry);
dentry           2652 fs/dcache.c    		raw_write_seqcount_begin(&dentry->d_seq);
dentry           2653 fs/dcache.c    		__d_set_inode_and_type(dentry, inode, add_flags);
dentry           2654 fs/dcache.c    		raw_write_seqcount_end(&dentry->d_seq);
dentry           2655 fs/dcache.c    		fsnotify_update_flags(dentry);
dentry           2657 fs/dcache.c    	__d_rehash(dentry);
dentry           2660 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           2674 fs/dcache.c    void d_add(struct dentry *entry, struct inode *inode)
dentry           2695 fs/dcache.c    struct dentry *d_exact_alias(struct dentry *entry, struct inode *inode)
dentry           2697 fs/dcache.c    	struct dentry *alias;
dentry           2730 fs/dcache.c    static void swap_names(struct dentry *dentry, struct dentry *target)
dentry           2733 fs/dcache.c    		if (unlikely(dname_external(dentry))) {
dentry           2737 fs/dcache.c    			swap(target->d_name.name, dentry->d_name.name);
dentry           2743 fs/dcache.c    			memcpy(target->d_iname, dentry->d_name.name,
dentry           2744 fs/dcache.c    					dentry->d_name.len + 1);
dentry           2745 fs/dcache.c    			dentry->d_name.name = target->d_name.name;
dentry           2749 fs/dcache.c    		if (unlikely(dname_external(dentry))) {
dentry           2754 fs/dcache.c    			memcpy(dentry->d_iname, target->d_name.name,
dentry           2756 fs/dcache.c    			target->d_name.name = dentry->d_name.name;
dentry           2757 fs/dcache.c    			dentry->d_name.name = dentry->d_iname;
dentry           2765 fs/dcache.c    				swap(((long *) &dentry->d_iname)[i],
dentry           2770 fs/dcache.c    	swap(dentry->d_name.hash_len, target->d_name.hash_len);
dentry           2773 fs/dcache.c    static void copy_name(struct dentry *dentry, struct dentry *target)
dentry           2776 fs/dcache.c    	if (unlikely(dname_external(dentry)))
dentry           2777 fs/dcache.c    		old_name = external_name(dentry);
dentry           2780 fs/dcache.c    		dentry->d_name = target->d_name;
dentry           2782 fs/dcache.c    		memcpy(dentry->d_iname, target->d_name.name,
dentry           2784 fs/dcache.c    		dentry->d_name.name = dentry->d_iname;
dentry           2785 fs/dcache.c    		dentry->d_name.hash_len = target->d_name.hash_len;
dentry           2802 fs/dcache.c    static void __d_move(struct dentry *dentry, struct dentry *target,
dentry           2805 fs/dcache.c    	struct dentry *old_parent, *p;
dentry           2809 fs/dcache.c    	WARN_ON(!dentry->d_inode);
dentry           2810 fs/dcache.c    	if (WARN_ON(dentry == target))
dentry           2813 fs/dcache.c    	BUG_ON(d_ancestor(target, dentry));
dentry           2814 fs/dcache.c    	old_parent = dentry->d_parent;
dentry           2816 fs/dcache.c    	if (IS_ROOT(dentry)) {
dentry           2824 fs/dcache.c    		BUG_ON(p == dentry);
dentry           2830 fs/dcache.c    	spin_lock_nested(&dentry->d_lock, 2);
dentry           2839 fs/dcache.c    	write_seqcount_begin(&dentry->d_seq);
dentry           2843 fs/dcache.c    	if (!d_unhashed(dentry))
dentry           2844 fs/dcache.c    		___d_drop(dentry);
dentry           2849 fs/dcache.c    	dentry->d_parent = target->d_parent;
dentry           2851 fs/dcache.c    		copy_name(dentry, target);
dentry           2853 fs/dcache.c    		dentry->d_parent->d_lockref.count++;
dentry           2854 fs/dcache.c    		if (dentry != old_parent) /* wasn't IS_ROOT */
dentry           2858 fs/dcache.c    		swap_names(dentry, target);
dentry           2863 fs/dcache.c    	list_move(&dentry->d_child, &dentry->d_parent->d_subdirs);
dentry           2864 fs/dcache.c    	__d_rehash(dentry);
dentry           2865 fs/dcache.c    	fsnotify_update_flags(dentry);
dentry           2866 fs/dcache.c    	fscrypt_handle_d_move(dentry);
dentry           2869 fs/dcache.c    	write_seqcount_end(&dentry->d_seq);
dentry           2874 fs/dcache.c    	if (dentry->d_parent != old_parent)
dentry           2875 fs/dcache.c    		spin_unlock(&dentry->d_parent->d_lock);
dentry           2876 fs/dcache.c    	if (dentry != old_parent)
dentry           2879 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           2891 fs/dcache.c    void d_move(struct dentry *dentry, struct dentry *target)
dentry           2894 fs/dcache.c    	__d_move(dentry, target, false);
dentry           2904 fs/dcache.c    void d_exchange(struct dentry *dentry1, struct dentry *dentry2)
dentry           2926 fs/dcache.c    struct dentry *d_ancestor(struct dentry *p1, struct dentry *p2)
dentry           2928 fs/dcache.c    	struct dentry *p;
dentry           2947 fs/dcache.c    		struct dentry *dentry, struct dentry *alias)
dentry           2954 fs/dcache.c    	if (alias->d_parent == dentry->d_parent)
dentry           2958 fs/dcache.c    	if (!mutex_trylock(&dentry->d_sb->s_vfs_rename_mutex))
dentry           2960 fs/dcache.c    	m1 = &dentry->d_sb->s_vfs_rename_mutex;
dentry           2965 fs/dcache.c    	__d_move(alias, dentry, false);
dentry           2998 fs/dcache.c    struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
dentry           3003 fs/dcache.c    	BUG_ON(!d_unhashed(dentry));
dentry           3008 fs/dcache.c    	security_d_instantiate(dentry, inode);
dentry           3011 fs/dcache.c    		struct dentry *new = __d_find_any_alias(inode);
dentry           3016 fs/dcache.c    			if (unlikely(d_ancestor(new, dentry))) {
dentry           3023 fs/dcache.c    					dentry->d_name.name,
dentry           3027 fs/dcache.c    				struct dentry *old_parent = dget(new->d_parent);
dentry           3028 fs/dcache.c    				int err = __d_unalias(inode, dentry, new);
dentry           3036 fs/dcache.c    				__d_move(new, dentry, false);
dentry           3044 fs/dcache.c    	__d_add(dentry, inode);
dentry           3065 fs/dcache.c    bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)
dentry           3092 fs/dcache.c    static enum d_walk_ret d_genocide_kill(void *data, struct dentry *dentry)
dentry           3094 fs/dcache.c    	struct dentry *root = data;
dentry           3095 fs/dcache.c    	if (dentry != root) {
dentry           3096 fs/dcache.c    		if (d_unhashed(dentry) || !dentry->d_inode)
dentry           3099 fs/dcache.c    		if (!(dentry->d_flags & DCACHE_GENOCIDE)) {
dentry           3100 fs/dcache.c    			dentry->d_flags |= DCACHE_GENOCIDE;
dentry           3101 fs/dcache.c    			dentry->d_lockref.count--;
dentry           3107 fs/dcache.c    void d_genocide(struct dentry *parent)
dentry           3114 fs/dcache.c    void d_tmpfile(struct dentry *dentry, struct inode *inode)
dentry           3117 fs/dcache.c    	BUG_ON(dentry->d_name.name != dentry->d_iname ||
dentry           3118 fs/dcache.c    		!hlist_unhashed(&dentry->d_u.d_alias) ||
dentry           3119 fs/dcache.c    		!d_unlinked(dentry));
dentry           3120 fs/dcache.c    	spin_lock(&dentry->d_parent->d_lock);
dentry           3121 fs/dcache.c    	spin_lock_nested(&dentry->d_lock, DENTRY_D_LOCK_NESTED);
dentry           3122 fs/dcache.c    	dentry->d_name.len = sprintf(dentry->d_iname, "#%llu",
dentry           3124 fs/dcache.c    	spin_unlock(&dentry->d_lock);
dentry           3125 fs/dcache.c    	spin_unlock(&dentry->d_parent->d_lock);
dentry           3126 fs/dcache.c    	d_instantiate(dentry, inode);
dentry           3168 fs/dcache.c    	dentry_cache = KMEM_CACHE_USERCOPY(dentry,
dentry             56 fs/dcookies.c  	return (unsigned long)dcs->path.dentry;
dentry             98 fs/dcookies.c  	struct dentry *d;
dentry            102 fs/dcookies.c  	d = path->dentry;
dentry            129 fs/dcookies.c  	if (path->dentry->d_flags & DCACHE_COOKIE) {
dentry            130 fs/dcookies.c  		dcs = find_dcookie((unsigned long)path->dentry);
dentry            279 fs/dcookies.c  	struct dentry *d = dcs->path.dentry;
dentry             47 fs/debugfs/file.c #define F_DENTRY(filp) ((filp)->f_path.dentry)
dentry             81 fs/debugfs/file.c int debugfs_file_get(struct dentry *dentry)
dentry             86 fs/debugfs/file.c 	d_fsd = READ_ONCE(dentry->d_fsdata);
dentry             98 fs/debugfs/file.c 		if (cmpxchg(&dentry->d_fsdata, d_fsd, fsd) != d_fsd) {
dentry            100 fs/debugfs/file.c 			fsd = READ_ONCE(dentry->d_fsdata);
dentry            112 fs/debugfs/file.c 	if (d_unlinked(dentry))
dentry            131 fs/debugfs/file.c void debugfs_file_put(struct dentry *dentry)
dentry            133 fs/debugfs/file.c 	struct debugfs_fsdata *fsd = READ_ONCE(dentry->d_fsdata);
dentry            164 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(filp);
dentry            168 fs/debugfs/file.c 	r = debugfs_file_get(dentry);
dentry            187 fs/debugfs/file.c 			dentry);
dentry            197 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            211 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(filp);			\
dentry            215 fs/debugfs/file.c 	r = debugfs_file_get(dentry);					\
dentry            220 fs/debugfs/file.c 	debugfs_file_put(dentry);					\
dentry            245 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(filp);
dentry            249 fs/debugfs/file.c 	if (debugfs_file_get(dentry))
dentry            254 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            260 fs/debugfs/file.c 	const struct dentry *dentry = F_DENTRY(filp);
dentry            274 fs/debugfs/file.c 	replace_fops(filp, d_inode(dentry)->i_fop);
dentry            298 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(filp);
dentry            303 fs/debugfs/file.c 	r = debugfs_file_get(dentry);
dentry            322 fs/debugfs/file.c 			dentry);
dentry            338 fs/debugfs/file.c 			replace_fops(filp, d_inode(dentry)->i_fop);
dentry            343 fs/debugfs/file.c 				dentry);
dentry            353 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            364 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
dentry            367 fs/debugfs/file.c 	ret = debugfs_file_get(dentry);
dentry            371 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            379 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
dentry            382 fs/debugfs/file.c 	ret = debugfs_file_get(dentry);
dentry            386 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            391 fs/debugfs/file.c static struct dentry *debugfs_create_mode_unsafe(const char *name, umode_t mode,
dentry            392 fs/debugfs/file.c 					struct dentry *parent, void *value,
dentry            446 fs/debugfs/file.c struct dentry *debugfs_create_u8(const char *name, umode_t mode,
dentry            447 fs/debugfs/file.c 				 struct dentry *parent, u8 *value)
dentry            491 fs/debugfs/file.c struct dentry *debugfs_create_u16(const char *name, umode_t mode,
dentry            492 fs/debugfs/file.c 				  struct dentry *parent, u16 *value)
dentry            536 fs/debugfs/file.c struct dentry *debugfs_create_u32(const char *name, umode_t mode,
dentry            537 fs/debugfs/file.c 				 struct dentry *parent, u32 *value)
dentry            582 fs/debugfs/file.c struct dentry *debugfs_create_u64(const char *name, umode_t mode,
dentry            583 fs/debugfs/file.c 				 struct dentry *parent, u64 *value)
dentry            630 fs/debugfs/file.c struct dentry *debugfs_create_ulong(const char *name, umode_t mode,
dentry            631 fs/debugfs/file.c 				    struct dentry *parent, unsigned long *value)
dentry            676 fs/debugfs/file.c struct dentry *debugfs_create_x8(const char *name, umode_t mode,
dentry            677 fs/debugfs/file.c 				 struct dentry *parent, u8 *value)
dentry            694 fs/debugfs/file.c struct dentry *debugfs_create_x16(const char *name, umode_t mode,
dentry            695 fs/debugfs/file.c 				 struct dentry *parent, u16 *value)
dentry            712 fs/debugfs/file.c struct dentry *debugfs_create_x32(const char *name, umode_t mode,
dentry            713 fs/debugfs/file.c 				 struct dentry *parent, u32 *value)
dentry            730 fs/debugfs/file.c struct dentry *debugfs_create_x64(const char *name, umode_t mode,
dentry            731 fs/debugfs/file.c 				 struct dentry *parent, u64 *value)
dentry            764 fs/debugfs/file.c struct dentry *debugfs_create_size_t(const char *name, umode_t mode,
dentry            765 fs/debugfs/file.c 				     struct dentry *parent, size_t *value)
dentry            801 fs/debugfs/file.c struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode,
dentry            802 fs/debugfs/file.c 				 struct dentry *parent, atomic_t *value)
dentry            816 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
dentry            818 fs/debugfs/file.c 	r = debugfs_file_get(dentry);
dentry            822 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            840 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
dentry            844 fs/debugfs/file.c 		r = debugfs_file_get(dentry);
dentry            848 fs/debugfs/file.c 		debugfs_file_put(dentry);
dentry            897 fs/debugfs/file.c struct dentry *debugfs_create_bool(const char *name, umode_t mode,
dentry            898 fs/debugfs/file.c 				   struct dentry *parent, bool *value)
dentry            909 fs/debugfs/file.c 	struct dentry *dentry = F_DENTRY(file);
dentry            912 fs/debugfs/file.c 	r = debugfs_file_get(dentry);
dentry            917 fs/debugfs/file.c 	debugfs_file_put(dentry);
dentry            950 fs/debugfs/file.c struct dentry *debugfs_create_blob(const char *name, umode_t mode,
dentry            951 fs/debugfs/file.c 				   struct dentry *parent,
dentry           1045 fs/debugfs/file.c 			      struct dentry *parent, u32 *array, u32 elements)
dentry           1142 fs/debugfs/file.c struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
dentry           1143 fs/debugfs/file.c 				       struct dentry *parent,
dentry           1182 fs/debugfs/file.c struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
dentry           1183 fs/debugfs/file.c 					   struct dentry *parent,
dentry             44 fs/debugfs/inode.c static int debugfs_setattr(struct dentry *dentry, struct iattr *ia)
dentry             50 fs/debugfs/inode.c 	return simple_setattr(dentry, ia);
dentry            179 fs/debugfs/inode.c static int debugfs_show_options(struct seq_file *m, struct dentry *root)
dentry            210 fs/debugfs/inode.c static void debugfs_release_dentry(struct dentry *dentry)
dentry            212 fs/debugfs/inode.c 	void *fsd = dentry->d_fsdata;
dentry            215 fs/debugfs/inode.c 		kfree(dentry->d_fsdata);
dentry            221 fs/debugfs/inode.c 	f = (debugfs_automount_t)path->dentry->d_fsdata;
dentry            222 fs/debugfs/inode.c 	return f(path->dentry, d_inode(path->dentry)->i_private);
dentry            265 fs/debugfs/inode.c static struct dentry *debug_mount(struct file_system_type *fs_type,
dentry            292 fs/debugfs/inode.c struct dentry *debugfs_lookup(const char *name, struct dentry *parent)
dentry            294 fs/debugfs/inode.c 	struct dentry *dentry;
dentry            302 fs/debugfs/inode.c 	dentry = lookup_one_len_unlocked(name, parent, strlen(name));
dentry            303 fs/debugfs/inode.c 	if (IS_ERR(dentry))
dentry            305 fs/debugfs/inode.c 	if (!d_really_is_positive(dentry)) {
dentry            306 fs/debugfs/inode.c 		dput(dentry);
dentry            309 fs/debugfs/inode.c 	return dentry;
dentry            313 fs/debugfs/inode.c static struct dentry *start_creating(const char *name, struct dentry *parent)
dentry            315 fs/debugfs/inode.c 	struct dentry *dentry;
dentry            339 fs/debugfs/inode.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            340 fs/debugfs/inode.c 	if (!IS_ERR(dentry) && d_really_is_positive(dentry)) {
dentry            341 fs/debugfs/inode.c 		if (d_is_dir(dentry))
dentry            347 fs/debugfs/inode.c 		dput(dentry);
dentry            348 fs/debugfs/inode.c 		dentry = ERR_PTR(-EEXIST);
dentry            351 fs/debugfs/inode.c 	if (IS_ERR(dentry)) {
dentry            356 fs/debugfs/inode.c 	return dentry;
dentry            359 fs/debugfs/inode.c static struct dentry *failed_creating(struct dentry *dentry)
dentry            361 fs/debugfs/inode.c 	inode_unlock(d_inode(dentry->d_parent));
dentry            362 fs/debugfs/inode.c 	dput(dentry);
dentry            367 fs/debugfs/inode.c static struct dentry *end_creating(struct dentry *dentry)
dentry            369 fs/debugfs/inode.c 	inode_unlock(d_inode(dentry->d_parent));
dentry            370 fs/debugfs/inode.c 	return dentry;
dentry            373 fs/debugfs/inode.c static struct dentry *__debugfs_create_file(const char *name, umode_t mode,
dentry            374 fs/debugfs/inode.c 				struct dentry *parent, void *data,
dentry            378 fs/debugfs/inode.c 	struct dentry *dentry;
dentry            384 fs/debugfs/inode.c 	dentry = start_creating(name, parent);
dentry            386 fs/debugfs/inode.c 	if (IS_ERR(dentry))
dentry            387 fs/debugfs/inode.c 		return dentry;
dentry            389 fs/debugfs/inode.c 	inode = debugfs_get_inode(dentry->d_sb);
dentry            393 fs/debugfs/inode.c 		return failed_creating(dentry);
dentry            401 fs/debugfs/inode.c 	dentry->d_fsdata = (void *)((unsigned long)real_fops |
dentry            404 fs/debugfs/inode.c 	d_instantiate(dentry, inode);
dentry            405 fs/debugfs/inode.c 	fsnotify_create(d_inode(dentry->d_parent), dentry);
dentry            406 fs/debugfs/inode.c 	return end_creating(dentry);
dentry            436 fs/debugfs/inode.c struct dentry *debugfs_create_file(const char *name, umode_t mode,
dentry            437 fs/debugfs/inode.c 				   struct dentry *parent, void *data,
dentry            475 fs/debugfs/inode.c struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
dentry            476 fs/debugfs/inode.c 				   struct dentry *parent, void *data,
dentry            515 fs/debugfs/inode.c struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
dentry            516 fs/debugfs/inode.c 					struct dentry *parent, void *data,
dentry            520 fs/debugfs/inode.c 	struct dentry *de = debugfs_create_file(name, mode, parent, data, fops);
dentry            547 fs/debugfs/inode.c struct dentry *debugfs_create_dir(const char *name, struct dentry *parent)
dentry            549 fs/debugfs/inode.c 	struct dentry *dentry = start_creating(name, parent);
dentry            552 fs/debugfs/inode.c 	if (IS_ERR(dentry))
dentry            553 fs/debugfs/inode.c 		return dentry;
dentry            555 fs/debugfs/inode.c 	inode = debugfs_get_inode(dentry->d_sb);
dentry            559 fs/debugfs/inode.c 		return failed_creating(dentry);
dentry            568 fs/debugfs/inode.c 	d_instantiate(dentry, inode);
dentry            569 fs/debugfs/inode.c 	inc_nlink(d_inode(dentry->d_parent));
dentry            570 fs/debugfs/inode.c 	fsnotify_mkdir(d_inode(dentry->d_parent), dentry);
dentry            571 fs/debugfs/inode.c 	return end_creating(dentry);
dentry            586 fs/debugfs/inode.c struct dentry *debugfs_create_automount(const char *name,
dentry            587 fs/debugfs/inode.c 					struct dentry *parent,
dentry            591 fs/debugfs/inode.c 	struct dentry *dentry = start_creating(name, parent);
dentry            594 fs/debugfs/inode.c 	if (IS_ERR(dentry))
dentry            595 fs/debugfs/inode.c 		return dentry;
dentry            597 fs/debugfs/inode.c 	inode = debugfs_get_inode(dentry->d_sb);
dentry            601 fs/debugfs/inode.c 		return failed_creating(dentry);
dentry            607 fs/debugfs/inode.c 	dentry->d_fsdata = (void *)f;
dentry            610 fs/debugfs/inode.c 	d_instantiate(dentry, inode);
dentry            611 fs/debugfs/inode.c 	inc_nlink(d_inode(dentry->d_parent));
dentry            612 fs/debugfs/inode.c 	fsnotify_mkdir(d_inode(dentry->d_parent), dentry);
dentry            613 fs/debugfs/inode.c 	return end_creating(dentry);
dentry            640 fs/debugfs/inode.c struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
dentry            643 fs/debugfs/inode.c 	struct dentry *dentry;
dentry            649 fs/debugfs/inode.c 	dentry = start_creating(name, parent);
dentry            650 fs/debugfs/inode.c 	if (IS_ERR(dentry)) {
dentry            652 fs/debugfs/inode.c 		return dentry;
dentry            655 fs/debugfs/inode.c 	inode = debugfs_get_inode(dentry->d_sb);
dentry            660 fs/debugfs/inode.c 		return failed_creating(dentry);
dentry            665 fs/debugfs/inode.c 	d_instantiate(dentry, inode);
dentry            666 fs/debugfs/inode.c 	return end_creating(dentry);
dentry            670 fs/debugfs/inode.c static void __debugfs_file_removed(struct dentry *dentry)
dentry            681 fs/debugfs/inode.c 	fsd = READ_ONCE(dentry->d_fsdata);
dentry            688 fs/debugfs/inode.c static int __debugfs_remove(struct dentry *dentry, struct dentry *parent)
dentry            692 fs/debugfs/inode.c 	if (simple_positive(dentry)) {
dentry            693 fs/debugfs/inode.c 		dget(dentry);
dentry            694 fs/debugfs/inode.c 		if (d_is_dir(dentry)) {
dentry            695 fs/debugfs/inode.c 			ret = simple_rmdir(d_inode(parent), dentry);
dentry            697 fs/debugfs/inode.c 				fsnotify_rmdir(d_inode(parent), dentry);
dentry            699 fs/debugfs/inode.c 			simple_unlink(d_inode(parent), dentry);
dentry            700 fs/debugfs/inode.c 			fsnotify_unlink(d_inode(parent), dentry);
dentry            703 fs/debugfs/inode.c 			d_delete(dentry);
dentry            704 fs/debugfs/inode.c 		if (d_is_reg(dentry))
dentry            705 fs/debugfs/inode.c 			__debugfs_file_removed(dentry);
dentry            706 fs/debugfs/inode.c 		dput(dentry);
dentry            725 fs/debugfs/inode.c void debugfs_remove(struct dentry *dentry)
dentry            727 fs/debugfs/inode.c 	struct dentry *parent;
dentry            730 fs/debugfs/inode.c 	if (IS_ERR_OR_NULL(dentry))
dentry            733 fs/debugfs/inode.c 	parent = dentry->d_parent;
dentry            735 fs/debugfs/inode.c 	ret = __debugfs_remove(dentry, parent);
dentry            755 fs/debugfs/inode.c void debugfs_remove_recursive(struct dentry *dentry)
dentry            757 fs/debugfs/inode.c 	struct dentry *child, *parent;
dentry            759 fs/debugfs/inode.c 	if (IS_ERR_OR_NULL(dentry))
dentry            762 fs/debugfs/inode.c 	parent = dentry;
dentry            805 fs/debugfs/inode.c 	if (child != dentry)
dentry            834 fs/debugfs/inode.c struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
dentry            835 fs/debugfs/inode.c 		struct dentry *new_dir, const char *new_name)
dentry            838 fs/debugfs/inode.c 	struct dentry *dentry = NULL, *trap;
dentry            856 fs/debugfs/inode.c 	dentry = lookup_one_len(new_name, new_dir, strlen(new_name));
dentry            858 fs/debugfs/inode.c 	if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry))
dentry            864 fs/debugfs/inode.c 			      dentry, 0);
dentry            869 fs/debugfs/inode.c 	d_move(old_dentry, dentry);
dentry            875 fs/debugfs/inode.c 	dput(dentry);
dentry            878 fs/debugfs/inode.c 	if (dentry && !IS_ERR(dentry))
dentry            879 fs/debugfs/inode.c 		dput(dentry);
dentry            881 fs/debugfs/inode.c 	if (IS_ERR(dentry))
dentry            882 fs/debugfs/inode.c 		return dentry;
dentry            123 fs/devpts/inode.c 	struct dentry *ptmx_dentry;
dentry            179 fs/devpts/inode.c 	while (path.mnt->mnt_root == path.dentry)
dentry            187 fs/devpts/inode.c 	dput(path.dentry);
dentry            326 fs/devpts/inode.c 	struct dentry *dentry;
dentry            328 fs/devpts/inode.c 	struct dentry *root = sb->s_root;
dentry            342 fs/devpts/inode.c 	dentry = d_alloc_name(root, "ptmx");
dentry            343 fs/devpts/inode.c 	if (!dentry) {
dentry            354 fs/devpts/inode.c 		dput(dentry);
dentry            366 fs/devpts/inode.c 	d_add(dentry, inode);
dentry            368 fs/devpts/inode.c 	fsi->ptmx_dentry = dentry;
dentry            403 fs/devpts/inode.c static int devpts_show_options(struct seq_file *seq, struct dentry *root)
dentry            502 fs/devpts/inode.c static struct dentry *devpts_mount(struct file_system_type *fs_type,
dentry            562 fs/devpts/inode.c struct dentry *devpts_pty_new(struct pts_fs_info *fsi, int index, void *priv)
dentry            564 fs/devpts/inode.c 	struct dentry *dentry;
dentry            567 fs/devpts/inode.c 	struct dentry *root;
dentry            586 fs/devpts/inode.c 	dentry = d_alloc_name(root, s);
dentry            587 fs/devpts/inode.c 	if (dentry) {
dentry            588 fs/devpts/inode.c 		dentry->d_fsdata = priv;
dentry            589 fs/devpts/inode.c 		d_add(dentry, inode);
dentry            590 fs/devpts/inode.c 		fsnotify_create(d_inode(root), dentry);
dentry            593 fs/devpts/inode.c 		dentry = ERR_PTR(-ENOMEM);
dentry            596 fs/devpts/inode.c 	return dentry;
dentry            605 fs/devpts/inode.c void *devpts_get_priv(struct dentry *dentry)
dentry            607 fs/devpts/inode.c 	if (dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC)
dentry            609 fs/devpts/inode.c 	return dentry->d_fsdata;
dentry            618 fs/devpts/inode.c void devpts_pty_kill(struct dentry *dentry)
dentry            620 fs/devpts/inode.c 	WARN_ON_ONCE(dentry->d_sb->s_magic != DEVPTS_SUPER_MAGIC);
dentry            622 fs/devpts/inode.c 	dentry->d_fsdata = NULL;
dentry            623 fs/devpts/inode.c 	drop_nlink(dentry->d_inode);
dentry            624 fs/devpts/inode.c 	fsnotify_unlink(d_inode(dentry->d_parent), dentry);
dentry            625 fs/devpts/inode.c 	d_drop(dentry);
dentry            626 fs/devpts/inode.c 	dput(dentry);	/* d_alloc_name() in devpts_pty_new() */
dentry             25 fs/dlm/debug_fs.c static struct dentry *dlm_root;
dentry            574 fs/dlm/dlm_internal.h 	struct dentry		*ls_debug_rsb_dentry; /* debugfs */
dentry            575 fs/dlm/dlm_internal.h 	struct dentry		*ls_debug_waiters_dentry; /* debugfs */
dentry            576 fs/dlm/dlm_internal.h 	struct dentry		*ls_debug_locks_dentry; /* debugfs */
dentry            577 fs/dlm/dlm_internal.h 	struct dentry		*ls_debug_all_dentry; /* debugfs */
dentry            578 fs/dlm/dlm_internal.h 	struct dentry		*ls_debug_toss_dentry; /* debugfs */
dentry           1069 fs/ecryptfs/crypto.c 				       struct dentry *ecryptfs_dentry)
dentry           1114 fs/ecryptfs/crypto.c ecryptfs_write_metadata_to_xattr(struct dentry *ecryptfs_dentry,
dentry           1119 fs/ecryptfs/crypto.c 	struct dentry *lower_dentry = ecryptfs_dentry_to_lower(ecryptfs_dentry);
dentry           1161 fs/ecryptfs/crypto.c int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry,
dentry           1290 fs/ecryptfs/crypto.c 				      struct dentry *ecryptfs_dentry,
dentry           1346 fs/ecryptfs/crypto.c 	struct dentry *lower_dentry =
dentry           1347 fs/ecryptfs/crypto.c 		ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry;
dentry           1367 fs/ecryptfs/crypto.c int ecryptfs_read_and_validate_xattr_region(struct dentry *dentry,
dentry           1374 fs/ecryptfs/crypto.c 	rc = ecryptfs_getxattr_lower(ecryptfs_dentry_to_lower(dentry),
dentry           1400 fs/ecryptfs/crypto.c int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry)
dentry             31 fs/ecryptfs/dentry.c static int ecryptfs_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry             33 fs/ecryptfs/dentry.c 	struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry             42 fs/ecryptfs/dentry.c 	if (d_really_is_positive(dentry)) {
dentry             43 fs/ecryptfs/dentry.c 		struct inode *inode = d_inode(dentry);
dentry             66 fs/ecryptfs/dentry.c static void ecryptfs_d_release(struct dentry *dentry)
dentry             68 fs/ecryptfs/dentry.c 	struct ecryptfs_dentry_info *p = dentry->d_fsdata;
dentry            500 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_dentry_to_private(struct dentry *dentry)
dentry            502 fs/ecryptfs/ecryptfs_kernel.h 	return (struct ecryptfs_dentry_info *)dentry->d_fsdata;
dentry            506 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_set_dentry_private(struct dentry *dentry,
dentry            509 fs/ecryptfs/ecryptfs_kernel.h 	dentry->d_fsdata = dentry_info;
dentry            512 fs/ecryptfs/ecryptfs_kernel.h static inline struct dentry *
dentry            513 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_dentry_to_lower(struct dentry *dentry)
dentry            515 fs/ecryptfs/ecryptfs_kernel.h 	return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.dentry;
dentry            519 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_dentry_to_lower_mnt(struct dentry *dentry)
dentry            521 fs/ecryptfs/ecryptfs_kernel.h 	return ((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path.mnt;
dentry            525 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_dentry_to_lower_path(struct dentry *dentry)
dentry            527 fs/ecryptfs/ecryptfs_kernel.h 	return &((struct ecryptfs_dentry_info *)dentry->d_fsdata)->lower_path;
dentry            563 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry,
dentry            575 fs/ecryptfs/ecryptfs_kernel.h struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry);
dentry            589 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry,
dentry            591 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_read_metadata(struct dentry *ecryptfs_dentry);
dentry            597 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_read_and_validate_xattr_region(struct dentry *dentry,
dentry            604 fs/ecryptfs/ecryptfs_kernel.h 				     struct dentry *ecryptfs_dentry,
dentry            608 fs/ecryptfs/ecryptfs_kernel.h 			  unsigned char *src, struct dentry *ecryptfs_dentry);
dentry            609 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
dentry            611 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,
dentry            614 fs/ecryptfs/ecryptfs_kernel.h ecryptfs_setxattr(struct dentry *dentry, struct inode *inode, const char *name,
dentry            700 fs/ecryptfs/ecryptfs_kernel.h 			     struct dentry *lower_dentry,
dentry            703 fs/ecryptfs/ecryptfs_kernel.h int ecryptfs_get_lower_file(struct dentry *dentry, struct inode *inode);
dentry             41 fs/ecryptfs/file.c 		path = ecryptfs_dentry_to_lower_path(file->f_path.dentry);
dentry            127 fs/ecryptfs/file.c static int read_or_initialize_metadata(struct dentry *dentry)
dentry            129 fs/ecryptfs/file.c 	struct inode *inode = d_inode(dentry);
dentry            145 fs/ecryptfs/file.c 	rc = ecryptfs_read_metadata(dentry);
dentry            158 fs/ecryptfs/file.c 		rc = ecryptfs_initialize_file(dentry, inode);
dentry            195 fs/ecryptfs/file.c 	struct dentry *ecryptfs_dentry = file->f_path.dentry;
dentry            262 fs/ecryptfs/file.c 	struct dentry *ecryptfs_dentry = file->f_path.dentry;
dentry             24 fs/ecryptfs/inode.c static struct dentry *lock_parent(struct dentry *dentry)
dentry             26 fs/ecryptfs/inode.c 	struct dentry *dir;
dentry             28 fs/ecryptfs/inode.c 	dir = dget_parent(dentry);
dentry             33 fs/ecryptfs/inode.c static void unlock_dir(struct dentry *dir)
dentry            115 fs/ecryptfs/inode.c static int ecryptfs_interpose(struct dentry *lower_dentry,
dentry            116 fs/ecryptfs/inode.c 			      struct dentry *dentry, struct super_block *sb)
dentry            122 fs/ecryptfs/inode.c 	d_instantiate(dentry, inode);
dentry            127 fs/ecryptfs/inode.c static int ecryptfs_do_unlink(struct inode *dir, struct dentry *dentry,
dentry            130 fs/ecryptfs/inode.c 	struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            131 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            135 fs/ecryptfs/inode.c 	lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent);
dentry            156 fs/ecryptfs/inode.c 		d_drop(dentry);
dentry            174 fs/ecryptfs/inode.c 		   struct dentry *ecryptfs_dentry, umode_t mode)
dentry            177 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            178 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            211 fs/ecryptfs/inode.c int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry,
dentry            257 fs/ecryptfs/inode.c ecryptfs_create(struct inode *directory_inode, struct dentry *ecryptfs_dentry,
dentry            285 fs/ecryptfs/inode.c static int ecryptfs_i_size_read(struct dentry *dentry, struct inode *inode)
dentry            290 fs/ecryptfs/inode.c 	rc = ecryptfs_get_lower_file(dentry, inode);
dentry            295 fs/ecryptfs/inode.c 			dentry, rc);
dentry            307 fs/ecryptfs/inode.c 		rc = ecryptfs_read_and_validate_xattr_region(dentry, inode);
dentry            319 fs/ecryptfs/inode.c static struct dentry *ecryptfs_lookup_interpose(struct dentry *dentry,
dentry            320 fs/ecryptfs/inode.c 				     struct dentry *lower_dentry)
dentry            322 fs/ecryptfs/inode.c 	struct path *path = ecryptfs_dentry_to_lower_path(dentry->d_parent);
dentry            333 fs/ecryptfs/inode.c 	fsstack_copy_attr_atime(d_inode(dentry->d_parent),
dentry            334 fs/ecryptfs/inode.c 				d_inode(path->dentry));
dentry            337 fs/ecryptfs/inode.c 	ecryptfs_set_dentry_private(dentry, dentry_info);
dentry            339 fs/ecryptfs/inode.c 	dentry_info->lower_path.dentry = lower_dentry;
dentry            351 fs/ecryptfs/inode.c 		d_add(dentry, NULL);
dentry            354 fs/ecryptfs/inode.c 	inode = __ecryptfs_get_inode(lower_inode, dentry->d_sb);
dentry            361 fs/ecryptfs/inode.c 		rc = ecryptfs_i_size_read(dentry, inode);
dentry            370 fs/ecryptfs/inode.c 	return d_splice_alias(inode, dentry);
dentry            382 fs/ecryptfs/inode.c static struct dentry *ecryptfs_lookup(struct inode *ecryptfs_dir_inode,
dentry            383 fs/ecryptfs/inode.c 				      struct dentry *ecryptfs_dentry,
dentry            388 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry, *lower_dentry;
dentry            391 fs/ecryptfs/inode.c 	struct dentry *res;
dentry            424 fs/ecryptfs/inode.c static int ecryptfs_link(struct dentry *old_dentry, struct inode *dir,
dentry            425 fs/ecryptfs/inode.c 			 struct dentry *new_dentry)
dentry            427 fs/ecryptfs/inode.c 	struct dentry *lower_old_dentry;
dentry            428 fs/ecryptfs/inode.c 	struct dentry *lower_new_dentry;
dentry            429 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            458 fs/ecryptfs/inode.c static int ecryptfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            460 fs/ecryptfs/inode.c 	return ecryptfs_do_unlink(dir, dentry, d_inode(dentry));
dentry            463 fs/ecryptfs/inode.c static int ecryptfs_symlink(struct inode *dir, struct dentry *dentry,
dentry            467 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            468 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            473 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            489 fs/ecryptfs/inode.c 	rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb);
dentry            497 fs/ecryptfs/inode.c 	if (d_really_is_negative(dentry))
dentry            498 fs/ecryptfs/inode.c 		d_drop(dentry);
dentry            502 fs/ecryptfs/inode.c static int ecryptfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            505 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            506 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            508 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            513 fs/ecryptfs/inode.c 	rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb);
dentry            521 fs/ecryptfs/inode.c 	if (d_really_is_negative(dentry))
dentry            522 fs/ecryptfs/inode.c 		d_drop(dentry);
dentry            526 fs/ecryptfs/inode.c static int ecryptfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            528 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            529 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            533 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            534 fs/ecryptfs/inode.c 	lower_dir_dentry = ecryptfs_dentry_to_lower(dentry->d_parent);
dentry            546 fs/ecryptfs/inode.c 		clear_nlink(d_inode(dentry));
dentry            553 fs/ecryptfs/inode.c 		d_drop(dentry);
dentry            558 fs/ecryptfs/inode.c ecryptfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry            561 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            562 fs/ecryptfs/inode.c 	struct dentry *lower_dir_dentry;
dentry            564 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            569 fs/ecryptfs/inode.c 	rc = ecryptfs_interpose(lower_dentry, dentry, dir->i_sb);
dentry            576 fs/ecryptfs/inode.c 	if (d_really_is_negative(dentry))
dentry            577 fs/ecryptfs/inode.c 		d_drop(dentry);
dentry            582 fs/ecryptfs/inode.c ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            583 fs/ecryptfs/inode.c 		struct inode *new_dir, struct dentry *new_dentry,
dentry            587 fs/ecryptfs/inode.c 	struct dentry *lower_old_dentry;
dentry            588 fs/ecryptfs/inode.c 	struct dentry *lower_new_dentry;
dentry            589 fs/ecryptfs/inode.c 	struct dentry *lower_old_dir_dentry;
dentry            590 fs/ecryptfs/inode.c 	struct dentry *lower_new_dir_dentry;
dentry            591 fs/ecryptfs/inode.c 	struct dentry *trap;
dentry            639 fs/ecryptfs/inode.c static char *ecryptfs_readlink_lower(struct dentry *dentry, size_t *bufsiz)
dentry            642 fs/ecryptfs/inode.c 	struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            651 fs/ecryptfs/inode.c 	rc = ecryptfs_decode_and_decrypt_filename(&buf, bufsiz, dentry->d_sb,
dentry            660 fs/ecryptfs/inode.c static const char *ecryptfs_get_link(struct dentry *dentry,
dentry            667 fs/ecryptfs/inode.c 	if (!dentry)
dentry            670 fs/ecryptfs/inode.c 	buf = ecryptfs_readlink_lower(dentry, &len);
dentry            673 fs/ecryptfs/inode.c 	fsstack_copy_attr_atime(d_inode(dentry),
dentry            674 fs/ecryptfs/inode.c 				d_inode(ecryptfs_dentry_to_lower(dentry)));
dentry            725 fs/ecryptfs/inode.c static int truncate_upper(struct dentry *dentry, struct iattr *ia,
dentry            729 fs/ecryptfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            739 fs/ecryptfs/inode.c 	rc = ecryptfs_get_lower_file(dentry, inode);
dentry            742 fs/ecryptfs/inode.c 	crypt_stat = &ecryptfs_inode_to_private(d_inode(dentry))->crypt_stat;
dentry            843 fs/ecryptfs/inode.c int ecryptfs_truncate(struct dentry *dentry, loff_t new_length)
dentry            849 fs/ecryptfs/inode.c 	rc = ecryptfs_inode_newsize_ok(d_inode(dentry), new_length);
dentry            853 fs/ecryptfs/inode.c 	rc = truncate_upper(dentry, &ia, &lower_ia);
dentry            855 fs/ecryptfs/inode.c 		struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            882 fs/ecryptfs/inode.c static int ecryptfs_setattr(struct dentry *dentry, struct iattr *ia)
dentry            885 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry            891 fs/ecryptfs/inode.c 	crypt_stat = &ecryptfs_inode_to_private(d_inode(dentry))->crypt_stat;
dentry            897 fs/ecryptfs/inode.c 	inode = d_inode(dentry);
dentry            899 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            901 fs/ecryptfs/inode.c 	if (d_is_dir(dentry))
dentry            903 fs/ecryptfs/inode.c 	else if (d_is_reg(dentry)
dentry            909 fs/ecryptfs/inode.c 			dentry->d_sb)->mount_crypt_stat;
dentry            910 fs/ecryptfs/inode.c 		rc = ecryptfs_get_lower_file(dentry, inode);
dentry            915 fs/ecryptfs/inode.c 		rc = ecryptfs_read_metadata(dentry);
dentry            936 fs/ecryptfs/inode.c 	rc = setattr_prepare(dentry, ia);
dentry            949 fs/ecryptfs/inode.c 		rc = truncate_upper(dentry, ia, &lower_ia);
dentry            972 fs/ecryptfs/inode.c 	struct dentry *dentry = path->dentry;
dentry            977 fs/ecryptfs/inode.c 						dentry->d_sb)->mount_crypt_stat;
dentry            978 fs/ecryptfs/inode.c 	generic_fillattr(d_inode(dentry), stat);
dentry            983 fs/ecryptfs/inode.c 		target = ecryptfs_readlink_lower(dentry, &targetsiz);
dentry            997 fs/ecryptfs/inode.c 	struct dentry *dentry = path->dentry;
dentry           1001 fs/ecryptfs/inode.c 	rc = vfs_getattr(ecryptfs_dentry_to_lower_path(dentry), &lower_stat,
dentry           1004 fs/ecryptfs/inode.c 		fsstack_copy_attr_all(d_inode(dentry),
dentry           1005 fs/ecryptfs/inode.c 				      ecryptfs_inode_to_lower(d_inode(dentry)));
dentry           1006 fs/ecryptfs/inode.c 		generic_fillattr(d_inode(dentry), stat);
dentry           1013 fs/ecryptfs/inode.c ecryptfs_setxattr(struct dentry *dentry, struct inode *inode,
dentry           1018 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry           1020 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry           1033 fs/ecryptfs/inode.c ecryptfs_getxattr_lower(struct dentry *lower_dentry, struct inode *lower_inode,
dentry           1050 fs/ecryptfs/inode.c ecryptfs_getxattr(struct dentry *dentry, struct inode *inode,
dentry           1053 fs/ecryptfs/inode.c 	return ecryptfs_getxattr_lower(ecryptfs_dentry_to_lower(dentry),
dentry           1059 fs/ecryptfs/inode.c ecryptfs_listxattr(struct dentry *dentry, char *list, size_t size)
dentry           1062 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry           1064 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry           1076 fs/ecryptfs/inode.c static int ecryptfs_removexattr(struct dentry *dentry, struct inode *inode,
dentry           1080 fs/ecryptfs/inode.c 	struct dentry *lower_dentry;
dentry           1083 fs/ecryptfs/inode.c 	lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry           1127 fs/ecryptfs/inode.c 			      struct dentry *dentry, struct inode *inode,
dentry           1130 fs/ecryptfs/inode.c 	return ecryptfs_getxattr(dentry, inode, name, buffer, size);
dentry           1134 fs/ecryptfs/inode.c 			      struct dentry *dentry, struct inode *inode,
dentry           1139 fs/ecryptfs/inode.c 		return ecryptfs_setxattr(dentry, inode, name, value, size, flags);
dentry           1142 fs/ecryptfs/inode.c 		return ecryptfs_removexattr(dentry, inode, name);
dentry           1754 fs/ecryptfs/keystore.c 			      struct dentry *ecryptfs_dentry)
dentry           2400 fs/ecryptfs/keystore.c 				 struct dentry *ecryptfs_dentry, size_t *len,
dentry            117 fs/ecryptfs/kthread.c 			     struct dentry *lower_dentry,
dentry            127 fs/ecryptfs/kthread.c 	req.path.dentry = lower_dentry;
dentry            104 fs/ecryptfs/main.c static int ecryptfs_init_lower_file(struct dentry *dentry,
dentry            108 fs/ecryptfs/main.c 	struct path *path = ecryptfs_dentry_to_lower_path(dentry);
dentry            111 fs/ecryptfs/main.c 	rc = ecryptfs_privileged_open(lower_file, path->dentry, path->mnt,
dentry            116 fs/ecryptfs/main.c 		       "rc = [%d]\n", path->dentry, path->mnt, rc);
dentry            122 fs/ecryptfs/main.c int ecryptfs_get_lower_file(struct dentry *dentry, struct inode *inode)
dentry            133 fs/ecryptfs/main.c 		rc = ecryptfs_init_lower_file(dentry,
dentry            476 fs/ecryptfs/main.c static struct dentry *ecryptfs_mount(struct file_system_type *fs_type, int flags,
dentry            526 fs/ecryptfs/main.c 	if (path.dentry->d_sb->s_type == &ecryptfs_fs_type) {
dentry            534 fs/ecryptfs/main.c 	if (check_ruid && !uid_eq(d_inode(path.dentry)->i_uid, current_uid())) {
dentry            538 fs/ecryptfs/main.c 			i_uid_read(d_inode(path.dentry)),
dentry            543 fs/ecryptfs/main.c 	ecryptfs_set_superblock_lower(s, path.dentry->d_sb);
dentry            550 fs/ecryptfs/main.c 	s->s_flags |= path.dentry->d_sb->s_flags & SB_POSIXACL;
dentry            557 fs/ecryptfs/main.c 	if (sb_rdonly(path.dentry->d_sb) || mount_crypt_stat->flags & ECRYPTFS_ENCRYPTED_VIEW_ENABLED)
dentry            560 fs/ecryptfs/main.c 	s->s_maxbytes = path.dentry->d_sb->s_maxbytes;
dentry            561 fs/ecryptfs/main.c 	s->s_blocksize = path.dentry->d_sb->s_blocksize;
dentry            563 fs/ecryptfs/main.c 	s->s_stack_depth = path.dentry->d_sb->s_stack_depth + 1;
dentry            571 fs/ecryptfs/main.c 	inode = ecryptfs_get_inode(d_inode(path.dentry), s);
dentry            346 fs/ecryptfs/mmap.c 			rc = ecryptfs_truncate(file->f_path.dentry,
dentry            407 fs/ecryptfs/mmap.c 	struct dentry *lower_dentry =
dentry            408 fs/ecryptfs/mmap.c 		ecryptfs_inode_to_private(ecryptfs_inode)->lower_file->f_path.dentry;
dentry             90 fs/ecryptfs/super.c static int ecryptfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry             92 fs/ecryptfs/super.c 	struct dentry *lower_dentry = ecryptfs_dentry_to_lower(dentry);
dentry            104 fs/ecryptfs/super.c 	       &ecryptfs_superblock_to_private(dentry->d_sb)->mount_crypt_stat);
dentry            132 fs/ecryptfs/super.c static int ecryptfs_show_options(struct seq_file *m, struct dentry *root)
dentry             49 fs/efivarfs/file.c 		d_delete(file->f_path.dentry);
dentry             50 fs/efivarfs/file.c 		dput(file->f_path.dentry);
dentry             68 fs/efivarfs/inode.c static int efivarfs_create(struct inode *dir, struct dentry *dentry,
dentry             76 fs/efivarfs/inode.c 	if (!efivarfs_valid_name(dentry->d_name.name, dentry->d_name.len))
dentry             84 fs/efivarfs/inode.c 	namelen = dentry->d_name.len - EFI_VARIABLE_GUID_LEN - 1;
dentry             86 fs/efivarfs/inode.c 	err = guid_parse(dentry->d_name.name + namelen + 1, &var->var.VendorGuid);
dentry             91 fs/efivarfs/inode.c 					 dentry->d_name.name, namelen))
dentry            101 fs/efivarfs/inode.c 		var->var.VariableName[i] = dentry->d_name.name[i];
dentry            111 fs/efivarfs/inode.c 	d_instantiate(dentry, inode);
dentry            112 fs/efivarfs/inode.c 	dget(dentry);
dentry            122 fs/efivarfs/inode.c static int efivarfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            124 fs/efivarfs/inode.c 	struct efivar_entry *var = d_inode(dentry)->i_private;
dentry            129 fs/efivarfs/inode.c 	drop_nlink(d_inode(dentry));
dentry            130 fs/efivarfs/inode.c 	dput(dentry);
dentry             43 fs/efivarfs/super.c static int efivarfs_d_compare(const struct dentry *dentry,
dentry             60 fs/efivarfs/super.c static int efivarfs_d_hash(const struct dentry *dentry, struct qstr *qstr)
dentry             62 fs/efivarfs/super.c 	unsigned long hash = init_name_hash(dentry);
dentry             86 fs/efivarfs/super.c static struct dentry *efivarfs_alloc_dentry(struct dentry *parent, char *name)
dentry             88 fs/efivarfs/super.c 	struct dentry *d;
dentry            112 fs/efivarfs/super.c 	struct dentry *dentry, *root = sb->s_root;
dentry            149 fs/efivarfs/super.c 	dentry = efivarfs_alloc_dentry(root, name);
dentry            150 fs/efivarfs/super.c 	if (IS_ERR(dentry)) {
dentry            151 fs/efivarfs/super.c 		err = PTR_ERR(dentry);
dentry            167 fs/efivarfs/super.c 	d_add(dentry, inode);
dentry            193 fs/efivarfs/super.c 	struct dentry *root;
dentry            139 fs/efs/efs.h   extern struct dentry *efs_lookup(struct inode *, struct dentry *, unsigned int);
dentry            140 fs/efs/efs.h   extern struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            142 fs/efs/efs.h   extern struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            144 fs/efs/efs.h   extern struct dentry *efs_get_parent(struct dentry *);
dentry             65 fs/efs/namei.c struct dentry *efs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry             70 fs/efs/namei.c 	inodenum = efs_find_entry(dir, dentry->d_name.name, dentry->d_name.len);
dentry             74 fs/efs/namei.c 	return d_splice_alias(inode, dentry);
dentry             96 fs/efs/namei.c struct dentry *efs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            103 fs/efs/namei.c struct dentry *efs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            110 fs/efs/namei.c struct dentry *efs_get_parent(struct dentry *child)
dentry            112 fs/efs/namei.c 	struct dentry *parent = ERR_PTR(-ENOENT);
dentry             21 fs/efs/super.c static int efs_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry             24 fs/efs/super.c static struct dentry *efs_mount(struct file_system_type *fs_type,
dentry            329 fs/efs/super.c static int efs_statfs(struct dentry *dentry, struct kstatfs *buf) {
dentry            330 fs/efs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            299 fs/erofs/inode.c 	struct inode *const inode = d_inode(path->dentry);
dentry            209 fs/erofs/namei.c static struct dentry *erofs_lookup(struct inode *dir,
dentry            210 fs/erofs/namei.c 				   struct dentry *dentry,
dentry            218 fs/erofs/namei.c 	DBG_BUGON(!d_really_is_negative(dentry));
dentry            220 fs/erofs/namei.c 	DBG_BUGON(!d_unhashed(dentry));
dentry            222 fs/erofs/namei.c 	trace_erofs_lookup(dir, dentry, flags);
dentry            225 fs/erofs/namei.c 	if (dentry->d_name.len > EROFS_NAME_LEN)
dentry            229 fs/erofs/namei.c 	err = erofs_namei(dir, &dentry->d_name, &nid, &d_type);
dentry            238 fs/erofs/namei.c 			  dentry->d_name.name, nid, d_type);
dentry            241 fs/erofs/namei.c 	return d_splice_alias(inode, dentry);
dentry            426 fs/erofs/super.c static struct dentry *erofs_mount(struct file_system_type *fs_type, int flags,
dentry            525 fs/erofs/super.c static int erofs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            527 fs/erofs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            546 fs/erofs/super.c static int erofs_show_options(struct seq_file *seq, struct dentry *root)
dentry            423 fs/erofs/xattr.c static bool erofs_xattr_user_list(struct dentry *dentry)
dentry            425 fs/erofs/xattr.c 	return test_opt(EROFS_SB(dentry->d_sb), XATTR_USER);
dentry            428 fs/erofs/xattr.c static bool erofs_xattr_trusted_list(struct dentry *dentry)
dentry            465 fs/erofs/xattr.c 				   struct dentry *unused, struct inode *inode,
dentry            526 fs/erofs/xattr.c 	struct dentry *dentry;
dentry            542 fs/erofs/xattr.c 	if (!h || (h->list && !h->list(it->dentry)))
dentry            595 fs/erofs/xattr.c 	ret = inline_xattr_iter_begin(&it->it, d_inode(it->dentry));
dentry            611 fs/erofs/xattr.c 	struct inode *const inode = d_inode(it->dentry);
dentry            645 fs/erofs/xattr.c ssize_t erofs_listxattr(struct dentry *dentry,
dentry            651 fs/erofs/xattr.c 	ret = init_inode_xattrs(d_inode(dentry));
dentry            657 fs/erofs/xattr.c 	it.dentry = dentry;
dentry            662 fs/erofs/xattr.c 	it.it.sb = dentry->d_sb;
dentry             69 fs/erofs/xattr.h ssize_t erofs_listxattr(struct dentry *, char *, size_t);
dentry             78 fs/erofs/xattr.h static inline ssize_t erofs_listxattr(struct dentry *dentry,
dentry           1467 fs/eventpoll.c 	name = epi->ffd.file->f_path.dentry->d_name.name;
dentry           1538 fs/exec.c      	inode = bprm->file->f_path.dentry->d_inode;
dentry             24 fs/exportfs/expfs.c static int get_name(const struct path *path, char *name, struct dentry *child);
dentry             27 fs/exportfs/expfs.c static int exportfs_get_name(struct vfsmount *mnt, struct dentry *dir,
dentry             28 fs/exportfs/expfs.c 		char *name, struct dentry *child)
dentry             31 fs/exportfs/expfs.c 	struct path path = {.mnt = mnt, .dentry = dir};
dentry             42 fs/exportfs/expfs.c static struct dentry *
dentry             43 fs/exportfs/expfs.c find_acceptable_alias(struct dentry *result,
dentry             44 fs/exportfs/expfs.c 		int (*acceptable)(void *context, struct dentry *dentry),
dentry             47 fs/exportfs/expfs.c 	struct dentry *dentry, *toput = NULL;
dentry             55 fs/exportfs/expfs.c 	hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) {
dentry             56 fs/exportfs/expfs.c 		dget(dentry);
dentry             60 fs/exportfs/expfs.c 		if (dentry != result && acceptable(context, dentry)) {
dentry             62 fs/exportfs/expfs.c 			return dentry;
dentry             65 fs/exportfs/expfs.c 		toput = dentry;
dentry             74 fs/exportfs/expfs.c static bool dentry_connected(struct dentry *dentry)
dentry             76 fs/exportfs/expfs.c 	dget(dentry);
dentry             77 fs/exportfs/expfs.c 	while (dentry->d_flags & DCACHE_DISCONNECTED) {
dentry             78 fs/exportfs/expfs.c 		struct dentry *parent = dget_parent(dentry);
dentry             80 fs/exportfs/expfs.c 		dput(dentry);
dentry             81 fs/exportfs/expfs.c 		if (dentry == parent) {
dentry             85 fs/exportfs/expfs.c 		dentry = parent;
dentry             87 fs/exportfs/expfs.c 	dput(dentry);
dentry             91 fs/exportfs/expfs.c static void clear_disconnected(struct dentry *dentry)
dentry             93 fs/exportfs/expfs.c 	dget(dentry);
dentry             94 fs/exportfs/expfs.c 	while (dentry->d_flags & DCACHE_DISCONNECTED) {
dentry             95 fs/exportfs/expfs.c 		struct dentry *parent = dget_parent(dentry);
dentry             97 fs/exportfs/expfs.c 		WARN_ON_ONCE(IS_ROOT(dentry));
dentry             99 fs/exportfs/expfs.c 		spin_lock(&dentry->d_lock);
dentry            100 fs/exportfs/expfs.c 		dentry->d_flags &= ~DCACHE_DISCONNECTED;
dentry            101 fs/exportfs/expfs.c 		spin_unlock(&dentry->d_lock);
dentry            103 fs/exportfs/expfs.c 		dput(dentry);
dentry            104 fs/exportfs/expfs.c 		dentry = parent;
dentry            106 fs/exportfs/expfs.c 	dput(dentry);
dentry            121 fs/exportfs/expfs.c static struct dentry *reconnect_one(struct vfsmount *mnt,
dentry            122 fs/exportfs/expfs.c 		struct dentry *dentry, char *nbuf)
dentry            124 fs/exportfs/expfs.c 	struct dentry *parent;
dentry            125 fs/exportfs/expfs.c 	struct dentry *tmp;
dentry            129 fs/exportfs/expfs.c 	inode_lock(dentry->d_inode);
dentry            131 fs/exportfs/expfs.c 		parent = mnt->mnt_sb->s_export_op->get_parent(dentry);
dentry            132 fs/exportfs/expfs.c 	inode_unlock(dentry->d_inode);
dentry            136 fs/exportfs/expfs.c 			__func__, dentry->d_inode->i_ino, PTR_ERR(parent));
dentry            141 fs/exportfs/expfs.c 		dentry->d_inode->i_ino, parent->d_inode->i_ino);
dentry            142 fs/exportfs/expfs.c 	err = exportfs_get_name(mnt, parent, nbuf, dentry);
dentry            154 fs/exportfs/expfs.c 	if (tmp != dentry) {
dentry            165 fs/exportfs/expfs.c 	if (IS_ROOT(dentry)) {
dentry            189 fs/exportfs/expfs.c 	if (!dentry_connected(dentry))
dentry            212 fs/exportfs/expfs.c reconnect_path(struct vfsmount *mnt, struct dentry *target_dir, char *nbuf)
dentry            214 fs/exportfs/expfs.c 	struct dentry *dentry, *parent;
dentry            216 fs/exportfs/expfs.c 	dentry = dget(target_dir);
dentry            218 fs/exportfs/expfs.c 	while (dentry->d_flags & DCACHE_DISCONNECTED) {
dentry            219 fs/exportfs/expfs.c 		BUG_ON(dentry == mnt->mnt_sb->s_root);
dentry            221 fs/exportfs/expfs.c 		if (IS_ROOT(dentry))
dentry            222 fs/exportfs/expfs.c 			parent = reconnect_one(mnt, dentry, nbuf);
dentry            224 fs/exportfs/expfs.c 			parent = dget_parent(dentry);
dentry            228 fs/exportfs/expfs.c 		dput(dentry);
dentry            231 fs/exportfs/expfs.c 		dentry = parent;
dentry            233 fs/exportfs/expfs.c 	dput(dentry);
dentry            277 fs/exportfs/expfs.c static int get_name(const struct path *path, char *name, struct dentry *child)
dentry            280 fs/exportfs/expfs.c 	struct inode *dir = path->dentry->d_inode;
dentry            286 fs/exportfs/expfs.c 		.dentry = child,
dentry            397 fs/exportfs/expfs.c int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len,
dentry            401 fs/exportfs/expfs.c 	struct dentry *p = NULL;
dentry            402 fs/exportfs/expfs.c 	struct inode *inode = dentry->d_inode, *parent = NULL;
dentry            405 fs/exportfs/expfs.c 		p = dget_parent(dentry);
dentry            420 fs/exportfs/expfs.c struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
dentry            422 fs/exportfs/expfs.c 		int (*acceptable)(void *, struct dentry *), void *context)
dentry            425 fs/exportfs/expfs.c 	struct dentry *result, *alias;
dentry            474 fs/exportfs/expfs.c 		struct dentry *target_dir, *nresult;
dentry            461 fs/ext2/dir.c  int ext2_add_link (struct dentry *dentry, struct inode *inode)
dentry            463 fs/ext2/dir.c  	struct inode *dir = d_inode(dentry->d_parent);
dentry            464 fs/ext2/dir.c  	const char *name = dentry->d_name.name;
dentry            465 fs/ext2/dir.c  	int namelen = dentry->d_name.len;
dentry            740 fs/ext2/ext2.h extern int ext2_add_link (struct dentry *, struct inode *);
dentry            760 fs/ext2/ext2.h extern int ext2_setattr (struct dentry *, struct iattr *);
dentry            771 fs/ext2/ext2.h struct dentry *ext2_get_parent(struct dentry *child);
dentry           1647 fs/ext2/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry           1670 fs/ext2/inode.c int ext2_setattr(struct dentry *dentry, struct iattr *iattr)
dentry           1672 fs/ext2/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1675 fs/ext2/inode.c 	error = setattr_prepare(dentry, iattr);
dentry             40 fs/ext2/namei.c static inline int ext2_add_nondir(struct dentry *dentry, struct inode *inode)
dentry             42 fs/ext2/namei.c 	int err = ext2_add_link(dentry, inode);
dentry             44 fs/ext2/namei.c 		d_instantiate_new(dentry, inode);
dentry             56 fs/ext2/namei.c static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
dentry             61 fs/ext2/namei.c 	if (dentry->d_name.len > EXT2_NAME_LEN)
dentry             64 fs/ext2/namei.c 	ino = ext2_inode_by_name(dir, &dentry->d_name);
dentry             75 fs/ext2/namei.c 	return d_splice_alias(inode, dentry);
dentry             78 fs/ext2/namei.c struct dentry *ext2_get_parent(struct dentry *child)
dentry             95 fs/ext2/namei.c static int ext2_create (struct inode * dir, struct dentry * dentry, umode_t mode, bool excl)
dentry            104 fs/ext2/namei.c 	inode = ext2_new_inode(dir, mode, &dentry->d_name);
dentry            110 fs/ext2/namei.c 	return ext2_add_nondir(dentry, inode);
dentry            113 fs/ext2/namei.c static int ext2_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            121 fs/ext2/namei.c 	d_tmpfile(dentry, inode);
dentry            126 fs/ext2/namei.c static int ext2_mknod (struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry            135 fs/ext2/namei.c 	inode = ext2_new_inode (dir, mode, &dentry->d_name);
dentry            143 fs/ext2/namei.c 		err = ext2_add_nondir(dentry, inode);
dentry            148 fs/ext2/namei.c static int ext2_symlink (struct inode * dir, struct dentry * dentry,
dentry            163 fs/ext2/namei.c 	inode = ext2_new_inode (dir, S_IFLNK | S_IRWXUGO, &dentry->d_name);
dentry            188 fs/ext2/namei.c 	err = ext2_add_nondir(dentry, inode);
dentry            198 fs/ext2/namei.c static int ext2_link (struct dentry * old_dentry, struct inode * dir,
dentry            199 fs/ext2/namei.c 	struct dentry *dentry)
dentry            212 fs/ext2/namei.c 	err = ext2_add_link(dentry, inode);
dentry            214 fs/ext2/namei.c 		d_instantiate(dentry, inode);
dentry            222 fs/ext2/namei.c static int ext2_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode)
dentry            233 fs/ext2/namei.c 	inode = ext2_new_inode(dir, S_IFDIR | mode, &dentry->d_name);
dentry            251 fs/ext2/namei.c 	err = ext2_add_link(dentry, inode);
dentry            255 fs/ext2/namei.c 	d_instantiate_new(dentry, inode);
dentry            268 fs/ext2/namei.c static int ext2_unlink(struct inode * dir, struct dentry *dentry)
dentry            270 fs/ext2/namei.c 	struct inode * inode = d_inode(dentry);
dentry            279 fs/ext2/namei.c 	de = ext2_find_entry (dir, &dentry->d_name, &page);
dentry            296 fs/ext2/namei.c static int ext2_rmdir (struct inode * dir, struct dentry *dentry)
dentry            298 fs/ext2/namei.c 	struct inode * inode = d_inode(dentry);
dentry            302 fs/ext2/namei.c 		err = ext2_unlink(dir, dentry);
dentry            312 fs/ext2/namei.c static int ext2_rename (struct inode * old_dir, struct dentry * old_dentry,
dentry            313 fs/ext2/namei.c 			struct inode * new_dir,	struct dentry * new_dentry,
dentry             44 fs/ext2/super.c static int ext2_statfs (struct dentry * dentry, struct kstatfs * buf);
dentry            239 fs/ext2/super.c static int ext2_show_options(struct seq_file *seq, struct dentry *root)
dentry            391 fs/ext2/super.c static struct dentry *ext2_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            398 fs/ext2/super.c static struct dentry *ext2_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           1413 fs/ext2/super.c static int ext2_statfs (struct dentry * dentry, struct kstatfs * buf)
dentry           1415 fs/ext2/super.c 	struct super_block *sb = dentry->d_sb;
dentry           1480 fs/ext2/super.c static struct dentry *ext2_mount(struct file_system_type *fs_type,
dentry           1599 fs/ext2/super.c 	inode = d_inode(path->dentry);
dentry            288 fs/ext2/xattr.c ext2_xattr_list(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            290 fs/ext2/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            339 fs/ext2/xattr.c 		if (handler && (!handler->list || handler->list(dentry))) {
dentry            373 fs/ext2/xattr.c ext2_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            375 fs/ext2/xattr.c 	return ext2_xattr_list(dentry, buffer, size);
dentry             65 fs/ext2/xattr.h extern ssize_t ext2_listxattr(struct dentry *, char *, size_t);
dentry             13 fs/ext2/xattr_security.c 			struct dentry *unused, struct inode *inode,
dentry             22 fs/ext2/xattr_security.c 			struct dentry *unused, struct inode *inode,
dentry             13 fs/ext2/xattr_trusted.c ext2_xattr_trusted_list(struct dentry *dentry)
dentry             20 fs/ext2/xattr_trusted.c 		       struct dentry *unused, struct inode *inode,
dentry             29 fs/ext2/xattr_trusted.c 		       struct dentry *unused, struct inode *inode,
dentry             15 fs/ext2/xattr_user.c ext2_xattr_user_list(struct dentry *dentry)
dentry             17 fs/ext2/xattr_user.c 	return test_opt(dentry->d_sb, XATTR_USER);
dentry             22 fs/ext2/xattr_user.c 		    struct dentry *unused, struct inode *inode,
dentry             33 fs/ext2/xattr_user.c 		    struct dentry *unused, struct inode *inode,
dentry            674 fs/ext4/dir.c  static int ext4_d_compare(const struct dentry *dentry, unsigned int len,
dentry            678 fs/ext4/dir.c  	const struct dentry *parent = READ_ONCE(dentry->d_parent);
dentry            691 fs/ext4/dir.c  static int ext4_d_hash(const struct dentry *dentry, struct qstr *str)
dentry            693 fs/ext4/dir.c  	const struct ext4_sb_info *sbi = EXT4_SB(dentry->d_sb);
dentry            695 fs/ext4/dir.c  	const struct inode *inode = READ_ONCE(dentry->d_inode);
dentry            712 fs/ext4/dir.c  	str->hash = full_name_hash(dentry, norm, len);
dentry           2407 fs/ext4/ext4.h 					    struct dentry *dentry,
dentry           2413 fs/ext4/ext4.h 	err = fscrypt_prepare_lookup(dir, dentry, &name);
dentry           2420 fs/ext4/ext4.h 	ext4_fname_setup_ci_filename(dir, &dentry->d_name, &fname->cf_name);
dentry           2459 fs/ext4/ext4.h 					    struct dentry *dentry,
dentry           2462 fs/ext4/ext4.h 	return ext4_fname_setup_filename(dir, &dentry->d_name, 1, fname);
dentry           2616 fs/ext4/ext4.h extern int  ext4_setattr(struct dentry *, struct iattr *);
dentry           3207 fs/ext4/ext4.h extern struct dentry *ext4_get_parent(struct dentry *child);
dentry            421 fs/ext4/file.c 	path.dentry = mnt->mnt_root;
dentry             47 fs/ext4/fsync.c 	struct dentry *dentry = NULL;
dentry             56 fs/ext4/fsync.c 		dentry = d_find_any_alias(inode);
dentry             57 fs/ext4/fsync.c 		if (!dentry)
dentry             59 fs/ext4/fsync.c 		next = igrab(d_inode(dentry->d_parent));
dentry             60 fs/ext4/fsync.c 		dput(dentry);
dentry           5541 fs/ext4/inode.c int ext4_setattr(struct dentry *dentry, struct iattr *attr)
dentry           5543 fs/ext4/inode.c 	struct inode *inode = d_inode(dentry);
dentry           5559 fs/ext4/inode.c 	error = setattr_prepare(dentry, attr);
dentry           5563 fs/ext4/inode.c 	error = fscrypt_prepare_setattr(dentry, attr);
dentry           5567 fs/ext4/inode.c 	error = fsverity_prepare_setattr(dentry, attr);
dentry           5735 fs/ext4/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry           5771 fs/ext4/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry           1604 fs/ext4/namei.c 					     struct dentry *dentry,
dentry           1611 fs/ext4/namei.c 	err = ext4_fname_prepare_lookup(dir, dentry, &fname);
dentry           1676 fs/ext4/namei.c static struct dentry *ext4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry           1682 fs/ext4/namei.c 	if (dentry->d_name.len > EXT4_NAME_LEN)
dentry           1685 fs/ext4/namei.c 	bh = ext4_lookup_entry(dir, dentry, &de);
dentry           1698 fs/ext4/namei.c 					 dentry);
dentry           1729 fs/ext4/namei.c 	return d_splice_alias(inode, dentry);
dentry           1733 fs/ext4/namei.c struct dentry *ext4_get_parent(struct dentry *child)
dentry           2161 fs/ext4/namei.c static int ext4_add_entry(handle_t *handle, struct dentry *dentry,
dentry           2164 fs/ext4/namei.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry           2182 fs/ext4/namei.c 	if (!dentry->d_name.len)
dentry           2187 fs/ext4/namei.c 	    sbi->s_encoding && utf8_validate(sbi->s_encoding, &dentry->d_name))
dentry           2191 fs/ext4/namei.c 	retval = ext4_fname_setup_filename(dir, &dentry->d_name, 0, &fname);
dentry           2559 fs/ext4/namei.c 		struct dentry *dentry, struct inode *inode)
dentry           2561 fs/ext4/namei.c 	int err = ext4_add_entry(handle, dentry, inode);
dentry           2564 fs/ext4/namei.c 		d_instantiate_new(dentry, inode);
dentry           2581 fs/ext4/namei.c static int ext4_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           2595 fs/ext4/namei.c 	inode = ext4_new_inode_start_handle(dir, mode, &dentry->d_name, 0,
dentry           2603 fs/ext4/namei.c 		err = ext4_add_nondir(handle, dentry, inode);
dentry           2614 fs/ext4/namei.c static int ext4_mknod(struct inode *dir, struct dentry *dentry,
dentry           2628 fs/ext4/namei.c 	inode = ext4_new_inode_start_handle(dir, mode, &dentry->d_name, 0,
dentry           2635 fs/ext4/namei.c 		err = ext4_add_nondir(handle, dentry, inode);
dentry           2646 fs/ext4/namei.c static int ext4_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2668 fs/ext4/namei.c 		d_tmpfile(dentry, inode);
dentry           2755 fs/ext4/namei.c static int ext4_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2772 fs/ext4/namei.c 					    &dentry->d_name,
dentry           2786 fs/ext4/namei.c 		err = ext4_add_entry(handle, dentry, inode);
dentry           2800 fs/ext4/namei.c 	d_instantiate_new(dentry, inode);
dentry           3065 fs/ext4/namei.c static int ext4_rmdir(struct inode *dir, struct dentry *dentry)
dentry           3081 fs/ext4/namei.c 	retval = dquot_initialize(d_inode(dentry));
dentry           3086 fs/ext4/namei.c 	bh = ext4_find_entry(dir, &dentry->d_name, &de, NULL);
dentry           3092 fs/ext4/namei.c 	inode = d_inode(dentry);
dentry           3119 fs/ext4/namei.c 			     dentry->d_name.len, dentry->d_name.name,
dentry           3142 fs/ext4/namei.c 		d_invalidate(dentry);
dentry           3152 fs/ext4/namei.c static int ext4_unlink(struct inode *dir, struct dentry *dentry)
dentry           3163 fs/ext4/namei.c 	trace_ext4_unlink_enter(dir, dentry);
dentry           3169 fs/ext4/namei.c 	retval = dquot_initialize(d_inode(dentry));
dentry           3174 fs/ext4/namei.c 	bh = ext4_find_entry(dir, &dentry->d_name, &de, NULL);
dentry           3180 fs/ext4/namei.c 	inode = d_inode(dentry);
dentry           3205 fs/ext4/namei.c 				   dentry->d_name.len, dentry->d_name.name);
dentry           3221 fs/ext4/namei.c 		d_invalidate(dentry);
dentry           3228 fs/ext4/namei.c 	trace_ext4_unlink_exit(dentry, retval);
dentry           3233 fs/ext4/namei.c 			struct dentry *dentry, const char *symname)
dentry           3274 fs/ext4/namei.c 					    &dentry->d_name, 0, NULL,
dentry           3342 fs/ext4/namei.c 	err = ext4_add_nondir(handle, dentry, inode);
dentry           3362 fs/ext4/namei.c static int ext4_link(struct dentry *old_dentry,
dentry           3363 fs/ext4/namei.c 		     struct inode *dir, struct dentry *dentry)
dentry           3372 fs/ext4/namei.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
dentry           3399 fs/ext4/namei.c 	err = ext4_add_entry(handle, dentry, inode);
dentry           3407 fs/ext4/namei.c 		d_instantiate(dentry, inode);
dentry           3453 fs/ext4/namei.c 	struct dentry *dentry;
dentry           3568 fs/ext4/namei.c 	    ent->de->name_len != ent->dentry->d_name.len ||
dentry           3569 fs/ext4/namei.c 	    strncmp(ent->de->name, ent->dentry->d_name.name,
dentry           3573 fs/ext4/namei.c 						&ent->dentry->d_name);
dentry           3578 fs/ext4/namei.c 							&ent->dentry->d_name);
dentry           3615 fs/ext4/namei.c 					 &ent->dentry->d_name, 0, NULL,
dentry           3641 fs/ext4/namei.c static int ext4_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           3642 fs/ext4/namei.c 		       struct inode *new_dir, struct dentry *new_dentry,
dentry           3648 fs/ext4/namei.c 		.dentry = old_dentry,
dentry           3653 fs/ext4/namei.c 		.dentry = new_dentry,
dentry           3688 fs/ext4/namei.c 	old.bh = ext4_find_entry(old.dir, &old.dentry->d_name, &old.de, NULL);
dentry           3701 fs/ext4/namei.c 	new.bh = ext4_find_entry(new.dir, &new.dentry->d_name,
dentry           3775 fs/ext4/namei.c 		retval = ext4_add_entry(handle, new.dentry, old.inode);
dentry           3848 fs/ext4/namei.c static int ext4_cross_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           3849 fs/ext4/namei.c 			     struct inode *new_dir, struct dentry *new_dentry)
dentry           3854 fs/ext4/namei.c 		.dentry = old_dentry,
dentry           3859 fs/ext4/namei.c 		.dentry = new_dentry,
dentry           3881 fs/ext4/namei.c 	old.bh = ext4_find_entry(old.dir, &old.dentry->d_name,
dentry           3895 fs/ext4/namei.c 	new.bh = ext4_find_entry(new.dir, &new.dentry->d_name,
dentry           3988 fs/ext4/namei.c static int ext4_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry           3989 fs/ext4/namei.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry             67 fs/ext4/super.c static int ext4_show_options(struct seq_file *seq, struct dentry *root);
dentry             75 fs/ext4/super.c static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry             78 fs/ext4/super.c static struct dentry *ext4_mount(struct file_system_type *fs_type, int flags,
dentry           1219 fs/ext4/super.c static struct dentry *ext4_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry           1226 fs/ext4/super.c static struct dentry *ext4_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           1977 fs/ext4/super.c 		journal_inode = d_inode(path.dentry);
dentry           2271 fs/ext4/super.c static int ext4_show_options(struct seq_file *seq, struct dentry *root)
dentry           5625 fs/ext4/super.c static int ext4_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           5627 fs/ext4/super.c 	struct super_block *sb = dentry->d_sb;
dentry           5658 fs/ext4/super.c 	if (ext4_test_inode_flag(dentry->d_inode, EXT4_INODE_PROJINHERIT) &&
dentry           5660 fs/ext4/super.c 		ext4_statfs_project(sb, EXT4_I(dentry->d_inode)->i_projid, buf);
dentry           5797 fs/ext4/super.c 	if (path->dentry->d_sb != sb)
dentry           5802 fs/ext4/super.c 		if (path->dentry->d_parent != sb->s_root)
dentry           5820 fs/ext4/super.c 	    ext4_should_journal_data(d_inode(path->dentry))) {
dentry           5832 fs/ext4/super.c 	lockdep_set_quota_inode(path->dentry->d_inode, I_DATA_SEM_QUOTA);
dentry           5835 fs/ext4/super.c 		lockdep_set_quota_inode(path->dentry->d_inode,
dentry           5838 fs/ext4/super.c 		struct inode *inode = d_inode(path->dentry);
dentry           6084 fs/ext4/super.c static struct dentry *ext4_mount(struct file_system_type *fs_type, int flags,
dentry             26 fs/ext4/symlink.c static const char *ext4_encrypted_get_link(struct dentry *dentry,
dentry             35 fs/ext4/symlink.c 	if (!dentry)
dentry            659 fs/ext4/xattr.c ext4_xattr_list_entries(struct dentry *dentry, struct ext4_xattr_entry *entry,
dentry            668 fs/ext4/xattr.c 		if (handler && (!handler->list || handler->list(dentry))) {
dentry            689 fs/ext4/xattr.c ext4_xattr_block_list(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            691 fs/ext4/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            711 fs/ext4/xattr.c 	error = ext4_xattr_list_entries(dentry, BFIRST(bh), buffer,
dentry            719 fs/ext4/xattr.c ext4_xattr_ibody_list(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            721 fs/ext4/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            739 fs/ext4/xattr.c 	error = ext4_xattr_list_entries(dentry, IFIRST(header),
dentry            760 fs/ext4/xattr.c ext4_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            764 fs/ext4/xattr.c 	down_read(&EXT4_I(d_inode(dentry))->xattr_sem);
dentry            765 fs/ext4/xattr.c 	ret = ret2 = ext4_xattr_ibody_list(dentry, buffer, buffer_size);
dentry            772 fs/ext4/xattr.c 	ret = ext4_xattr_block_list(dentry, buffer, buffer_size);
dentry            777 fs/ext4/xattr.c 	up_read(&EXT4_I(d_inode(dentry))->xattr_sem);
dentry            162 fs/ext4/xattr.h extern ssize_t ext4_listxattr(struct dentry *, char *, size_t);
dentry             17 fs/ext4/xattr_security.c 			struct dentry *unused, struct inode *inode,
dentry             26 fs/ext4/xattr_security.c 			struct dentry *unused, struct inode *inode,
dentry             17 fs/ext4/xattr_trusted.c ext4_xattr_trusted_list(struct dentry *dentry)
dentry             24 fs/ext4/xattr_trusted.c 		       struct dentry *unused, struct inode *inode,
dentry             33 fs/ext4/xattr_trusted.c 		       struct dentry *unused, struct inode *inode,
dentry             16 fs/ext4/xattr_user.c ext4_xattr_user_list(struct dentry *dentry)
dentry             18 fs/ext4/xattr_user.c 	return test_opt(dentry->d_sb, XATTR_USER);
dentry             23 fs/ext4/xattr_user.c 		    struct dentry *unused, struct inode *inode,
dentry             34 fs/ext4/xattr_user.c 		    struct dentry *unused, struct inode *inode,
dentry             24 fs/f2fs/debug.c static struct dentry *f2fs_debugfs_root;
dentry            225 fs/f2fs/dir.c  		de = &d->dentry[bit_pos];
dentry            589 fs/f2fs/dir.c  	de = &d->dentry[bit_pos];
dentry            809 fs/f2fs/dir.c  void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page,
dentry            814 fs/f2fs/dir.c  	int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len));
dentry            823 fs/f2fs/dir.c  		return f2fs_delete_inline_entry(dentry, page, dir, inode);
dentry            829 fs/f2fs/dir.c  	bit_pos = dentry - dentry_blk->dentry;
dentry            917 fs/f2fs/dir.c  		de = &d->dentry[bit_pos];
dentry           1067 fs/f2fs/dir.c  static int f2fs_d_compare(const struct dentry *dentry, unsigned int len,
dentry           1071 fs/f2fs/dir.c  	const struct dentry *parent = READ_ONCE(dentry->d_parent);
dentry           1083 fs/f2fs/dir.c  static int f2fs_d_hash(const struct dentry *dentry, struct qstr *str)
dentry           1085 fs/f2fs/dir.c  	struct f2fs_sb_info *sbi = F2FS_SB(dentry->d_sb);
dentry           1087 fs/f2fs/dir.c  	const struct inode *inode = READ_ONCE(dentry->d_inode);
dentry           1104 fs/f2fs/dir.c  	str->hash = full_name_hash(dentry, norm, len);
dentry            503 fs/f2fs/f2fs.h 	struct f2fs_dir_entry *dentry;
dentry            516 fs/f2fs/f2fs.h 	d->dentry = t->dentry;
dentry            531 fs/f2fs/f2fs.h 	d->dentry = t + bitmap_size + reserved_size;
dentry           2931 fs/f2fs/f2fs.h int f2fs_setattr(struct dentry *dentry, struct iattr *attr);
dentry           2960 fs/f2fs/f2fs.h struct dentry *f2fs_get_parent(struct dentry *child);
dentry           3004 fs/f2fs/f2fs.h void f2fs_delete_entry(struct f2fs_dir_entry *dentry, struct page *page,
dentry           3009 fs/f2fs/f2fs.h static inline int f2fs_add_link(struct dentry *dentry, struct inode *inode)
dentry           3011 fs/f2fs/f2fs.h 	return f2fs_do_add_link(d_inode(dentry->d_parent), &dentry->d_name,
dentry           3508 fs/f2fs/f2fs.h void f2fs_delete_inline_entry(struct f2fs_dir_entry *dentry,
dentry            139 fs/f2fs/file.c 	struct dentry *dentry;
dentry            142 fs/f2fs/file.c 	dentry = d_find_any_alias(inode);
dentry            144 fs/f2fs/file.c 	if (!dentry)
dentry            147 fs/f2fs/file.c 	*pino = parent_ino(dentry);
dentry            148 fs/f2fs/file.c 	dput(dentry);
dentry            708 fs/f2fs/file.c 	struct inode *inode = d_inode(path->dentry);
dentry            773 fs/f2fs/file.c int f2fs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            775 fs/f2fs/file.c 	struct inode *inode = d_inode(dentry);
dentry            781 fs/f2fs/file.c 	err = setattr_prepare(dentry, attr);
dentry            785 fs/f2fs/file.c 	err = fscrypt_prepare_setattr(dentry, attr);
dentry            789 fs/f2fs/file.c 	err = fsverity_prepare_setattr(dentry, attr);
dentry            407 fs/f2fs/inline.c 	memcpy(dst.dentry, src.dentry, SIZE_OF_DIR_ENTRY * src.max);
dentry            455 fs/f2fs/inline.c 		de = &d.dentry[bit_pos];
dentry            609 fs/f2fs/inline.c void f2fs_delete_inline_entry(struct f2fs_dir_entry *dentry, struct page *page,
dentry            614 fs/f2fs/inline.c 	int slots = GET_DENTRY_SLOTS(le16_to_cpu(dentry->name_len));
dentry            624 fs/f2fs/inline.c 	bit_pos = dentry - d.dentry;
dentry            265 fs/f2fs/namei.c static int f2fs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            287 fs/f2fs/namei.c 		set_file_temperature(sbi, inode, dentry->d_name.name);
dentry            295 fs/f2fs/namei.c 	err = f2fs_add_link(dentry, inode);
dentry            302 fs/f2fs/namei.c 	d_instantiate_new(dentry, inode);
dentry            314 fs/f2fs/namei.c static int f2fs_link(struct dentry *old_dentry, struct inode *dir,
dentry            315 fs/f2fs/namei.c 		struct dentry *dentry)
dentry            326 fs/f2fs/namei.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
dentry            346 fs/f2fs/namei.c 	err = f2fs_add_link(dentry, inode);
dentry            351 fs/f2fs/namei.c 	d_instantiate(dentry, inode);
dentry            363 fs/f2fs/namei.c struct dentry *f2fs_get_parent(struct dentry *child)
dentry            426 fs/f2fs/namei.c static struct dentry *f2fs_lookup(struct inode *dir, struct dentry *dentry,
dentry            432 fs/f2fs/namei.c 	struct dentry *new;
dentry            438 fs/f2fs/namei.c 	trace_f2fs_lookup_start(dir, dentry, flags);
dentry            440 fs/f2fs/namei.c 	if (dentry->d_name.len > F2FS_NAME_LEN) {
dentry            445 fs/f2fs/namei.c 	err = fscrypt_prepare_lookup(dir, dentry, &fname);
dentry            497 fs/f2fs/namei.c 		trace_f2fs_lookup_end(dir, dentry, ino, err);
dentry            501 fs/f2fs/namei.c 	new = d_splice_alias(inode, dentry);
dentry            503 fs/f2fs/namei.c 	trace_f2fs_lookup_end(dir, dentry, ino, err);
dentry            508 fs/f2fs/namei.c 	trace_f2fs_lookup_end(dir, dentry, ino, err);
dentry            512 fs/f2fs/namei.c static int f2fs_unlink(struct inode *dir, struct dentry *dentry)
dentry            515 fs/f2fs/namei.c 	struct inode *inode = d_inode(dentry);
dentry            520 fs/f2fs/namei.c 	trace_f2fs_unlink_enter(dir, dentry);
dentry            532 fs/f2fs/namei.c 	de = f2fs_find_entry(dir, &dentry->d_name, &page);
dentry            557 fs/f2fs/namei.c 		d_invalidate(dentry);
dentry            568 fs/f2fs/namei.c static const char *f2fs_get_link(struct dentry *dentry,
dentry            572 fs/f2fs/namei.c 	const char *link = page_get_link(dentry, inode, done);
dentry            582 fs/f2fs/namei.c static int f2fs_symlink(struct inode *dir, struct dentry *dentry,
dentry            617 fs/f2fs/namei.c 	err = f2fs_add_link(dentry, inode);
dentry            630 fs/f2fs/namei.c 	d_instantiate_new(dentry, inode);
dentry            648 fs/f2fs/namei.c 		f2fs_unlink(dir, dentry);
dentry            662 fs/f2fs/namei.c static int f2fs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            686 fs/f2fs/namei.c 	err = f2fs_add_link(dentry, inode);
dentry            693 fs/f2fs/namei.c 	d_instantiate_new(dentry, inode);
dentry            707 fs/f2fs/namei.c static int f2fs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            709 fs/f2fs/namei.c 	struct inode *inode = d_inode(dentry);
dentry            711 fs/f2fs/namei.c 		return f2fs_unlink(dir, dentry);
dentry            715 fs/f2fs/namei.c static int f2fs_mknod(struct inode *dir, struct dentry *dentry,
dentry            739 fs/f2fs/namei.c 	err = f2fs_add_link(dentry, inode);
dentry            746 fs/f2fs/namei.c 	d_instantiate_new(dentry, inode);
dentry            758 fs/f2fs/namei.c static int __f2fs_tmpfile(struct inode *dir, struct dentry *dentry,
dentry            803 fs/f2fs/namei.c 		d_tmpfile(dentry, inode);
dentry            819 fs/f2fs/namei.c static int f2fs_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            834 fs/f2fs/namei.c 	return __f2fs_tmpfile(dir, dentry, mode, NULL);
dentry            845 fs/f2fs/namei.c static int f2fs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            846 fs/f2fs/namei.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry           1041 fs/f2fs/namei.c static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1042 fs/f2fs/namei.c 			     struct inode *new_dir, struct dentry *new_dentry)
dentry           1206 fs/f2fs/namei.c static int f2fs_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry           1207 fs/f2fs/namei.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry           1231 fs/f2fs/namei.c static const char *f2fs_encrypted_get_link(struct dentry *dentry,
dentry           1238 fs/f2fs/namei.c 	if (!dentry)
dentry           1245 fs/f2fs/super.c static int f2fs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           1247 fs/f2fs/super.c 	struct super_block *sb = dentry->d_sb;
dentry           1292 fs/f2fs/super.c 	if (is_inode_flag_set(dentry->d_inode, FI_PROJ_INHERIT) &&
dentry           1294 fs/f2fs/super.c 		f2fs_statfs_project(sb, F2FS_I(dentry->d_inode)->i_projid, buf);
dentry           1337 fs/f2fs/super.c static int f2fs_show_options(struct seq_file *seq, struct dentry *root)
dentry           2064 fs/f2fs/super.c 	inode = d_inode(path->dentry);
dentry           2351 fs/f2fs/super.c static struct dentry *f2fs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry           2358 fs/f2fs/super.c static struct dentry *f2fs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           3651 fs/f2fs/super.c static struct dentry *f2fs_mount(struct file_system_type *fs_type, int flags,
dentry             27 fs/f2fs/xattr.c 		struct dentry *unused, struct inode *inode,
dentry             48 fs/f2fs/xattr.c 		struct dentry *unused, struct inode *inode,
dentry             69 fs/f2fs/xattr.c static bool f2fs_xattr_user_list(struct dentry *dentry)
dentry             71 fs/f2fs/xattr.c 	struct f2fs_sb_info *sbi = F2FS_SB(dentry->d_sb);
dentry             76 fs/f2fs/xattr.c static bool f2fs_xattr_trusted_list(struct dentry *dentry)
dentry             82 fs/f2fs/xattr.c 		struct dentry *unused, struct inode *inode,
dentry             91 fs/f2fs/xattr.c 		struct dentry *unused, struct inode *inode,
dentry            539 fs/f2fs/xattr.c ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            541 fs/f2fs/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            572 fs/f2fs/xattr.c 		if (!handler || (handler->list && !handler->list(dentry)))
dentry            132 fs/f2fs/xattr.h extern ssize_t f2fs_listxattr(struct dentry *, char *, size_t);
dentry            148 fs/f2fs/xattr.h static inline ssize_t f2fs_listxattr(struct dentry *dentry, char *buffer,
dentry            400 fs/fat/fat.h   extern int fat_setattr(struct dentry *dentry, struct iattr *attr);
dentry             93 fs/fat/file.c  	err = security_inode_setattr(file->f_path.dentry, &ia);
dentry             98 fs/fat/file.c  	err = fat_setattr(file->f_path.dentry, &ia);
dentry            102 fs/fat/file.c  	fsnotify_change(file->f_path.dentry, ia.ia_valid);
dentry            411 fs/fat/file.c  	struct inode *inode = d_inode(path->dentry);
dentry            480 fs/fat/file.c  int fat_setattr(struct dentry *dentry, struct iattr *attr)
dentry            482 fs/fat/file.c  	struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb);
dentry            483 fs/fat/file.c  	struct inode *inode = d_inode(dentry);
dentry            494 fs/fat/file.c  	error = setattr_prepare(dentry, attr);
dentry            821 fs/fat/inode.c static int fat_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            823 fs/fat/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            829 fs/fat/inode.c 		int err = fat_count_free_clusters(dentry->d_sb);
dentry            834 fs/fat/inode.c 	buf->f_type = dentry->d_sb->s_magic;
dentry            927 fs/fat/inode.c static int fat_show_options(struct seq_file *m, struct dentry *root);
dentry            940 fs/fat/inode.c static int fat_show_options(struct seq_file *m, struct dentry *root)
dentry            151 fs/fat/namei_msdos.c static int msdos_hash(const struct dentry *dentry, struct qstr *qstr)
dentry            153 fs/fat/namei_msdos.c 	struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options;
dentry            159 fs/fat/namei_msdos.c 		qstr->hash = full_name_hash(dentry, msdos_name, MSDOS_NAME);
dentry            167 fs/fat/namei_msdos.c static int msdos_cmp(const struct dentry *dentry,
dentry            170 fs/fat/namei_msdos.c 	struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options;
dentry            201 fs/fat/namei_msdos.c static struct dentry *msdos_lookup(struct inode *dir, struct dentry *dentry,
dentry            210 fs/fat/namei_msdos.c 	err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo);
dentry            223 fs/fat/namei_msdos.c 	return d_splice_alias(inode, dentry);
dentry            264 fs/fat/namei_msdos.c static int msdos_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            276 fs/fat/namei_msdos.c 	err = msdos_format_name(dentry->d_name.name, dentry->d_name.len,
dentry            280 fs/fat/namei_msdos.c 	is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.');
dentry            301 fs/fat/namei_msdos.c 	d_instantiate(dentry, inode);
dentry            310 fs/fat/namei_msdos.c static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
dentry            313 fs/fat/namei_msdos.c 	struct inode *inode = d_inode(dentry);
dentry            321 fs/fat/namei_msdos.c 	err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo);
dentry            342 fs/fat/namei_msdos.c static int msdos_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            353 fs/fat/namei_msdos.c 	err = msdos_format_name(dentry->d_name.name, dentry->d_name.len,
dentry            357 fs/fat/namei_msdos.c 	is_hid = (dentry->d_name.name[0] == '.') && (msdos_name[0] != '.');
dentry            387 fs/fat/namei_msdos.c 	d_instantiate(dentry, inode);
dentry            401 fs/fat/namei_msdos.c static int msdos_unlink(struct inode *dir, struct dentry *dentry)
dentry            403 fs/fat/namei_msdos.c 	struct inode *inode = d_inode(dentry);
dentry            409 fs/fat/namei_msdos.c 	err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo);
dentry            428 fs/fat/namei_msdos.c 			   struct dentry *old_dentry,
dentry            430 fs/fat/namei_msdos.c 			   struct dentry *new_dentry, int is_hid)
dentry            596 fs/fat/namei_msdos.c static int msdos_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            597 fs/fat/namei_msdos.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry            656 fs/fat/namei_msdos.c static struct dentry *msdos_mount(struct file_system_type *fs_type,
dentry             27 fs/fat/namei_vfat.c static inline unsigned long vfat_d_version(struct dentry *dentry)
dentry             29 fs/fat/namei_vfat.c 	return (unsigned long) dentry->d_fsdata;
dentry             32 fs/fat/namei_vfat.c static inline void vfat_d_version_set(struct dentry *dentry,
dentry             35 fs/fat/namei_vfat.c 	dentry->d_fsdata = (void *) version;
dentry             46 fs/fat/namei_vfat.c static int vfat_revalidate_shortname(struct dentry *dentry)
dentry             49 fs/fat/namei_vfat.c 	spin_lock(&dentry->d_lock);
dentry             50 fs/fat/namei_vfat.c 	if (!inode_eq_iversion(d_inode(dentry->d_parent), vfat_d_version(dentry)))
dentry             52 fs/fat/namei_vfat.c 	spin_unlock(&dentry->d_lock);
dentry             56 fs/fat/namei_vfat.c static int vfat_revalidate(struct dentry *dentry, unsigned int flags)
dentry             62 fs/fat/namei_vfat.c 	if (d_really_is_positive(dentry))
dentry             64 fs/fat/namei_vfat.c 	return vfat_revalidate_shortname(dentry);
dentry             67 fs/fat/namei_vfat.c static int vfat_revalidate_ci(struct dentry *dentry, unsigned int flags)
dentry             82 fs/fat/namei_vfat.c 	if (d_really_is_positive(dentry))
dentry            100 fs/fat/namei_vfat.c 	return vfat_revalidate_shortname(dentry);
dentry            122 fs/fat/namei_vfat.c static int vfat_hash(const struct dentry *dentry, struct qstr *qstr)
dentry            124 fs/fat/namei_vfat.c 	qstr->hash = full_name_hash(dentry, qstr->name, vfat_striptail_len(qstr));
dentry            134 fs/fat/namei_vfat.c static int vfat_hashi(const struct dentry *dentry, struct qstr *qstr)
dentry            136 fs/fat/namei_vfat.c 	struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io;
dentry            144 fs/fat/namei_vfat.c 	hash = init_name_hash(dentry);
dentry            155 fs/fat/namei_vfat.c static int vfat_cmpi(const struct dentry *dentry,
dentry            158 fs/fat/namei_vfat.c 	struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io;
dentry            174 fs/fat/namei_vfat.c static int vfat_cmp(const struct dentry *dentry,
dentry            701 fs/fat/namei_vfat.c static struct dentry *vfat_lookup(struct inode *dir, struct dentry *dentry,
dentry            707 fs/fat/namei_vfat.c 	struct dentry *alias;
dentry            712 fs/fat/namei_vfat.c 	err = vfat_find(dir, &dentry->d_name, &sinfo);
dentry            733 fs/fat/namei_vfat.c 	if (alias && alias->d_parent == dentry->d_parent) {
dentry            742 fs/fat/namei_vfat.c 			d_move(alias, dentry);
dentry            752 fs/fat/namei_vfat.c 		vfat_d_version_set(dentry, inode_query_iversion(dir));
dentry            753 fs/fat/namei_vfat.c 	return d_splice_alias(inode, dentry);
dentry            759 fs/fat/namei_vfat.c static int vfat_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            771 fs/fat/namei_vfat.c 	err = vfat_add_entry(dir, &dentry->d_name, 0, 0, &ts, &sinfo);
dentry            786 fs/fat/namei_vfat.c 	d_instantiate(dentry, inode);
dentry            792 fs/fat/namei_vfat.c static int vfat_rmdir(struct inode *dir, struct dentry *dentry)
dentry            794 fs/fat/namei_vfat.c 	struct inode *inode = d_inode(dentry);
dentry            804 fs/fat/namei_vfat.c 	err = vfat_find(dir, &dentry->d_name, &sinfo);
dentry            816 fs/fat/namei_vfat.c 	vfat_d_version_set(dentry, inode_query_iversion(dir));
dentry            823 fs/fat/namei_vfat.c static int vfat_unlink(struct inode *dir, struct dentry *dentry)
dentry            825 fs/fat/namei_vfat.c 	struct inode *inode = d_inode(dentry);
dentry            832 fs/fat/namei_vfat.c 	err = vfat_find(dir, &dentry->d_name, &sinfo);
dentry            842 fs/fat/namei_vfat.c 	vfat_d_version_set(dentry, inode_query_iversion(dir));
dentry            849 fs/fat/namei_vfat.c static int vfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            865 fs/fat/namei_vfat.c 	err = vfat_add_entry(dir, &dentry->d_name, 1, cluster, &ts, &sinfo);
dentry            883 fs/fat/namei_vfat.c 	d_instantiate(dentry, inode);
dentry            895 fs/fat/namei_vfat.c static int vfat_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            896 fs/fat/namei_vfat.c 		       struct inode *new_dir, struct dentry *new_dentry,
dentry           1053 fs/fat/namei_vfat.c static struct dentry *vfat_mount(struct file_system_type *fs_type,
dentry            142 fs/fat/nfs.c   static struct dentry *fat_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            149 fs/fat/nfs.c   static struct dentry *fat_fh_to_dentry_nostale(struct super_block *sb,
dentry            180 fs/fat/nfs.c   static struct dentry *fat_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            187 fs/fat/nfs.c   static struct dentry *fat_fh_to_parent_nostale(struct super_block *sb,
dentry            262 fs/fat/nfs.c   static struct dentry *fat_get_parent(struct dentry *child_dir)
dentry             30 fs/fhandle.c   	if (!path->dentry->d_sb->s_export_op ||
dentry             31 fs/fhandle.c   	    !path->dentry->d_sb->s_export_op->fh_to_dentry)
dentry             49 fs/fhandle.c   	retval = exportfs_encode_fh(path->dentry,
dentry            134 fs/fhandle.c   static int vfs_dentry_acceptable(void *context, struct dentry *dentry)
dentry            152 fs/fhandle.c   	path->dentry = exportfs_decode_fh(path->mnt,
dentry            156 fs/fhandle.c   	if (IS_ERR(path->dentry)) {
dentry            157 fs/fhandle.c   		retval = PTR_ERR(path->dentry);
dentry            232 fs/fhandle.c   	file = file_open_root(path.dentry, path.mnt, "", open_flag, 0);
dentry            198 fs/file_table.c 	file->f_inode = path->dentry->d_inode;
dentry            199 fs/file_table.c 	file->f_mapping = path->dentry->d_inode->i_mapping;
dentry            210 fs/file_table.c 		i_readcount_inc(path->dentry->d_inode);
dentry            225 fs/file_table.c 	path.dentry = d_alloc_pseudo(mnt->mnt_sb, &this);
dentry            226 fs/file_table.c 	if (!path.dentry)
dentry            229 fs/file_table.c 		d_set_d_op(path.dentry, &anon_ops);
dentry            231 fs/file_table.c 	d_instantiate(path.dentry, inode);
dentry            256 fs/file_table.c 	struct dentry *dentry = file->f_path.dentry;
dentry            293 fs/file_table.c 	dput(dentry);
dentry             52 fs/freevxfs/vxfs_lookup.c static struct dentry *	vxfs_lookup(struct inode *, struct dentry *, unsigned int);
dentry             81 fs/freevxfs/vxfs_lookup.c vxfs_find_entry(struct inode *ip, struct dentry *dp, struct page **ppp)
dentry            156 fs/freevxfs/vxfs_lookup.c vxfs_inode_by_name(struct inode *dip, struct dentry *dp)
dentry            186 fs/freevxfs/vxfs_lookup.c static struct dentry *
dentry            187 fs/freevxfs/vxfs_lookup.c vxfs_lookup(struct inode *dip, struct dentry *dp, unsigned int flags)
dentry             99 fs/freevxfs/vxfs_super.c vxfs_statfs(struct dentry *dentry, struct kstatfs *bufp)
dentry            101 fs/freevxfs/vxfs_super.c 	struct vxfs_sb_info		*infp = VXFS_SBI(dentry->d_sb);
dentry            105 fs/freevxfs/vxfs_super.c 	bufp->f_bsize = dentry->d_sb->s_blocksize;
dentry            309 fs/freevxfs/vxfs_super.c static struct dentry *vxfs_mount(struct file_system_type *fs_type,
dentry           2198 fs/fs-writeback.c 		struct dentry *dentry;
dentry           2201 fs/fs-writeback.c 		dentry = d_find_alias(inode);
dentry           2202 fs/fs-writeback.c 		if (dentry) {
dentry           2203 fs/fs-writeback.c 			spin_lock(&dentry->d_lock);
dentry           2204 fs/fs-writeback.c 			name = (const char *) dentry->d_name.name;
dentry           2210 fs/fs-writeback.c 		if (dentry) {
dentry           2211 fs/fs-writeback.c 			spin_unlock(&dentry->d_lock);
dentry           2212 fs/fs-writeback.c 			dput(dentry);
dentry            252 fs/fs_context.c 				      struct dentry *reference,
dentry            312 fs/fs_context.c struct fs_context *fs_context_for_reconfigure(struct dentry *dentry,
dentry            316 fs/fs_context.c 	return alloc_fs_context(dentry->d_sb->s_type, dentry, sb_flags,
dentry            322 fs/fs_context.c 					   struct dentry *reference)
dentry            645 fs/fs_context.c 	struct dentry *root;
dentry            289 fs/fs_parser.c 	    !S_ISBLK(d_backing_inode(_path->dentry)->i_mode)) {
dentry            291 fs/fs_parser.c 		_path->dentry = NULL;
dentry             26 fs/fs_struct.c 	if (old_root.dentry)
dentry             46 fs/fs_struct.c 	if (old_pwd.dentry)
dentry             52 fs/fs_struct.c 	if (likely(p->dentry != old->dentry || p->mnt != old->mnt))
dentry            186 fs/fsopen.c    	if (target.mnt->mnt_root != target.dentry)
dentry            189 fs/fsopen.c    	fc = fs_context_for_reconfigure(target.dentry, 0, 0);
dentry            220 fs/fuse/control.c static struct dentry *fuse_ctl_add_dentry(struct dentry *parent,
dentry            227 fs/fuse/control.c 	struct dentry *dentry;
dentry            231 fs/fuse/control.c 	dentry = d_alloc_name(parent, name);
dentry            232 fs/fuse/control.c 	if (!dentry)
dentry            237 fs/fuse/control.c 		dput(dentry);
dentry            252 fs/fuse/control.c 	d_add(dentry, inode);
dentry            254 fs/fuse/control.c 	fc->ctl_dentry[fc->ctl_ndents++] = dentry;
dentry            256 fs/fuse/control.c 	return dentry;
dentry            265 fs/fuse/control.c 	struct dentry *parent;
dentry            310 fs/fuse/control.c 		struct dentry *dentry = fc->ctl_dentry[i];
dentry            311 fs/fuse/control.c 		d_inode(dentry)->i_private = NULL;
dentry            314 fs/fuse/control.c 			d_invalidate(dentry);
dentry            316 fs/fuse/control.c 		dput(dentry);
dentry             28 fs/fuse/dir.c  static inline void __fuse_dentry_settime(struct dentry *entry, u64 time)
dentry             33 fs/fuse/dir.c  static inline u64 fuse_dentry_time(const struct dentry *entry)
dentry             44 fs/fuse/dir.c  static inline void __fuse_dentry_settime(struct dentry *dentry, u64 time)
dentry             46 fs/fuse/dir.c  	((union fuse_dentry *) dentry->d_fsdata)->time = time;
dentry             49 fs/fuse/dir.c  static inline u64 fuse_dentry_time(const struct dentry *entry)
dentry             55 fs/fuse/dir.c  static void fuse_dentry_settime(struct dentry *dentry, u64 time)
dentry             57 fs/fuse/dir.c  	struct fuse_conn *fc = get_fuse_conn_super(dentry->d_sb);
dentry             63 fs/fuse/dir.c  	if ((!delete && (dentry->d_flags & DCACHE_OP_DELETE)) ||
dentry             64 fs/fuse/dir.c  	    (delete && !(dentry->d_flags & DCACHE_OP_DELETE))) {
dentry             65 fs/fuse/dir.c  		spin_lock(&dentry->d_lock);
dentry             67 fs/fuse/dir.c  			dentry->d_flags &= ~DCACHE_OP_DELETE;
dentry             69 fs/fuse/dir.c  			dentry->d_flags |= DCACHE_OP_DELETE;
dentry             70 fs/fuse/dir.c  		spin_unlock(&dentry->d_lock);
dentry             73 fs/fuse/dir.c  	__fuse_dentry_settime(dentry, time);
dentry            102 fs/fuse/dir.c  void fuse_change_entry_timeout(struct dentry *entry, struct fuse_entry_out *o)
dentry            156 fs/fuse/dir.c  void fuse_invalidate_entry_cache(struct dentry *entry)
dentry            165 fs/fuse/dir.c  static void fuse_invalidate_entry(struct dentry *entry)
dentry            195 fs/fuse/dir.c  static int fuse_dentry_revalidate(struct dentry *entry, unsigned int flags)
dentry            198 fs/fuse/dir.c  	struct dentry *parent;
dentry            281 fs/fuse/dir.c  static int fuse_dentry_init(struct dentry *dentry)
dentry            283 fs/fuse/dir.c  	dentry->d_fsdata = kzalloc(sizeof(union fuse_dentry),
dentry            286 fs/fuse/dir.c  	return dentry->d_fsdata ? 0 : -ENOMEM;
dentry            288 fs/fuse/dir.c  static void fuse_dentry_release(struct dentry *dentry)
dentry            290 fs/fuse/dir.c  	union fuse_dentry *fd = dentry->d_fsdata;
dentry            296 fs/fuse/dir.c  static int fuse_dentry_delete(const struct dentry *dentry)
dentry            298 fs/fuse/dir.c  	return time_before64(fuse_dentry_time(dentry), get_jiffies_64());
dentry            379 fs/fuse/dir.c  static struct dentry *fuse_lookup(struct inode *dir, struct dentry *entry,
dentry            385 fs/fuse/dir.c  	struct dentry *newent;
dentry            431 fs/fuse/dir.c  static int fuse_create_open(struct inode *dir, struct dentry *entry,
dentry            523 fs/fuse/dir.c  static int fuse_mknod(struct inode *, struct dentry *, umode_t, dev_t);
dentry            524 fs/fuse/dir.c  static int fuse_atomic_open(struct inode *dir, struct dentry *entry,
dentry            530 fs/fuse/dir.c  	struct dentry *res = NULL;
dentry            571 fs/fuse/dir.c  			    struct inode *dir, struct dentry *entry,
dentry            576 fs/fuse/dir.c  	struct dentry *d;
dentry            627 fs/fuse/dir.c  static int fuse_mknod(struct inode *dir, struct dentry *entry, umode_t mode,
dentry            650 fs/fuse/dir.c  static int fuse_create(struct inode *dir, struct dentry *entry, umode_t mode,
dentry            656 fs/fuse/dir.c  static int fuse_mkdir(struct inode *dir, struct dentry *entry, umode_t mode)
dentry            677 fs/fuse/dir.c  static int fuse_symlink(struct inode *dir, struct dentry *entry,
dentry            701 fs/fuse/dir.c  static int fuse_unlink(struct inode *dir, struct dentry *entry)
dentry            737 fs/fuse/dir.c  static int fuse_rmdir(struct inode *dir, struct dentry *entry)
dentry            758 fs/fuse/dir.c  static int fuse_rename_common(struct inode *olddir, struct dentry *oldent,
dentry            759 fs/fuse/dir.c  			      struct inode *newdir, struct dentry *newent,
dentry            814 fs/fuse/dir.c  static int fuse_rename2(struct inode *olddir, struct dentry *oldent,
dentry            815 fs/fuse/dir.c  			struct inode *newdir, struct dentry *newent,
dentry            844 fs/fuse/dir.c  static int fuse_link(struct dentry *entry, struct inode *newdir,
dentry            845 fs/fuse/dir.c  		     struct dentry *newent)
dentry           1010 fs/fuse/dir.c  	struct dentry *dir;
dentry           1011 fs/fuse/dir.c  	struct dentry *entry;
dentry           1245 fs/fuse/dir.c  static const char *fuse_get_link(struct dentry *dentry, struct inode *inode,
dentry           1257 fs/fuse/dir.c  		return page_get_link(dentry, inode, callback);
dentry           1260 fs/fuse/dir.c  	if (!dentry)
dentry           1490 fs/fuse/dir.c  int fuse_do_setattr(struct dentry *dentry, struct iattr *attr,
dentry           1493 fs/fuse/dir.c  	struct inode *inode = d_inode(dentry);
dentry           1508 fs/fuse/dir.c  	err = setattr_prepare(dentry, attr);
dentry           1627 fs/fuse/dir.c  static int fuse_setattr(struct dentry *entry, struct iattr *attr)
dentry           1689 fs/fuse/dir.c  	struct inode *inode = d_inode(path->dentry);
dentry            735 fs/fuse/fuse_i.h 	struct dentry *ctl_dentry[FUSE_CTL_NUM_DENTRIES];
dentry            936 fs/fuse/fuse_i.h void fuse_invalidate_entry_cache(struct dentry *entry);
dentry            941 fs/fuse/fuse_i.h void fuse_change_entry_timeout(struct dentry *entry, struct fuse_entry_out *o);
dentry           1058 fs/fuse/fuse_i.h int fuse_do_setattr(struct dentry *dentry, struct iattr *attr,
dentry           1070 fs/fuse/fuse_i.h ssize_t fuse_listxattr(struct dentry *entry, char *list, size_t size);
dentry            411 fs/fuse/inode.c static int fuse_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            413 fs/fuse/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            427 fs/fuse/inode.c 	args.nodeid = get_node_id(d_inode(dentry));
dentry            556 fs/fuse/inode.c static int fuse_show_options(struct seq_file *m, struct dentry *root)
dentry            670 fs/fuse/inode.c static struct dentry *fuse_get_dentry(struct super_block *sb,
dentry            675 fs/fuse/inode.c 	struct dentry *entry;
dentry            749 fs/fuse/inode.c static struct dentry *fuse_fh_to_dentry(struct super_block *sb,
dentry            763 fs/fuse/inode.c static struct dentry *fuse_fh_to_parent(struct super_block *sb,
dentry            777 fs/fuse/inode.c static struct dentry *fuse_get_parent(struct dentry *child)
dentry            782 fs/fuse/inode.c 	struct dentry *parent;
dentry           1124 fs/fuse/inode.c 	struct dentry *root_dentry;
dentry            154 fs/fuse/readdir.c 	struct dentry *parent = file->f_path.dentry;
dentry            156 fs/fuse/readdir.c 	struct dentry *dentry;
dentry            157 fs/fuse/readdir.c 	struct dentry *alias;
dentry            193 fs/fuse/readdir.c 	dentry = d_lookup(parent, &name);
dentry            194 fs/fuse/readdir.c 	if (!dentry) {
dentry            196 fs/fuse/readdir.c 		dentry = d_alloc_parallel(parent, &name, &wq);
dentry            197 fs/fuse/readdir.c 		if (IS_ERR(dentry))
dentry            198 fs/fuse/readdir.c 			return PTR_ERR(dentry);
dentry            200 fs/fuse/readdir.c 	if (!d_in_lookup(dentry)) {
dentry            202 fs/fuse/readdir.c 		inode = d_inode(dentry);
dentry            206 fs/fuse/readdir.c 			d_invalidate(dentry);
dentry            207 fs/fuse/readdir.c 			dput(dentry);
dentry            211 fs/fuse/readdir.c 			dput(dentry);
dentry            235 fs/fuse/readdir.c 		alias = d_splice_alias(inode, dentry);
dentry            236 fs/fuse/readdir.c 		d_lookup_done(dentry);
dentry            238 fs/fuse/readdir.c 			dput(dentry);
dentry            239 fs/fuse/readdir.c 			dentry = alias;
dentry            241 fs/fuse/readdir.c 		if (IS_ERR(dentry))
dentry            242 fs/fuse/readdir.c 			return PTR_ERR(dentry);
dentry            246 fs/fuse/readdir.c 	fuse_change_entry_timeout(dentry, o);
dentry            248 fs/fuse/readdir.c 	dput(dentry);
dentry            107 fs/fuse/xattr.c ssize_t fuse_listxattr(struct dentry *entry, char *list, size_t size)
dentry            178 fs/fuse/xattr.c 			 struct dentry *dentry, struct inode *inode,
dentry            185 fs/fuse/xattr.c 			  struct dentry *dentry, struct inode *inode,
dentry            195 fs/fuse/xattr.c static bool no_xattr_list(struct dentry *dentry)
dentry            201 fs/fuse/xattr.c 			struct dentry *dentry, struct inode *inode,
dentry            208 fs/fuse/xattr.c 			struct dentry *dentry, struct inode *nodee,
dentry             33 fs/gfs2/dentry.c static int gfs2_drevalidate(struct dentry *dentry, unsigned int flags)
dentry             35 fs/gfs2/dentry.c 	struct dentry *parent;
dentry             47 fs/gfs2/dentry.c 	parent = dget_parent(dentry);
dentry             50 fs/gfs2/dentry.c 	inode = d_inode(dentry);
dentry             70 fs/gfs2/dentry.c 	error = gfs2_dir_check(d_inode(parent), &dentry->d_name, ip);
dentry             80 fs/gfs2/dentry.c static int gfs2_dhash(const struct dentry *dentry, struct qstr *str)
dentry             86 fs/gfs2/dentry.c static int gfs2_dentry_delete(const struct dentry *dentry)
dentry             90 fs/gfs2/dentry.c 	if (d_really_is_negative(dentry))
dentry             93 fs/gfs2/dentry.c 	ginode = GFS2_I(d_inode(dentry));
dentry           1875 fs/gfs2/dir.c  int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry)
dentry           1877 fs/gfs2/dir.c  	const struct qstr *name = &dentry->d_name;
dentry           1915 fs/gfs2/dir.c  	if (d_is_dir(dentry))
dentry             38 fs/gfs2/dir.h  extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry);
dentry             85 fs/gfs2/export.c static int gfs2_get_name(struct dentry *parent, char *name,
dentry             86 fs/gfs2/export.c 			 struct dentry *child)
dentry            126 fs/gfs2/export.c static struct dentry *gfs2_get_parent(struct dentry *child)
dentry            131 fs/gfs2/export.c static struct dentry *gfs2_get_dentry(struct super_block *sb,
dentry            144 fs/gfs2/export.c static struct dentry *gfs2_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            166 fs/gfs2/export.c static struct dentry *gfs2_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry             62 fs/gfs2/glock.c static struct dentry *gfs2_root;
dentry            736 fs/gfs2/incore.h 	struct dentry *sd_master_dir;
dentry            737 fs/gfs2/incore.h 	struct dentry *sd_root_dir;
dentry            854 fs/gfs2/incore.h 	struct dentry *debugfs_dir;    /* debugfs directory */
dentry            577 fs/gfs2/inode.c static int gfs2_create_inode(struct inode *dir, struct dentry *dentry,
dentry            582 fs/gfs2/inode.c 	const struct qstr *name = &dentry->d_name;
dentry            614 fs/gfs2/inode.c 	inode = gfs2_dir_search(dir, &dentry->d_name, !S_ISREG(mode) || excl);
dentry            622 fs/gfs2/inode.c 		d_instantiate(dentry, inode);
dentry            626 fs/gfs2/inode.c 				error = finish_open(file, dentry, gfs2_open_common);
dentry            767 fs/gfs2/inode.c 	d_instantiate(dentry, inode);
dentry            770 fs/gfs2/inode.c 		error = finish_open(file, dentry, gfs2_open_common);
dentry            819 fs/gfs2/inode.c static int gfs2_create(struct inode *dir, struct dentry *dentry,
dentry            822 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, NULL, S_IFREG | mode, 0, NULL, 0, excl);
dentry            835 fs/gfs2/inode.c static struct dentry *__gfs2_lookup(struct inode *dir, struct dentry *dentry,
dentry            839 fs/gfs2/inode.c 	struct dentry *d;
dentry            844 fs/gfs2/inode.c 	inode = gfs2_lookupi(dir, &dentry->d_name, 0);
dentry            846 fs/gfs2/inode.c 		d_add(dentry, NULL);
dentry            859 fs/gfs2/inode.c 	d = d_splice_alias(inode, dentry);
dentry            865 fs/gfs2/inode.c 		error = finish_open(file, dentry, gfs2_open_common);
dentry            875 fs/gfs2/inode.c static struct dentry *gfs2_lookup(struct inode *dir, struct dentry *dentry,
dentry            878 fs/gfs2/inode.c 	return __gfs2_lookup(dir, dentry, NULL);
dentry            893 fs/gfs2/inode.c static int gfs2_link(struct dentry *old_dentry, struct inode *dir,
dentry            894 fs/gfs2/inode.c 		     struct dentry *dentry)
dentry            931 fs/gfs2/inode.c 	error = gfs2_dir_check(dir, &dentry->d_name, NULL);
dentry            957 fs/gfs2/inode.c 	error = gfs2_diradd_alloc_required(dir, &dentry->d_name, &da);
dentry            984 fs/gfs2/inode.c 	error = gfs2_dir_add(dir, &dentry->d_name, ip, &da);
dentry            992 fs/gfs2/inode.c 	d_instantiate(dentry, inode);
dentry           1063 fs/gfs2/inode.c 			     const struct dentry *dentry)
dentry           1065 fs/gfs2/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1069 fs/gfs2/inode.c 	error = gfs2_dir_del(dip, dentry);
dentry           1097 fs/gfs2/inode.c static int gfs2_unlink(struct inode *dir, struct dentry *dentry)
dentry           1101 fs/gfs2/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1145 fs/gfs2/inode.c 	error = gfs2_unlink_ok(dip, &dentry->d_name, ip);
dentry           1153 fs/gfs2/inode.c 	error = gfs2_unlink_inode(dip, dentry);
dentry           1179 fs/gfs2/inode.c static int gfs2_symlink(struct inode *dir, struct dentry *dentry,
dentry           1188 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, NULL, S_IFLNK | S_IRWXUGO, 0, symname, size, 0);
dentry           1200 fs/gfs2/inode.c static int gfs2_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1203 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, NULL, S_IFDIR | mode, 0, NULL, dsize, 0);
dentry           1215 fs/gfs2/inode.c static int gfs2_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           1218 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, NULL, mode, dev, NULL, 0, 0);
dentry           1232 fs/gfs2/inode.c static int gfs2_atomic_open(struct inode *dir, struct dentry *dentry,
dentry           1236 fs/gfs2/inode.c 	struct dentry *d;
dentry           1239 fs/gfs2/inode.c 	if (!d_in_lookup(dentry))
dentry           1242 fs/gfs2/inode.c 	d = __gfs2_lookup(dir, dentry, file);
dentry           1246 fs/gfs2/inode.c 		dentry = d;
dentry           1247 fs/gfs2/inode.c 	if (d_really_is_positive(dentry)) {
dentry           1260 fs/gfs2/inode.c 	return gfs2_create_inode(dir, dentry, file, S_IFREG | mode, 0, NULL, 0, excl);
dentry           1343 fs/gfs2/inode.c static int gfs2_rename(struct inode *odir, struct dentry *odentry,
dentry           1344 fs/gfs2/inode.c 		       struct inode *ndir, struct dentry *ndentry)
dentry           1585 fs/gfs2/inode.c static int gfs2_exchange(struct inode *odir, struct dentry *odentry,
dentry           1586 fs/gfs2/inode.c 			 struct inode *ndir, struct dentry *ndentry,
dentry           1721 fs/gfs2/inode.c static int gfs2_rename2(struct inode *odir, struct dentry *odentry,
dentry           1722 fs/gfs2/inode.c 			struct inode *ndir, struct dentry *ndentry,
dentry           1747 fs/gfs2/inode.c static const char *gfs2_get_link(struct dentry *dentry,
dentry           1758 fs/gfs2/inode.c 	if (!dentry)
dentry           1937 fs/gfs2/inode.c static int gfs2_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1939 fs/gfs2/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1956 fs/gfs2/inode.c 	error = setattr_prepare(dentry, attr);
dentry           1996 fs/gfs2/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            441 fs/gfs2/ops_fstype.c static int gfs2_lookup_root(struct super_block *sb, struct dentry **dptr,
dentry            445 fs/gfs2/ops_fstype.c 	struct dentry *dentry;
dentry            454 fs/gfs2/ops_fstype.c 	dentry = d_make_root(inode);
dentry            455 fs/gfs2/ops_fstype.c 	if (!dentry) {
dentry            459 fs/gfs2/ops_fstype.c 	*dptr = dentry;
dentry           1592 fs/gfs2/ops_fstype.c 	fc->sget_key = path.dentry->d_sb->s_bdev;
dentry            946 fs/gfs2/super.c static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            948 fs/gfs2/super.c 	struct super_block *sb = dentry->d_sb;
dentry           1023 fs/gfs2/super.c static int is_ancestor(const struct dentry *d1, const struct dentry *d2)
dentry           1041 fs/gfs2/super.c static int gfs2_show_options(struct seq_file *s, struct dentry *root)
dentry            398 fs/gfs2/xattr.c ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            400 fs/gfs2/xattr.c 	struct gfs2_inode *ip = GFS2_I(d_inode(dentry));
dentry            590 fs/gfs2/xattr.c 			  struct dentry *unused, struct inode *inode,
dentry           1217 fs/gfs2/xattr.c 			  struct dentry *unused, struct inode *inode,
dentry             56 fs/gfs2/xattr.h extern ssize_t gfs2_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry            117 fs/hfs/attr.c  			 struct dentry *unused, struct inode *inode,
dentry            124 fs/hfs/attr.c  			 struct dentry *unused, struct inode *inode,
dentry             20 fs/hfs/dir.c   static struct dentry *hfs_lookup(struct inode *dir, struct dentry *dentry,
dentry             31 fs/hfs/dir.c   	hfs_cat_build_key(dir->i_sb, fd.search_key, dir->i_ino, &dentry->d_name);
dentry             42 fs/hfs/dir.c   	return d_splice_alias(inode, dentry);
dentry            192 fs/hfs/dir.c   static int hfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            198 fs/hfs/dir.c   	inode = hfs_new_inode(dir, &dentry->d_name, mode);
dentry            202 fs/hfs/dir.c   	res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode);
dentry            209 fs/hfs/dir.c   	d_instantiate(dentry, inode);
dentry            222 fs/hfs/dir.c   static int hfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            227 fs/hfs/dir.c   	inode = hfs_new_inode(dir, &dentry->d_name, S_IFDIR | mode);
dentry            231 fs/hfs/dir.c   	res = hfs_cat_create(inode->i_ino, dir, &dentry->d_name, inode);
dentry            238 fs/hfs/dir.c   	d_instantiate(dentry, inode);
dentry            254 fs/hfs/dir.c   static int hfs_remove(struct inode *dir, struct dentry *dentry)
dentry            256 fs/hfs/dir.c   	struct inode *inode = d_inode(dentry);
dentry            261 fs/hfs/dir.c   	res = hfs_cat_delete(inode->i_ino, dir, &dentry->d_name);
dentry            282 fs/hfs/dir.c   static int hfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            283 fs/hfs/dir.c   		      struct inode *new_dir, struct dentry *new_dentry,
dentry            207 fs/hfs/hfs_fs.h extern int hfs_inode_setattr(struct dentry *, struct iattr *);
dentry            229 fs/hfs/hfs_fs.h extern int hfs_hash_dentry(const struct dentry *, struct qstr *);
dentry            232 fs/hfs/hfs_fs.h extern int hfs_compare_dentry(const struct dentry *dentry,
dentry            506 fs/hfs/inode.c static struct dentry *hfs_file_lookup(struct inode *dir, struct dentry *dentry,
dentry            514 fs/hfs/inode.c 	if (HFS_IS_RSRC(dir) || strcmp(dentry->d_name.name, "rsrc"))
dentry            546 fs/hfs/inode.c 	dont_mount(dentry);
dentry            548 fs/hfs/inode.c 	return d_splice_alias(inode, dentry);
dentry            604 fs/hfs/inode.c int hfs_inode_setattr(struct dentry *dentry, struct iattr * attr)
dentry            606 fs/hfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            610 fs/hfs/inode.c 	error = setattr_prepare(dentry, attr); /* basic permission checks */
dentry             54 fs/hfs/string.c int hfs_hash_dentry(const struct dentry *dentry, struct qstr *this)
dentry             62 fs/hfs/string.c 	hash = init_name_hash(dentry);
dentry             95 fs/hfs/string.c int hfs_compare_dentry(const struct dentry *dentry,
dentry             95 fs/hfs/super.c static int hfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry             97 fs/hfs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            134 fs/hfs/super.c static int hfs_show_options(struct seq_file *seq, struct dentry *root)
dentry            454 fs/hfs/super.c static struct dentry *hfs_mount(struct file_system_type *fs_type,
dentry             16 fs/hfs/sysdep.c static int hfs_revalidate_dentry(struct dentry *dentry, unsigned int flags)
dentry             24 fs/hfs/sysdep.c 	inode = d_inode(dentry);
dentry             22 fs/hfsplus/dir.c static inline void hfsplus_instantiate(struct dentry *dentry,
dentry             25 fs/hfsplus/dir.c 	dentry->d_fsdata = (void *)(unsigned long)cnid;
dentry             26 fs/hfsplus/dir.c 	d_instantiate(dentry, inode);
dentry             30 fs/hfsplus/dir.c static struct dentry *hfsplus_lookup(struct inode *dir, struct dentry *dentry,
dentry             43 fs/hfsplus/dir.c 	dentry->d_fsdata = NULL;
dentry             48 fs/hfsplus/dir.c 			&dentry->d_name);
dentry             69 fs/hfsplus/dir.c 		dentry->d_fsdata = (void *)(unsigned long)cnid;
dentry             90 fs/hfsplus/dir.c 			if (dentry->d_fsdata) {
dentry             95 fs/hfsplus/dir.c 				cnid = (unsigned long)dentry->d_fsdata;
dentry             98 fs/hfsplus/dir.c 				dentry->d_fsdata = (void *)(unsigned long)cnid;
dentry            110 fs/hfsplus/dir.c 		} else if (!dentry->d_fsdata)
dentry            111 fs/hfsplus/dir.c 			dentry->d_fsdata = (void *)(unsigned long)cnid;
dentry            124 fs/hfsplus/dir.c 	return d_splice_alias(inode, dentry);
dentry            300 fs/hfsplus/dir.c static int hfsplus_link(struct dentry *src_dentry, struct inode *dst_dir,
dentry            301 fs/hfsplus/dir.c 			struct dentry *dst_dentry)
dentry            358 fs/hfsplus/dir.c static int hfsplus_unlink(struct inode *dir, struct dentry *dentry)
dentry            361 fs/hfsplus/dir.c 	struct inode *inode = d_inode(dentry);
dentry            371 fs/hfsplus/dir.c 	cnid = (u32)(unsigned long)dentry->d_fsdata;
dentry            377 fs/hfsplus/dir.c 					 dir, &dentry->d_name,
dentry            385 fs/hfsplus/dir.c 	res = hfsplus_delete_cat(cnid, dir, &dentry->d_name);
dentry            415 fs/hfsplus/dir.c static int hfsplus_rmdir(struct inode *dir, struct dentry *dentry)
dentry            418 fs/hfsplus/dir.c 	struct inode *inode = d_inode(dentry);
dentry            425 fs/hfsplus/dir.c 	res = hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name);
dentry            437 fs/hfsplus/dir.c static int hfsplus_symlink(struct inode *dir, struct dentry *dentry,
dentry            453 fs/hfsplus/dir.c 	res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode);
dentry            457 fs/hfsplus/dir.c 	res = hfsplus_init_security(inode, dir, &dentry->d_name);
dentry            462 fs/hfsplus/dir.c 		hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name);
dentry            466 fs/hfsplus/dir.c 	hfsplus_instantiate(dentry, inode, inode->i_ino);
dentry            479 fs/hfsplus/dir.c static int hfsplus_mknod(struct inode *dir, struct dentry *dentry,
dentry            494 fs/hfsplus/dir.c 	res = hfsplus_create_cat(inode->i_ino, dir, &dentry->d_name, inode);
dentry            498 fs/hfsplus/dir.c 	res = hfsplus_init_security(inode, dir, &dentry->d_name);
dentry            503 fs/hfsplus/dir.c 		hfsplus_delete_cat(inode->i_ino, dir, &dentry->d_name);
dentry            507 fs/hfsplus/dir.c 	hfsplus_instantiate(dentry, inode, inode->i_ino);
dentry            520 fs/hfsplus/dir.c static int hfsplus_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            523 fs/hfsplus/dir.c 	return hfsplus_mknod(dir, dentry, mode, 0);
dentry            526 fs/hfsplus/dir.c static int hfsplus_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            528 fs/hfsplus/dir.c 	return hfsplus_mknod(dir, dentry, mode | S_IFDIR, 0);
dentry            531 fs/hfsplus/dir.c static int hfsplus_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            532 fs/hfsplus/dir.c 			  struct inode *new_dir, struct dentry *new_dentry,
dentry            503 fs/hfsplus/hfsplus_fs.h int hfsplus_show_options(struct seq_file *seq, struct dentry *root);
dentry            527 fs/hfsplus/hfsplus_fs.h int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str);
dentry            528 fs/hfsplus/hfsplus_fs.h int hfsplus_compare_dentry(const struct dentry *dentry, unsigned int len,
dentry            244 fs/hfsplus/inode.c static int hfsplus_setattr(struct dentry *dentry, struct iattr *attr)
dentry            246 fs/hfsplus/inode.c 	struct inode *inode = d_inode(dentry);
dentry            249 fs/hfsplus/inode.c 	error = setattr_prepare(dentry, attr);
dentry            276 fs/hfsplus/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry             29 fs/hfsplus/ioctl.c 	struct dentry *dentry = file->f_path.dentry;
dentry             30 fs/hfsplus/ioctl.c 	struct inode *inode = d_inode(dentry);
dentry             34 fs/hfsplus/ioctl.c 	u32 cnid = (unsigned long)dentry->d_fsdata;
dentry             43 fs/hfsplus/ioctl.c 		cpu_to_be32(parent_ino(dentry));
dentry             54 fs/hfsplus/ioctl.c 		cpu_to_be32(parent_ino(dentry));
dentry            217 fs/hfsplus/options.c int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
dentry            310 fs/hfsplus/super.c static int hfsplus_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            312 fs/hfsplus/super.c 	struct super_block *sb = dentry->d_sb;
dentry            639 fs/hfsplus/super.c static struct dentry *hfsplus_mount(struct file_system_type *fs_type,
dentry            384 fs/hfsplus/unicode.c int hfsplus_hash_dentry(const struct dentry *dentry, struct qstr *str)
dentry            386 fs/hfsplus/unicode.c 	struct super_block *sb = dentry->d_sb;
dentry            397 fs/hfsplus/unicode.c 	hash = init_name_hash(dentry);
dentry            436 fs/hfsplus/unicode.c int hfsplus_compare_dentry(const struct dentry *dentry,
dentry            439 fs/hfsplus/unicode.c 	struct super_block *sb = dentry->d_sb;
dentry            607 fs/hfsplus/xattr.c static ssize_t hfsplus_listxattr_finder_info(struct dentry *dentry,
dentry            611 fs/hfsplus/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            675 fs/hfsplus/xattr.c ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            679 fs/hfsplus/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            691 fs/hfsplus/xattr.c 	res = hfsplus_listxattr_finder_info(dentry, buffer, size);
dentry            841 fs/hfsplus/xattr.c 				struct dentry *unused, struct inode *inode,
dentry            861 fs/hfsplus/xattr.c 				struct dentry *unused, struct inode *inode,
dentry             36 fs/hfsplus/xattr.h ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry             17 fs/hfsplus/xattr_security.c 				     struct dentry *unused, struct inode *inode,
dentry             26 fs/hfsplus/xattr_security.c 				     struct dentry *unused, struct inode *inode,
dentry             16 fs/hfsplus/xattr_trusted.c 				    struct dentry *unused, struct inode *inode,
dentry             25 fs/hfsplus/xattr_trusted.c 				    struct dentry *unused, struct inode *inode,
dentry             16 fs/hfsplus/xattr_user.c 				 struct dentry *unused, struct inode *inode,
dentry             25 fs/hfsplus/xattr_user.c 				 struct dentry *unused, struct inode *inode,
dentry             84 fs/hostfs/hostfs_kern.c static char *__dentry_name(struct dentry *dentry, char *name)
dentry             86 fs/hostfs/hostfs_kern.c 	char *p = dentry_path_raw(dentry, name, PATH_MAX);
dentry             90 fs/hostfs/hostfs_kern.c 	root = dentry->d_sb->s_fs_info;
dentry            115 fs/hostfs/hostfs_kern.c static char *dentry_name(struct dentry *dentry)
dentry            121 fs/hostfs/hostfs_kern.c 	return __dentry_name(dentry, name);
dentry            126 fs/hostfs/hostfs_kern.c 	struct dentry *dentry;
dentry            129 fs/hostfs/hostfs_kern.c 	dentry = d_find_alias(ino);
dentry            130 fs/hostfs/hostfs_kern.c 	if (!dentry)
dentry            133 fs/hostfs/hostfs_kern.c 	name = dentry_name(dentry);
dentry            135 fs/hostfs/hostfs_kern.c 	dput(dentry);
dentry            193 fs/hostfs/hostfs_kern.c static int hostfs_statfs(struct dentry *dentry, struct kstatfs *sf)
dentry            207 fs/hostfs/hostfs_kern.c 	err = do_statfs(dentry->d_sb->s_fs_info,
dentry            251 fs/hostfs/hostfs_kern.c static int hostfs_show_options(struct seq_file *seq, struct dentry *root)
dentry            281 fs/hostfs/hostfs_kern.c 	name = dentry_name(file->f_path.dentry);
dentry            320 fs/hostfs/hostfs_kern.c 	name = dentry_name(file->f_path.dentry);
dentry            560 fs/hostfs/hostfs_kern.c static int hostfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            574 fs/hostfs/hostfs_kern.c 	name = dentry_name(dentry);
dentry            590 fs/hostfs/hostfs_kern.c 	d_instantiate(dentry, inode);
dentry            599 fs/hostfs/hostfs_kern.c static struct dentry *hostfs_lookup(struct inode *ino, struct dentry *dentry,
dentry            611 fs/hostfs/hostfs_kern.c 	name = dentry_name(dentry);
dentry            621 fs/hostfs/hostfs_kern.c 	return d_splice_alias(inode, dentry);
dentry            624 fs/hostfs/hostfs_kern.c static int hostfs_link(struct dentry *to, struct inode *ino,
dentry            625 fs/hostfs/hostfs_kern.c 		       struct dentry *from)
dentry            643 fs/hostfs/hostfs_kern.c static int hostfs_unlink(struct inode *ino, struct dentry *dentry)
dentry            651 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
dentry            659 fs/hostfs/hostfs_kern.c static int hostfs_symlink(struct inode *ino, struct dentry *dentry,
dentry            665 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
dentry            672 fs/hostfs/hostfs_kern.c static int hostfs_mkdir(struct inode *ino, struct dentry *dentry, umode_t mode)
dentry            677 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
dentry            684 fs/hostfs/hostfs_kern.c static int hostfs_rmdir(struct inode *ino, struct dentry *dentry)
dentry            689 fs/hostfs/hostfs_kern.c 	if ((file = dentry_name(dentry)) == NULL)
dentry            696 fs/hostfs/hostfs_kern.c static int hostfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry            709 fs/hostfs/hostfs_kern.c 	name = dentry_name(dentry);
dentry            723 fs/hostfs/hostfs_kern.c 	d_instantiate(dentry, inode);
dentry            734 fs/hostfs/hostfs_kern.c static int hostfs_rename2(struct inode *old_dir, struct dentry *old_dentry,
dentry            735 fs/hostfs/hostfs_kern.c 			  struct inode *new_dir, struct dentry *new_dentry,
dentry            788 fs/hostfs/hostfs_kern.c static int hostfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            790 fs/hostfs/hostfs_kern.c 	struct inode *inode = d_inode(dentry);
dentry            797 fs/hostfs/hostfs_kern.c 	err = setattr_prepare(dentry, attr);
dentry            839 fs/hostfs/hostfs_kern.c 	name = dentry_name(dentry);
dentry            875 fs/hostfs/hostfs_kern.c static const char *hostfs_get_link(struct dentry *dentry,
dentry            880 fs/hostfs/hostfs_kern.c 	if (!dentry)
dentry            884 fs/hostfs/hostfs_kern.c 		char *path = dentry_name(dentry);
dentry            966 fs/hostfs/hostfs_kern.c static struct dentry *hostfs_read_sb(struct file_system_type *type,
dentry             16 fs/hpfs/dentry.c static int hpfs_hash_dentry(const struct dentry *dentry, struct qstr *qstr)
dentry             30 fs/hpfs/dentry.c 	hash = init_name_hash(dentry);
dentry             32 fs/hpfs/dentry.c 		hash = partial_name_hash(hpfs_upcase(hpfs_sb(dentry->d_sb)->sb_cp_table,qstr->name[i]), hash);
dentry             38 fs/hpfs/dentry.c static int hpfs_compare_dentry(const struct dentry *dentry,
dentry             54 fs/hpfs/dentry.c 	if (hpfs_compare_names(dentry->d_sb, str, al, name->name, bl, 0))
dentry            202 fs/hpfs/dir.c  struct dentry *hpfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            204 fs/hpfs/dir.c  	const unsigned char *name = dentry->d_name.name;
dentry            205 fs/hpfs/dir.c  	unsigned len = dentry->d_name.len;
dentry            317 fs/hpfs/dir.c  	return d_splice_alias(result, dentry);
dentry            240 fs/hpfs/hpfs_fn.h struct dentry *hpfs_lookup(struct inode *, struct dentry *, unsigned int);
dentry            283 fs/hpfs/hpfs_fn.h int hpfs_setattr(struct dentry *, struct iattr *);
dentry            260 fs/hpfs/inode.c int hpfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            262 fs/hpfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            277 fs/hpfs/inode.c 	error = setattr_prepare(dentry, attr);
dentry             23 fs/hpfs/namei.c static int hpfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry             25 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry             26 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            115 fs/hpfs/namei.c 	d_instantiate(dentry, result);
dentry            131 fs/hpfs/namei.c static int hpfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
dentry            133 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            134 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            204 fs/hpfs/namei.c 	d_instantiate(dentry, result);
dentry            218 fs/hpfs/namei.c static int hpfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry            220 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            221 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            278 fs/hpfs/namei.c 	d_instantiate(dentry, result);
dentry            292 fs/hpfs/namei.c static int hpfs_symlink(struct inode *dir, struct dentry *dentry, const char *symlink)
dentry            294 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            295 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            358 fs/hpfs/namei.c 	d_instantiate(dentry, result);
dentry            371 fs/hpfs/namei.c static int hpfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            373 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            374 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            377 fs/hpfs/namei.c 	struct inode *inode = d_inode(dentry);
dentry            422 fs/hpfs/namei.c static int hpfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            424 fs/hpfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            425 fs/hpfs/namei.c 	unsigned len = dentry->d_name.len;
dentry            428 fs/hpfs/namei.c 	struct inode *inode = d_inode(dentry);
dentry            510 fs/hpfs/namei.c static int hpfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            511 fs/hpfs/namei.c 		       struct inode *new_dir, struct dentry *new_dentry,
dentry            177 fs/hpfs/super.c static int hpfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            179 fs/hpfs/super.c 	struct super_block *s = dentry->d_sb;
dentry            495 fs/hpfs/super.c static int hpfs_show_options(struct seq_file *seq, struct dentry *root)
dentry            756 fs/hpfs/super.c static struct dentry *hpfs_mount(struct file_system_type *fs_type,
dentry            694 fs/hugetlbfs/inode.c static int hugetlbfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            696 fs/hugetlbfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            704 fs/hugetlbfs/inode.c 	error = setattr_prepare(dentry, attr);
dentry            819 fs/hugetlbfs/inode.c 			struct dentry *dentry, umode_t mode, dev_t dev)
dentry            827 fs/hugetlbfs/inode.c 		d_instantiate(dentry, inode);
dentry            828 fs/hugetlbfs/inode.c 		dget(dentry);	/* Extra count - pin the dentry in core */
dentry            834 fs/hugetlbfs/inode.c static int hugetlbfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            836 fs/hugetlbfs/inode.c 	int retval = hugetlbfs_mknod(dir, dentry, mode | S_IFDIR, 0);
dentry            842 fs/hugetlbfs/inode.c static int hugetlbfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
dentry            844 fs/hugetlbfs/inode.c 	return hugetlbfs_mknod(dir, dentry, mode | S_IFREG, 0);
dentry            848 fs/hugetlbfs/inode.c 			struct dentry *dentry, const char *symname)
dentry            858 fs/hugetlbfs/inode.c 			d_instantiate(dentry, inode);
dentry            859 fs/hugetlbfs/inode.c 			dget(dentry);
dentry            924 fs/hugetlbfs/inode.c static int hugetlbfs_show_options(struct seq_file *m, struct dentry *root)
dentry            961 fs/hugetlbfs/inode.c static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            963 fs/hugetlbfs/inode.c 	struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb);
dentry            964 fs/hugetlbfs/inode.c 	struct hstate *h = hstate_inode(d_inode(dentry));
dentry           1741 fs/inode.c     	struct inode *inode = d_inode(path->dentry);
dentry           1775 fs/inode.c     int should_remove_suid(struct dentry *dentry)
dentry           1777 fs/inode.c     	umode_t mode = d_inode(dentry)->i_mode;
dentry           1803 fs/inode.c     int dentry_needs_remove_privs(struct dentry *dentry)
dentry           1805 fs/inode.c     	struct inode *inode = d_inode(dentry);
dentry           1812 fs/inode.c     	mask = should_remove_suid(dentry);
dentry           1813 fs/inode.c     	ret = security_inode_need_killpriv(dentry);
dentry           1821 fs/inode.c     static int __remove_privs(struct dentry *dentry, int kill)
dentry           1830 fs/inode.c     	return notify_change(dentry, &newattrs, NULL);
dentry           1839 fs/inode.c     	struct dentry *dentry = file_dentry(file);
dentry           1853 fs/inode.c     	kill = dentry_needs_remove_privs(dentry);
dentry           1857 fs/inode.c     		error = __remove_privs(dentry, kill);
dentry             65 fs/internal.h  extern int vfs_path_lookup(struct dentry *, struct vfsmount *,
dentry            125 fs/internal.h  extern struct file *do_file_open_root(struct dentry *, struct vfsmount *,
dentry            141 fs/internal.h  extern int dentry_needs_remove_privs(struct dentry *dentry);
dentry            154 fs/internal.h  extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
dentry            155 fs/internal.h  extern int d_set_mounted(struct dentry *dentry);
dentry            157 fs/internal.h  extern struct dentry *d_alloc_cursor(struct dentry *);
dentry            158 fs/internal.h  extern struct dentry * d_alloc_pseudo(struct super_block *, const struct qstr *);
dentry            159 fs/internal.h  extern char *simple_dname(struct dentry *, char *, int);
dentry            160 fs/internal.h  extern void dput_to_list(struct dentry *, struct list_head *);
dentry             19 fs/isofs/export.c static struct dentry *
dentry             44 fs/isofs/export.c static struct dentry *isofs_export_get_parent(struct dentry *child)
dentry             52 fs/isofs/export.c 	struct dentry *rv = NULL;
dentry            162 fs/isofs/export.c static struct dentry *isofs_fh_to_dentry(struct super_block *sb,
dentry            174 fs/isofs/export.c static struct dentry *isofs_fh_to_parent(struct super_block *sb,
dentry             38 fs/isofs/inode.c static int isofs_hashi(const struct dentry *parent, struct qstr *qstr);
dentry             39 fs/isofs/inode.c static int isofs_dentry_cmpi(const struct dentry *dentry,
dentry             43 fs/isofs/inode.c static int isofs_hashi_ms(const struct dentry *parent, struct qstr *qstr);
dentry             44 fs/isofs/inode.c static int isofs_hash_ms(const struct dentry *parent, struct qstr *qstr);
dentry             45 fs/isofs/inode.c static int isofs_dentry_cmpi_ms(const struct dentry *dentry,
dentry             47 fs/isofs/inode.c static int isofs_dentry_cmp_ms(const struct dentry *dentry,
dentry             65 fs/isofs/inode.c static int isofs_statfs (struct dentry *, struct kstatfs *);
dentry             66 fs/isofs/inode.c static int isofs_show_options(struct seq_file *, struct dentry *);
dentry            176 fs/isofs/inode.c isofs_hashi_common(const struct dentry *dentry, struct qstr *qstr, int ms)
dentry            190 fs/isofs/inode.c 	hash = init_name_hash(dentry);
dentry            231 fs/isofs/inode.c isofs_hashi(const struct dentry *dentry, struct qstr *qstr)
dentry            233 fs/isofs/inode.c 	return isofs_hashi_common(dentry, qstr, 0);
dentry            237 fs/isofs/inode.c isofs_dentry_cmpi(const struct dentry *dentry,
dentry            248 fs/isofs/inode.c isofs_hash_common(const struct dentry *dentry, struct qstr *qstr, int ms)
dentry            260 fs/isofs/inode.c 	qstr->hash = full_name_hash(dentry, name, len);
dentry            266 fs/isofs/inode.c isofs_hash_ms(const struct dentry *dentry, struct qstr *qstr)
dentry            268 fs/isofs/inode.c 	return isofs_hash_common(dentry, qstr, 1);
dentry            272 fs/isofs/inode.c isofs_hashi_ms(const struct dentry *dentry, struct qstr *qstr)
dentry            274 fs/isofs/inode.c 	return isofs_hashi_common(dentry, qstr, 1);
dentry            278 fs/isofs/inode.c isofs_dentry_cmp_ms(const struct dentry *dentry,
dentry            285 fs/isofs/inode.c isofs_dentry_cmpi_ms(const struct dentry *dentry,
dentry            486 fs/isofs/inode.c static int isofs_show_options(struct seq_file *m, struct dentry *root)
dentry           1033 fs/isofs/inode.c static int isofs_statfs (struct dentry *dentry, struct kstatfs *buf)
dentry           1035 fs/isofs/inode.c 	struct super_block *sb = dentry->d_sb;
dentry           1569 fs/isofs/inode.c static struct dentry *isofs_mount(struct file_system_type *fs_type,
dentry            121 fs/isofs/isofs.h extern struct dentry *isofs_lookup(struct inode *, struct dentry *, unsigned int flags);
dentry             19 fs/isofs/namei.c isofs_cmp(struct dentry *dentry, const char *compare, int dlen)
dentry             24 fs/isofs/namei.c 	if (likely(!dentry->d_op))
dentry             25 fs/isofs/namei.c 		return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen);
dentry             26 fs/isofs/namei.c 	return dentry->d_op->d_compare(NULL, dentry->d_name.len, dentry->d_name.name, &qstr);
dentry             36 fs/isofs/namei.c isofs_find_entry(struct inode *dir, struct dentry *dentry,
dentry            136 fs/isofs/namei.c 				match = (isofs_cmp(dentry, dpnt, dlen) == 0);
dentry            152 fs/isofs/namei.c struct dentry *isofs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            164 fs/isofs/namei.c 	found = isofs_find_entry(dir, dentry,
dentry            172 fs/isofs/namei.c 	return d_splice_alias(inode, dentry);
dentry             27 fs/jffs2/dir.c static int jffs2_create (struct inode *,struct dentry *,umode_t,
dentry             29 fs/jffs2/dir.c static struct dentry *jffs2_lookup (struct inode *,struct dentry *,
dentry             31 fs/jffs2/dir.c static int jffs2_link (struct dentry *,struct inode *,struct dentry *);
dentry             32 fs/jffs2/dir.c static int jffs2_unlink (struct inode *,struct dentry *);
dentry             33 fs/jffs2/dir.c static int jffs2_symlink (struct inode *,struct dentry *,const char *);
dentry             34 fs/jffs2/dir.c static int jffs2_mkdir (struct inode *,struct dentry *,umode_t);
dentry             35 fs/jffs2/dir.c static int jffs2_rmdir (struct inode *,struct dentry *);
dentry             36 fs/jffs2/dir.c static int jffs2_mknod (struct inode *,struct dentry *,umode_t,dev_t);
dentry             37 fs/jffs2/dir.c static int jffs2_rename (struct inode *, struct dentry *,
dentry             38 fs/jffs2/dir.c 			 struct inode *, struct dentry *,
dentry             75 fs/jffs2/dir.c static struct dentry *jffs2_lookup(struct inode *dir_i, struct dentry *target,
dentry            160 fs/jffs2/dir.c static int jffs2_create(struct inode *dir_i, struct dentry *dentry,
dentry            200 fs/jffs2/dir.c 	ret = jffs2_do_create(c, dir_f, f, ri, &dentry->d_name);
dentry            212 fs/jffs2/dir.c 	d_instantiate_new(dentry, inode);
dentry            224 fs/jffs2/dir.c static int jffs2_unlink(struct inode *dir_i, struct dentry *dentry)
dentry            228 fs/jffs2/dir.c 	struct jffs2_inode_info *dead_f = JFFS2_INODE_INFO(d_inode(dentry));
dentry            232 fs/jffs2/dir.c 	ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name,
dentry            233 fs/jffs2/dir.c 			      dentry->d_name.len, dead_f, now);
dentry            235 fs/jffs2/dir.c 		set_nlink(d_inode(dentry), dead_f->inocache->pino_nlink);
dentry            243 fs/jffs2/dir.c static int jffs2_link (struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry)
dentry            264 fs/jffs2/dir.c 	ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now);
dentry            270 fs/jffs2/dir.c 		d_instantiate(dentry, d_inode(old_dentry));
dentry            279 fs/jffs2/dir.c static int jffs2_symlink (struct inode *dir_i, struct dentry *dentry, const char *target)
dentry            307 fs/jffs2/dir.c 	namelen = dentry->d_name.len;
dentry            371 fs/jffs2/dir.c 	ret = jffs2_init_security(inode, dir_i, &dentry->d_name);
dentry            407 fs/jffs2/dir.c 	rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen));
dentry            409 fs/jffs2/dir.c 	fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL);
dentry            432 fs/jffs2/dir.c 	d_instantiate_new(dentry, inode);
dentry            441 fs/jffs2/dir.c static int jffs2_mkdir (struct inode *dir_i, struct dentry *dentry, umode_t mode)
dentry            465 fs/jffs2/dir.c 	namelen = dentry->d_name.len;
dentry            514 fs/jffs2/dir.c 	ret = jffs2_init_security(inode, dir_i, &dentry->d_name);
dentry            550 fs/jffs2/dir.c 	rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen));
dentry            552 fs/jffs2/dir.c 	fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL);
dentry            576 fs/jffs2/dir.c 	d_instantiate_new(dentry, inode);
dentry            584 fs/jffs2/dir.c static int jffs2_rmdir (struct inode *dir_i, struct dentry *dentry)
dentry            588 fs/jffs2/dir.c 	struct jffs2_inode_info *f = JFFS2_INODE_INFO(d_inode(dentry));
dentry            598 fs/jffs2/dir.c 	ret = jffs2_do_unlink(c, dir_f, dentry->d_name.name,
dentry            599 fs/jffs2/dir.c 			      dentry->d_name.len, f, now);
dentry            602 fs/jffs2/dir.c 		clear_nlink(d_inode(dentry));
dentry            608 fs/jffs2/dir.c static int jffs2_mknod (struct inode *dir_i, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry            635 fs/jffs2/dir.c 	namelen = dentry->d_name.len;
dentry            683 fs/jffs2/dir.c 	ret = jffs2_init_security(inode, dir_i, &dentry->d_name);
dentry            722 fs/jffs2/dir.c 	rd->name_crc = cpu_to_je32(crc32(0, dentry->d_name.name, namelen));
dentry            724 fs/jffs2/dir.c 	fd = jffs2_write_dirent(c, dir_f, rd, dentry->d_name.name, namelen, ALLOC_NORMAL);
dentry            747 fs/jffs2/dir.c 	d_instantiate_new(dentry, inode);
dentry            755 fs/jffs2/dir.c static int jffs2_rename (struct inode *old_dir_i, struct dentry *old_dentry,
dentry            756 fs/jffs2/dir.c 			 struct inode *new_dir_i, struct dentry *new_dentry,
dentry            193 fs/jffs2/fs.c  int jffs2_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            195 fs/jffs2/fs.c  	struct inode *inode = d_inode(dentry);
dentry            198 fs/jffs2/fs.c  	rc = setattr_prepare(dentry, iattr);
dentry            209 fs/jffs2/fs.c  int jffs2_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            211 fs/jffs2/fs.c  	struct jffs2_sb_info *c = JFFS2_SB_INFO(dentry->d_sb);
dentry            167 fs/jffs2/os-linux.h int jffs2_setattr (struct dentry *, struct iattr *);
dentry            174 fs/jffs2/os-linux.h int jffs2_statfs (struct dentry *, struct kstatfs *);
dentry             52 fs/jffs2/security.c 				   struct dentry *unused, struct inode *inode,
dentry             60 fs/jffs2/security.c 				   struct dentry *unused, struct inode *inode,
dentry             84 fs/jffs2/super.c static int jffs2_show_options(struct seq_file *s, struct dentry *root)
dentry            121 fs/jffs2/super.c static struct dentry *jffs2_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            128 fs/jffs2/super.c static struct dentry *jffs2_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            135 fs/jffs2/super.c static struct dentry *jffs2_get_parent(struct dentry *child)
dentry            961 fs/jffs2/xattr.c ssize_t jffs2_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            963 fs/jffs2/xattr.c 	struct inode *inode = d_inode(dentry);
dentry           1002 fs/jffs2/xattr.c 		if (!xhandle || (xhandle->list && !xhandle->list(dentry)))
dentry            101 fs/jffs2/xattr.h extern ssize_t jffs2_listxattr(struct dentry *, char *, size_t);
dentry             20 fs/jffs2/xattr_trusted.c 				  struct dentry *unused, struct inode *inode,
dentry             28 fs/jffs2/xattr_trusted.c 				  struct dentry *unused, struct inode *inode,
dentry             36 fs/jffs2/xattr_trusted.c static bool jffs2_trusted_listxattr(struct dentry *dentry)
dentry             20 fs/jffs2/xattr_user.c 			       struct dentry *unused, struct inode *inode,
dentry             28 fs/jffs2/xattr_user.c 			       struct dentry *unused, struct inode *inode,
dentry             88 fs/jfs/file.c  int jfs_setattr(struct dentry *dentry, struct iattr *iattr)
dentry             90 fs/jfs/file.c  	struct inode *inode = d_inode(dentry);
dentry             93 fs/jfs/file.c  	rc = setattr_prepare(dentry, iattr);
dentry             22 fs/jfs/jfs_inode.h extern struct dentry *jfs_get_parent(struct dentry *dentry);
dentry             23 fs/jfs/jfs_inode.h extern struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry             25 fs/jfs/jfs_inode.h extern struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry             29 fs/jfs/jfs_inode.h extern int jfs_setattr(struct dentry *, struct iattr *);
dentry            102 fs/jfs/jfs_unicode.c int get_UCSname(struct component_name * uniName, struct dentry *dentry)
dentry            104 fs/jfs/jfs_unicode.c 	struct nls_table *nls_tab = JFS_SBI(dentry->d_sb)->nls_tab;
dentry            105 fs/jfs/jfs_unicode.c 	int length = dentry->d_name.len;
dentry            116 fs/jfs/jfs_unicode.c 	uniName->namlen = jfs_strtoUCS(uniName->name, dentry->d_name.name,
dentry             21 fs/jfs/jfs_unicode.h extern int get_UCSname(struct component_name *, struct dentry *);
dentry             47 fs/jfs/jfs_xattr.h extern ssize_t jfs_listxattr(struct dentry *, char *, size_t);
dentry             62 fs/jfs/namei.c static int jfs_create(struct inode *dip, struct dentry *dentry, umode_t mode,
dentry             74 fs/jfs/namei.c 	jfs_info("jfs_create: dip:0x%p name:%pd", dip, dentry);
dentry             84 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry            107 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dentry            167 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
dentry            195 fs/jfs/namei.c static int jfs_mkdir(struct inode *dip, struct dentry *dentry, umode_t mode)
dentry            206 fs/jfs/namei.c 	jfs_info("jfs_mkdir: dip:0x%p name:%pd", dip, dentry);
dentry            216 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry            239 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dentry            300 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
dentry            332 fs/jfs/namei.c static int jfs_rmdir(struct inode *dip, struct dentry *dentry)
dentry            336 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
dentry            342 fs/jfs/namei.c 	jfs_info("jfs_rmdir: dip:0x%p name:%pd", dip, dentry);
dentry            358 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry))) {
dentry            462 fs/jfs/namei.c static int jfs_unlink(struct inode *dip, struct dentry *dentry)
dentry            466 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
dentry            474 fs/jfs/namei.c 	jfs_info("jfs_unlink: dip:0x%p name:%pd", dip, dentry);
dentry            484 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry            784 fs/jfs/namei.c static int jfs_link(struct dentry *old_dentry,
dentry            785 fs/jfs/namei.c 	     struct inode *dir, struct dentry *dentry)
dentry            795 fs/jfs/namei.c 	jfs_info("jfs_link: %pd %pd", old_dentry, dentry);
dentry            809 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry            837 fs/jfs/namei.c 		d_instantiate(dentry, ip);
dentry            871 fs/jfs/namei.c static int jfs_symlink(struct inode *dip, struct dentry *dentry,
dentry            880 fs/jfs/namei.c 	struct inode *ip = d_inode(dentry);
dentry            903 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry            921 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dip, &dentry->d_name);
dentry           1044 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
dentry           1061 fs/jfs/namei.c static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1062 fs/jfs/namei.c 		      struct inode *new_dir, struct dentry *new_dentry,
dentry           1347 fs/jfs/namei.c static int jfs_mknod(struct inode *dir, struct dentry *dentry,
dentry           1360 fs/jfs/namei.c 	jfs_info("jfs_mknod: %pd", dentry);
dentry           1366 fs/jfs/namei.c 	if ((rc = get_UCSname(&dname, dentry)))
dentry           1385 fs/jfs/namei.c 	rc = jfs_init_security(tid, ip, dir, &dentry->d_name);
dentry           1430 fs/jfs/namei.c 		d_instantiate_new(dentry, ip);
dentry           1441 fs/jfs/namei.c static struct dentry *jfs_lookup(struct inode *dip, struct dentry *dentry, unsigned int flags)
dentry           1449 fs/jfs/namei.c 	jfs_info("jfs_lookup: name = %pd", dentry);
dentry           1451 fs/jfs/namei.c 	if ((rc = get_UCSname(&key, dentry)))
dentry           1466 fs/jfs/namei.c 	return d_splice_alias(ip, dentry);
dentry           1488 fs/jfs/namei.c struct dentry *jfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry           1495 fs/jfs/namei.c struct dentry *jfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           1502 fs/jfs/namei.c struct dentry *jfs_get_parent(struct dentry *dentry)
dentry           1507 fs/jfs/namei.c 		le32_to_cpu(JFS_IP(d_inode(dentry))->i_dtroot.header.idotdot);
dentry           1509 fs/jfs/namei.c 	return d_obtain_alias(jfs_iget(dentry->d_sb, parent_ino));
dentry           1541 fs/jfs/namei.c static int jfs_ci_hash(const struct dentry *dir, struct qstr *this)
dentry           1554 fs/jfs/namei.c static int jfs_ci_compare(const struct dentry *dentry,
dentry           1570 fs/jfs/namei.c static int jfs_ci_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1582 fs/jfs/namei.c 	if (d_really_is_positive(dentry))
dentry            119 fs/jfs/super.c static int jfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            121 fs/jfs/super.c 	struct jfs_sb_info *sbi = JFS_SBI(dentry->d_sb);
dentry            673 fs/jfs/super.c static struct dentry *jfs_do_mount(struct file_system_type *fs_type,
dentry            697 fs/jfs/super.c static int jfs_show_options(struct seq_file *seq, struct dentry *root)
dentry            850 fs/jfs/super.c 	inode = d_inode(path->dentry);
dentry            855 fs/jfs/xattr.c ssize_t jfs_listxattr(struct dentry * dentry, char *data, size_t buf_size)
dentry            857 fs/jfs/xattr.c 	struct inode *inode = d_inode(dentry);
dentry            927 fs/jfs/xattr.c 			 struct dentry *unused, struct inode *inode,
dentry            935 fs/jfs/xattr.c 			 struct dentry *unused, struct inode *inode,
dentry            944 fs/jfs/xattr.c 			     struct dentry *unused, struct inode *inode,
dentry            953 fs/jfs/xattr.c 			     struct dentry *unused, struct inode *inode,
dentry            555 fs/kernfs/dir.c static int kernfs_dop_revalidate(struct dentry *dentry, unsigned int flags)
dentry            563 fs/kernfs/dir.c 	if (d_really_is_negative(dentry))
dentry            566 fs/kernfs/dir.c 	kn = kernfs_dentry_node(dentry);
dentry            574 fs/kernfs/dir.c 	if (kernfs_dentry_node(dentry->d_parent) != kn->parent)
dentry            578 fs/kernfs/dir.c 	if (strcmp(dentry->d_name.name, kn->name) != 0)
dentry            583 fs/kernfs/dir.c 	    kernfs_info(dentry->d_sb)->ns != kn->ns)
dentry            609 fs/kernfs/dir.c struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry)
dentry            611 fs/kernfs/dir.c 	if (dentry->d_sb->s_op == &kernfs_sops &&
dentry            612 fs/kernfs/dir.c 	    !d_really_is_negative(dentry))
dentry            613 fs/kernfs/dir.c 		return kernfs_dentry_node(dentry);
dentry           1073 fs/kernfs/dir.c static struct dentry *kernfs_iop_lookup(struct inode *dir,
dentry           1074 fs/kernfs/dir.c 					struct dentry *dentry,
dentry           1077 fs/kernfs/dir.c 	struct dentry *ret;
dentry           1088 fs/kernfs/dir.c 	kn = kernfs_find_ns(parent, dentry->d_name.name, ns);
dentry           1104 fs/kernfs/dir.c 	ret = d_splice_alias(inode, dentry);
dentry           1110 fs/kernfs/dir.c static int kernfs_iop_mkdir(struct inode *dir, struct dentry *dentry,
dentry           1123 fs/kernfs/dir.c 	ret = scops->mkdir(parent, dentry->d_name.name, mode);
dentry           1129 fs/kernfs/dir.c static int kernfs_iop_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1131 fs/kernfs/dir.c 	struct kernfs_node *kn  = kernfs_dentry_node(dentry);
dentry           1147 fs/kernfs/dir.c static int kernfs_iop_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1148 fs/kernfs/dir.c 			     struct inode *new_dir, struct dentry *new_dentry,
dentry           1662 fs/kernfs/dir.c 	struct dentry *dentry = file->f_path.dentry;
dentry           1663 fs/kernfs/dir.c 	struct kernfs_node *parent = kernfs_dentry_node(dentry);
dentry           1672 fs/kernfs/dir.c 		ns = kernfs_info(dentry->d_sb)->ns;
dentry            836 fs/kernfs/file.c 	struct kernfs_node *kn = kernfs_dentry_node(of->file->f_path.dentry);
dentry            850 fs/kernfs/file.c 	struct kernfs_node *kn = kernfs_dentry_node(filp->f_path.dentry);
dentry            113 fs/kernfs/inode.c int kernfs_iop_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            115 fs/kernfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            123 fs/kernfs/inode.c 	error = setattr_prepare(dentry, iattr);
dentry            139 fs/kernfs/inode.c ssize_t kernfs_iop_listxattr(struct dentry *dentry, char *buf, size_t size)
dentry            141 fs/kernfs/inode.c 	struct kernfs_node *kn = kernfs_dentry_node(dentry);
dentry            148 fs/kernfs/inode.c 	return simple_xattr_list(d_inode(dentry), &attrs->xattrs, buf, size);
dentry            187 fs/kernfs/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            310 fs/kernfs/inode.c 				struct dentry *unused, struct inode *inode,
dentry            320 fs/kernfs/inode.c 				struct dentry *unused, struct inode *inode,
dentry             75 fs/kernfs/kernfs-internal.h static inline struct kernfs_node *kernfs_dentry_node(struct dentry *dentry)
dentry             77 fs/kernfs/kernfs-internal.h 	if (d_really_is_negative(dentry))
dentry             79 fs/kernfs/kernfs-internal.h 	return d_inode(dentry)->i_private;
dentry             91 fs/kernfs/kernfs-internal.h int kernfs_iop_setattr(struct dentry *dentry, struct iattr *iattr);
dentry             94 fs/kernfs/kernfs-internal.h ssize_t kernfs_iop_listxattr(struct dentry *dentry, char *buf, size_t size);
dentry             24 fs/kernfs/mount.c static int kernfs_sop_show_options(struct seq_file *sf, struct dentry *dentry)
dentry             26 fs/kernfs/mount.c 	struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
dentry             34 fs/kernfs/mount.c static int kernfs_sop_show_path(struct seq_file *sf, struct dentry *dentry)
dentry             36 fs/kernfs/mount.c 	struct kernfs_node *node = kernfs_dentry_node(dentry);
dentry             43 fs/kernfs/mount.c 	seq_dentry(sf, dentry, " \t\n\\");
dentry            101 fs/kernfs/mount.c static struct dentry *kernfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            108 fs/kernfs/mount.c static struct dentry *kernfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            115 fs/kernfs/mount.c static struct dentry *kernfs_get_parent_dentry(struct dentry *child)
dentry            172 fs/kernfs/mount.c struct dentry *kernfs_node_dentry(struct kernfs_node *kn,
dentry            175 fs/kernfs/mount.c 	struct dentry *dentry;
dentry            180 fs/kernfs/mount.c 	dentry = dget(sb->s_root);
dentry            184 fs/kernfs/mount.c 		return dentry;
dentry            188 fs/kernfs/mount.c 		dput(dentry);
dentry            193 fs/kernfs/mount.c 		struct dentry *dtmp;
dentry            197 fs/kernfs/mount.c 			return dentry;
dentry            200 fs/kernfs/mount.c 			dput(dentry);
dentry            203 fs/kernfs/mount.c 		dtmp = lookup_one_len_unlocked(kntmp->name, dentry,
dentry            205 fs/kernfs/mount.c 		dput(dentry);
dentry            209 fs/kernfs/mount.c 		dentry = dtmp;
dentry            217 fs/kernfs/mount.c 	struct dentry *root;
dentry            126 fs/kernfs/symlink.c static const char *kernfs_iop_get_link(struct dentry *dentry,
dentry            133 fs/kernfs/symlink.c 	if (!dentry)
dentry             30 fs/libfs.c     	struct inode *inode = d_inode(path->dentry);
dentry             37 fs/libfs.c     int simple_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry             39 fs/libfs.c     	buf->f_type = dentry->d_sb->s_magic;
dentry             50 fs/libfs.c     int always_delete_dentry(const struct dentry *dentry)
dentry             65 fs/libfs.c     struct dentry *simple_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry             67 fs/libfs.c     	if (dentry->d_name.len > NAME_MAX)
dentry             69 fs/libfs.c     	if (!dentry->d_sb->s_d_op)
dentry             70 fs/libfs.c     		d_set_d_op(dentry, &simple_dentry_operations);
dentry             71 fs/libfs.c     	d_add(dentry, NULL);
dentry             78 fs/libfs.c     	file->private_data = d_alloc_cursor(file->f_path.dentry);
dentry             98 fs/libfs.c     static struct dentry *scan_positives(struct dentry *cursor,
dentry            101 fs/libfs.c     					struct dentry *last)
dentry            103 fs/libfs.c     	struct dentry *dentry = cursor->d_parent, *found = NULL;
dentry            105 fs/libfs.c     	spin_lock(&dentry->d_lock);
dentry            106 fs/libfs.c     	while ((p = p->next) != &dentry->d_subdirs) {
dentry            107 fs/libfs.c     		struct dentry *d = list_entry(p, struct dentry, d_child);
dentry            123 fs/libfs.c     			spin_unlock(&dentry->d_lock);
dentry            125 fs/libfs.c     			spin_lock(&dentry->d_lock);
dentry            128 fs/libfs.c     	spin_unlock(&dentry->d_lock);
dentry            135 fs/libfs.c     	struct dentry *dentry = file->f_path.dentry;
dentry            148 fs/libfs.c     		struct dentry *cursor = file->private_data;
dentry            149 fs/libfs.c     		struct dentry *to = NULL;
dentry            151 fs/libfs.c     		inode_lock_shared(dentry->d_inode);
dentry            154 fs/libfs.c     			to = scan_positives(cursor, &dentry->d_subdirs,
dentry            156 fs/libfs.c     		spin_lock(&dentry->d_lock);
dentry            161 fs/libfs.c     		spin_unlock(&dentry->d_lock);
dentry            166 fs/libfs.c     		inode_unlock_shared(dentry->d_inode);
dentry            186 fs/libfs.c     	struct dentry *dentry = file->f_path.dentry;
dentry            187 fs/libfs.c     	struct dentry *cursor = file->private_data;
dentry            188 fs/libfs.c     	struct list_head *anchor = &dentry->d_subdirs;
dentry            189 fs/libfs.c     	struct dentry *next = NULL;
dentry            209 fs/libfs.c     	spin_lock(&dentry->d_lock);
dentry            214 fs/libfs.c     	spin_unlock(&dentry->d_lock);
dentry            321 fs/libfs.c     int simple_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
dentry            328 fs/libfs.c     	dget(dentry);
dentry            329 fs/libfs.c     	d_instantiate(dentry, inode);
dentry            334 fs/libfs.c     int simple_empty(struct dentry *dentry)
dentry            336 fs/libfs.c     	struct dentry *child;
dentry            339 fs/libfs.c     	spin_lock(&dentry->d_lock);
dentry            340 fs/libfs.c     	list_for_each_entry(child, &dentry->d_subdirs, d_child) {
dentry            350 fs/libfs.c     	spin_unlock(&dentry->d_lock);
dentry            355 fs/libfs.c     int simple_unlink(struct inode *dir, struct dentry *dentry)
dentry            357 fs/libfs.c     	struct inode *inode = d_inode(dentry);
dentry            361 fs/libfs.c     	dput(dentry);
dentry            366 fs/libfs.c     int simple_rmdir(struct inode *dir, struct dentry *dentry)
dentry            368 fs/libfs.c     	if (!simple_empty(dentry))
dentry            371 fs/libfs.c     	drop_nlink(d_inode(dentry));
dentry            372 fs/libfs.c     	simple_unlink(dir, dentry);
dentry            378 fs/libfs.c     int simple_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            379 fs/libfs.c     		  struct inode *new_dir, struct dentry *new_dentry,
dentry            423 fs/libfs.c     int simple_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            425 fs/libfs.c     	struct inode *inode = d_inode(dentry);
dentry            428 fs/libfs.c     	error = setattr_prepare(dentry, iattr);
dentry            536 fs/libfs.c     	struct dentry *root;
dentry            537 fs/libfs.c     	struct dentry *dentry;
dentry            572 fs/libfs.c     		dentry = d_alloc_name(root, files->name);
dentry            573 fs/libfs.c     		if (!dentry)
dentry            577 fs/libfs.c     			dput(dentry);
dentry            584 fs/libfs.c     		d_add(dentry, inode);
dentry            930 fs/libfs.c     struct dentry *generic_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            963 fs/libfs.c     struct dentry *generic_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           1209 fs/libfs.c     const char *simple_get_link(struct dentry *dentry, struct inode *inode,
dentry           1224 fs/libfs.c     static struct dentry *empty_dir_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry           1232 fs/libfs.c     	struct inode *inode = d_inode(path->dentry);
dentry           1237 fs/libfs.c     static int empty_dir_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1242 fs/libfs.c     static ssize_t empty_dir_listxattr(struct dentry *dentry, char *list, size_t size)
dentry            151 fs/minix/dir.c minix_dirent *minix_find_entry(struct dentry *dentry, struct page **res_page)
dentry            153 fs/minix/dir.c 	const char * name = dentry->d_name.name;
dentry            154 fs/minix/dir.c 	int namelen = dentry->d_name.len;
dentry            155 fs/minix/dir.c 	struct inode * dir = d_inode(dentry->d_parent);
dentry            200 fs/minix/dir.c int minix_add_link(struct dentry *dentry, struct inode *inode)
dentry            202 fs/minix/dir.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry            203 fs/minix/dir.c 	const char * name = dentry->d_name.name;
dentry            204 fs/minix/dir.c 	int namelen = dentry->d_name.len;
dentry            451 fs/minix/dir.c ino_t minix_inode_by_name(struct dentry *dentry)
dentry            454 fs/minix/dir.c 	struct minix_dir_entry *de = minix_find_entry(dentry, &page);
dentry             25 fs/minix/file.c static int minix_setattr(struct dentry *dentry, struct iattr *attr)
dentry             27 fs/minix/file.c 	struct inode *inode = d_inode(dentry);
dentry             30 fs/minix/file.c 	error = setattr_prepare(dentry, attr);
dentry             25 fs/minix/inode.c static int minix_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry            353 fs/minix/inode.c static int minix_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            355 fs/minix/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            625 fs/minix/inode.c 	struct super_block *sb = path->dentry->d_sb;
dentry            626 fs/minix/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            650 fs/minix/inode.c static struct dentry *minix_mount(struct file_system_type *fs_type,
dentry             67 fs/minix/minix.h extern struct minix_dir_entry *minix_find_entry(struct dentry*, struct page**);
dentry             68 fs/minix/minix.h extern int minix_add_link(struct dentry*, struct inode*);
dentry             74 fs/minix/minix.h extern ino_t minix_inode_by_name(struct dentry*);
dentry             10 fs/minix/namei.c static int add_nondir(struct dentry *dentry, struct inode *inode)
dentry             12 fs/minix/namei.c 	int err = minix_add_link(dentry, inode);
dentry             14 fs/minix/namei.c 		d_instantiate(dentry, inode);
dentry             22 fs/minix/namei.c static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
dentry             27 fs/minix/namei.c 	if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen)
dentry             30 fs/minix/namei.c 	ino = minix_inode_by_name(dentry);
dentry             33 fs/minix/namei.c 	return d_splice_alias(inode, dentry);
dentry             36 fs/minix/namei.c static int minix_mknod(struct inode * dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry             49 fs/minix/namei.c 		error = add_nondir(dentry, inode);
dentry             54 fs/minix/namei.c static int minix_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry             61 fs/minix/namei.c 		d_tmpfile(dentry, inode);
dentry             66 fs/minix/namei.c static int minix_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry             69 fs/minix/namei.c 	return minix_mknod(dir, dentry, mode, 0);
dentry             72 fs/minix/namei.c static int minix_symlink(struct inode * dir, struct dentry *dentry,
dentry             91 fs/minix/namei.c 	err = add_nondir(dentry, inode);
dentry            101 fs/minix/namei.c static int minix_link(struct dentry * old_dentry, struct inode * dir,
dentry            102 fs/minix/namei.c 	struct dentry *dentry)
dentry            109 fs/minix/namei.c 	return add_nondir(dentry, inode);
dentry            112 fs/minix/namei.c static int minix_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode)
dentry            131 fs/minix/namei.c 	err = minix_add_link(dentry, inode);
dentry            135 fs/minix/namei.c 	d_instantiate(dentry, inode);
dentry            148 fs/minix/namei.c static int minix_unlink(struct inode * dir, struct dentry *dentry)
dentry            151 fs/minix/namei.c 	struct inode * inode = d_inode(dentry);
dentry            155 fs/minix/namei.c 	de = minix_find_entry(dentry, &page);
dentry            169 fs/minix/namei.c static int minix_rmdir(struct inode * dir, struct dentry *dentry)
dentry            171 fs/minix/namei.c 	struct inode * inode = d_inode(dentry);
dentry            175 fs/minix/namei.c 		err = minix_unlink(dir, dentry);
dentry            184 fs/minix/namei.c static int minix_rename(struct inode * old_dir, struct dentry *old_dentry,
dentry            185 fs/minix/namei.c 			struct inode * new_dir, struct dentry *new_dentry,
dentry             29 fs/mount.h     	struct dentry *m_dentry;
dentry             37 fs/mount.h     	struct dentry *mnt_mountpoint;
dentry             95 fs/mount.h     extern struct mount *__lookup_mnt(struct vfsmount *, struct dentry *);
dentry            102 fs/mount.h     	struct mount *m = __lookup_mnt(path->mnt, path->dentry);
dentry            106 fs/mount.h     extern void __detach_mounts(struct dentry *dentry);
dentry            108 fs/mount.h     static inline void detach_mounts(struct dentry *dentry)
dentry            110 fs/mount.h     	if (!d_mountpoint(dentry))
dentry            112 fs/mount.h     	__detach_mounts(dentry);
dentry            143 fs/mount.h     extern bool __is_local_mountpoint(struct dentry *dentry);
dentry            144 fs/mount.h     static inline bool is_local_mountpoint(struct dentry *dentry)
dentry            146 fs/mount.h     	if (!d_mountpoint(dentry))
dentry            149 fs/mount.h     	return __is_local_mountpoint(dentry);
dentry            470 fs/namei.c     	dget(path->dentry);
dentry            482 fs/namei.c     	dput(path->dentry);
dentry            569 fs/namei.c     	return is_subdir(path->dentry, mnt->mnt_root);
dentry            618 fs/namei.c     		path->dentry = NULL;
dentry            621 fs/namei.c     	if (unlikely(!lockref_get_not_dead(&path->dentry->d_lockref))) {
dentry            622 fs/namei.c     		path->dentry = NULL;
dentry            625 fs/namei.c     	return !read_seqcount_retry(&path->dentry->d_seq, seq);
dentry            674 fs/namei.c     	struct dentry *parent = nd->path.dentry;
dentry            691 fs/namei.c     	nd->path.dentry = NULL;
dentry            710 fs/namei.c     static int unlazy_child(struct nameidata *nd, struct dentry *dentry, unsigned seq)
dentry            719 fs/namei.c     	if (unlikely(!lockref_get_not_dead(&nd->path.dentry->d_lockref)))
dentry            729 fs/namei.c     	if (unlikely(!lockref_get_not_dead(&dentry->d_lockref)))
dentry            731 fs/namei.c     	if (unlikely(read_seqcount_retry(&dentry->d_seq, seq)))
dentry            745 fs/namei.c     	nd->path.dentry = NULL;
dentry            751 fs/namei.c     	dput(dentry);
dentry            755 fs/namei.c     static inline int d_revalidate(struct dentry *dentry, unsigned int flags)
dentry            757 fs/namei.c     	if (unlikely(dentry->d_flags & DCACHE_OP_REVALIDATE))
dentry            758 fs/namei.c     		return dentry->d_op->d_revalidate(dentry, flags);
dentry            775 fs/namei.c     	struct dentry *dentry = nd->path.dentry;
dentry            788 fs/namei.c     	if (likely(!(dentry->d_flags & DCACHE_OP_WEAK_REVALIDATE)))
dentry            791 fs/namei.c     	status = dentry->d_op->d_weak_revalidate(dentry, nd->flags);
dentry            811 fs/namei.c     			nd->root_seq = __read_seqcount_begin(&nd->root.dentry->d_seq);
dentry            821 fs/namei.c     	dput(path->dentry);
dentry            830 fs/namei.c     		dput(nd->path.dentry);
dentry            835 fs/namei.c     	nd->path.dentry = path->dentry;
dentry            841 fs/namei.c     		struct dentry *d;
dentry            843 fs/namei.c     		d = nd->path.dentry;
dentry            852 fs/namei.c     		nd->inode = nd->path.dentry->d_inode;
dentry            868 fs/namei.c     	nd->inode = nd->path.dentry->d_inode;
dentry            927 fs/namei.c     	audit_inode(nd->name, nd->stack[0].link.dentry, 0);
dentry            981 fs/namei.c     	struct inode *inode = link->dentry->d_inode;
dentry           1044 fs/namei.c     	struct dentry *dentry = last->link.dentry;
dentry           1058 fs/namei.c     	error = security_inode_follow_link(dentry, inode,
dentry           1066 fs/namei.c     		const char * (*get)(struct dentry *, struct inode *,
dentry           1074 fs/namei.c     				res = get(dentry, inode, &last->done);
dentry           1077 fs/namei.c     			res = get(dentry, inode, &last->done);
dentry           1109 fs/namei.c     	struct dentry *mountpoint;
dentry           1120 fs/namei.c     	dput(path->dentry);
dentry           1121 fs/namei.c     	path->dentry = mountpoint;
dentry           1139 fs/namei.c     	if (!path->dentry->d_op || !path->dentry->d_op->d_automount)
dentry           1155 fs/namei.c     	    path->dentry->d_inode)
dentry           1162 fs/namei.c     	mnt = path->dentry->d_op->d_automount(path);
dentry           1195 fs/namei.c     		path->dentry = dget(mnt->mnt_root);
dentry           1223 fs/namei.c     	while (managed = READ_ONCE(path->dentry->d_flags),
dentry           1229 fs/namei.c     			BUG_ON(!path->dentry->d_op);
dentry           1230 fs/namei.c     			BUG_ON(!path->dentry->d_op->d_manage);
dentry           1231 fs/namei.c     			ret = path->dentry->d_op->d_manage(path, false);
dentry           1240 fs/namei.c     				dput(path->dentry);
dentry           1244 fs/namei.c     				path->dentry = dget(mounted->mnt_root);
dentry           1284 fs/namei.c     		dput(path->dentry);
dentry           1287 fs/namei.c     		path->dentry = dget(mounted->mnt_root);
dentry           1296 fs/namei.c     	return (path->dentry->d_flags & DCACHE_MANAGE_TRANSIT) ?
dentry           1297 fs/namei.c     		path->dentry->d_op->d_manage(path, true) : 0;
dentry           1323 fs/namei.c     		if (!d_mountpoint(path->dentry))
dentry           1324 fs/namei.c     			return !(path->dentry->d_flags & DCACHE_NEED_AUTOMOUNT);
dentry           1326 fs/namei.c     		mounted = __lookup_mnt(path->mnt, path->dentry);
dentry           1330 fs/namei.c     		path->dentry = mounted->mnt.mnt_root;
dentry           1332 fs/namei.c     		*seqp = read_seqcount_begin(&path->dentry->d_seq);
dentry           1338 fs/namei.c     		*inode = path->dentry->d_inode;
dentry           1341 fs/namei.c     		!(path->dentry->d_flags & DCACHE_NEED_AUTOMOUNT);
dentry           1351 fs/namei.c     		if (nd->path.dentry != nd->path.mnt->mnt_root) {
dentry           1352 fs/namei.c     			struct dentry *old = nd->path.dentry;
dentry           1353 fs/namei.c     			struct dentry *parent = old->d_parent;
dentry           1360 fs/namei.c     			nd->path.dentry = parent;
dentry           1368 fs/namei.c     			struct dentry *mountpoint = mnt->mnt_mountpoint;
dentry           1376 fs/namei.c     			nd->path.dentry = mountpoint;
dentry           1382 fs/namei.c     	while (unlikely(d_mountpoint(nd->path.dentry))) {
dentry           1384 fs/namei.c     		mounted = __lookup_mnt(nd->path.mnt, nd->path.dentry);
dentry           1390 fs/namei.c     		nd->path.dentry = mounted->mnt.mnt_root;
dentry           1391 fs/namei.c     		inode = nd->path.dentry->d_inode;
dentry           1392 fs/namei.c     		nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq);
dentry           1408 fs/namei.c     	while (managed = READ_ONCE(path->dentry->d_flags),
dentry           1421 fs/namei.c     			BUG_ON(!path->dentry->d_op);
dentry           1422 fs/namei.c     			BUG_ON(!path->dentry->d_op->d_manage);
dentry           1423 fs/namei.c     			ret = path->dentry->d_op->d_manage(path, false);
dentry           1433 fs/namei.c     			dput(path->dentry);
dentry           1436 fs/namei.c     			path->dentry = dget(mounted->mnt_root);
dentry           1452 fs/namei.c     	while (d_mountpoint(path->dentry)) {
dentry           1456 fs/namei.c     		dput(path->dentry);
dentry           1459 fs/namei.c     		path->dentry = dget(mounted->mnt_root);
dentry           1465 fs/namei.c     	struct dentry *old = path->dentry;
dentry           1467 fs/namei.c     	path->dentry = dget_parent(path->dentry);
dentry           1479 fs/namei.c     		if (nd->path.dentry != nd->path.mnt->mnt_root) {
dentry           1489 fs/namei.c     	nd->inode = nd->path.dentry->d_inode;
dentry           1497 fs/namei.c     static struct dentry *lookup_dcache(const struct qstr *name,
dentry           1498 fs/namei.c     				    struct dentry *dir,
dentry           1501 fs/namei.c     	struct dentry *dentry = d_lookup(dir, name);
dentry           1502 fs/namei.c     	if (dentry) {
dentry           1503 fs/namei.c     		int error = d_revalidate(dentry, flags);
dentry           1506 fs/namei.c     				d_invalidate(dentry);
dentry           1507 fs/namei.c     			dput(dentry);
dentry           1511 fs/namei.c     	return dentry;
dentry           1521 fs/namei.c     static struct dentry *__lookup_hash(const struct qstr *name,
dentry           1522 fs/namei.c     		struct dentry *base, unsigned int flags)
dentry           1524 fs/namei.c     	struct dentry *dentry = lookup_dcache(name, base, flags);
dentry           1525 fs/namei.c     	struct dentry *old;
dentry           1528 fs/namei.c     	if (dentry)
dentry           1529 fs/namei.c     		return dentry;
dentry           1535 fs/namei.c     	dentry = d_alloc(base, name);
dentry           1536 fs/namei.c     	if (unlikely(!dentry))
dentry           1539 fs/namei.c     	old = dir->i_op->lookup(dir, dentry, flags);
dentry           1541 fs/namei.c     		dput(dentry);
dentry           1542 fs/namei.c     		dentry = old;
dentry           1544 fs/namei.c     	return dentry;
dentry           1552 fs/namei.c     	struct dentry *dentry, *parent = nd->path.dentry;
dentry           1564 fs/namei.c     		dentry = __d_lookup_rcu(parent, &nd->last, &seq);
dentry           1565 fs/namei.c     		if (unlikely(!dentry)) {
dentry           1575 fs/namei.c     		*inode = d_backing_inode(dentry);
dentry           1576 fs/namei.c     		negative = d_is_negative(dentry);
dentry           1577 fs/namei.c     		if (unlikely(read_seqcount_retry(&dentry->d_seq, seq)))
dentry           1591 fs/namei.c     		status = d_revalidate(dentry, nd->flags);
dentry           1600 fs/namei.c     			path->dentry = dentry;
dentry           1604 fs/namei.c     		if (unlazy_child(nd, dentry, seq))
dentry           1608 fs/namei.c     			status = d_revalidate(dentry, nd->flags);
dentry           1610 fs/namei.c     		dentry = __d_lookup(parent, &nd->last);
dentry           1611 fs/namei.c     		if (unlikely(!dentry))
dentry           1613 fs/namei.c     		status = d_revalidate(dentry, nd->flags);
dentry           1617 fs/namei.c     			d_invalidate(dentry);
dentry           1618 fs/namei.c     		dput(dentry);
dentry           1621 fs/namei.c     	if (unlikely(d_is_negative(dentry))) {
dentry           1622 fs/namei.c     		dput(dentry);
dentry           1627 fs/namei.c     	path->dentry = dentry;
dentry           1630 fs/namei.c     		*inode = d_backing_inode(path->dentry);
dentry           1635 fs/namei.c     static struct dentry *__lookup_slow(const struct qstr *name,
dentry           1636 fs/namei.c     				    struct dentry *dir,
dentry           1639 fs/namei.c     	struct dentry *dentry, *old;
dentry           1647 fs/namei.c     	dentry = d_alloc_parallel(dir, name, &wq);
dentry           1648 fs/namei.c     	if (IS_ERR(dentry))
dentry           1649 fs/namei.c     		return dentry;
dentry           1650 fs/namei.c     	if (unlikely(!d_in_lookup(dentry))) {
dentry           1652 fs/namei.c     			int error = d_revalidate(dentry, flags);
dentry           1655 fs/namei.c     					d_invalidate(dentry);
dentry           1656 fs/namei.c     					dput(dentry);
dentry           1659 fs/namei.c     				dput(dentry);
dentry           1660 fs/namei.c     				dentry = ERR_PTR(error);
dentry           1664 fs/namei.c     		old = inode->i_op->lookup(inode, dentry, flags);
dentry           1665 fs/namei.c     		d_lookup_done(dentry);
dentry           1667 fs/namei.c     			dput(dentry);
dentry           1668 fs/namei.c     			dentry = old;
dentry           1671 fs/namei.c     	return dentry;
dentry           1674 fs/namei.c     static struct dentry *lookup_slow(const struct qstr *name,
dentry           1675 fs/namei.c     				  struct dentry *dir,
dentry           1679 fs/namei.c     	struct dentry *res;
dentry           1732 fs/namei.c     				nd->path.dentry = NULL;
dentry           1764 fs/namei.c     	if (likely(!d_is_symlink(path->dentry)) ||
dentry           1774 fs/namei.c     		if (read_seqcount_retry(&path->dentry->d_seq, seq))
dentry           1801 fs/namei.c     		path.dentry = lookup_slow(&nd->last, nd->path.dentry,
dentry           1803 fs/namei.c     		if (IS_ERR(path.dentry))
dentry           1804 fs/namei.c     			return PTR_ERR(path.dentry);
dentry           1811 fs/namei.c     		if (unlikely(d_is_negative(path.dentry))) {
dentry           1817 fs/namei.c     		inode = d_backing_inode(path.dentry);
dentry           2079 fs/namei.c     		hash_len = hash_name(nd->path.dentry, name);
dentry           2093 fs/namei.c     			struct dentry *parent = nd->path.dentry;
dentry           2152 fs/namei.c     		if (unlikely(!d_can_lookup(nd->path.dentry))) {
dentry           2176 fs/namei.c     		struct dentry *root = nd->root.dentry;
dentry           2183 fs/namei.c     			nd->seq = __read_seqcount_begin(&nd->path.dentry->d_seq);
dentry           2194 fs/namei.c     	nd->path.dentry = NULL;
dentry           2210 fs/namei.c     				nd->inode = nd->path.dentry->d_inode;
dentry           2211 fs/namei.c     				nd->seq = __read_seqcount_begin(&nd->path.dentry->d_seq);
dentry           2215 fs/namei.c     			nd->inode = nd->path.dentry->d_inode;
dentry           2221 fs/namei.c     		struct dentry *dentry;
dentry           2226 fs/namei.c     		dentry = f.file->f_path.dentry;
dentry           2228 fs/namei.c     		if (*s && unlikely(!d_can_lookup(dentry))) {
dentry           2235 fs/namei.c     			nd->inode = nd->path.dentry->d_inode;
dentry           2236 fs/namei.c     			nd->seq = read_seqcount_begin(&nd->path.dentry->d_seq);
dentry           2239 fs/namei.c     			nd->inode = nd->path.dentry->d_inode;
dentry           2283 fs/namei.c     		dget(path.dentry);
dentry           2287 fs/namei.c     		inode = d_backing_inode(path.dentry);
dentry           2316 fs/namei.c     		if (!d_can_lookup(nd->path.dentry))
dentry           2321 fs/namei.c     		nd->path.dentry = NULL;
dentry           2346 fs/namei.c     		audit_inode(name, path->dentry, 0);
dentry           2363 fs/namei.c     		nd->path.dentry = NULL;
dentry           2387 fs/namei.c     		audit_inode(name, parent->dentry, AUDIT_INODE_PARENT);
dentry           2397 fs/namei.c     struct dentry *kern_path_locked(const char *name, struct path *path)
dentry           2400 fs/namei.c     	struct dentry *d;
dentry           2413 fs/namei.c     	inode_lock_nested(path->dentry->d_inode, I_MUTEX_PARENT);
dentry           2414 fs/namei.c     	d = __lookup_hash(&last, path->dentry, 0);
dentry           2416 fs/namei.c     		inode_unlock(path->dentry->d_inode);
dentry           2438 fs/namei.c     int vfs_path_lookup(struct dentry *dentry, struct vfsmount *mnt,
dentry           2442 fs/namei.c     	struct path root = {.mnt = mnt, .dentry = dentry};
dentry           2449 fs/namei.c     static int lookup_one_len_common(const char *name, struct dentry *base,
dentry           2495 fs/namei.c     struct dentry *try_lookup_one_len(const char *name, struct dentry *base, int len)
dentry           2521 fs/namei.c     struct dentry *lookup_one_len(const char *name, struct dentry *base, int len)
dentry           2523 fs/namei.c     	struct dentry *dentry;
dentry           2533 fs/namei.c     	dentry = lookup_dcache(&this, base, 0);
dentry           2534 fs/namei.c     	return dentry ? dentry : __lookup_slow(&this, base, 0);
dentry           2550 fs/namei.c     struct dentry *lookup_one_len_unlocked(const char *name,
dentry           2551 fs/namei.c     				       struct dentry *base, int len)
dentry           2555 fs/namei.c     	struct dentry *ret;
dentry           2574 fs/namei.c     	struct dentry *child, *parent;
dentry           2582 fs/namei.c     	parent = path->dentry;
dentry           2589 fs/namei.c     	path->dentry = child;
dentry           2631 fs/namei.c     	struct dentry *dir = nd->path.dentry;
dentry           2646 fs/namei.c     		path.dentry = dget(nd->path.dentry);
dentry           2648 fs/namei.c     		path.dentry = d_lookup(dir, &nd->last);
dentry           2649 fs/namei.c     		if (!path.dentry) {
dentry           2656 fs/namei.c     			path.dentry = lookup_slow(&nd->last, dir,
dentry           2658 fs/namei.c     			if (IS_ERR(path.dentry))
dentry           2659 fs/namei.c     				return PTR_ERR(path.dentry);
dentry           2662 fs/namei.c     	if (d_is_negative(path.dentry)) {
dentry           2663 fs/namei.c     		dput(path.dentry);
dentry           2667 fs/namei.c     	return step_into(nd, &path, 0, d_backing_inode(path.dentry), 0);
dentry           2692 fs/namei.c     		nd->path.dentry = NULL;
dentry           2714 fs/namei.c     		audit_inode(name, path->dentry, AUDIT_INODE_NOEVAL);
dentry           2781 fs/namei.c     static int may_delete(struct inode *dir, struct dentry *victim, bool isdir)
dentry           2830 fs/namei.c     static inline int may_create(struct inode *dir, struct dentry *child)
dentry           2848 fs/namei.c     struct dentry *lock_rename(struct dentry *p1, struct dentry *p2)
dentry           2850 fs/namei.c     	struct dentry *p;
dentry           2879 fs/namei.c     void unlock_rename(struct dentry *p1, struct dentry *p2)
dentry           2889 fs/namei.c     int vfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           2892 fs/namei.c     	int error = may_create(dir, dentry);
dentry           2900 fs/namei.c     	error = security_inode_create(dir, dentry, mode);
dentry           2903 fs/namei.c     	error = dir->i_op->create(dir, dentry, mode, want_excl);
dentry           2905 fs/namei.c     		fsnotify_create(dir, dentry);
dentry           2910 fs/namei.c     int vfs_mkobj(struct dentry *dentry, umode_t mode,
dentry           2911 fs/namei.c     		int (*f)(struct dentry *, umode_t, void *),
dentry           2914 fs/namei.c     	struct inode *dir = dentry->d_parent->d_inode;
dentry           2915 fs/namei.c     	int error = may_create(dir, dentry);
dentry           2921 fs/namei.c     	error = security_inode_create(dir, dentry, mode);
dentry           2924 fs/namei.c     	error = f(dentry, mode, arg);
dentry           2926 fs/namei.c     		fsnotify_create(dir, dentry);
dentry           2939 fs/namei.c     	struct dentry *dentry = path->dentry;
dentry           2940 fs/namei.c     	struct inode *inode = dentry->d_inode;
dentry           2988 fs/namei.c     	struct inode *inode = path->dentry->d_inode;
dentry           2999 fs/namei.c     		error = do_truncate(path->dentry, 0,
dentry           3014 fs/namei.c     static int may_o_create(const struct path *dir, struct dentry *dentry, umode_t mode)
dentry           3017 fs/namei.c     	int error = security_path_mknod(dir, dentry, mode, 0);
dentry           3021 fs/namei.c     	s_user_ns = dir->dentry->d_sb->s_user_ns;
dentry           3026 fs/namei.c     	error = inode_permission(dir->dentry->d_inode, MAY_WRITE | MAY_EXEC);
dentry           3030 fs/namei.c     	return security_inode_create(dir->dentry->d_inode, dentry, mode);
dentry           3046 fs/namei.c     static int atomic_open(struct nameidata *nd, struct dentry *dentry,
dentry           3051 fs/namei.c     	struct dentry *const DENTRY_NOT_SET = (void *) -1UL;
dentry           3052 fs/namei.c     	struct inode *dir =  nd->path.dentry->d_inode;
dentry           3061 fs/namei.c     	file->f_path.dentry = DENTRY_NOT_SET;
dentry           3063 fs/namei.c     	error = dir->i_op->atomic_open(dir, dentry, file,
dentry           3065 fs/namei.c     	d_lookup_done(dentry);
dentry           3075 fs/namei.c     				fsnotify_create(dir, dentry);
dentry           3081 fs/namei.c     		} else if (WARN_ON(file->f_path.dentry == DENTRY_NOT_SET)) {
dentry           3084 fs/namei.c     			if (file->f_path.dentry) {
dentry           3085 fs/namei.c     				dput(dentry);
dentry           3086 fs/namei.c     				dentry = file->f_path.dentry;
dentry           3089 fs/namei.c     				fsnotify_create(dir, dentry);
dentry           3090 fs/namei.c     			if (unlikely(d_is_negative(dentry))) {
dentry           3093 fs/namei.c     				path->dentry = dentry;
dentry           3099 fs/namei.c     	dput(dentry);
dentry           3123 fs/namei.c     	struct dentry *dir = nd->path.dentry;
dentry           3126 fs/namei.c     	struct dentry *dentry;
dentry           3135 fs/namei.c     	dentry = d_lookup(dir, &nd->last);
dentry           3137 fs/namei.c     		if (!dentry) {
dentry           3138 fs/namei.c     			dentry = d_alloc_parallel(dir, &nd->last, &wq);
dentry           3139 fs/namei.c     			if (IS_ERR(dentry))
dentry           3140 fs/namei.c     				return PTR_ERR(dentry);
dentry           3142 fs/namei.c     		if (d_in_lookup(dentry))
dentry           3145 fs/namei.c     		error = d_revalidate(dentry, nd->flags);
dentry           3150 fs/namei.c     		d_invalidate(dentry);
dentry           3151 fs/namei.c     		dput(dentry);
dentry           3152 fs/namei.c     		dentry = NULL;
dentry           3154 fs/namei.c     	if (dentry->d_inode) {
dentry           3178 fs/namei.c     			create_error = may_o_create(&nd->path, dentry, mode);
dentry           3195 fs/namei.c     		error = atomic_open(nd, dentry, path, file, op, open_flag,
dentry           3203 fs/namei.c     	if (d_in_lookup(dentry)) {
dentry           3204 fs/namei.c     		struct dentry *res = dir_inode->i_op->lookup(dir_inode, dentry,
dentry           3206 fs/namei.c     		d_lookup_done(dentry);
dentry           3212 fs/namei.c     			dput(dentry);
dentry           3213 fs/namei.c     			dentry = res;
dentry           3218 fs/namei.c     	if (!dentry->d_inode && (open_flag & O_CREAT)) {
dentry           3220 fs/namei.c     		audit_inode_child(dir_inode, dentry, AUDIT_TYPE_CHILD_CREATE);
dentry           3225 fs/namei.c     		error = dir_inode->i_op->create(dir_inode, dentry, mode,
dentry           3229 fs/namei.c     		fsnotify_create(dir_inode, dentry);
dentry           3231 fs/namei.c     	if (unlikely(create_error) && !dentry->d_inode) {
dentry           3236 fs/namei.c     	path->dentry = dentry;
dentry           3241 fs/namei.c     	dput(dentry);
dentry           3251 fs/namei.c     	struct dentry *dir = nd->path.dentry;
dentry           3331 fs/namei.c     		audit_inode(nd->name, file->f_path.dentry, 0);
dentry           3358 fs/namei.c     	if (unlikely(d_is_negative(path.dentry))) {
dentry           3366 fs/namei.c     	audit_inode(nd->name, path.dentry, 0);
dentry           3374 fs/namei.c     	inode = d_backing_inode(path.dentry);
dentry           3384 fs/namei.c     	audit_inode(nd->name, nd->path.dentry, 0);
dentry           3387 fs/namei.c     		if (d_is_dir(nd->path.dentry))
dentry           3390 fs/namei.c     					     d_backing_inode(nd->path.dentry));
dentry           3395 fs/namei.c     	if ((nd->flags & LOOKUP_DIRECTORY) && !d_can_lookup(nd->path.dentry))
dentry           3397 fs/namei.c     	if (!d_is_reg(nd->path.dentry))
dentry           3428 fs/namei.c     struct dentry *vfs_tmpfile(struct dentry *dentry, umode_t mode, int open_flag)
dentry           3430 fs/namei.c     	struct dentry *child = NULL;
dentry           3431 fs/namei.c     	struct inode *dir = dentry->d_inode;
dentry           3443 fs/namei.c     	child = d_alloc(dentry, &slash_name);
dentry           3471 fs/namei.c     	struct dentry *child;
dentry           3479 fs/namei.c     	child = vfs_tmpfile(path.dentry, op->mode, op->open_flag);
dentry           3483 fs/namei.c     	dput(path.dentry);
dentry           3484 fs/namei.c     	path.dentry = child;
dentry           3504 fs/namei.c     		audit_inode(nd->name, path.dentry, 0);
dentry           3567 fs/namei.c     struct file *do_file_open_root(struct dentry *dentry, struct vfsmount *mnt,
dentry           3576 fs/namei.c     	nd.root.dentry = dentry;
dentry           3578 fs/namei.c     	if (d_is_symlink(dentry) && op->intent & LOOKUP_OPEN)
dentry           3596 fs/namei.c     static struct dentry *filename_create(int dfd, struct filename *name,
dentry           3599 fs/namei.c     	struct dentry *dentry = ERR_PTR(-EEXIST);
dentry           3629 fs/namei.c     	inode_lock_nested(path->dentry->d_inode, I_MUTEX_PARENT);
dentry           3630 fs/namei.c     	dentry = __lookup_hash(&last, path->dentry, lookup_flags);
dentry           3631 fs/namei.c     	if (IS_ERR(dentry))
dentry           3635 fs/namei.c     	if (d_is_positive(dentry))
dentry           3653 fs/namei.c     	return dentry;
dentry           3655 fs/namei.c     	dput(dentry);
dentry           3656 fs/namei.c     	dentry = ERR_PTR(error);
dentry           3658 fs/namei.c     	inode_unlock(path->dentry->d_inode);
dentry           3664 fs/namei.c     	return dentry;
dentry           3667 fs/namei.c     struct dentry *kern_path_create(int dfd, const char *pathname,
dentry           3675 fs/namei.c     void done_path_create(struct path *path, struct dentry *dentry)
dentry           3677 fs/namei.c     	dput(dentry);
dentry           3678 fs/namei.c     	inode_unlock(path->dentry->d_inode);
dentry           3684 fs/namei.c     inline struct dentry *user_path_create(int dfd, const char __user *pathname,
dentry           3691 fs/namei.c     int vfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry           3693 fs/namei.c     	int error = may_create(dir, dentry);
dentry           3708 fs/namei.c     	error = security_inode_mknod(dir, dentry, mode, dev);
dentry           3712 fs/namei.c     	error = dir->i_op->mknod(dir, dentry, mode, dev);
dentry           3714 fs/namei.c     		fsnotify_create(dir, dentry);
dentry           3739 fs/namei.c     	struct dentry *dentry;
dentry           3748 fs/namei.c     	dentry = user_path_create(dfd, filename, &path, lookup_flags);
dentry           3749 fs/namei.c     	if (IS_ERR(dentry))
dentry           3750 fs/namei.c     		return PTR_ERR(dentry);
dentry           3752 fs/namei.c     	if (!IS_POSIXACL(path.dentry->d_inode))
dentry           3754 fs/namei.c     	error = security_path_mknod(&path, dentry, mode, dev);
dentry           3759 fs/namei.c     			error = vfs_create(path.dentry->d_inode,dentry,mode,true);
dentry           3761 fs/namei.c     				ima_post_path_mknod(dentry);
dentry           3764 fs/namei.c     			error = vfs_mknod(path.dentry->d_inode,dentry,mode,
dentry           3768 fs/namei.c     			error = vfs_mknod(path.dentry->d_inode,dentry,mode,0);
dentry           3772 fs/namei.c     	done_path_create(&path, dentry);
dentry           3791 fs/namei.c     int vfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           3793 fs/namei.c     	int error = may_create(dir, dentry);
dentry           3803 fs/namei.c     	error = security_inode_mkdir(dir, dentry, mode);
dentry           3810 fs/namei.c     	error = dir->i_op->mkdir(dir, dentry, mode);
dentry           3812 fs/namei.c     		fsnotify_mkdir(dir, dentry);
dentry           3819 fs/namei.c     	struct dentry *dentry;
dentry           3825 fs/namei.c     	dentry = user_path_create(dfd, pathname, &path, lookup_flags);
dentry           3826 fs/namei.c     	if (IS_ERR(dentry))
dentry           3827 fs/namei.c     		return PTR_ERR(dentry);
dentry           3829 fs/namei.c     	if (!IS_POSIXACL(path.dentry->d_inode))
dentry           3831 fs/namei.c     	error = security_path_mkdir(&path, dentry, mode);
dentry           3833 fs/namei.c     		error = vfs_mkdir(path.dentry->d_inode, dentry, mode);
dentry           3834 fs/namei.c     	done_path_create(&path, dentry);
dentry           3852 fs/namei.c     int vfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry           3854 fs/namei.c     	int error = may_delete(dir, dentry, 1);
dentry           3862 fs/namei.c     	dget(dentry);
dentry           3863 fs/namei.c     	inode_lock(dentry->d_inode);
dentry           3866 fs/namei.c     	if (is_local_mountpoint(dentry))
dentry           3869 fs/namei.c     	error = security_inode_rmdir(dir, dentry);
dentry           3873 fs/namei.c     	error = dir->i_op->rmdir(dir, dentry);
dentry           3877 fs/namei.c     	shrink_dcache_parent(dentry);
dentry           3878 fs/namei.c     	dentry->d_inode->i_flags |= S_DEAD;
dentry           3879 fs/namei.c     	dont_mount(dentry);
dentry           3880 fs/namei.c     	detach_mounts(dentry);
dentry           3881 fs/namei.c     	fsnotify_rmdir(dir, dentry);
dentry           3884 fs/namei.c     	inode_unlock(dentry->d_inode);
dentry           3885 fs/namei.c     	dput(dentry);
dentry           3887 fs/namei.c     		d_delete(dentry);
dentry           3896 fs/namei.c     	struct dentry *dentry;
dentry           3923 fs/namei.c     	inode_lock_nested(path.dentry->d_inode, I_MUTEX_PARENT);
dentry           3924 fs/namei.c     	dentry = __lookup_hash(&last, path.dentry, lookup_flags);
dentry           3925 fs/namei.c     	error = PTR_ERR(dentry);
dentry           3926 fs/namei.c     	if (IS_ERR(dentry))
dentry           3928 fs/namei.c     	if (!dentry->d_inode) {
dentry           3932 fs/namei.c     	error = security_path_rmdir(&path, dentry);
dentry           3935 fs/namei.c     	error = vfs_rmdir(path.dentry->d_inode, dentry);
dentry           3937 fs/namei.c     	dput(dentry);
dentry           3939 fs/namei.c     	inode_unlock(path.dentry->d_inode);
dentry           3974 fs/namei.c     int vfs_unlink(struct inode *dir, struct dentry *dentry, struct inode **delegated_inode)
dentry           3976 fs/namei.c     	struct inode *target = dentry->d_inode;
dentry           3977 fs/namei.c     	int error = may_delete(dir, dentry, 0);
dentry           3986 fs/namei.c     	if (is_local_mountpoint(dentry))
dentry           3989 fs/namei.c     		error = security_inode_unlink(dir, dentry);
dentry           3994 fs/namei.c     			error = dir->i_op->unlink(dir, dentry);
dentry           3996 fs/namei.c     				dont_mount(dentry);
dentry           3997 fs/namei.c     				detach_mounts(dentry);
dentry           3998 fs/namei.c     				fsnotify_unlink(dir, dentry);
dentry           4006 fs/namei.c     	if (!error && !(dentry->d_flags & DCACHE_NFSFS_RENAMED)) {
dentry           4008 fs/namei.c     		d_delete(dentry);
dentry           4024 fs/namei.c     	struct dentry *dentry;
dentry           4044 fs/namei.c     	inode_lock_nested(path.dentry->d_inode, I_MUTEX_PARENT);
dentry           4045 fs/namei.c     	dentry = __lookup_hash(&last, path.dentry, lookup_flags);
dentry           4046 fs/namei.c     	error = PTR_ERR(dentry);
dentry           4047 fs/namei.c     	if (!IS_ERR(dentry)) {
dentry           4051 fs/namei.c     		inode = dentry->d_inode;
dentry           4052 fs/namei.c     		if (d_is_negative(dentry))
dentry           4055 fs/namei.c     		error = security_path_unlink(&path, dentry);
dentry           4058 fs/namei.c     		error = vfs_unlink(path.dentry->d_inode, dentry, &delegated_inode);
dentry           4060 fs/namei.c     		dput(dentry);
dentry           4062 fs/namei.c     	inode_unlock(path.dentry->d_inode);
dentry           4083 fs/namei.c     	if (d_is_negative(dentry))
dentry           4085 fs/namei.c     	else if (d_is_dir(dentry))
dentry           4108 fs/namei.c     int vfs_symlink(struct inode *dir, struct dentry *dentry, const char *oldname)
dentry           4110 fs/namei.c     	int error = may_create(dir, dentry);
dentry           4118 fs/namei.c     	error = security_inode_symlink(dir, dentry, oldname);
dentry           4122 fs/namei.c     	error = dir->i_op->symlink(dir, dentry, oldname);
dentry           4124 fs/namei.c     		fsnotify_create(dir, dentry);
dentry           4134 fs/namei.c     	struct dentry *dentry;
dentry           4142 fs/namei.c     	dentry = user_path_create(newdfd, newname, &path, lookup_flags);
dentry           4143 fs/namei.c     	error = PTR_ERR(dentry);
dentry           4144 fs/namei.c     	if (IS_ERR(dentry))
dentry           4147 fs/namei.c     	error = security_path_symlink(&path, dentry, from->name);
dentry           4149 fs/namei.c     		error = vfs_symlink(path.dentry->d_inode, dentry, from->name);
dentry           4150 fs/namei.c     	done_path_create(&path, dentry);
dentry           4190 fs/namei.c     int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)
dentry           4263 fs/namei.c     	struct dentry *new_dentry;
dentry           4301 fs/namei.c     	error = security_path_link(old_path.dentry, &new_path, new_dentry);
dentry           4304 fs/namei.c     	error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode);
dentry           4386 fs/namei.c     int vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           4387 fs/namei.c     	       struct inode *new_dir, struct dentry *new_dentry,
dentry           4514 fs/namei.c     	struct dentry *old_dentry, *new_dentry;
dentry           4515 fs/namei.c     	struct dentry *trap;
dentry           4572 fs/namei.c     	trap = lock_rename(new_path.dentry, old_path.dentry);
dentry           4574 fs/namei.c     	old_dentry = __lookup_hash(&old_last, old_path.dentry, lookup_flags);
dentry           4582 fs/namei.c     	new_dentry = __lookup_hash(&new_last, new_path.dentry, lookup_flags | target_flags);
dentry           4622 fs/namei.c     	error = vfs_rename(old_path.dentry->d_inode, old_dentry,
dentry           4623 fs/namei.c     			   new_path.dentry->d_inode, new_dentry,
dentry           4630 fs/namei.c     	unlock_rename(new_path.dentry, old_path.dentry);
dentry           4671 fs/namei.c     int vfs_whiteout(struct inode *dir, struct dentry *dentry)
dentry           4673 fs/namei.c     	int error = may_create(dir, dentry);
dentry           4680 fs/namei.c     	return dir->i_op->mknod(dir, dentry,
dentry           4710 fs/namei.c     int vfs_readlink(struct dentry *dentry, char __user *buffer, int buflen)
dentry           4712 fs/namei.c     	struct inode *inode = d_inode(dentry);
dentry           4719 fs/namei.c     			return inode->i_op->readlink(dentry, buffer, buflen);
dentry           4721 fs/namei.c     		if (!d_is_symlink(dentry))
dentry           4731 fs/namei.c     		link = inode->i_op->get_link(dentry, inode, &done);
dentry           4752 fs/namei.c     const char *vfs_get_link(struct dentry *dentry, struct delayed_call *done)
dentry           4755 fs/namei.c     	struct inode *inode = d_inode(dentry);
dentry           4757 fs/namei.c     	if (d_is_symlink(dentry)) {
dentry           4758 fs/namei.c     		res = ERR_PTR(security_inode_readlink(dentry));
dentry           4760 fs/namei.c     			res = inode->i_op->get_link(dentry, inode, done);
dentry           4767 fs/namei.c     const char *page_get_link(struct dentry *dentry, struct inode *inode,
dentry           4774 fs/namei.c     	if (!dentry) {
dentry           4802 fs/namei.c     int page_readlink(struct dentry *dentry, char __user *buffer, int buflen)
dentry           4806 fs/namei.c     				page_get_link(dentry, d_inode(dentry),
dentry             90 fs/namespace.c static inline struct hlist_head *m_hash(struct vfsmount *mnt, struct dentry *dentry)
dentry             93 fs/namespace.c 	tmp += ((unsigned long)dentry / L1_CACHE_BYTES);
dentry             98 fs/namespace.c static inline struct hlist_head *mp_hash(struct dentry *dentry)
dentry            100 fs/namespace.c 	unsigned long tmp = ((unsigned long)dentry / L1_CACHE_BYTES);
dentry            608 fs/namespace.c struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry)
dentry            610 fs/namespace.c 	struct hlist_head *head = m_hash(mnt, dentry);
dentry            614 fs/namespace.c 		if (&p->mnt_parent->mnt == mnt && p->mnt_mountpoint == dentry)
dentry            644 fs/namespace.c 		child_mnt = __lookup_mnt(path->mnt, path->dentry);
dentry            666 fs/namespace.c bool __is_local_mountpoint(struct dentry *dentry)
dentry            672 fs/namespace.c 	if (!d_mountpoint(dentry))
dentry            677 fs/namespace.c 		is_covered = (mnt->mnt_mountpoint == dentry);
dentry            686 fs/namespace.c static struct mountpoint *lookup_mountpoint(struct dentry *dentry)
dentry            688 fs/namespace.c 	struct hlist_head *chain = mp_hash(dentry);
dentry            692 fs/namespace.c 		if (mp->m_dentry == dentry) {
dentry            700 fs/namespace.c static struct mountpoint *get_mountpoint(struct dentry *dentry)
dentry            705 fs/namespace.c 	if (d_mountpoint(dentry)) {
dentry            707 fs/namespace.c 		if (d_unlinked(dentry))
dentry            711 fs/namespace.c 		mp = lookup_mountpoint(dentry);
dentry            724 fs/namespace.c 	ret = d_set_mounted(dentry);
dentry            737 fs/namespace.c 	new->m_dentry = dget(dentry);
dentry            739 fs/namespace.c 	hlist_add_head(&new->m_hash, mp_hash(dentry));
dentry            757 fs/namespace.c 		struct dentry *dentry = mp->m_dentry;
dentry            759 fs/namespace.c 		spin_lock(&dentry->d_lock);
dentry            760 fs/namespace.c 		dentry->d_flags &= ~DCACHE_MOUNTED;
dentry            761 fs/namespace.c 		spin_unlock(&dentry->d_lock);
dentry            762 fs/namespace.c 		dput_to_list(dentry, list);
dentry           1002 fs/namespace.c vfs_submount(const struct dentry *mountpoint, struct file_system_type *type,
dentry           1016 fs/namespace.c static struct mount *clone_mnt(struct mount *old, struct dentry *root,
dentry           1223 fs/namespace.c 	if (!d_mountpoint(path->dentry))
dentry           1240 fs/namespace.c 	p = clone_mnt(real_mount(path->mnt), path->dentry, CL_PRIVATE);
dentry           1612 fs/namespace.c void __detach_mounts(struct dentry *dentry)
dentry           1619 fs/namespace.c 	mp = lookup_mountpoint(dentry);
dentry           1688 fs/namespace.c 	if (path.dentry != path.mnt->mnt_root)
dentry           1701 fs/namespace.c 	dput(path.dentry);
dentry           1724 fs/namespace.c static bool is_mnt_ns_file(struct dentry *dentry)
dentry           1727 fs/namespace.c 	return dentry->d_op == &ns_dentry_operations &&
dentry           1728 fs/namespace.c 	       dentry->d_fsdata == &mntns_operations;
dentry           1736 fs/namespace.c static bool mnt_ns_loop(struct dentry *dentry)
dentry           1742 fs/namespace.c 	if (!is_mnt_ns_file(dentry))
dentry           1745 fs/namespace.c 	mnt_ns = to_mnt_ns(get_proc_ns(dentry->d_inode));
dentry           1749 fs/namespace.c struct mount *copy_tree(struct mount *mnt, struct dentry *dentry,
dentry           1757 fs/namespace.c 	if (!(flag & CL_COPY_MNT_NS_FILE) && is_mnt_ns_file(dentry))
dentry           1760 fs/namespace.c 	res = q = clone_mnt(mnt, dentry, flag);
dentry           1769 fs/namespace.c 		if (!is_subdir(r->mnt_mountpoint, dentry))
dentry           1823 fs/namespace.c 		tree = copy_tree(real_mount(path->mnt), path->dentry,
dentry           1878 fs/namespace.c 	new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE);
dentry           2132 fs/namespace.c 	struct dentry *dentry = path->dentry;
dentry           2134 fs/namespace.c 	inode_lock(dentry->d_inode);
dentry           2135 fs/namespace.c 	if (unlikely(cant_mount(dentry))) {
dentry           2136 fs/namespace.c 		inode_unlock(dentry->d_inode);
dentry           2142 fs/namespace.c 		struct mountpoint *mp = get_mountpoint(dentry);
dentry           2145 fs/namespace.c 			inode_unlock(dentry->d_inode);
dentry           2151 fs/namespace.c 	inode_unlock(path->dentry->d_inode);
dentry           2154 fs/namespace.c 	dentry = path->dentry = dget(mnt->mnt_root);
dentry           2160 fs/namespace.c 	struct dentry *dentry = where->m_dentry;
dentry           2167 fs/namespace.c 	inode_unlock(dentry->d_inode);
dentry           2210 fs/namespace.c 	if (path->dentry != path->mnt->mnt_root)
dentry           2234 fs/namespace.c static bool has_locked_children(struct mount *mnt, struct dentry *dentry)
dentry           2238 fs/namespace.c 		if (!is_subdir(child->mnt_mountpoint, dentry))
dentry           2254 fs/namespace.c 	if (!check_mnt(old) && old_path->dentry->d_op != &ns_dentry_operations)
dentry           2257 fs/namespace.c 	if (!recurse && has_locked_children(old, old_path->dentry))
dentry           2261 fs/namespace.c 		mnt = copy_tree(old, old_path->dentry, CL_COPY_MNT_NS_FILE);
dentry           2263 fs/namespace.c 		mnt = clone_mnt(old, old_path->dentry, 0);
dentry           2288 fs/namespace.c 	if (mnt_ns_loop(old_path.dentry))
dentry           2505 fs/namespace.c 	if (path->dentry != mnt->mnt.mnt_root)
dentry           2538 fs/namespace.c 	if (path->dentry != path->mnt->mnt_root)
dentry           2544 fs/namespace.c 	fc = fs_context_for_reconfigure(path->dentry, sb_flags, MS_RMT_MASK);
dentry           2635 fs/namespace.c 	if (old_path->dentry != old_path->mnt->mnt_root)
dentry           2638 fs/namespace.c 	if (d_is_dir(new_path->dentry) !=
dentry           2639 fs/namespace.c 	    d_is_dir(old_path->dentry))
dentry           2726 fs/namespace.c 	    path->mnt->mnt_root == path->dentry)
dentry           2840 fs/namespace.c 	    m->mnt_root == path->dentry) {
dentry           3291 fs/namespace.c struct dentry *mount_subtree(struct vfsmount *m, const char *name)
dentry           3324 fs/namespace.c 	return path.dentry;
dentry           3460 fs/namespace.c 	newmount.dentry = dget(fc->root);
dentry           3571 fs/namespace.c bool is_path_reachable(struct mount *mnt, struct dentry *dentry,
dentry           3575 fs/namespace.c 		dentry = mnt->mnt_mountpoint;
dentry           3578 fs/namespace.c 	return &mnt->mnt == root->mnt && is_subdir(dentry, root->dentry);
dentry           3585 fs/namespace.c 	res = is_path_reachable(real_mount(path1->mnt), path1->dentry, path2);
dentry           3662 fs/namespace.c 	if (d_unlinked(new.dentry))
dentry           3668 fs/namespace.c 	if (root.mnt->mnt_root != root.dentry)
dentry           3672 fs/namespace.c 	if (new.mnt->mnt_root != new.dentry)
dentry           3677 fs/namespace.c 	if (!is_path_reachable(old_mnt, old.dentry, &new))
dentry           3680 fs/namespace.c 	if (!is_path_reachable(new_mnt, new.dentry, &root))
dentry           3738 fs/namespace.c 	root.dentry = mnt->mnt_root;
dentry           3828 fs/namespace.c 	ns_root.dentry = ns_root.mnt->mnt_root;
dentry           3830 fs/namespace.c 	while (d_mountpoint(ns_root.dentry) && follow_down_one(&ns_root))
dentry            145 fs/nfs/blocklayout/rpc_pipefs.c static struct dentry *nfs4blocklayout_register_sb(struct super_block *sb,
dentry            148 fs/nfs/blocklayout/rpc_pipefs.c 	struct dentry *dir, *dentry;
dentry            153 fs/nfs/blocklayout/rpc_pipefs.c 	dentry = rpc_mkpipe_dentry(dir, "blocklayout", NULL, pipe);
dentry            155 fs/nfs/blocklayout/rpc_pipefs.c 	return dentry;
dentry            161 fs/nfs/blocklayout/rpc_pipefs.c 	if (pipe->dentry)
dentry            162 fs/nfs/blocklayout/rpc_pipefs.c 		rpc_unlink(pipe->dentry);
dentry            171 fs/nfs/blocklayout/rpc_pipefs.c 	struct dentry *dentry;
dentry            184 fs/nfs/blocklayout/rpc_pipefs.c 		dentry = nfs4blocklayout_register_sb(sb, nn->bl_device_pipe);
dentry            185 fs/nfs/blocklayout/rpc_pipefs.c 		if (IS_ERR(dentry)) {
dentry            186 fs/nfs/blocklayout/rpc_pipefs.c 			ret = PTR_ERR(dentry);
dentry            189 fs/nfs/blocklayout/rpc_pipefs.c 		nn->bl_device_pipe->dentry = dentry;
dentry            192 fs/nfs/blocklayout/rpc_pipefs.c 		if (nn->bl_device_pipe->dentry)
dentry            207 fs/nfs/blocklayout/rpc_pipefs.c static struct dentry *nfs4blocklayout_register_net(struct net *net,
dentry            211 fs/nfs/blocklayout/rpc_pipefs.c 	struct dentry *dentry;
dentry            216 fs/nfs/blocklayout/rpc_pipefs.c 	dentry = nfs4blocklayout_register_sb(pipefs_sb, pipe);
dentry            218 fs/nfs/blocklayout/rpc_pipefs.c 	return dentry;
dentry            236 fs/nfs/blocklayout/rpc_pipefs.c 	struct dentry *dentry;
dentry            243 fs/nfs/blocklayout/rpc_pipefs.c 	dentry = nfs4blocklayout_register_net(net, nn->bl_device_pipe);
dentry            244 fs/nfs/blocklayout/rpc_pipefs.c 	if (IS_ERR(dentry)) {
dentry            246 fs/nfs/blocklayout/rpc_pipefs.c 		return PTR_ERR(dentry);
dentry            248 fs/nfs/blocklayout/rpc_pipefs.c 	nn->bl_device_pipe->dentry = dentry;
dentry            119 fs/nfs/cache_lib.c 	struct dentry *dir;
dentry            391 fs/nfs/dir.c   int nfs_same_file(struct dentry *dentry, struct nfs_entry *entry)
dentry            396 fs/nfs/dir.c   	if (d_really_is_negative(dentry))
dentry            399 fs/nfs/dir.c   	inode = d_inode(dentry);
dentry            457 fs/nfs/dir.c   void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
dentry            461 fs/nfs/dir.c   	struct dentry *dentry;
dentry            462 fs/nfs/dir.c   	struct dentry *alias;
dentry            487 fs/nfs/dir.c   	dentry = d_lookup(parent, &filename);
dentry            489 fs/nfs/dir.c   	if (!dentry) {
dentry            490 fs/nfs/dir.c   		dentry = d_alloc_parallel(parent, &filename, &wq);
dentry            491 fs/nfs/dir.c   		if (IS_ERR(dentry))
dentry            494 fs/nfs/dir.c   	if (!d_in_lookup(dentry)) {
dentry            496 fs/nfs/dir.c   		if (!nfs_fsid_equal(&NFS_SB(dentry->d_sb)->fsid,
dentry            499 fs/nfs/dir.c   		if (nfs_same_file(dentry, entry)) {
dentry            502 fs/nfs/dir.c   			nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry            503 fs/nfs/dir.c   			status = nfs_refresh_inode(d_inode(dentry), entry->fattr);
dentry            505 fs/nfs/dir.c   				nfs_setsecurity(d_inode(dentry), entry->fattr, entry->label);
dentry            508 fs/nfs/dir.c   			d_invalidate(dentry);
dentry            509 fs/nfs/dir.c   			dput(dentry);
dentry            510 fs/nfs/dir.c   			dentry = NULL;
dentry            515 fs/nfs/dir.c   		d_lookup_done(dentry);
dentry            519 fs/nfs/dir.c   	inode = nfs_fhget(dentry->d_sb, entry->fh, entry->fattr, entry->label);
dentry            520 fs/nfs/dir.c   	alias = d_splice_alias(inode, dentry);
dentry            521 fs/nfs/dir.c   	d_lookup_done(dentry);
dentry            525 fs/nfs/dir.c   		dput(dentry);
dentry            526 fs/nfs/dir.c   		dentry = alias;
dentry            528 fs/nfs/dir.c   	nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry            530 fs/nfs/dir.c   	dput(dentry);
dentry            853 fs/nfs/dir.c   	struct dentry	*dentry = file_dentry(file);
dentry            854 fs/nfs/dir.c   	struct inode	*inode = d_inode(dentry);
dentry            995 fs/nfs/dir.c   static int nfs_check_verifier(struct inode *dir, struct dentry *dentry,
dentry            998 fs/nfs/dir.c   	if (IS_ROOT(dentry))
dentry           1002 fs/nfs/dir.c   	if (!nfs_verify_change_attribute(dir, dentry->d_time))
dentry           1011 fs/nfs/dir.c   	if (!nfs_verify_change_attribute(dir, dentry->d_time))
dentry           1087 fs/nfs/dir.c   int nfs_neg_need_reval(struct inode *dir, struct dentry *dentry,
dentry           1094 fs/nfs/dir.c   	return !nfs_check_verifier(dir, dentry, flags & LOOKUP_RCU);
dentry           1098 fs/nfs/dir.c   nfs_lookup_revalidate_done(struct inode *dir, struct dentry *dentry,
dentry           1104 fs/nfs/dir.c   			__func__, dentry);
dentry           1117 fs/nfs/dir.c   			if (IS_ROOT(dentry))
dentry           1121 fs/nfs/dir.c   				__func__, dentry);
dentry           1125 fs/nfs/dir.c   				__func__, dentry, error);
dentry           1130 fs/nfs/dir.c   nfs_lookup_revalidate_negative(struct inode *dir, struct dentry *dentry,
dentry           1134 fs/nfs/dir.c   	if (nfs_neg_need_reval(dir, dentry, flags)) {
dentry           1139 fs/nfs/dir.c   	return nfs_lookup_revalidate_done(dir, dentry, NULL, ret);
dentry           1143 fs/nfs/dir.c   nfs_lookup_revalidate_delegated(struct inode *dir, struct dentry *dentry,
dentry           1146 fs/nfs/dir.c   	nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1147 fs/nfs/dir.c   	return nfs_lookup_revalidate_done(dir, dentry, inode, 1);
dentry           1151 fs/nfs/dir.c   nfs_lookup_revalidate_dentry(struct inode *dir, struct dentry *dentry,
dentry           1166 fs/nfs/dir.c   	ret = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label);
dentry           1179 fs/nfs/dir.c   	nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1188 fs/nfs/dir.c   	return nfs_lookup_revalidate_done(dir, dentry, inode, ret);
dentry           1203 fs/nfs/dir.c   nfs_do_lookup_revalidate(struct inode *dir, struct dentry *dentry,
dentry           1210 fs/nfs/dir.c   	inode = d_inode(dentry);
dentry           1213 fs/nfs/dir.c   		return nfs_lookup_revalidate_negative(dir, dentry, flags);
dentry           1217 fs/nfs/dir.c   				__func__, dentry);
dentry           1222 fs/nfs/dir.c   		return nfs_lookup_revalidate_delegated(dir, dentry, inode);
dentry           1226 fs/nfs/dir.c   	    nfs_check_verifier(dir, dentry, flags & LOOKUP_RCU)) {
dentry           1243 fs/nfs/dir.c   	trace_nfs_lookup_revalidate_enter(dir, dentry, flags);
dentry           1244 fs/nfs/dir.c   	error = nfs_lookup_revalidate_dentry(dir, dentry, inode);
dentry           1245 fs/nfs/dir.c   	trace_nfs_lookup_revalidate_exit(dir, dentry, flags, error);
dentry           1248 fs/nfs/dir.c   	return nfs_lookup_revalidate_done(dir, dentry, inode, 1);
dentry           1252 fs/nfs/dir.c   	return nfs_lookup_revalidate_done(dir, dentry, inode, 0);
dentry           1256 fs/nfs/dir.c   __nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags,
dentry           1257 fs/nfs/dir.c   			int (*reval)(struct inode *, struct dentry *, unsigned int))
dentry           1259 fs/nfs/dir.c   	struct dentry *parent;
dentry           1264 fs/nfs/dir.c   		parent = READ_ONCE(dentry->d_parent);
dentry           1268 fs/nfs/dir.c   		ret = reval(dir, dentry, flags);
dentry           1269 fs/nfs/dir.c   		if (parent != READ_ONCE(dentry->d_parent))
dentry           1272 fs/nfs/dir.c   		parent = dget_parent(dentry);
dentry           1273 fs/nfs/dir.c   		ret = reval(d_inode(parent), dentry, flags);
dentry           1279 fs/nfs/dir.c   static int nfs_lookup_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1281 fs/nfs/dir.c   	return __nfs_lookup_revalidate(dentry, flags, nfs_do_lookup_revalidate);
dentry           1293 fs/nfs/dir.c   static int nfs_weak_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1295 fs/nfs/dir.c   	struct inode *inode = d_inode(dentry);
dentry           1305 fs/nfs/dir.c   				__func__, dentry);
dentry           1311 fs/nfs/dir.c   				__func__, dentry);
dentry           1324 fs/nfs/dir.c   static int nfs_dentry_delete(const struct dentry *dentry)
dentry           1327 fs/nfs/dir.c   		dentry, dentry->d_flags);
dentry           1330 fs/nfs/dir.c   	if (d_really_is_positive(dentry) && NFS_STALE(d_inode(dentry)))
dentry           1333 fs/nfs/dir.c   	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
dentry           1337 fs/nfs/dir.c   	if (!(dentry->d_sb->s_flags & SB_ACTIVE)) {
dentry           1365 fs/nfs/dir.c   static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
dentry           1371 fs/nfs/dir.c   	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
dentry           1372 fs/nfs/dir.c   		nfs_complete_unlink(dentry, inode);
dentry           1378 fs/nfs/dir.c   static void nfs_d_release(struct dentry *dentry)
dentry           1381 fs/nfs/dir.c   	if (unlikely(dentry->d_fsdata)) {
dentry           1382 fs/nfs/dir.c   		if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry           1385 fs/nfs/dir.c   			kfree(dentry->d_fsdata);
dentry           1399 fs/nfs/dir.c   struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags)
dentry           1401 fs/nfs/dir.c   	struct dentry *res;
dentry           1408 fs/nfs/dir.c   	dfprintk(VFS, "NFS: lookup(%pd2)\n", dentry);
dentry           1411 fs/nfs/dir.c   	if (unlikely(dentry->d_name.len > NFS_SERVER(dir)->namelen))
dentry           1431 fs/nfs/dir.c   	trace_nfs_lookup_enter(dir, dentry, flags);
dentry           1432 fs/nfs/dir.c   	error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, label);
dentry           1439 fs/nfs/dir.c   	inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label);
dentry           1448 fs/nfs/dir.c   	res = d_splice_alias(inode, dentry);
dentry           1452 fs/nfs/dir.c   		dentry = res;
dentry           1454 fs/nfs/dir.c   	nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1456 fs/nfs/dir.c   	trace_nfs_lookup_exit(dir, dentry, flags, error);
dentry           1466 fs/nfs/dir.c   static int nfs4_lookup_revalidate(struct dentry *, unsigned int);
dentry           1488 fs/nfs/dir.c   static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, struct file *filp)
dentry           1490 fs/nfs/dir.c   	return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp);
dentry           1500 fs/nfs/dir.c   			   struct dentry *dentry,
dentry           1505 fs/nfs/dir.c   	err = finish_open(file, dentry, do_open);
dentry           1508 fs/nfs/dir.c   	if (S_ISREG(file->f_path.dentry->d_inode->i_mode))
dentry           1516 fs/nfs/dir.c   int nfs_atomic_open(struct inode *dir, struct dentry *dentry,
dentry           1522 fs/nfs/dir.c   	struct dentry *res;
dentry           1531 fs/nfs/dir.c   	BUG_ON(d_inode(dentry));
dentry           1534 fs/nfs/dir.c   			dir->i_sb->s_id, dir->i_ino, dentry);
dentry           1542 fs/nfs/dir.c   		if (!d_in_lookup(dentry)) {
dentry           1554 fs/nfs/dir.c   	if (dentry->d_name.len > NFS_SERVER(dir)->namelen)
dentry           1571 fs/nfs/dir.c   	if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) {
dentry           1572 fs/nfs/dir.c   		d_drop(dentry);
dentry           1574 fs/nfs/dir.c   		dentry = d_alloc_parallel(dentry->d_parent,
dentry           1575 fs/nfs/dir.c   					  &dentry->d_name, &wq);
dentry           1576 fs/nfs/dir.c   		if (IS_ERR(dentry))
dentry           1577 fs/nfs/dir.c   			return PTR_ERR(dentry);
dentry           1578 fs/nfs/dir.c   		if (unlikely(!d_in_lookup(dentry)))
dentry           1579 fs/nfs/dir.c   			return finish_no_open(file, dentry);
dentry           1582 fs/nfs/dir.c   	ctx = create_nfs_open_context(dentry, open_flags, file);
dentry           1595 fs/nfs/dir.c   		d_drop(dentry);
dentry           1598 fs/nfs/dir.c   			d_splice_alias(NULL, dentry);
dentry           1599 fs/nfs/dir.c   			nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1615 fs/nfs/dir.c   	err = nfs_finish_open(ctx, ctx->dentry, file, open_flags);
dentry           1620 fs/nfs/dir.c   		d_lookup_done(dentry);
dentry           1621 fs/nfs/dir.c   		dput(dentry);
dentry           1626 fs/nfs/dir.c   	res = nfs_lookup(dir, dentry, lookup_flags);
dentry           1628 fs/nfs/dir.c   		d_lookup_done(dentry);
dentry           1630 fs/nfs/dir.c   			res = dentry;
dentry           1632 fs/nfs/dir.c   			dput(dentry);
dentry           1641 fs/nfs/dir.c   nfs4_do_lookup_revalidate(struct inode *dir, struct dentry *dentry,
dentry           1648 fs/nfs/dir.c   	if (d_mountpoint(dentry))
dentry           1651 fs/nfs/dir.c   	inode = d_inode(dentry);
dentry           1660 fs/nfs/dir.c   		return nfs_lookup_revalidate_delegated(dir, dentry, inode);
dentry           1671 fs/nfs/dir.c   	if (!nfs_check_verifier(dir, dentry, flags & LOOKUP_RCU))
dentry           1679 fs/nfs/dir.c   	return nfs_lookup_revalidate_dentry(dir, dentry, inode);
dentry           1682 fs/nfs/dir.c   	return nfs_do_lookup_revalidate(dir, dentry, flags);
dentry           1685 fs/nfs/dir.c   static int nfs4_lookup_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1687 fs/nfs/dir.c   	return __nfs_lookup_revalidate(dentry, flags,
dentry           1693 fs/nfs/dir.c   struct dentry *
dentry           1694 fs/nfs/dir.c   nfs_add_or_obtain(struct dentry *dentry, struct nfs_fh *fhandle,
dentry           1698 fs/nfs/dir.c   	struct dentry *parent = dget_parent(dentry);
dentry           1701 fs/nfs/dir.c   	struct dentry *d;
dentry           1704 fs/nfs/dir.c   	d_drop(dentry);
dentry           1707 fs/nfs/dir.c   		error = NFS_PROTO(dir)->lookup(dir, &dentry->d_name, fhandle, fattr, NULL);
dentry           1711 fs/nfs/dir.c   	nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1713 fs/nfs/dir.c   		struct nfs_server *server = NFS_SB(dentry->d_sb);
dentry           1719 fs/nfs/dir.c   	inode = nfs_fhget(dentry->d_sb, fhandle, fattr, label);
dentry           1720 fs/nfs/dir.c   	d = d_splice_alias(inode, dentry);
dentry           1734 fs/nfs/dir.c   int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fhandle,
dentry           1738 fs/nfs/dir.c   	struct dentry *d;
dentry           1740 fs/nfs/dir.c   	d = nfs_add_or_obtain(dentry, fhandle, fattr, label);
dentry           1756 fs/nfs/dir.c   int nfs_create(struct inode *dir, struct dentry *dentry,
dentry           1764 fs/nfs/dir.c   			dir->i_sb->s_id, dir->i_ino, dentry);
dentry           1769 fs/nfs/dir.c   	trace_nfs_create_enter(dir, dentry, open_flags);
dentry           1770 fs/nfs/dir.c   	error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags);
dentry           1771 fs/nfs/dir.c   	trace_nfs_create_exit(dir, dentry, open_flags, error);
dentry           1776 fs/nfs/dir.c   	d_drop(dentry);
dentry           1785 fs/nfs/dir.c   nfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry           1791 fs/nfs/dir.c   			dir->i_sb->s_id, dir->i_ino, dentry);
dentry           1796 fs/nfs/dir.c   	trace_nfs_mknod_enter(dir, dentry);
dentry           1797 fs/nfs/dir.c   	status = NFS_PROTO(dir)->mknod(dir, dentry, &attr, rdev);
dentry           1798 fs/nfs/dir.c   	trace_nfs_mknod_exit(dir, dentry, status);
dentry           1803 fs/nfs/dir.c   	d_drop(dentry);
dentry           1811 fs/nfs/dir.c   int nfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1817 fs/nfs/dir.c   			dir->i_sb->s_id, dir->i_ino, dentry);
dentry           1822 fs/nfs/dir.c   	trace_nfs_mkdir_enter(dir, dentry);
dentry           1823 fs/nfs/dir.c   	error = NFS_PROTO(dir)->mkdir(dir, dentry, &attr);
dentry           1824 fs/nfs/dir.c   	trace_nfs_mkdir_exit(dir, dentry, error);
dentry           1829 fs/nfs/dir.c   	d_drop(dentry);
dentry           1834 fs/nfs/dir.c   static void nfs_dentry_handle_enoent(struct dentry *dentry)
dentry           1836 fs/nfs/dir.c   	if (simple_positive(dentry))
dentry           1837 fs/nfs/dir.c   		d_delete(dentry);
dentry           1840 fs/nfs/dir.c   int nfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1845 fs/nfs/dir.c   			dir->i_sb->s_id, dir->i_ino, dentry);
dentry           1847 fs/nfs/dir.c   	trace_nfs_rmdir_enter(dir, dentry);
dentry           1848 fs/nfs/dir.c   	if (d_really_is_positive(dentry)) {
dentry           1849 fs/nfs/dir.c   		down_write(&NFS_I(d_inode(dentry))->rmdir_sem);
dentry           1850 fs/nfs/dir.c   		error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name);
dentry           1854 fs/nfs/dir.c   			clear_nlink(d_inode(dentry));
dentry           1857 fs/nfs/dir.c   			nfs_dentry_handle_enoent(dentry);
dentry           1859 fs/nfs/dir.c   		up_write(&NFS_I(d_inode(dentry))->rmdir_sem);
dentry           1861 fs/nfs/dir.c   		error = NFS_PROTO(dir)->rmdir(dir, &dentry->d_name);
dentry           1862 fs/nfs/dir.c   	trace_nfs_rmdir_exit(dir, dentry, error);
dentry           1875 fs/nfs/dir.c   static int nfs_safe_remove(struct dentry *dentry)
dentry           1877 fs/nfs/dir.c   	struct inode *dir = d_inode(dentry->d_parent);
dentry           1878 fs/nfs/dir.c   	struct inode *inode = d_inode(dentry);
dentry           1881 fs/nfs/dir.c   	dfprintk(VFS, "NFS: safe_remove(%pd2)\n", dentry);
dentry           1884 fs/nfs/dir.c   	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
dentry           1889 fs/nfs/dir.c   	trace_nfs_remove_enter(dir, dentry);
dentry           1891 fs/nfs/dir.c   		error = NFS_PROTO(dir)->remove(dir, dentry);
dentry           1895 fs/nfs/dir.c   		error = NFS_PROTO(dir)->remove(dir, dentry);
dentry           1897 fs/nfs/dir.c   		nfs_dentry_handle_enoent(dentry);
dentry           1898 fs/nfs/dir.c   	trace_nfs_remove_exit(dir, dentry, error);
dentry           1908 fs/nfs/dir.c   int nfs_unlink(struct inode *dir, struct dentry *dentry)
dentry           1914 fs/nfs/dir.c   		dir->i_ino, dentry);
dentry           1916 fs/nfs/dir.c   	trace_nfs_unlink_enter(dir, dentry);
dentry           1917 fs/nfs/dir.c   	spin_lock(&dentry->d_lock);
dentry           1918 fs/nfs/dir.c   	if (d_count(dentry) > 1) {
dentry           1919 fs/nfs/dir.c   		spin_unlock(&dentry->d_lock);
dentry           1921 fs/nfs/dir.c   		write_inode_now(d_inode(dentry), 0);
dentry           1922 fs/nfs/dir.c   		error = nfs_sillyrename(dir, dentry);
dentry           1925 fs/nfs/dir.c   	if (!d_unhashed(dentry)) {
dentry           1926 fs/nfs/dir.c   		__d_drop(dentry);
dentry           1929 fs/nfs/dir.c   	spin_unlock(&dentry->d_lock);
dentry           1930 fs/nfs/dir.c   	error = nfs_safe_remove(dentry);
dentry           1932 fs/nfs/dir.c   		nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry           1934 fs/nfs/dir.c   		d_rehash(dentry);
dentry           1936 fs/nfs/dir.c   	trace_nfs_unlink_exit(dir, dentry, error);
dentry           1956 fs/nfs/dir.c   int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
dentry           1965 fs/nfs/dir.c   		dir->i_ino, dentry, symname);
dentry           1982 fs/nfs/dir.c   	trace_nfs_symlink_enter(dir, dentry);
dentry           1983 fs/nfs/dir.c   	error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr);
dentry           1984 fs/nfs/dir.c   	trace_nfs_symlink_exit(dir, dentry, error);
dentry           1988 fs/nfs/dir.c   			dentry, symname, error);
dentry           1989 fs/nfs/dir.c   		d_drop(dentry);
dentry           1998 fs/nfs/dir.c   	if (!add_to_page_cache_lru(page, d_inode(dentry)->i_mapping, 0,
dentry           2015 fs/nfs/dir.c   nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
dentry           2021 fs/nfs/dir.c   		old_dentry, dentry);
dentry           2023 fs/nfs/dir.c   	trace_nfs_link_enter(inode, dir, dentry);
dentry           2024 fs/nfs/dir.c   	d_drop(dentry);
dentry           2025 fs/nfs/dir.c   	error = NFS_PROTO(dir)->link(inode, dir, &dentry->d_name);
dentry           2028 fs/nfs/dir.c   		d_add(dentry, inode);
dentry           2030 fs/nfs/dir.c   	trace_nfs_link_exit(inode, dir, dentry, error);
dentry           2059 fs/nfs/dir.c   int nfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           2060 fs/nfs/dir.c   	       struct inode *new_dir, struct dentry *new_dentry,
dentry           2065 fs/nfs/dir.c   	struct dentry *dentry = NULL, *rehash = NULL;
dentry           2097 fs/nfs/dir.c   			dentry = d_alloc(new_dentry->d_parent,
dentry           2099 fs/nfs/dir.c   			if (!dentry)
dentry           2107 fs/nfs/dir.c   			new_dentry = dentry;
dentry           2157 fs/nfs/dir.c   	if (dentry)
dentry           2158 fs/nfs/dir.c   		dput(dentry);
dentry             63 fs/nfs/export.c static struct dentry *
dentry             72 fs/nfs/export.c 	struct dentry *dentry;
dentry             84 fs/nfs/export.c 		dentry = ERR_PTR(-ENOMEM);
dentry            100 fs/nfs/export.c 		dentry = ERR_CAST(label);
dentry            108 fs/nfs/export.c 		dentry = ERR_PTR(ret);
dentry            115 fs/nfs/export.c 	dentry = d_obtain_alias(inode);
dentry            122 fs/nfs/export.c 	return dentry;
dentry            125 fs/nfs/export.c static struct dentry *
dentry            126 fs/nfs/export.c nfs_get_parent(struct dentry *dentry)
dentry            129 fs/nfs/export.c 	struct inode *inode = d_inode(dentry), *pinode;
dentry            134 fs/nfs/export.c 	struct dentry *parent;
dentry             67 fs/nfs/getroot.c struct dentry *nfs_get_root(struct super_block *sb, struct nfs_fh *mntfh,
dentry             72 fs/nfs/getroot.c 	struct dentry *ret;
dentry            585 fs/nfs/inode.c nfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            587 fs/nfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            625 fs/nfs/inode.c 	error = NFS_PROTO(inode)->setattr(dentry, fattr, attr);
dentry            746 fs/nfs/inode.c static void nfs_readdirplus_parent_cache_miss(struct dentry *dentry)
dentry            748 fs/nfs/inode.c 	struct dentry *parent;
dentry            750 fs/nfs/inode.c 	if (!nfs_server_capable(d_inode(dentry), NFS_CAP_READDIRPLUS))
dentry            752 fs/nfs/inode.c 	parent = dget_parent(dentry);
dentry            757 fs/nfs/inode.c static void nfs_readdirplus_parent_cache_hit(struct dentry *dentry)
dentry            759 fs/nfs/inode.c 	struct dentry *parent;
dentry            761 fs/nfs/inode.c 	if (!nfs_server_capable(d_inode(dentry), NFS_CAP_READDIRPLUS))
dentry            763 fs/nfs/inode.c 	parent = dget_parent(dentry);
dentry            781 fs/nfs/inode.c 	struct inode *inode = d_inode(path->dentry);
dentry            832 fs/nfs/inode.c 			nfs_readdirplus_parent_cache_miss(path->dentry);
dentry            834 fs/nfs/inode.c 			nfs_readdirplus_parent_cache_hit(path->dentry);
dentry            839 fs/nfs/inode.c 		nfs_readdirplus_parent_cache_hit(path->dentry);
dentry            878 fs/nfs/inode.c 	struct inode *inode = d_inode(ctx->dentry);
dentry            910 fs/nfs/inode.c 	struct inode *inode = d_inode(ctx->dentry);
dentry            940 fs/nfs/inode.c 	inode = d_inode(ctx->dentry);
dentry            957 fs/nfs/inode.c struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry,
dentry            966 fs/nfs/inode.c 	nfs_sb_active(dentry->d_sb);
dentry            967 fs/nfs/inode.c 	ctx->dentry = dget(dentry);
dentry            996 fs/nfs/inode.c 	struct inode *inode = d_inode(ctx->dentry);
dentry            997 fs/nfs/inode.c 	struct super_block *sb = ctx->dentry->d_sb;
dentry           1009 fs/nfs/inode.c 	dput(ctx->dentry);
dentry           1033 fs/nfs/inode.c 	struct inode *inode = d_inode(ctx->dentry);
dentry           1081 fs/nfs/inode.c 		struct inode *inode = d_inode(ctx->dentry);
dentry             36 fs/nfs/internal.h 	const struct dentry *dentry;
dentry            142 fs/nfs/internal.h 	int (*set_security)(struct super_block *, struct dentry *, struct nfs_mount_info *);
dentry            353 fs/nfs/internal.h struct dentry *nfs_lookup(struct inode *, struct dentry *, unsigned int);
dentry            354 fs/nfs/internal.h int nfs_create(struct inode *, struct dentry *, umode_t, bool);
dentry            355 fs/nfs/internal.h int nfs_mkdir(struct inode *, struct dentry *, umode_t);
dentry            356 fs/nfs/internal.h int nfs_rmdir(struct inode *, struct dentry *);
dentry            357 fs/nfs/internal.h int nfs_unlink(struct inode *, struct dentry *);
dentry            358 fs/nfs/internal.h int nfs_symlink(struct inode *, struct dentry *, const char *);
dentry            359 fs/nfs/internal.h int nfs_link(struct dentry *, struct inode *, struct dentry *);
dentry            360 fs/nfs/internal.h int nfs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
dentry            361 fs/nfs/internal.h int nfs_rename(struct inode *, struct dentry *,
dentry            362 fs/nfs/internal.h 	       struct inode *, struct dentry *, unsigned int);
dentry            396 fs/nfs/internal.h struct dentry *nfs_try_mount(int, const char *, struct nfs_mount_info *,
dentry            398 fs/nfs/internal.h int nfs_set_sb_security(struct super_block *, struct dentry *, struct nfs_mount_info *);
dentry            399 fs/nfs/internal.h int nfs_clone_sb_security(struct super_block *, struct dentry *, struct nfs_mount_info *);
dentry            400 fs/nfs/internal.h struct dentry *nfs_fs_mount_common(struct nfs_server *, int, const char *,
dentry            402 fs/nfs/internal.h struct dentry *nfs_fs_mount(struct file_system_type *, int, const char *, void *);
dentry            403 fs/nfs/internal.h struct dentry * nfs_xdev_mount_common(struct file_system_type *, int,
dentry            430 fs/nfs/internal.h extern char *nfs_path(char **p, struct dentry *dentry,
dentry            433 fs/nfs/internal.h struct vfsmount *nfs_submount(struct nfs_server *, struct dentry *,
dentry            435 fs/nfs/internal.h struct vfsmount *nfs_do_submount(struct dentry *, struct nfs_fh *,
dentry            439 fs/nfs/internal.h extern struct dentry *nfs_get_root(struct super_block *, struct nfs_fh *,
dentry            442 fs/nfs/internal.h extern struct dentry *nfs4_get_root(struct super_block *, struct nfs_fh *,
dentry            458 fs/nfs/internal.h int  nfs_statfs(struct dentry *, struct kstatfs *);
dentry            459 fs/nfs/internal.h int  nfs_show_options(struct seq_file *, struct dentry *);
dentry            460 fs/nfs/internal.h int  nfs_show_devname(struct seq_file *, struct dentry *);
dentry            461 fs/nfs/internal.h int  nfs_show_path(struct seq_file *, struct dentry *);
dentry            462 fs/nfs/internal.h int  nfs_show_stats(struct seq_file *, struct dentry *);
dentry            548 fs/nfs/internal.h 		 struct dentry *old_dentry, struct dentry *new_dentry,
dentry            550 fs/nfs/internal.h extern int nfs_sillyrename(struct inode *dir, struct dentry *dentry);
dentry            593 fs/nfs/internal.h static inline char *nfs_devname(struct dentry *dentry,
dentry            597 fs/nfs/internal.h 	return nfs_path(&dummy, dentry, buffer, buflen, NFS_PATH_CANONICAL);
dentry             51 fs/nfs/namespace.c char *nfs_path(char **p, struct dentry *dentry, char *buffer, ssize_t buflen,
dentry             67 fs/nfs/namespace.c 		spin_lock(&dentry->d_lock);
dentry             68 fs/nfs/namespace.c 		if (IS_ROOT(dentry))
dentry             70 fs/nfs/namespace.c 		namelen = dentry->d_name.len;
dentry             75 fs/nfs/namespace.c 		memcpy(end, dentry->d_name.name, namelen);
dentry             77 fs/nfs/namespace.c 		spin_unlock(&dentry->d_lock);
dentry             78 fs/nfs/namespace.c 		dentry = dentry->d_parent;
dentry             81 fs/nfs/namespace.c 		spin_unlock(&dentry->d_lock);
dentry             87 fs/nfs/namespace.c 			spin_unlock(&dentry->d_lock);
dentry             94 fs/nfs/namespace.c 	base = dentry->d_fsdata;
dentry             96 fs/nfs/namespace.c 		spin_unlock(&dentry->d_lock);
dentry            109 fs/nfs/namespace.c 		spin_unlock(&dentry->d_lock);
dentry            115 fs/nfs/namespace.c 	spin_unlock(&dentry->d_lock);
dentry            119 fs/nfs/namespace.c 	spin_unlock(&dentry->d_lock);
dentry            143 fs/nfs/namespace.c 	struct nfs_server *server = NFS_SERVER(d_inode(path->dentry));
dentry            147 fs/nfs/namespace.c 	if (IS_ROOT(path->dentry))
dentry            156 fs/nfs/namespace.c 	mnt = server->nfs_client->rpc_ops->submount(server, path->dentry, fh, fattr);
dentry            174 fs/nfs/namespace.c 	if (NFS_FH(d_inode(path->dentry))->size != 0)
dentry            176 fs/nfs/namespace.c 	generic_fillattr(d_inode(path->dentry), stat);
dentry            181 fs/nfs/namespace.c nfs_namespace_setattr(struct dentry *dentry, struct iattr *attr)
dentry            183 fs/nfs/namespace.c 	if (NFS_FH(d_inode(dentry))->size != 0)
dentry            184 fs/nfs/namespace.c 		return nfs_setattr(dentry, attr);
dentry            220 fs/nfs/namespace.c 	return vfs_submount(mountdata->dentry, &nfs_xdev_fs_type, devname, mountdata);
dentry            231 fs/nfs/namespace.c struct vfsmount *nfs_do_submount(struct dentry *dentry, struct nfs_fh *fh,
dentry            235 fs/nfs/namespace.c 		.sb = dentry->d_sb,
dentry            236 fs/nfs/namespace.c 		.dentry = dentry,
dentry            248 fs/nfs/namespace.c 	devname = nfs_devname(dentry, page, PAGE_SIZE);
dentry            252 fs/nfs/namespace.c 		mnt = nfs_do_clone_mount(NFS_SB(dentry->d_sb), devname, &mountdata);
dentry            259 fs/nfs/namespace.c struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry,
dentry            263 fs/nfs/namespace.c 	struct dentry *parent = dget_parent(dentry);
dentry            266 fs/nfs/namespace.c 	err = server->nfs_client->rpc_ops->lookup(d_inode(parent), &dentry->d_name, fh, fattr, NULL);
dentry            271 fs/nfs/namespace.c 	return nfs_do_submount(dentry, fh, fattr, server->client->cl_auth->au_flavor);
dentry             18 fs/nfs/nfs3_fs.h extern ssize_t nfs3_listxattr(struct dentry *, char *, size_t);
dentry            328 fs/nfs/nfs3acl.c nfs3_listxattr(struct dentry *dentry, char *data, size_t size)
dentry            330 fs/nfs/nfs3acl.c 	struct inode *inode = d_inode(dentry);
dentry            122 fs/nfs/nfs3proc.c nfs3_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
dentry            125 fs/nfs/nfs3proc.c 	struct inode *inode = d_inode(dentry);
dentry            282 fs/nfs/nfs3proc.c static struct dentry *
dentry            283 fs/nfs/nfs3proc.c nfs3_do_create(struct inode *dir, struct dentry *dentry, struct nfs3_createdata *data)
dentry            292 fs/nfs/nfs3proc.c 	return nfs_add_or_obtain(dentry, data->res.fh, data->res.fattr, NULL);
dentry            304 fs/nfs/nfs3proc.c nfs3_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
dentry            309 fs/nfs/nfs3proc.c 	struct dentry *d_alias;
dentry            312 fs/nfs/nfs3proc.c 	dprintk("NFS call  create %pd\n", dentry);
dentry            320 fs/nfs/nfs3proc.c 	data->arg.create.name = dentry->d_name.name;
dentry            321 fs/nfs/nfs3proc.c 	data->arg.create.len = dentry->d_name.len;
dentry            336 fs/nfs/nfs3proc.c 		d_alias = nfs3_do_create(dir, dentry, data);
dentry            363 fs/nfs/nfs3proc.c 		dentry = d_alias;
dentry            378 fs/nfs/nfs3proc.c 		status = nfs3_proc_setattr(dentry, data->res.fattr, sattr);
dentry            379 fs/nfs/nfs3proc.c 		nfs_post_op_update_inode(d_inode(dentry), data->res.fattr);
dentry            385 fs/nfs/nfs3proc.c 	status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl);
dentry            399 fs/nfs/nfs3proc.c nfs3_proc_remove(struct inode *dir, struct dentry *dentry)
dentry            403 fs/nfs/nfs3proc.c 		.name = dentry->d_name,
dentry            413 fs/nfs/nfs3proc.c 	dprintk("NFS call  remove %pd2\n", dentry);
dentry            428 fs/nfs/nfs3proc.c 		struct dentry *dentry,
dentry            452 fs/nfs/nfs3proc.c 		struct dentry *old_dentry,
dentry            453 fs/nfs/nfs3proc.c 		struct dentry *new_dentry)
dentry            512 fs/nfs/nfs3proc.c nfs3_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page,
dentry            516 fs/nfs/nfs3proc.c 	struct dentry *d_alias;
dentry            522 fs/nfs/nfs3proc.c 	dprintk("NFS call  symlink %pd\n", dentry);
dentry            529 fs/nfs/nfs3proc.c 	data->arg.symlink.fromname = dentry->d_name.name;
dentry            530 fs/nfs/nfs3proc.c 	data->arg.symlink.fromlen = dentry->d_name.len;
dentry            535 fs/nfs/nfs3proc.c 	d_alias = nfs3_do_create(dir, dentry, data);
dentry            548 fs/nfs/nfs3proc.c nfs3_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr)
dentry            552 fs/nfs/nfs3proc.c 	struct dentry *d_alias;
dentry            555 fs/nfs/nfs3proc.c 	dprintk("NFS call  mkdir %pd\n", dentry);
dentry            567 fs/nfs/nfs3proc.c 	data->arg.mkdir.name = dentry->d_name.name;
dentry            568 fs/nfs/nfs3proc.c 	data->arg.mkdir.len = dentry->d_name.len;
dentry            571 fs/nfs/nfs3proc.c 	d_alias = nfs3_do_create(dir, dentry, data);
dentry            578 fs/nfs/nfs3proc.c 		dentry = d_alias;
dentry            580 fs/nfs/nfs3proc.c 	status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl);
dentry            631 fs/nfs/nfs3proc.c nfs3_proc_readdir(struct dentry *dentry, const struct cred *cred,
dentry            634 fs/nfs/nfs3proc.c 	struct inode		*dir = d_inode(dentry);
dentry            679 fs/nfs/nfs3proc.c nfs3_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
dentry            684 fs/nfs/nfs3proc.c 	struct dentry *d_alias;
dentry            687 fs/nfs/nfs3proc.c 	dprintk("NFS call  mknod %pd %u:%u\n", dentry,
dentry            700 fs/nfs/nfs3proc.c 	data->arg.mknod.name = dentry->d_name.name;
dentry            701 fs/nfs/nfs3proc.c 	data->arg.mknod.len = dentry->d_name.len;
dentry            723 fs/nfs/nfs3proc.c 	d_alias = nfs3_do_create(dir, dentry, data);
dentry            729 fs/nfs/nfs3proc.c 		dentry = d_alias;
dentry            731 fs/nfs/nfs3proc.c 	status = nfs3_proc_setacls(d_inode(dentry), acl, default_acl);
dentry            234 fs/nfs/nfs4_fs.h 	struct dentry *dir;
dentry            235 fs/nfs/nfs4_fs.h 	struct dentry *dentry;
dentry            268 fs/nfs/nfs4_fs.h int nfs_atomic_open(struct inode *, struct dentry *, struct file *,
dentry            277 fs/nfs/nfs4_fs.h struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *,
dentry            516 fs/nfs/nfs4_fs.h struct dentry *nfs4_try_mount(int, const char *, struct nfs_mount_info *, struct nfs_subversion *);
dentry             29 fs/nfs/nfs4file.c 	struct dentry *dentry = file_dentry(filp);
dentry             30 fs/nfs/nfs4file.c 	struct dentry *parent = NULL;
dentry             45 fs/nfs/nfs4file.c 	dprintk("NFS: open file(%pd2)\n", dentry);
dentry             57 fs/nfs/nfs4file.c 	parent = dget_parent(dentry);
dentry             86 fs/nfs/nfs4file.c 	if (inode != d_inode(dentry))
dentry            100 fs/nfs/nfs4file.c 	d_drop(dentry);
dentry            422 fs/nfs/nfs4idmap.c static void nfs_idmap_pipe_destroy(struct dentry *dir,
dentry            428 fs/nfs/nfs4idmap.c 	if (pipe->dentry) {
dentry            429 fs/nfs/nfs4idmap.c 		rpc_unlink(pipe->dentry);
dentry            430 fs/nfs/nfs4idmap.c 		pipe->dentry = NULL;
dentry            434 fs/nfs/nfs4idmap.c static int nfs_idmap_pipe_create(struct dentry *dir,
dentry            439 fs/nfs/nfs4idmap.c 	struct dentry *dentry;
dentry            441 fs/nfs/nfs4idmap.c 	dentry = rpc_mkpipe_dentry(dir, "idmap", idmap, pipe);
dentry            442 fs/nfs/nfs4idmap.c 	if (IS_ERR(dentry))
dentry            443 fs/nfs/nfs4idmap.c 		return PTR_ERR(dentry);
dentry            444 fs/nfs/nfs4idmap.c 	pipe->dentry = dentry;
dentry             84 fs/nfs/nfs4namespace.c static char *nfs4_path(struct dentry *dentry, char *buffer, ssize_t buflen)
dentry             87 fs/nfs/nfs4namespace.c 	char *path = nfs_path(&limit, dentry, buffer, buflen,
dentry            101 fs/nfs/nfs4namespace.c static int nfs4_validate_fspath(struct dentry *dentry,
dentry            107 fs/nfs/nfs4namespace.c 	path = nfs4_path(dentry, page, PAGE_SIZE);
dentry            282 fs/nfs/nfs4namespace.c 		mnt = vfs_submount(mountdata->dentry, &nfs4_referral_fs_type, page, mountdata);
dentry            296 fs/nfs/nfs4namespace.c static struct vfsmount *nfs_follow_referral(struct dentry *dentry,
dentry            301 fs/nfs/nfs4namespace.c 		.sb = dentry->d_sb,
dentry            302 fs/nfs/nfs4namespace.c 		.dentry = dentry,
dentry            303 fs/nfs/nfs4namespace.c 		.authflavor = NFS_SB(dentry->d_sb)->client->cl_auth->au_flavor,
dentry            311 fs/nfs/nfs4namespace.c 	dprintk("%s: referral at %pd2\n", __func__, dentry);
dentry            322 fs/nfs/nfs4namespace.c 	error = nfs4_validate_fspath(dentry, locations, page, page2);
dentry            351 fs/nfs/nfs4namespace.c static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *dentry)
dentry            354 fs/nfs/nfs4namespace.c 	struct dentry *parent;
dentry            371 fs/nfs/nfs4namespace.c 	parent = dget_parent(dentry);
dentry            373 fs/nfs/nfs4namespace.c 		__func__, dentry);
dentry            375 fs/nfs/nfs4namespace.c 	err = nfs4_proc_fs_locations(client, d_inode(parent), &dentry->d_name, fs_locations, page);
dentry            382 fs/nfs/nfs4namespace.c 	mnt = nfs_follow_referral(dentry, fs_locations);
dentry            389 fs/nfs/nfs4namespace.c struct vfsmount *nfs4_submount(struct nfs_server *server, struct dentry *dentry,
dentry            393 fs/nfs/nfs4namespace.c 	struct dentry *parent = dget_parent(dentry);
dentry            395 fs/nfs/nfs4namespace.c 	const struct qstr *name = &dentry->d_name;
dentry            406 fs/nfs/nfs4namespace.c 		mnt = nfs_do_refmount(client, dentry);
dentry            412 fs/nfs/nfs4namespace.c 	mnt = nfs_do_submount(dentry, fh, fattr, flavor);
dentry            113 fs/nfs/nfs4proc.c nfs4_label_init_security(struct inode *dir, struct dentry *dentry,
dentry            124 fs/nfs/nfs4proc.c 	err = security_dentry_init_security(dentry, sattr->ia_mode,
dentry            125 fs/nfs/nfs4proc.c 				&dentry->d_name, (void **)&label->label, &label->len);
dentry            146 fs/nfs/nfs4proc.c nfs4_label_init_security(struct inode *dir, struct dentry *dentry,
dentry            305 fs/nfs/nfs4proc.c static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dentry,
dentry            342 fs/nfs/nfs4proc.c 		p = xdr_encode_hyper(p, NFS_FILEID(d_inode(dentry)));
dentry            355 fs/nfs/nfs4proc.c 	p = xdr_encode_hyper(p, NFS_FILEID(d_inode(dentry->d_parent)));
dentry           1267 fs/nfs/nfs4proc.c static struct nfs4_opendata *nfs4_opendata_alloc(struct dentry *dentry,
dentry           1273 fs/nfs/nfs4proc.c 	struct dentry *parent = dget_parent(dentry);
dentry           1296 fs/nfs/nfs4proc.c 	nfs_sb_active(dentry->d_sb);
dentry           1297 fs/nfs/nfs4proc.c 	p->dentry = dget(dentry);
dentry           1336 fs/nfs/nfs4proc.c 	p->o_arg.name = &dentry->d_name;
dentry           1350 fs/nfs/nfs4proc.c 		p->o_arg.fh = NFS_FH(d_inode(dentry));
dentry           1374 fs/nfs/nfs4proc.c 	struct super_block *sb = p->dentry->d_sb;
dentry           1387 fs/nfs/nfs4proc.c 	dput(p->dentry);
dentry           1953 fs/nfs/nfs4proc.c 		inode = d_inode(data->dentry);
dentry           2060 fs/nfs/nfs4proc.c 	opendata = nfs4_opendata_alloc(ctx->dentry, state->owner, 0, 0,
dentry           2080 fs/nfs/nfs4proc.c 			NFS_SB(opendata->dentry->d_sb),
dentry           2662 fs/nfs/nfs4proc.c 		d_drop(ctx->dentry);
dentry           2962 fs/nfs/nfs4proc.c 	struct dentry *dentry;
dentry           2987 fs/nfs/nfs4proc.c 	dentry = opendata->dentry;
dentry           2988 fs/nfs/nfs4proc.c 	if (d_really_is_negative(dentry)) {
dentry           2989 fs/nfs/nfs4proc.c 		struct dentry *alias;
dentry           2990 fs/nfs/nfs4proc.c 		d_drop(dentry);
dentry           2991 fs/nfs/nfs4proc.c 		alias = d_exact_alias(dentry, state->inode);
dentry           2993 fs/nfs/nfs4proc.c 			alias = d_splice_alias(igrab(state->inode), dentry);
dentry           2996 fs/nfs/nfs4proc.c 			dput(ctx->dentry);
dentry           2997 fs/nfs/nfs4proc.c 			ctx->dentry = dentry = alias;
dentry           3011 fs/nfs/nfs4proc.c 		nfs_set_verifier(dentry, dir_verifier);
dentry           3022 fs/nfs/nfs4proc.c 	if (d_inode(dentry) == state->inode) {
dentry           3047 fs/nfs/nfs4proc.c 	struct dentry *dentry = ctx->dentry;
dentry           3067 fs/nfs/nfs4proc.c 	if (d_really_is_positive(dentry))
dentry           3068 fs/nfs/nfs4proc.c 		nfs4_return_incompatible_delegation(d_inode(dentry), fmode);
dentry           3070 fs/nfs/nfs4proc.c 	if (d_really_is_positive(dentry))
dentry           3072 fs/nfs/nfs4proc.c 	opendata = nfs4_opendata_alloc(dentry, sp, fmode, flags,
dentry           3093 fs/nfs/nfs4proc.c 	if (d_really_is_positive(dentry))
dentry           3094 fs/nfs/nfs4proc.c 		opendata->state = nfs4_get_open_state(d_inode(dentry), sp);
dentry           3702 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, ctx->dentry, attr, &l);
dentry           4128 fs/nfs/nfs4proc.c nfs4_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
dentry           4131 fs/nfs/nfs4proc.c 	struct inode *inode = d_inode(dentry);
dentry           4451 fs/nfs/nfs4proc.c nfs4_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
dentry           4460 fs/nfs/nfs4proc.c 	ctx = alloc_nfs_open_context(dentry, FMODE_READ, NULL);
dentry           4464 fs/nfs/nfs4proc.c 	ilabel = nfs4_label_init_security(dir, dentry, sattr, &l);
dentry           4510 fs/nfs/nfs4proc.c static int nfs4_proc_remove(struct inode *dir, struct dentry *dentry)
dentry           4515 fs/nfs/nfs4proc.c 	struct inode *inode = d_inode(dentry);
dentry           4525 fs/nfs/nfs4proc.c 		err = _nfs4_proc_remove(dir, &dentry->d_name, NF4REG);
dentry           4526 fs/nfs/nfs4proc.c 		trace_nfs4_remove(dir, &dentry->d_name, err);
dentry           4550 fs/nfs/nfs4proc.c 		struct dentry *dentry,
dentry           4556 fs/nfs/nfs4proc.c 	res->server = NFS_SB(dentry->d_sb);
dentry           4568 fs/nfs/nfs4proc.c 	nfs4_setup_sequence(NFS_SB(data->dentry->d_sb)->nfs_client,
dentry           4591 fs/nfs/nfs4proc.c 		struct dentry *old_dentry,
dentry           4592 fs/nfs/nfs4proc.c 		struct dentry *new_dentry)
dentry           4752 fs/nfs/nfs4proc.c static int nfs4_do_create(struct inode *dir, struct dentry *dentry, struct nfs4_createdata *data)
dentry           4764 fs/nfs/nfs4proc.c 		status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, data->res.label);
dentry           4775 fs/nfs/nfs4proc.c static int _nfs4_proc_symlink(struct inode *dir, struct dentry *dentry,
dentry           4786 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4LNK);
dentry           4795 fs/nfs/nfs4proc.c 	status = nfs4_do_create(dir, dentry, data);
dentry           4802 fs/nfs/nfs4proc.c static int nfs4_proc_symlink(struct inode *dir, struct dentry *dentry,
dentry           4811 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
dentry           4814 fs/nfs/nfs4proc.c 		err = _nfs4_proc_symlink(dir, dentry, page, len, sattr, label);
dentry           4815 fs/nfs/nfs4proc.c 		trace_nfs4_symlink(dir, &dentry->d_name, err);
dentry           4824 fs/nfs/nfs4proc.c static int _nfs4_proc_mkdir(struct inode *dir, struct dentry *dentry,
dentry           4830 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4DIR);
dentry           4835 fs/nfs/nfs4proc.c 	status = nfs4_do_create(dir, dentry, data);
dentry           4842 fs/nfs/nfs4proc.c static int nfs4_proc_mkdir(struct inode *dir, struct dentry *dentry,
dentry           4852 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
dentry           4857 fs/nfs/nfs4proc.c 		err = _nfs4_proc_mkdir(dir, dentry, sattr, label);
dentry           4858 fs/nfs/nfs4proc.c 		trace_nfs4_mkdir(dir, &dentry->d_name, err);
dentry           4867 fs/nfs/nfs4proc.c static int _nfs4_proc_readdir(struct dentry *dentry, const struct cred *cred,
dentry           4870 fs/nfs/nfs4proc.c 	struct inode		*dir = d_inode(dentry);
dentry           4876 fs/nfs/nfs4proc.c 		.bitmask = NFS_SERVER(d_inode(dentry))->attr_bitmask,
dentry           4889 fs/nfs/nfs4proc.c 			dentry,
dentry           4891 fs/nfs/nfs4proc.c 	nfs4_setup_readdir(cookie, NFS_I(dir)->cookieverf, dentry, &args);
dentry           4905 fs/nfs/nfs4proc.c static int nfs4_proc_readdir(struct dentry *dentry, const struct cred *cred,
dentry           4913 fs/nfs/nfs4proc.c 		err = _nfs4_proc_readdir(dentry, cred, cookie,
dentry           4915 fs/nfs/nfs4proc.c 		trace_nfs4_readdir(d_inode(dentry), err);
dentry           4916 fs/nfs/nfs4proc.c 		err = nfs4_handle_exception(NFS_SERVER(d_inode(dentry)), err,
dentry           4922 fs/nfs/nfs4proc.c static int _nfs4_proc_mknod(struct inode *dir, struct dentry *dentry,
dentry           4929 fs/nfs/nfs4proc.c 	data = nfs4_alloc_createdata(dir, &dentry->d_name, sattr, NF4SOCK);
dentry           4950 fs/nfs/nfs4proc.c 	status = nfs4_do_create(dir, dentry, data);
dentry           4957 fs/nfs/nfs4proc.c static int nfs4_proc_mknod(struct inode *dir, struct dentry *dentry,
dentry           4967 fs/nfs/nfs4proc.c 	label = nfs4_label_init_security(dir, dentry, sattr, &l);
dentry           4972 fs/nfs/nfs4proc.c 		err = _nfs4_proc_mknod(dir, dentry, sattr, label, rdev);
dentry           4973 fs/nfs/nfs4proc.c 		trace_nfs4_mknod(dir, &dentry->d_name, err);
dentry           6802 fs/nfs/nfs4proc.c 		renew_lease(NFS_SERVER(d_inode(data->ctx->dentry)),
dentry           7308 fs/nfs/nfs4proc.c 				   struct dentry *unused, struct inode *inode,
dentry           7316 fs/nfs/nfs4proc.c 				   struct dentry *unused, struct inode *inode,
dentry           7322 fs/nfs/nfs4proc.c static bool nfs4_xattr_list_nfs4_acl(struct dentry *dentry)
dentry           7324 fs/nfs/nfs4proc.c 	return nfs4_server_supports_acls(NFS_SERVER(d_inode(dentry)));
dentry           7330 fs/nfs/nfs4proc.c 				     struct dentry *unused, struct inode *inode,
dentry           7341 fs/nfs/nfs4proc.c 				     struct dentry *unused, struct inode *inode,
dentry           9980 fs/nfs/nfs4proc.c static ssize_t nfs4_listxattr(struct dentry *dentry, char *list, size_t size)
dentry           9984 fs/nfs/nfs4proc.c 	error = generic_listxattr(dentry, list, size);
dentry           9992 fs/nfs/nfs4proc.c 	error2 = nfs4_listxattr_nfs4_label(d_inode(dentry), list, size);
dentry           1475 fs/nfs/nfs4state.c 				"error = %d\n", ctx->dentry, err);
dentry             21 fs/nfs/nfs4super.c static struct dentry *nfs4_remote_mount(struct file_system_type *fs_type,
dentry             23 fs/nfs/nfs4super.c static struct dentry *nfs4_referral_mount(struct file_system_type *fs_type,
dentry             25 fs/nfs/nfs4super.c static struct dentry *nfs4_remote_referral_mount(struct file_system_type *fs_type,
dentry            107 fs/nfs/nfs4super.c static struct dentry *
dentry            113 fs/nfs/nfs4super.c 	struct dentry *mntroot = ERR_PTR(-ENOMEM);
dentry            217 fs/nfs/nfs4super.c static struct dentry *nfs_follow_remote_path(struct vfsmount *root_mnt,
dentry            220 fs/nfs/nfs4super.c 	struct dentry *dentry;
dentry            232 fs/nfs/nfs4super.c 	dentry = mount_subtree(root_mnt, export_path);
dentry            235 fs/nfs/nfs4super.c 	return dentry;
dentry            238 fs/nfs/nfs4super.c struct dentry *nfs4_try_mount(int flags, const char *dev_name,
dentry            244 fs/nfs/nfs4super.c 	struct dentry *res;
dentry            263 fs/nfs/nfs4super.c static struct dentry *
dentry            273 fs/nfs/nfs4super.c 	struct dentry *mntroot = ERR_PTR(-ENOMEM);
dentry            297 fs/nfs/nfs4super.c static struct dentry *nfs4_referral_mount(struct file_system_type *fs_type,
dentry            303 fs/nfs/nfs4super.c 	struct dentry *res;
dentry            619 fs/nfs/nfs4trace.h 			__string(name, ctx->dentry->d_name.name)
dentry            633 fs/nfs/nfs4trace.h 			__entry->dev = ctx->dentry->d_sb->s_dev;
dentry            657 fs/nfs/nfs4trace.h 			__entry->dir = NFS_FILEID(d_inode(ctx->dentry->d_parent));
dentry            658 fs/nfs/nfs4trace.h 			__assign_str(name, ctx->dentry->d_name.name);
dentry           1717 fs/nfs/nfs4trace.h 			const struct inode *inode = d_inode(ctx->dentry);
dentry            240 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            244 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry, flags),
dentry            250 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            257 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            274 fs/nfs/nfstrace.h 				const struct dentry *dentry, \
dentry            277 fs/nfs/nfstrace.h 			TP_ARGS(dir, dentry, flags))
dentry            282 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            287 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry, flags, error),
dentry            294 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            302 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            320 fs/nfs/nfstrace.h 				const struct dentry *dentry, \
dentry            324 fs/nfs/nfstrace.h 			TP_ARGS(dir, dentry, flags, error))
dentry            389 fs/nfs/nfstrace.h 			__string(name, ctx->dentry->d_name.name)
dentry            397 fs/nfs/nfstrace.h 			__assign_str(name, ctx->dentry->d_name.name);
dentry            427 fs/nfs/nfstrace.h 			__string(name, ctx->dentry->d_name.name)
dentry            436 fs/nfs/nfstrace.h 			__assign_str(name, ctx->dentry->d_name.name);
dentry            455 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            459 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry, flags),
dentry            465 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            472 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            488 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            493 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry, flags, error),
dentry            500 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            508 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            525 fs/nfs/nfstrace.h 			const struct dentry *dentry
dentry            528 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry),
dentry            533 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            539 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            554 fs/nfs/nfstrace.h 				const struct dentry *dentry \
dentry            556 fs/nfs/nfstrace.h 			TP_ARGS(dir, dentry))
dentry            561 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            565 fs/nfs/nfstrace.h 		TP_ARGS(dir, dentry, error),
dentry            571 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            578 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            594 fs/nfs/nfstrace.h 				const struct dentry *dentry, \
dentry            597 fs/nfs/nfstrace.h 			TP_ARGS(dir, dentry, error))
dentry            616 fs/nfs/nfstrace.h 			const struct dentry *dentry
dentry            619 fs/nfs/nfstrace.h 		TP_ARGS(inode, dir, dentry),
dentry            625 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            632 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            649 fs/nfs/nfstrace.h 			const struct dentry *dentry,
dentry            653 fs/nfs/nfstrace.h 		TP_ARGS(inode, dir, dentry, error),
dentry            660 fs/nfs/nfstrace.h 			__string(name, dentry->d_name.name)
dentry            668 fs/nfs/nfstrace.h 			__assign_str(name, dentry->d_name.name);
dentry            685 fs/nfs/nfstrace.h 			const struct dentry *old_dentry,
dentry            687 fs/nfs/nfstrace.h 			const struct dentry *new_dentry
dentry            722 fs/nfs/nfstrace.h 				const struct dentry *old_dentry, \
dentry            724 fs/nfs/nfstrace.h 				const struct dentry *new_dentry \
dentry            731 fs/nfs/nfstrace.h 			const struct dentry *old_dentry,
dentry            733 fs/nfs/nfstrace.h 			const struct dentry *new_dentry,
dentry            773 fs/nfs/nfstrace.h 				const struct dentry *old_dentry, \
dentry            775 fs/nfs/nfstrace.h 				const struct dentry *new_dentry, \
dentry            802 fs/nfs/nfstrace.h 			struct inode *dir = d_inode(data->dentry->d_parent);
dentry            118 fs/nfs/pagelist.c 	struct inode *inode = d_inode(l_ctx->open_context->dentry);
dentry            429 fs/nfs/pagelist.c 				rpc_wake_up(&NFS_SERVER(d_inode(ctx->dentry))->uoc_rpcwaitq);
dentry            926 fs/nfs/pagelist.c 		flctx = d_inode(nfs_req_openctx(req)->dentry)->i_flctx;
dentry            964 fs/nfs/pnfs.c  		struct dentry *parent_dir = dget_parent(ctx->dentry);
dentry           2168 fs/nfs/pnfs.c  	struct inode *ino = data->dentry->d_inode;
dentry            466 fs/nfs/pnfs.h  	struct inode *inode = d_inode(nfs_req_openctx(req)->dentry);
dentry            478 fs/nfs/pnfs.h  	struct inode *inode = d_inode(nfs_req_openctx(req)->dentry);
dentry            120 fs/nfs/proc.c  nfs_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
dentry            123 fs/nfs/proc.c  	struct inode *inode = d_inode(dentry);
dentry            206 fs/nfs/proc.c  		struct dentry *dentry, struct iattr *sattr)
dentry            214 fs/nfs/proc.c  		data->arg.name = dentry->d_name.name;
dentry            215 fs/nfs/proc.c  		data->arg.len = dentry->d_name.len;
dentry            231 fs/nfs/proc.c  nfs_proc_create(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
dentry            240 fs/nfs/proc.c  	dprintk("NFS call  create %pd\n", dentry);
dentry            241 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
dentry            249 fs/nfs/proc.c  		status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL);
dentry            260 fs/nfs/proc.c  nfs_proc_mknod(struct inode *dir, struct dentry *dentry, struct iattr *sattr,
dentry            270 fs/nfs/proc.c  	dprintk("NFS call  mknod %pd\n", dentry);
dentry            281 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
dentry            296 fs/nfs/proc.c  		status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL);
dentry            304 fs/nfs/proc.c  nfs_proc_remove(struct inode *dir, struct dentry *dentry)
dentry            308 fs/nfs/proc.c  		.name = dentry->d_name,
dentry            316 fs/nfs/proc.c  	dprintk("NFS call  remove %pd2\n",dentry);
dentry            326 fs/nfs/proc.c  		struct dentry *dentry,
dentry            345 fs/nfs/proc.c  		struct dentry *old_dentry,
dentry            346 fs/nfs/proc.c  		struct dentry *new_dentry)
dentry            389 fs/nfs/proc.c  nfs_proc_symlink(struct inode *dir, struct dentry *dentry, struct page *page,
dentry            396 fs/nfs/proc.c  		.fromname	= dentry->d_name.name,
dentry            397 fs/nfs/proc.c  		.fromlen	= dentry->d_name.len,
dentry            408 fs/nfs/proc.c  	dprintk("NFS call  symlink %pd\n", dentry);
dentry            428 fs/nfs/proc.c  		status = nfs_instantiate(dentry, fh, fattr, NULL);
dentry            439 fs/nfs/proc.c  nfs_proc_mkdir(struct inode *dir, struct dentry *dentry, struct iattr *sattr)
dentry            447 fs/nfs/proc.c  	dprintk("NFS call  mkdir %pd\n", dentry);
dentry            448 fs/nfs/proc.c  	data = nfs_alloc_createdata(dir, dentry, sattr);
dentry            457 fs/nfs/proc.c  		status = nfs_instantiate(dentry, data->res.fh, data->res.fattr, NULL);
dentry            493 fs/nfs/proc.c  nfs_proc_readdir(struct dentry *dentry, const struct cred *cred,
dentry            496 fs/nfs/proc.c  	struct inode		*dir = d_inode(dentry);
dentry             96 fs/nfs/read.c  	struct inode *inode = d_inode(nfs_req_openctx(req)->dentry);
dentry            296 fs/nfs/super.c static struct dentry *nfs_xdev_mount(struct file_system_type *fs_type,
dentry            442 fs/nfs/super.c int nfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            444 fs/nfs/super.c 	struct nfs_server *server = NFS_SB(dentry->d_sb);
dentry            447 fs/nfs/super.c 	struct nfs_fh *fh = NFS_FH(d_inode(dentry));
dentry            457 fs/nfs/super.c 		struct dentry *pd_dentry;
dentry            459 fs/nfs/super.c 		pd_dentry = dget_parent(dentry);
dentry            474 fs/nfs/super.c 	buf->f_frsize = dentry->d_sb->s_blocksize;
dentry            483 fs/nfs/super.c 	buf->f_bsize = dentry->d_sb->s_blocksize;
dentry            484 fs/nfs/super.c 	blockbits = dentry->d_sb->s_blocksize_bits;
dentry            726 fs/nfs/super.c int nfs_show_options(struct seq_file *m, struct dentry *root)
dentry            795 fs/nfs/super.c int nfs_show_devname(struct seq_file *m, struct dentry *root)
dentry            812 fs/nfs/super.c int nfs_show_path(struct seq_file *m, struct dentry *dentry)
dentry            822 fs/nfs/super.c int nfs_show_stats(struct seq_file *m, struct dentry *root)
dentry           1895 fs/nfs/super.c struct dentry *nfs_try_mount(int flags, const char *dev_name,
dentry           2602 fs/nfs/super.c int nfs_set_sb_security(struct super_block *s, struct dentry *mntroot,
dentry           2623 fs/nfs/super.c int nfs_clone_sb_security(struct super_block *s, struct dentry *mntroot,
dentry           2655 fs/nfs/super.c struct dentry *nfs_fs_mount_common(struct nfs_server *server,
dentry           2661 fs/nfs/super.c 	struct dentry *mntroot = ERR_PTR(-ENOMEM);
dentry           2735 fs/nfs/super.c struct dentry *nfs_fs_mount(struct file_system_type *fs_type,
dentry           2742 fs/nfs/super.c 	struct dentry *mntroot = ERR_PTR(-ENOMEM);
dentry           2796 fs/nfs/super.c static struct dentry *
dentry           2807 fs/nfs/super.c 	struct dentry *mntroot = ERR_PTR(-ENOMEM);
dentry             47 fs/nfs/symlink.c static const char *nfs_get_link(struct dentry *dentry,
dentry             54 fs/nfs/symlink.c 	if (!dentry) {
dentry             49 fs/nfs/unlink.c 	struct inode *dir = d_inode(data->dentry->d_parent);
dentry             66 fs/nfs/unlink.c 	struct dentry *dentry = data->dentry;
dentry             67 fs/nfs/unlink.c 	struct super_block *sb = dentry->d_sb;
dentry             69 fs/nfs/unlink.c 	up_read_non_owner(&NFS_I(d_inode(dentry->d_parent))->rmdir_sem);
dentry             70 fs/nfs/unlink.c 	d_lookup_done(dentry);
dentry             72 fs/nfs/unlink.c 	dput(dentry);
dentry             79 fs/nfs/unlink.c 	struct inode *dir = d_inode(data->dentry->d_parent);
dentry            104 fs/nfs/unlink.c 	struct inode *dir = d_inode(data->dentry->d_parent);
dentry            109 fs/nfs/unlink.c 	NFS_PROTO(dir)->unlink_setup(&msg, data->dentry, inode);
dentry            117 fs/nfs/unlink.c static int nfs_call_unlink(struct dentry *dentry, struct inode *inode, struct nfs_unlinkdata *data)
dentry            119 fs/nfs/unlink.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry            120 fs/nfs/unlink.c 	struct dentry *alias;
dentry            123 fs/nfs/unlink.c 	alias = d_alloc_parallel(dentry->d_parent, &data->args.name, &data->wq);
dentry            156 fs/nfs/unlink.c 	data->dentry = alias;
dentry            167 fs/nfs/unlink.c nfs_async_unlink(struct dentry *dentry, const struct qstr *name)
dentry            186 fs/nfs/unlink.c 	spin_lock(&dentry->d_lock);
dentry            187 fs/nfs/unlink.c 	if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry            189 fs/nfs/unlink.c 	dentry->d_flags |= DCACHE_NFSFS_RENAMED;
dentry            190 fs/nfs/unlink.c 	devname_garbage = dentry->d_fsdata;
dentry            191 fs/nfs/unlink.c 	dentry->d_fsdata = data;
dentry            192 fs/nfs/unlink.c 	spin_unlock(&dentry->d_lock);
dentry            201 fs/nfs/unlink.c 	spin_unlock(&dentry->d_lock);
dentry            220 fs/nfs/unlink.c nfs_complete_unlink(struct dentry *dentry, struct inode *inode)
dentry            224 fs/nfs/unlink.c 	spin_lock(&dentry->d_lock);
dentry            225 fs/nfs/unlink.c 	dentry->d_flags &= ~DCACHE_NFSFS_RENAMED;
dentry            226 fs/nfs/unlink.c 	data = dentry->d_fsdata;
dentry            227 fs/nfs/unlink.c 	dentry->d_fsdata = NULL;
dentry            228 fs/nfs/unlink.c 	spin_unlock(&dentry->d_lock);
dentry            230 fs/nfs/unlink.c 	if (NFS_STALE(inode) || !nfs_call_unlink(dentry, inode, data))
dentry            236 fs/nfs/unlink.c nfs_cancel_async_unlink(struct dentry *dentry)
dentry            238 fs/nfs/unlink.c 	spin_lock(&dentry->d_lock);
dentry            239 fs/nfs/unlink.c 	if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
dentry            240 fs/nfs/unlink.c 		struct nfs_unlinkdata *data = dentry->d_fsdata;
dentry            242 fs/nfs/unlink.c 		dentry->d_flags &= ~DCACHE_NFSFS_RENAMED;
dentry            243 fs/nfs/unlink.c 		dentry->d_fsdata = NULL;
dentry            244 fs/nfs/unlink.c 		spin_unlock(&dentry->d_lock);
dentry            248 fs/nfs/unlink.c 	spin_unlock(&dentry->d_lock);
dentry            263 fs/nfs/unlink.c 	struct dentry *old_dentry = data->old_dentry;
dentry            334 fs/nfs/unlink.c 		 struct dentry *old_dentry, struct dentry *new_dentry,
dentry            393 fs/nfs/unlink.c 	struct dentry *dentry = data->old_dentry;
dentry            396 fs/nfs/unlink.c 		nfs_cancel_async_unlink(dentry);
dentry            431 fs/nfs/unlink.c nfs_sillyrename(struct inode *dir, struct dentry *dentry)
dentry            436 fs/nfs/unlink.c 	struct dentry *sdentry;
dentry            437 fs/nfs/unlink.c 	struct inode *inode = d_inode(dentry);
dentry            442 fs/nfs/unlink.c 		dentry, d_count(dentry));
dentry            448 fs/nfs/unlink.c 	if (dentry->d_flags & DCACHE_NFSFS_RENAMED)
dentry            451 fs/nfs/unlink.c 	fileid = NFS_FILEID(d_inode(dentry));
dentry            464 fs/nfs/unlink.c 				dentry, silly);
dentry            466 fs/nfs/unlink.c 		sdentry = lookup_one_len(silly, dentry->d_parent, slen);
dentry            480 fs/nfs/unlink.c 	error = nfs_async_unlink(dentry, &sdentry->d_name);
dentry            485 fs/nfs/unlink.c 	task = nfs_async_rename(dir, dir, dentry, sdentry,
dentry            489 fs/nfs/unlink.c 		nfs_cancel_async_unlink(dentry);
dentry            500 fs/nfs/unlink.c 		nfs_set_verifier(dentry, nfs_save_change_attribute(dir));
dentry            507 fs/nfs/unlink.c 		d_move(dentry, sdentry);
dentry            512 fs/nfs/unlink.c 		d_drop(dentry);
dentry            970 fs/nfs/write.c 		struct inode *inode = d_inode(ctx->dentry);
dentry           1749 fs/nfs/write.c 	struct inode *inode = d_inode(ctx->dentry);
dentry           1854 fs/nfs/write.c 			nfs_req_openctx(req)->dentry->d_sb->s_id,
dentry           1855 fs/nfs/write.c 			(unsigned long long)NFS_FILEID(d_inode(nfs_req_openctx(req)->dentry)),
dentry             46 fs/nfsd/acl.h  int nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry,
dentry            617 fs/nfsd/export.c 		err = check_export(d_inode(exp.ex_path.dentry), &exp.ex_flags,
dentry            785 fs/nfsd/export.c 	hash ^= hash_ptr(exp->ex_path.dentry, EXPORT_HASHBITS);
dentry            869 fs/nfsd/export.c 	struct dentry *saved = dget(path->dentry);
dentry            872 fs/nfsd/export.c 	while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
dentry            873 fs/nfsd/export.c 		struct dentry *parent = dget_parent(path->dentry);
dentry            874 fs/nfsd/export.c 		dput(path->dentry);
dentry            875 fs/nfsd/export.c 		path->dentry = parent;
dentry            878 fs/nfsd/export.c 	dput(path->dentry);
dentry            879 fs/nfsd/export.c 	path->dentry = saved;
dentry            908 fs/nfsd/export.c 	inode = d_inode(path.dentry);
dentry            911 fs/nfsd/export.c 		 name, path.dentry, clp->name,
dentry            923 fs/nfsd/export.c 	if (fh_compose(&fh, exp, path.dentry, NULL))
dentry           1061 fs/nfsd/export.c 	struct dentry *saved = dget(path->dentry);
dentry           1064 fs/nfsd/export.c 	while (PTR_ERR(exp) == -ENOENT && !IS_ROOT(path->dentry)) {
dentry           1065 fs/nfsd/export.c 		struct dentry *parent = dget_parent(path->dentry);
dentry           1066 fs/nfsd/export.c 		dput(path->dentry);
dentry           1067 fs/nfsd/export.c 		path->dentry = parent;
dentry           1070 fs/nfsd/export.c 	dput(path->dentry);
dentry           1071 fs/nfsd/export.c 	path->dentry = saved;
dentry           1098 fs/nfsd/export.c 	rv = fh_compose(fhp, exp, exp->ex_path.dentry, NULL);
dentry             27 fs/nfsd/fault_inject.c static struct dentry *debug_dir;
dentry             48 fs/nfsd/netns.h 	struct dentry *nfsd_client_dir;
dentry            264 fs/nfsd/nfs2acl.c 	struct dentry *dentry = resp->fh.fh_dentry;
dentry            276 fs/nfsd/nfs2acl.c 	if (dentry == NULL || d_really_is_negative(dentry))
dentry            278 fs/nfsd/nfs2acl.c 	inode = d_inode(dentry);
dentry            175 fs/nfsd/nfs3acl.c 	struct dentry *dentry = resp->fh.fh_dentry;
dentry            178 fs/nfsd/nfs3acl.c 	if (resp->status == 0 && dentry && d_really_is_positive(dentry)) {
dentry            179 fs/nfsd/nfs3acl.c 		struct inode *inode = d_inode(dentry);
dentry            212 fs/nfsd/nfs3xdr.c 	struct dentry *dentry = fhp->fh_dentry;
dentry            213 fs/nfsd/nfs3xdr.c 	if (dentry && d_really_is_positive(dentry)) {
dentry            220 fs/nfsd/nfs3xdr.c 			lease_get_mtime(d_inode(dentry), &stat.mtime);
dentry            241 fs/nfsd/nfs3xdr.c 	struct dentry	*dentry = fhp->fh_dentry;
dentry            243 fs/nfsd/nfs3xdr.c 	if (dentry && d_really_is_positive(dentry) && fhp->fh_post_saved) {
dentry            851 fs/nfsd/nfs3xdr.c 	struct dentry		*dparent, *dchild;
dentry            129 fs/nfsd/nfs4acl.c nfsd4_get_nfs4_acl(struct svc_rqst *rqstp, struct dentry *dentry,
dentry            132 fs/nfsd/nfs4acl.c 	struct inode *inode = d_inode(dentry);
dentry            760 fs/nfsd/nfs4acl.c 	struct dentry *dentry;
dentry            770 fs/nfsd/nfs4acl.c 	dentry = fhp->fh_dentry;
dentry            771 fs/nfsd/nfs4acl.c 	inode = d_inode(dentry);
dentry             99 fs/nfsd/nfs4proc.c 	struct dentry *dentry = cstate->current_fh.fh_dentry;
dentry            104 fs/nfsd/nfs4proc.c 	if ((bmval[0] & FATTR4_WORD0_ACL) && !IS_POSIXACL(d_inode(dentry)))
dentry            879 fs/nfsd/nfs4proc.c 	struct dentry *dentry;
dentry            887 fs/nfsd/nfs4proc.c 				    &exp, &dentry);
dentry            891 fs/nfsd/nfs4proc.c 	if (d_really_is_negative(dentry)) {
dentry            896 fs/nfsd/nfs4proc.c 	dput(dentry);
dentry            204 fs/nfsd/nfs4recover.c 	struct dentry *dir, *dentry;
dentry            225 fs/nfsd/nfs4recover.c 	dir = nn->rec_file->f_path.dentry;
dentry            229 fs/nfsd/nfs4recover.c 	dentry = lookup_one_len(dname, dir, HEXDIR_LEN-1);
dentry            230 fs/nfsd/nfs4recover.c 	if (IS_ERR(dentry)) {
dentry            231 fs/nfsd/nfs4recover.c 		status = PTR_ERR(dentry);
dentry            234 fs/nfsd/nfs4recover.c 	if (d_really_is_positive(dentry))
dentry            244 fs/nfsd/nfs4recover.c 	status = vfs_mkdir(d_inode(dir), dentry, S_IRWXU);
dentry            246 fs/nfsd/nfs4recover.c 	dput(dentry);
dentry            265 fs/nfsd/nfs4recover.c typedef int (recdir_func)(struct dentry *, struct dentry *, struct nfsd_net *);
dentry            300 fs/nfsd/nfs4recover.c 	struct dentry *dir = nn->rec_file->f_path.dentry;
dentry            323 fs/nfsd/nfs4recover.c 			struct dentry *dentry;
dentry            324 fs/nfsd/nfs4recover.c 			dentry = lookup_one_len(entry->name, dir, HEXDIR_LEN-1);
dentry            325 fs/nfsd/nfs4recover.c 			if (IS_ERR(dentry)) {
dentry            326 fs/nfsd/nfs4recover.c 				status = PTR_ERR(dentry);
dentry            329 fs/nfsd/nfs4recover.c 			status = f(dir, dentry, nn);
dentry            330 fs/nfsd/nfs4recover.c 			dput(dentry);
dentry            349 fs/nfsd/nfs4recover.c 	struct dentry *dir, *dentry;
dentry            354 fs/nfsd/nfs4recover.c 	dir = nn->rec_file->f_path.dentry;
dentry            356 fs/nfsd/nfs4recover.c 	dentry = lookup_one_len(name, dir, namlen);
dentry            357 fs/nfsd/nfs4recover.c 	if (IS_ERR(dentry)) {
dentry            358 fs/nfsd/nfs4recover.c 		status = PTR_ERR(dentry);
dentry            362 fs/nfsd/nfs4recover.c 	if (d_really_is_negative(dentry))
dentry            364 fs/nfsd/nfs4recover.c 	status = vfs_rmdir(d_inode(dir), dentry);
dentry            366 fs/nfsd/nfs4recover.c 	dput(dentry);
dentry            433 fs/nfsd/nfs4recover.c purge_old(struct dentry *parent, struct dentry *child, struct nfsd_net *nn)
dentry            488 fs/nfsd/nfs4recover.c load_recdir(struct dentry *parent, struct dentry *child, struct nfsd_net *nn)
dentry            668 fs/nfsd/nfs4recover.c 	if (d_is_dir(path.dentry)) {
dentry            763 fs/nfsd/nfs4recover.c 	struct nfsd_net *nn = net_generic(pipe->dentry->d_sb->s_fs_info,
dentry            942 fs/nfsd/nfs4recover.c static struct dentry *
dentry            945 fs/nfsd/nfs4recover.c 	struct dentry *dir, *dentry;
dentry            950 fs/nfsd/nfs4recover.c 	dentry = rpc_mkpipe_dentry(dir, NFSD_CLD_PIPE, NULL, pipe);
dentry            952 fs/nfsd/nfs4recover.c 	return dentry;
dentry            958 fs/nfsd/nfs4recover.c 	if (pipe->dentry)
dentry            959 fs/nfsd/nfs4recover.c 		rpc_unlink(pipe->dentry);
dentry            962 fs/nfsd/nfs4recover.c static struct dentry *
dentry            966 fs/nfsd/nfs4recover.c 	struct dentry *dentry;
dentry            971 fs/nfsd/nfs4recover.c 	dentry = nfsd4_cld_register_sb(sb, pipe);
dentry            973 fs/nfsd/nfs4recover.c 	return dentry;
dentry            993 fs/nfsd/nfs4recover.c 	struct dentry *dentry;
dentry           1014 fs/nfsd/nfs4recover.c 	dentry = nfsd4_cld_register_net(net, cn->cn_pipe);
dentry           1015 fs/nfsd/nfs4recover.c 	if (IS_ERR(dentry)) {
dentry           1016 fs/nfsd/nfs4recover.c 		ret = PTR_ERR(dentry);
dentry           1020 fs/nfsd/nfs4recover.c 	cn->cn_pipe->dentry = dentry;
dentry           2067 fs/nfsd/nfs4recover.c 		status = d_is_dir(path.dentry);
dentry           2141 fs/nfsd/nfs4recover.c 	struct dentry *dentry;
dentry           2154 fs/nfsd/nfs4recover.c 		dentry = nfsd4_cld_register_sb(sb, cn->cn_pipe);
dentry           2155 fs/nfsd/nfs4recover.c 		if (IS_ERR(dentry)) {
dentry           2156 fs/nfsd/nfs4recover.c 			ret = PTR_ERR(dentry);
dentry           2159 fs/nfsd/nfs4recover.c 		cn->cn_pipe->dentry = dentry;
dentry           2162 fs/nfsd/nfs4recover.c 		if (cn->cn_pipe->dentry)
dentry           2150 fs/nfsd/nfs4xdr.c 	struct dentry **components = NULL;
dentry           2163 fs/nfsd/nfs4xdr.c 		if (cur.dentry == cur.mnt->mnt_root) {
dentry           2169 fs/nfsd/nfs4xdr.c 			struct dentry **new;
dentry           2177 fs/nfsd/nfs4xdr.c 		components[ncomponents++] = cur.dentry;
dentry           2178 fs/nfsd/nfs4xdr.c 		cur.dentry = dget_parent(cur.dentry);
dentry           2187 fs/nfsd/nfs4xdr.c 		struct dentry *dentry = components[ncomponents - 1];
dentry           2190 fs/nfsd/nfs4xdr.c 		spin_lock(&dentry->d_lock);
dentry           2191 fs/nfsd/nfs4xdr.c 		len = dentry->d_name.len;
dentry           2194 fs/nfsd/nfs4xdr.c 			spin_unlock(&dentry->d_lock);
dentry           2197 fs/nfsd/nfs4xdr.c 		p = xdr_encode_opaque(p, dentry->d_name.name, len);
dentry           2198 fs/nfsd/nfs4xdr.c 		dprintk("/%pd", dentry);
dentry           2199 fs/nfsd/nfs4xdr.c 		spin_unlock(&dentry->d_lock);
dentry           2200 fs/nfsd/nfs4xdr.c 		dput(dentry);
dentry           2356 fs/nfsd/nfs4xdr.c 		if (path.dentry != path.mnt->mnt_root)
dentry           2404 fs/nfsd/nfs4xdr.c 		struct dentry *dentry, u32 *bmval,
dentry           2432 fs/nfsd/nfs4xdr.c 		.dentry	= dentry,
dentry           2462 fs/nfsd/nfs4xdr.c 		status = fh_compose(tempfh, exp, dentry, NULL);
dentry           2468 fs/nfsd/nfs4xdr.c 		err = nfsd4_get_nfs4_acl(rqstp, dentry, &acl);
dentry           2482 fs/nfsd/nfs4xdr.c 			err = security_inode_getsecctx(d_inode(dentry),
dentry           2511 fs/nfsd/nfs4xdr.c 		if (!IS_POSIXACL(dentry->d_inode))
dentry           2557 fs/nfsd/nfs4xdr.c 		p = encode_change(p, &stat, d_inode(dentry), exp);
dentry           2659 fs/nfsd/nfs4xdr.c 		*p++ = cpu_to_be32(IS_POSIXACL(dentry->d_inode) ?
dentry           2832 fs/nfsd/nfs4xdr.c 		p = encode_time_delta(p, d_inode(dentry));
dentry           2860 fs/nfsd/nfs4xdr.c 		    dentry == exp->ex_path.mnt->mnt_root) {
dentry           2905 fs/nfsd/nfs4xdr.c 		if (IS_I_VERSION(d_inode(dentry)))
dentry           2962 fs/nfsd/nfs4xdr.c 			struct dentry *dentry, u32 *bmval,
dentry           2970 fs/nfsd/nfs4xdr.c 	ret = nfsd4_encode_fattr(&xdr, fhp, exp, dentry, bmval, rqstp,
dentry           2990 fs/nfsd/nfs4xdr.c 	struct dentry *dentry;
dentry           2994 fs/nfsd/nfs4xdr.c 	dentry = lookup_one_len_unlocked(name, cd->rd_fhp->fh_dentry, namlen);
dentry           2995 fs/nfsd/nfs4xdr.c 	if (IS_ERR(dentry))
dentry           2996 fs/nfsd/nfs4xdr.c 		return nfserrno(PTR_ERR(dentry));
dentry           2997 fs/nfsd/nfs4xdr.c 	if (d_really_is_negative(dentry)) {
dentry           3003 fs/nfsd/nfs4xdr.c 		dput(dentry);
dentry           3015 fs/nfsd/nfs4xdr.c 	if (nfsd_mountpoint(dentry, exp)) {
dentry           3028 fs/nfsd/nfs4xdr.c 		err = nfsd_cross_mnt(cd->rd_rqstp, &dentry, &exp);
dentry           3039 fs/nfsd/nfs4xdr.c 	nfserr = nfsd4_encode_fattr(xdr, NULL, exp, dentry, cd->rd_bmval,
dentry           3042 fs/nfsd/nfs4xdr.c 	dput(dentry);
dentry            324 fs/nfsd/nfsctl.c 	error = nlmsvc_unlock_all_by_sb(path.dentry->d_sb);
dentry           1174 fs/nfsd/nfsctl.c static int __nfsd_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode, struct nfsdfs_client *ncl)
dentry           1185 fs/nfsd/nfsctl.c 	d_add(dentry, inode);
dentry           1187 fs/nfsd/nfsctl.c 	fsnotify_mkdir(dir, dentry);
dentry           1191 fs/nfsd/nfsctl.c static struct dentry *nfsd_mkdir(struct dentry *parent, struct nfsdfs_client *ncl, char *name)
dentry           1194 fs/nfsd/nfsctl.c 	struct dentry *dentry;
dentry           1198 fs/nfsd/nfsctl.c 	dentry = d_alloc_name(parent, name);
dentry           1199 fs/nfsd/nfsctl.c 	if (!dentry)
dentry           1201 fs/nfsd/nfsctl.c 	ret = __nfsd_mkdir(d_inode(parent), dentry, S_IFDIR | 0600, ncl);
dentry           1206 fs/nfsd/nfsctl.c 	return dentry;
dentry           1208 fs/nfsd/nfsctl.c 	dput(dentry);
dentry           1209 fs/nfsd/nfsctl.c 	dentry = ERR_PTR(ret);
dentry           1240 fs/nfsd/nfsctl.c static void nfsdfs_remove_file(struct inode *dir, struct dentry *dentry)
dentry           1244 fs/nfsd/nfsctl.c 	clear_ncl(d_inode(dentry));
dentry           1245 fs/nfsd/nfsctl.c 	dget(dentry);
dentry           1246 fs/nfsd/nfsctl.c 	ret = simple_unlink(dir, dentry);
dentry           1247 fs/nfsd/nfsctl.c 	d_delete(dentry);
dentry           1248 fs/nfsd/nfsctl.c 	dput(dentry);
dentry           1252 fs/nfsd/nfsctl.c static void nfsdfs_remove_files(struct dentry *root)
dentry           1254 fs/nfsd/nfsctl.c 	struct dentry *dentry, *tmp;
dentry           1256 fs/nfsd/nfsctl.c 	list_for_each_entry_safe(dentry, tmp, &root->d_subdirs, d_child) {
dentry           1257 fs/nfsd/nfsctl.c 		if (!simple_positive(dentry)) {
dentry           1261 fs/nfsd/nfsctl.c 		nfsdfs_remove_file(d_inode(root), dentry);
dentry           1267 fs/nfsd/nfsctl.c static  int nfsdfs_create_files(struct dentry *root,
dentry           1272 fs/nfsd/nfsctl.c 	struct dentry *dentry;
dentry           1279 fs/nfsd/nfsctl.c 		dentry = d_alloc_name(root, files->name);
dentry           1280 fs/nfsd/nfsctl.c 		if (!dentry)
dentry           1285 fs/nfsd/nfsctl.c 			dput(dentry);
dentry           1290 fs/nfsd/nfsctl.c 		d_add(dentry, inode);
dentry           1291 fs/nfsd/nfsctl.c 		fsnotify_create(dir, dentry);
dentry           1302 fs/nfsd/nfsctl.c struct dentry *nfsd_client_mkdir(struct nfsd_net *nn,
dentry           1306 fs/nfsd/nfsctl.c 	struct dentry *dentry;
dentry           1312 fs/nfsd/nfsctl.c 	dentry = nfsd_mkdir(nn->nfsd_client_dir, ncl, name);
dentry           1313 fs/nfsd/nfsctl.c 	if (IS_ERR(dentry)) /* XXX: tossing errors? */
dentry           1315 fs/nfsd/nfsctl.c 	ret = nfsdfs_create_files(dentry, files);
dentry           1317 fs/nfsd/nfsctl.c 		nfsd_client_rmdir(dentry);
dentry           1320 fs/nfsd/nfsctl.c 	return dentry;
dentry           1324 fs/nfsd/nfsctl.c void nfsd_client_rmdir(struct dentry *dentry)
dentry           1326 fs/nfsd/nfsctl.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry           1327 fs/nfsd/nfsctl.c 	struct inode *inode = d_inode(dentry);
dentry           1331 fs/nfsd/nfsctl.c 	nfsdfs_remove_files(dentry);
dentry           1333 fs/nfsd/nfsctl.c 	dget(dentry);
dentry           1334 fs/nfsd/nfsctl.c 	ret = simple_rmdir(dir, dentry);
dentry           1336 fs/nfsd/nfsctl.c 	fsnotify_rmdir(dir, dentry);
dentry           1337 fs/nfsd/nfsctl.c 	d_delete(dentry);
dentry           1345 fs/nfsd/nfsctl.c 	struct dentry *dentry;
dentry           1380 fs/nfsd/nfsctl.c 	dentry = nfsd_mkdir(sb->s_root, NULL, "clients");
dentry           1381 fs/nfsd/nfsctl.c 	if (IS_ERR(dentry))
dentry           1382 fs/nfsd/nfsctl.c 		return PTR_ERR(dentry);
dentry           1383 fs/nfsd/nfsctl.c 	nn->nfsd_client_dir = dentry;
dentry             96 fs/nfsd/nfsd.h struct dentry *nfsd_client_mkdir(struct nfsd_net *nn,
dentry             98 fs/nfsd/nfsd.h void nfsd_client_rmdir(struct dentry *dentry);
dentry            437 fs/nfsd/nfsd.h extern int nfsd4_is_junction(struct dentry *dentry);
dentry            441 fs/nfsd/nfsd.h static inline int nfsd4_is_junction(struct dentry *dentry)
dentry             27 fs/nfsd/nfsfh.c static int nfsd_acceptable(void *expv, struct dentry *dentry)
dentry             31 fs/nfsd/nfsfh.c 	struct dentry *tdentry;
dentry             32 fs/nfsd/nfsfh.c 	struct dentry *parent;
dentry             37 fs/nfsd/nfsfh.c 	tdentry = dget(dentry);
dentry             38 fs/nfsd/nfsfh.c 	while (tdentry != exp->ex_path.dentry && !IS_ROOT(tdentry)) {
dentry             50 fs/nfsd/nfsfh.c 	if (tdentry != exp->ex_path.dentry)
dentry             52 fs/nfsd/nfsfh.c 	rv = (tdentry == exp->ex_path.dentry);
dentry             63 fs/nfsd/nfsfh.c nfsd_mode_check(struct svc_rqst *rqstp, struct dentry *dentry,
dentry             66 fs/nfsd/nfsfh.c 	umode_t mode = d_inode(dentry)->i_mode & S_IFMT;
dentry             71 fs/nfsd/nfsfh.c 		if (mode == S_IFDIR && !d_can_lookup(dentry)) {
dentry            118 fs/nfsd/nfsfh.c 	struct dentry *dentry, struct svc_export *exp)
dentry            134 fs/nfsd/nfsfh.c 	if (unlikely(!d_is_dir(dentry) &&
dentry            135 fs/nfsd/nfsfh.c 		     !d_is_symlink(dentry)))
dentry            142 fs/nfsd/nfsfh.c 	if (unlikely(dentry != exp->ex_path.dentry))
dentry            157 fs/nfsd/nfsfh.c 	struct dentry *dentry;
dentry            265 fs/nfsd/nfsfh.c 		dentry = dget(exp->ex_path.dentry);
dentry            267 fs/nfsd/nfsfh.c 		dentry = exportfs_decode_fh(exp->ex_path.mnt, fid,
dentry            271 fs/nfsd/nfsfh.c 	if (dentry == NULL)
dentry            273 fs/nfsd/nfsfh.c 	if (IS_ERR(dentry)) {
dentry            274 fs/nfsd/nfsfh.c 		if (PTR_ERR(dentry) != -EINVAL)
dentry            275 fs/nfsd/nfsfh.c 			error = nfserrno(PTR_ERR(dentry));
dentry            279 fs/nfsd/nfsfh.c 	if (d_is_dir(dentry) &&
dentry            280 fs/nfsd/nfsfh.c 			(dentry->d_flags & DCACHE_DISCONNECTED)) {
dentry            282 fs/nfsd/nfsfh.c 				dentry);
dentry            285 fs/nfsd/nfsfh.c 	fhp->fh_dentry = dentry;
dentry            324 fs/nfsd/nfsfh.c 	struct dentry	*dentry;
dentry            334 fs/nfsd/nfsfh.c 	dentry = fhp->fh_dentry;
dentry            352 fs/nfsd/nfsfh.c 	error = check_pseudo_root(rqstp, dentry, exp);
dentry            360 fs/nfsd/nfsfh.c 	error = nfsd_mode_check(rqstp, dentry, type);
dentry            377 fs/nfsd/nfsfh.c 			&& exp->ex_path.dentry == dentry)
dentry            386 fs/nfsd/nfsfh.c 	error = nfsd_permission(rqstp, exp, dentry, access);
dentry            391 fs/nfsd/nfsfh.c 			dentry,
dentry            409 fs/nfsd/nfsfh.c 		struct dentry *dentry)
dentry            411 fs/nfsd/nfsfh.c 	if (dentry != exp->ex_path.dentry) {
dentry            418 fs/nfsd/nfsfh.c 			exportfs_encode_fh(dentry, fid, &maxsize, subtreecheck);
dentry            428 fs/nfsd/nfsfh.c static inline void _fh_update_old(struct dentry *dentry,
dentry            432 fs/nfsd/nfsfh.c 	fh->ofh_ino = ino_t_to_u32(d_inode(dentry)->i_ino);
dentry            433 fs/nfsd/nfsfh.c 	fh->ofh_generation = d_inode(dentry)->i_generation;
dentry            434 fs/nfsd/nfsfh.c 	if (d_is_dir(dentry) ||
dentry            441 fs/nfsd/nfsfh.c 	return exp->ex_path.dentry == exp->ex_path.dentry->d_sb->s_root;
dentry            446 fs/nfsd/nfsfh.c 	return exp->ex_path.dentry->d_sb;
dentry            529 fs/nfsd/nfsfh.c fh_compose(struct svc_fh *fhp, struct svc_export *exp, struct dentry *dentry,
dentry            540 fs/nfsd/nfsfh.c 	struct inode * inode = d_inode(dentry);
dentry            545 fs/nfsd/nfsfh.c 		(long) d_inode(exp->ex_path.dentry)->i_ino,
dentry            546 fs/nfsd/nfsfh.c 		dentry,
dentry            560 fs/nfsd/nfsfh.c 		       dentry);
dentry            565 fs/nfsd/nfsfh.c 		       dentry);
dentry            567 fs/nfsd/nfsfh.c 	fhp->fh_dentry = dget(dentry); /* our internal copy */
dentry            578 fs/nfsd/nfsfh.c 			ino_t_to_u32(d_inode(exp->ex_path.dentry)->i_ino);
dentry            579 fs/nfsd/nfsfh.c 		fhp->fh_handle.ofh_dirino = ino_t_to_u32(parent_ino(dentry));
dentry            581 fs/nfsd/nfsfh.c 			_fh_update_old(dentry, exp, &fhp->fh_handle);
dentry            590 fs/nfsd/nfsfh.c 			d_inode(exp->ex_path.dentry)->i_ino,
dentry            594 fs/nfsd/nfsfh.c 			_fh_update(fhp, exp, dentry);
dentry            611 fs/nfsd/nfsfh.c 	struct dentry *dentry;
dentry            616 fs/nfsd/nfsfh.c 	dentry = fhp->fh_dentry;
dentry            617 fs/nfsd/nfsfh.c 	if (d_really_is_negative(dentry))
dentry            620 fs/nfsd/nfsfh.c 		_fh_update_old(dentry, fhp->fh_export, &fhp->fh_handle);
dentry            625 fs/nfsd/nfsfh.c 		_fh_update(fhp, fhp->fh_export, dentry);
dentry            635 fs/nfsd/nfsfh.c 		dentry);
dentry            645 fs/nfsd/nfsfh.c 	struct dentry * dentry = fhp->fh_dentry;
dentry            647 fs/nfsd/nfsfh.c 	if (dentry) {
dentry            650 fs/nfsd/nfsfh.c 		dput(dentry);
dentry             33 fs/nfsd/nfsfh.h 	struct dentry *		fh_dentry;	/* validated dentry */
dentry            165 fs/nfsd/nfsfh.h __be32	fh_compose(struct svc_fh *, struct svc_export *, struct dentry *, struct svc_fh *);
dentry            287 fs/nfsd/nfsfh.h 	struct dentry	*dentry = fhp->fh_dentry;
dentry            290 fs/nfsd/nfsfh.h 	BUG_ON(!dentry);
dentry            294 fs/nfsd/nfsfh.h 			dentry);
dentry            298 fs/nfsd/nfsfh.h 	inode = d_inode(dentry);
dentry            248 fs/nfsd/nfsproc.c 	struct dentry	*dchild;
dentry            133 fs/nfsd/nfsxdr.c 	struct dentry	*dentry = fhp->fh_dentry;
dentry            177 fs/nfsd/nfsxdr.c 	lease_get_mtime(d_inode(dentry), &time); 
dentry            360 fs/nfsd/state.h 	struct dentry		*cl_nfsd_dentry;
dentry             59 fs/nfsd/vfs.c  nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp, 
dentry             63 fs/nfsd/vfs.c  	struct dentry *dentry = *dpp;
dentry             65 fs/nfsd/vfs.c  			    .dentry = dget(dentry)};
dentry             71 fs/nfsd/vfs.c  	if (path.mnt == exp->ex_path.mnt && path.dentry == dentry &&
dentry             72 fs/nfsd/vfs.c  	    nfsd_mountpoint(dentry, exp) == 2) {
dentry            102 fs/nfsd/vfs.c  		*dpp = path.dentry;
dentry            103 fs/nfsd/vfs.c  		path.dentry = dentry;
dentry            115 fs/nfsd/vfs.c  	struct dentry *dp;
dentry            117 fs/nfsd/vfs.c  	while (path->dentry == path->mnt->mnt_root && follow_up(path))
dentry            119 fs/nfsd/vfs.c  	dp = dget_parent(path->dentry);
dentry            120 fs/nfsd/vfs.c  	dput(path->dentry);
dentry            121 fs/nfsd/vfs.c  	path->dentry = dp;
dentry            124 fs/nfsd/vfs.c  static int nfsd_lookup_parent(struct svc_rqst *rqstp, struct dentry *dparent, struct svc_export **exp, struct dentry **dentryp)
dentry            128 fs/nfsd/vfs.c  			    .dentry = dget(dparent)};
dentry            139 fs/nfsd/vfs.c  		*dentryp = dget(path.dentry);
dentry            155 fs/nfsd/vfs.c  int nfsd_mountpoint(struct dentry *dentry, struct svc_export *exp)
dentry            157 fs/nfsd/vfs.c  	if (!d_inode(dentry))
dentry            161 fs/nfsd/vfs.c  	if (nfsd4_is_junction(dentry))
dentry            163 fs/nfsd/vfs.c  	if (d_mountpoint(dentry))
dentry            175 fs/nfsd/vfs.c  		   struct svc_export **exp_ret, struct dentry **dentry_ret)
dentry            178 fs/nfsd/vfs.c  	struct dentry		*dparent;
dentry            179 fs/nfsd/vfs.c  	struct dentry		*dentry;
dentry            190 fs/nfsd/vfs.c  			dentry = dget(dparent);
dentry            191 fs/nfsd/vfs.c  		else if (dparent != exp->ex_path.dentry)
dentry            192 fs/nfsd/vfs.c  			dentry = dget_parent(dparent);
dentry            194 fs/nfsd/vfs.c  			dentry = dget(dparent); /* .. == . just like at / */
dentry            197 fs/nfsd/vfs.c  			host_err = nfsd_lookup_parent(rqstp, dparent, &exp, &dentry);
dentry            208 fs/nfsd/vfs.c  		dentry = lookup_one_len(name, dparent, len);
dentry            209 fs/nfsd/vfs.c  		host_err = PTR_ERR(dentry);
dentry            210 fs/nfsd/vfs.c  		if (IS_ERR(dentry))
dentry            212 fs/nfsd/vfs.c  		if (nfsd_mountpoint(dentry, exp)) {
dentry            222 fs/nfsd/vfs.c  			if ((host_err = nfsd_cross_mnt(rqstp, &dentry, &exp))) {
dentry            223 fs/nfsd/vfs.c  				dput(dentry);
dentry            228 fs/nfsd/vfs.c  	*dentry_ret = dentry;
dentry            254 fs/nfsd/vfs.c  	struct dentry		*dentry;
dentry            260 fs/nfsd/vfs.c  	err = nfsd_lookup_dentry(rqstp, fhp, name, len, &exp, &dentry);
dentry            270 fs/nfsd/vfs.c  	err = fh_compose(resfh, exp, dentry, fhp);
dentry            271 fs/nfsd/vfs.c  	if (!err && d_really_is_negative(dentry))
dentry            274 fs/nfsd/vfs.c  	dput(dentry);
dentry            369 fs/nfsd/vfs.c  	struct dentry	*dentry;
dentry            409 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry            410 fs/nfsd/vfs.c  	inode = d_inode(dentry);
dentry            451 fs/nfsd/vfs.c  		host_err = notify_change(dentry, &size_attr, NULL);
dentry            466 fs/nfsd/vfs.c  	host_err = notify_change(dentry, iap, NULL);
dentry            492 fs/nfsd/vfs.c  int nfsd4_is_junction(struct dentry *dentry)
dentry            494 fs/nfsd/vfs.c  	struct inode *inode = d_inode(dentry);
dentry            502 fs/nfsd/vfs.c  	if (vfs_getxattr(dentry, NFSD_JUNCTION_XATTR_NAME, NULL, 0) <= 0)
dentry            512 fs/nfsd/vfs.c  	struct dentry *dentry;
dentry            518 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry            520 fs/nfsd/vfs.c  	inode_lock(d_inode(dentry));
dentry            521 fs/nfsd/vfs.c  	host_error = security_inode_setsecctx(dentry, label->data, label->len);
dentry            522 fs/nfsd/vfs.c  	inode_unlock(d_inode(dentry));
dentry            636 fs/nfsd/vfs.c  	struct dentry		*dentry;
dentry            645 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry            647 fs/nfsd/vfs.c  	if (d_is_reg(dentry))
dentry            649 fs/nfsd/vfs.c  	else if (d_is_dir(dentry))
dentry            662 fs/nfsd/vfs.c  			err2 = nfsd_permission(rqstp, export, dentry, map->how);
dentry            718 fs/nfsd/vfs.c  	path.dentry = fhp->fh_dentry;
dentry            719 fs/nfsd/vfs.c  	inode = d_inode(path.dentry);
dentry           1162 fs/nfsd/vfs.c  	struct dentry	*dentry, *dchild;
dentry           1168 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry           1169 fs/nfsd/vfs.c  	dirp = d_inode(dentry);
dentry           1174 fs/nfsd/vfs.c  				dentry);
dentry           1179 fs/nfsd/vfs.c  	err = nfsd_permission(rqstp, fhp->fh_export, dentry, NFSD_MAY_CREATE);
dentry           1198 fs/nfsd/vfs.c  			struct dentry *d;
dentry           1270 fs/nfsd/vfs.c  	struct dentry	*dentry, *dchild = NULL;
dentry           1281 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry           1288 fs/nfsd/vfs.c  	dchild = lookup_one_len(fname, dentry, flen);
dentry           1315 fs/nfsd/vfs.c  	struct dentry	*dentry, *dchild = NULL;
dentry           1333 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry           1334 fs/nfsd/vfs.c  	dirp = d_inode(dentry);
dentry           1345 fs/nfsd/vfs.c  	dchild = lookup_one_len(fname, dentry, flen);
dentry           1488 fs/nfsd/vfs.c  	path.dentry = fhp->fh_dentry;
dentry           1490 fs/nfsd/vfs.c  	if (unlikely(!d_is_symlink(path.dentry)))
dentry           1495 fs/nfsd/vfs.c  	link = vfs_get_link(path.dentry, &done);
dentry           1517 fs/nfsd/vfs.c  	struct dentry	*dentry, *dnew;
dentry           1537 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry           1538 fs/nfsd/vfs.c  	dnew = lookup_one_len(fname, dentry, flen);
dentry           1543 fs/nfsd/vfs.c  	host_err = vfs_symlink(d_inode(dentry), dnew, path);
dentry           1570 fs/nfsd/vfs.c  	struct dentry	*ddir, *dnew, *dold;
dentry           1636 fs/nfsd/vfs.c  nfsd_close_cached_files(struct dentry *dentry)
dentry           1638 fs/nfsd/vfs.c  	struct inode *inode = d_inode(dentry);
dentry           1645 fs/nfsd/vfs.c  nfsd_has_cached_files(struct dentry *dentry)
dentry           1648 fs/nfsd/vfs.c  	struct inode *inode = d_inode(dentry);
dentry           1663 fs/nfsd/vfs.c  	struct dentry	*fdentry, *tdentry, *odentry, *ndentry, *trap;
dentry           1723 fs/nfsd/vfs.c  	if (ffhp->fh_export->ex_path.dentry != tfhp->fh_export->ex_path.dentry)
dentry           1780 fs/nfsd/vfs.c  	struct dentry	*dentry, *rdentry;
dentry           1797 fs/nfsd/vfs.c  	dentry = fhp->fh_dentry;
dentry           1798 fs/nfsd/vfs.c  	dirp = d_inode(dentry);
dentry           1800 fs/nfsd/vfs.c  	rdentry = lookup_one_len(fname, dentry, flen);
dentry           1997 fs/nfsd/vfs.c  			.dentry	= fhp->fh_dentry,
dentry           2015 fs/nfsd/vfs.c  					struct dentry *dentry, int acc)
dentry           2017 fs/nfsd/vfs.c  	struct inode	*inode = d_inode(dentry);
dentry             43 fs/nfsd/vfs.h  int		nfsd_cross_mnt(struct svc_rqst *rqstp, struct dentry **dpp,
dentry             49 fs/nfsd/vfs.h  				struct svc_export **, struct dentry **);
dentry             52 fs/nfsd/vfs.h  int nfsd_mountpoint(struct dentry *, struct svc_export *);
dentry            119 fs/nfsd/vfs.h  				struct dentry *, int);
dentry            144 fs/nfsd/vfs.h  			 .dentry = fh->fh_dentry};
dentry            740 fs/nfsd/xdr4.h 		struct dentry *dentry,
dentry            438 fs/nilfs2/dir.c int nilfs_add_link(struct dentry *dentry, struct inode *inode)
dentry            440 fs/nilfs2/dir.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry            441 fs/nilfs2/dir.c 	const unsigned char *name = dentry->d_name.name;
dentry            442 fs/nilfs2/dir.c 	int namelen = dentry->d_name.len;
dentry            816 fs/nilfs2/inode.c int nilfs_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            819 fs/nilfs2/inode.c 	struct inode *inode = d_inode(dentry);
dentry            823 fs/nilfs2/inode.c 	err = setattr_prepare(dentry, iattr);
dentry             35 fs/nilfs2/namei.c static inline int nilfs_add_nondir(struct dentry *dentry, struct inode *inode)
dentry             37 fs/nilfs2/namei.c 	int err = nilfs_add_link(dentry, inode);
dentry             40 fs/nilfs2/namei.c 		d_instantiate_new(dentry, inode);
dentry             53 fs/nilfs2/namei.c static struct dentry *
dentry             54 fs/nilfs2/namei.c nilfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry             59 fs/nilfs2/namei.c 	if (dentry->d_name.len > NILFS_NAME_LEN)
dentry             62 fs/nilfs2/namei.c 	ino = nilfs_inode_by_name(dir, &dentry->d_name);
dentry             64 fs/nilfs2/namei.c 	return d_splice_alias(inode, dentry);
dentry             75 fs/nilfs2/namei.c static int nilfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry             92 fs/nilfs2/namei.c 		err = nilfs_add_nondir(dentry, inode);
dentry            103 fs/nilfs2/namei.c nilfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry            117 fs/nilfs2/namei.c 		err = nilfs_add_nondir(dentry, inode);
dentry            127 fs/nilfs2/namei.c static int nilfs_symlink(struct inode *dir, struct dentry *dentry,
dentry            159 fs/nilfs2/namei.c 	err = nilfs_add_nondir(dentry, inode);
dentry            176 fs/nilfs2/namei.c static int nilfs_link(struct dentry *old_dentry, struct inode *dir,
dentry            177 fs/nilfs2/namei.c 		      struct dentry *dentry)
dentry            191 fs/nilfs2/namei.c 	err = nilfs_add_link(dentry, inode);
dentry            193 fs/nilfs2/namei.c 		d_instantiate(dentry, inode);
dentry            204 fs/nilfs2/namei.c static int nilfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            231 fs/nilfs2/namei.c 	err = nilfs_add_link(dentry, inode);
dentry            236 fs/nilfs2/namei.c 	d_instantiate_new(dentry, inode);
dentry            257 fs/nilfs2/namei.c static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry)
dentry            265 fs/nilfs2/namei.c 	de = nilfs_find_entry(dir, &dentry->d_name, &page);
dentry            269 fs/nilfs2/namei.c 	inode = d_inode(dentry);
dentry            291 fs/nilfs2/namei.c static int nilfs_unlink(struct inode *dir, struct dentry *dentry)
dentry            300 fs/nilfs2/namei.c 	err = nilfs_do_unlink(dir, dentry);
dentry            304 fs/nilfs2/namei.c 		nilfs_mark_inode_dirty(d_inode(dentry));
dentry            312 fs/nilfs2/namei.c static int nilfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            314 fs/nilfs2/namei.c 	struct inode *inode = d_inode(dentry);
dentry            324 fs/nilfs2/namei.c 		err = nilfs_do_unlink(dir, dentry);
dentry            341 fs/nilfs2/namei.c static int nilfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            342 fs/nilfs2/namei.c 			struct inode *new_dir,	struct dentry *new_dentry,
dentry            436 fs/nilfs2/namei.c static struct dentry *nilfs_get_parent(struct dentry *child)
dentry            456 fs/nilfs2/namei.c static struct dentry *nilfs_get_dentry(struct super_block *sb, u64 cno,
dentry            481 fs/nilfs2/namei.c static struct dentry *nilfs_fh_to_dentry(struct super_block *sb, struct fid *fh,
dentry            494 fs/nilfs2/namei.c static struct dentry *nilfs_fh_to_parent(struct super_block *sb, struct fid *fh,
dentry            231 fs/nilfs2/nilfs.h extern int nilfs_add_link(struct dentry *, struct inode *);
dentry            270 fs/nilfs2/nilfs.h extern int nilfs_setattr(struct dentry *, struct iattr *);
dentry            587 fs/nilfs2/super.c static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            589 fs/nilfs2/super.c 	struct super_block *sb = dentry->d_sb;
dentry            590 fs/nilfs2/super.c 	struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root;
dentry            656 fs/nilfs2/super.c static int nilfs_show_options(struct seq_file *seq, struct dentry *dentry)
dentry            658 fs/nilfs2/super.c 	struct super_block *sb = dentry->d_sb;
dentry            660 fs/nilfs2/super.c 	struct nilfs_root *root = NILFS_I(d_inode(dentry))->i_root;
dentry            895 fs/nilfs2/super.c 				 struct dentry **root_dentry)
dentry            898 fs/nilfs2/super.c 	struct dentry *dentry;
dentry            915 fs/nilfs2/super.c 		dentry = d_find_alias(inode);
dentry            916 fs/nilfs2/super.c 		if (!dentry) {
dentry            917 fs/nilfs2/super.c 			dentry = d_make_root(inode);
dentry            918 fs/nilfs2/super.c 			if (!dentry) {
dentry            926 fs/nilfs2/super.c 		dentry = d_obtain_root(inode);
dentry            927 fs/nilfs2/super.c 		if (IS_ERR(dentry)) {
dentry            928 fs/nilfs2/super.c 			ret = PTR_ERR(dentry);
dentry            932 fs/nilfs2/super.c 	*root_dentry = dentry;
dentry            942 fs/nilfs2/super.c 				 struct dentry **root_dentry)
dentry            984 fs/nilfs2/super.c static bool nilfs_tree_is_busy(struct dentry *root_dentry)
dentry            995 fs/nilfs2/super.c 	struct dentry *dentry;
dentry           1009 fs/nilfs2/super.c 			dentry = d_find_alias(inode);
dentry           1010 fs/nilfs2/super.c 			if (dentry) {
dentry           1011 fs/nilfs2/super.c 				ret = nilfs_tree_is_busy(dentry);
dentry           1012 fs/nilfs2/super.c 				dput(dentry);
dentry           1263 fs/nilfs2/super.c static struct dentry *
dentry           1270 fs/nilfs2/super.c 	struct dentry *root_dentry;
dentry             35 fs/notify/fanotify/fanotify.c 			old->path.dentry == new->path.dentry;
dentry            166 fs/notify/fanotify/fanotify.c 		if (!d_is_reg(path->dentry) && !d_can_lookup(path->dentry))
dentry            281 fs/notify/fanotify/fanotify.c 		return d_inode(((struct path *)data)->dentry);
dentry            345 fs/notify/fanotify/fanotify.c 		event->path.dentry = NULL;
dentry            118 fs/notify/fanotify/fanotify_user.c 	if (event->path.dentry && event->path.mnt)
dentry            570 fs/notify/fanotify/fanotify_user.c 	ret = inode_permission(path->dentry->d_inode, MAY_READ);
dentry            898 fs/notify/fanotify/fanotify_user.c 	err = vfs_get_fsid(path->dentry, fsid);
dentry            909 fs/notify/fanotify/fanotify_user.c 	err = vfs_get_fsid(path->dentry->d_sb->s_root, &root_fsid);
dentry            924 fs/notify/fanotify/fanotify_user.c 	if (!path->dentry->d_sb->s_export_op ||
dentry            925 fs/notify/fanotify/fanotify_user.c 	    !path->dentry->d_sb->s_export_op->fh_to_dentry)
dentry           1068 fs/notify/fanotify/fanotify_user.c 		inode = path.dentry->d_inode;
dentry            110 fs/notify/fsnotify.c 	struct dentry *alias;
dentry            123 fs/notify/fsnotify.c 		struct dentry *child;
dentry            146 fs/notify/fsnotify.c int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask)
dentry            148 fs/notify/fsnotify.c 	struct dentry *parent;
dentry            152 fs/notify/fsnotify.c 	if (!dentry)
dentry            153 fs/notify/fsnotify.c 		dentry = path->dentry;
dentry            155 fs/notify/fsnotify.c 	if (!(dentry->d_flags & DCACHE_FSNOTIFY_PARENT_WATCHED))
dentry            158 fs/notify/fsnotify.c 	parent = dget_parent(dentry);
dentry            170 fs/notify/fsnotify.c 		take_dentry_name_snapshot(&name, dentry);
dentry            175 fs/notify/fsnotify.c 			ret = fsnotify(p_inode, mask, dentry->d_inode, FSNOTIFY_EVENT_INODE,
dentry             79 fs/notify/inotify/inotify_fsnotify.c 		if (d_unlinked(path->dentry))
dentry            344 fs/notify/inotify/inotify_user.c 	error = inode_permission(path->dentry->d_inode, MAY_READ);
dentry            751 fs/notify/inotify/inotify_user.c 	inode = path.dentry->d_inode;
dentry             23 fs/nsfs.c      static char *ns_dname(struct dentry *dentry, char *buffer, int buflen)
dentry             25 fs/nsfs.c      	struct inode *inode = d_inode(dentry);
dentry             26 fs/nsfs.c      	const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
dentry             28 fs/nsfs.c      	return dynamic_dname(dentry, buffer, buflen, "%s:[%lu]",
dentry             32 fs/nsfs.c      static void ns_prune_dentry(struct dentry *dentry)
dentry             34 fs/nsfs.c      	struct inode *inode = d_inode(dentry);
dentry             58 fs/nsfs.c      	struct dentry *dentry;
dentry             66 fs/nsfs.c      	dentry = (struct dentry *)d;
dentry             67 fs/nsfs.c      	if (!lockref_get_not_dead(&dentry->d_lockref))
dentry             73 fs/nsfs.c      	path->dentry = dentry;
dentry             89 fs/nsfs.c      	dentry = d_alloc_anon(mnt->mnt_sb);
dentry             90 fs/nsfs.c      	if (!dentry) {
dentry             94 fs/nsfs.c      	d_instantiate(dentry, inode);
dentry             95 fs/nsfs.c      	dentry->d_fsdata = (void *)ns->ops;
dentry             96 fs/nsfs.c      	d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry);
dentry             98 fs/nsfs.c      		d_delete(dentry);	/* make sure ->d_prune() does nothing */
dentry             99 fs/nsfs.c      		dput(dentry);
dentry            248 fs/nsfs.c      static int nsfs_show_path(struct seq_file *seq, struct dentry *dentry)
dentry            250 fs/nsfs.c      	struct inode *inode = d_inode(dentry);
dentry            251 fs/nsfs.c      	const struct proc_ns_operations *ns_ops = dentry->d_fsdata;
dentry           2280 fs/ntfs/inode.c int ntfs_show_options(struct seq_file *sf, struct dentry *root)
dentry           2858 fs/ntfs/inode.c int ntfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry           2860 fs/ntfs/inode.c 	struct inode *vi = d_inode(dentry);
dentry           2864 fs/ntfs/inode.c 	err = setattr_prepare(dentry, attr);
dentry            287 fs/ntfs/inode.h extern int ntfs_show_options(struct seq_file *sf, struct dentry *root);
dentry            294 fs/ntfs/inode.h extern int ntfs_setattr(struct dentry *dentry, struct iattr *attr);
dentry             89 fs/ntfs/namei.c static struct dentry *ntfs_lookup(struct inode *dir_ino, struct dentry *dent,
dentry            286 fs/ntfs/namei.c static struct dentry *ntfs_get_parent(struct dentry *child_dent)
dentry            353 fs/ntfs/namei.c static struct dentry *ntfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            360 fs/ntfs/namei.c static struct dentry *ntfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           2591 fs/ntfs/super.c static int ntfs_statfs(struct dentry *dentry, struct kstatfs *sfs)
dentry           2593 fs/ntfs/super.c 	struct super_block *sb = dentry->d_sb;
dentry           3048 fs/ntfs/super.c static struct dentry *ntfs_mount(struct file_system_type *fs_type,
dentry            243 fs/ocfs2/blockcheck.c 					   struct dentry *parent)
dentry            245 fs/ocfs2/blockcheck.c 	struct dentry *dir;
dentry            262 fs/ocfs2/blockcheck.c 						  struct dentry *parent)
dentry            273 fs/ocfs2/blockcheck.c 					    struct dentry *parent)
dentry             27 fs/ocfs2/blockcheck.h 	struct dentry *b_debug_dir;	/* Parent of the debugfs  files */
dentry             57 fs/ocfs2/blockcheck.h 					    struct dentry *parent);
dentry             94 fs/ocfs2/cluster/heartbeat.c static struct dentry *o2hb_debug_dir;
dentry            227 fs/ocfs2/cluster/heartbeat.c 	struct dentry		*hr_debug_dir;
dentry           1393 fs/ocfs2/cluster/heartbeat.c static void o2hb_debug_create(const char *name, struct dentry *dir,
dentry           1983 fs/ocfs2/cluster/heartbeat.c 				   struct dentry *parent)
dentry           1985 fs/ocfs2/cluster/heartbeat.c 	struct dentry *dir;
dentry             40 fs/ocfs2/cluster/netdebug.c static struct dentry *o2net_dentry;
dentry             28 fs/ocfs2/dcache.c void ocfs2_dentry_attach_gen(struct dentry *dentry)
dentry             31 fs/ocfs2/dcache.c 		OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen;
dentry             32 fs/ocfs2/dcache.c 	BUG_ON(d_inode(dentry));
dentry             33 fs/ocfs2/dcache.c 	dentry->d_fsdata = (void *)gen;
dentry             37 fs/ocfs2/dcache.c static int ocfs2_dentry_revalidate(struct dentry *dentry, unsigned int flags)
dentry             46 fs/ocfs2/dcache.c 	inode = d_inode(dentry);
dentry             47 fs/ocfs2/dcache.c 	osb = OCFS2_SB(dentry->d_sb);
dentry             49 fs/ocfs2/dcache.c 	trace_ocfs2_dentry_revalidate(dentry, dentry->d_name.len,
dentry             50 fs/ocfs2/dcache.c 				      dentry->d_name.name);
dentry             57 fs/ocfs2/dcache.c 		unsigned long gen = (unsigned long) dentry->d_fsdata;
dentry             59 fs/ocfs2/dcache.c 		spin_lock(&dentry->d_lock);
dentry             60 fs/ocfs2/dcache.c 		pgen = OCFS2_I(d_inode(dentry->d_parent))->ip_dir_lock_gen;
dentry             61 fs/ocfs2/dcache.c 		spin_unlock(&dentry->d_lock);
dentry             62 fs/ocfs2/dcache.c 		trace_ocfs2_dentry_revalidate_negative(dentry->d_name.len,
dentry             63 fs/ocfs2/dcache.c 						       dentry->d_name.name,
dentry            100 fs/ocfs2/dcache.c 	if (!dentry->d_fsdata) {
dentry            114 fs/ocfs2/dcache.c static int ocfs2_match_dentry(struct dentry *dentry,
dentry            126 fs/ocfs2/dcache.c 	if (!dentry->d_fsdata)
dentry            129 fs/ocfs2/dcache.c 	if (!dentry->d_parent)
dentry            132 fs/ocfs2/dcache.c 	if (skip_unhashed && d_unhashed(dentry))
dentry            135 fs/ocfs2/dcache.c 	parent = d_inode(dentry->d_parent);
dentry            154 fs/ocfs2/dcache.c struct dentry *ocfs2_find_local_alias(struct inode *inode,
dentry            158 fs/ocfs2/dcache.c 	struct dentry *dentry;
dentry            161 fs/ocfs2/dcache.c 	hlist_for_each_entry(dentry, &inode->i_dentry, d_u.d_alias) {
dentry            162 fs/ocfs2/dcache.c 		spin_lock(&dentry->d_lock);
dentry            163 fs/ocfs2/dcache.c 		if (ocfs2_match_dentry(dentry, parent_blkno, skip_unhashed)) {
dentry            164 fs/ocfs2/dcache.c 			trace_ocfs2_find_local_alias(dentry->d_name.len,
dentry            165 fs/ocfs2/dcache.c 						     dentry->d_name.name);
dentry            167 fs/ocfs2/dcache.c 			dget_dlock(dentry);
dentry            168 fs/ocfs2/dcache.c 			spin_unlock(&dentry->d_lock);
dentry            170 fs/ocfs2/dcache.c 			return dentry;
dentry            172 fs/ocfs2/dcache.c 		spin_unlock(&dentry->d_lock);
dentry            212 fs/ocfs2/dcache.c int ocfs2_dentry_attach_lock(struct dentry *dentry,
dentry            217 fs/ocfs2/dcache.c 	struct dentry *alias;
dentry            218 fs/ocfs2/dcache.c 	struct ocfs2_dentry_lock *dl = dentry->d_fsdata;
dentry            220 fs/ocfs2/dcache.c 	trace_ocfs2_dentry_attach_lock(dentry->d_name.len, dentry->d_name.name,
dentry            232 fs/ocfs2/dcache.c 	if (d_really_is_negative(dentry) && dentry->d_fsdata) {
dentry            235 fs/ocfs2/dcache.c 		dentry->d_fsdata = dl = NULL;
dentry            241 fs/ocfs2/dcache.c 				dentry,
dentry            267 fs/ocfs2/dcache.c 				dentry,
dentry            299 fs/ocfs2/dcache.c 	if (unlikely(dentry->d_fsdata && !alias)) {
dentry            311 fs/ocfs2/dcache.c 	dentry->d_fsdata = dl;
dentry            320 fs/ocfs2/dcache.c 	ret = ocfs2_dentry_lock(dentry, 0);
dentry            322 fs/ocfs2/dcache.c 		ocfs2_dentry_unlock(dentry, 0);
dentry            335 fs/ocfs2/dcache.c 		dentry->d_fsdata = NULL;
dentry            392 fs/ocfs2/dcache.c static void ocfs2_dentry_iput(struct dentry *dentry, struct inode *inode)
dentry            394 fs/ocfs2/dcache.c 	struct ocfs2_dentry_lock *dl = dentry->d_fsdata;
dentry            401 fs/ocfs2/dcache.c 		if (!(dentry->d_flags & DCACHE_DISCONNECTED) &&
dentry            402 fs/ocfs2/dcache.c 		    !d_unhashed(dentry)) {
dentry            408 fs/ocfs2/dcache.c 			     ino, dentry->d_flags, dentry);
dentry            415 fs/ocfs2/dcache.c 			dentry, dl->dl_count);
dentry            417 fs/ocfs2/dcache.c 	ocfs2_dentry_lock_put(OCFS2_SB(dentry->d_sb), dl);
dentry            442 fs/ocfs2/dcache.c void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target,
dentry            447 fs/ocfs2/dcache.c 	struct inode *inode = d_inode(dentry);
dentry            458 fs/ocfs2/dcache.c 	ocfs2_dentry_lock_put(osb, dentry->d_fsdata);
dentry            460 fs/ocfs2/dcache.c 	dentry->d_fsdata = NULL;
dentry            461 fs/ocfs2/dcache.c 	ret = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(new_dir)->ip_blkno);
dentry            466 fs/ocfs2/dcache.c 	d_move(dentry, target);
dentry             30 fs/ocfs2/dcache.h int ocfs2_dentry_attach_lock(struct dentry *dentry, struct inode *inode,
dentry             36 fs/ocfs2/dcache.h struct dentry *ocfs2_find_local_alias(struct inode *inode, u64 parent_blkno,
dentry             39 fs/ocfs2/dcache.h void ocfs2_dentry_move(struct dentry *dentry, struct dentry *target,
dentry             43 fs/ocfs2/dcache.h void ocfs2_dentry_attach_gen(struct dentry *dentry);
dentry             56 fs/ocfs2/dir.h 				  struct dentry *dentry,
dentry             61 fs/ocfs2/dir.h 	return __ocfs2_add_entry(handle, d_inode(dentry->d_parent),
dentry             62 fs/ocfs2/dir.h 				 dentry->d_name.name, dentry->d_name.len,
dentry            145 fs/ocfs2/dlm/dlmcommon.h 	struct dentry *dlm_debugfs_subroot;
dentry            326 fs/ocfs2/dlm/dlmdebug.c static struct dentry *dlm_debugfs_root;
dentry            193 fs/ocfs2/dlmfs/dlmfs.c static int dlmfs_file_setattr(struct dentry *dentry, struct iattr *attr)
dentry            196 fs/ocfs2/dlmfs/dlmfs.c 	struct inode *inode = d_inode(dentry);
dentry            199 fs/ocfs2/dlmfs/dlmfs.c 	error = setattr_prepare(dentry, attr);
dentry            388 fs/ocfs2/dlmfs/dlmfs.c 				     struct dentry *dentry,
dentry            417 fs/ocfs2/dlmfs/dlmfs.c 		user_dlm_lock_res_init(&ip->ip_lockres, dentry);
dentry            443 fs/ocfs2/dlmfs/dlmfs.c 		       struct dentry * dentry,
dentry            448 fs/ocfs2/dlmfs/dlmfs.c 	const struct qstr *domain = &dentry->d_name;
dentry            461 fs/ocfs2/dlmfs/dlmfs.c 	inode = dlmfs_get_inode(dir, dentry, mode | S_IFDIR);
dentry            480 fs/ocfs2/dlmfs/dlmfs.c 	d_instantiate(dentry, inode);
dentry            481 fs/ocfs2/dlmfs/dlmfs.c 	dget(dentry);	/* Extra count - pin the dentry in core */
dentry            491 fs/ocfs2/dlmfs/dlmfs.c 			struct dentry *dentry,
dentry            497 fs/ocfs2/dlmfs/dlmfs.c 	const struct qstr *name = &dentry->d_name;
dentry            511 fs/ocfs2/dlmfs/dlmfs.c 	inode = dlmfs_get_inode(dir, dentry, mode | S_IFREG);
dentry            518 fs/ocfs2/dlmfs/dlmfs.c 	d_instantiate(dentry, inode);
dentry            519 fs/ocfs2/dlmfs/dlmfs.c 	dget(dentry);	/* Extra count - pin the dentry in core */
dentry            525 fs/ocfs2/dlmfs/dlmfs.c 			struct dentry *dentry)
dentry            528 fs/ocfs2/dlmfs/dlmfs.c 	struct inode *inode = d_inode(dentry);
dentry            537 fs/ocfs2/dlmfs/dlmfs.c 		     dentry, status);
dentry            540 fs/ocfs2/dlmfs/dlmfs.c 	status = simple_unlink(dir, dentry);
dentry            595 fs/ocfs2/dlmfs/dlmfs.c static struct dentry *dlmfs_mount(struct file_system_type *fs_type,
dentry            574 fs/ocfs2/dlmfs/userdlm.c 			    struct dentry *dentry)
dentry            585 fs/ocfs2/dlmfs/userdlm.c 	BUG_ON(dentry->d_name.len >= USER_DLM_LOCK_ID_MAX_LEN);
dentry            588 fs/ocfs2/dlmfs/userdlm.c 	       dentry->d_name.name,
dentry            589 fs/ocfs2/dlmfs/userdlm.c 	       dentry->d_name.len);
dentry            590 fs/ocfs2/dlmfs/userdlm.c 	lockres->l_namelen = dentry->d_name.len;
dentry             59 fs/ocfs2/dlmfs/userdlm.h 			    struct dentry *dentry);
dentry           2942 fs/ocfs2/dlmglue.c int ocfs2_dentry_lock(struct dentry *dentry, int ex)
dentry           2946 fs/ocfs2/dlmglue.c 	struct ocfs2_dentry_lock *dl = dentry->d_fsdata;
dentry           2947 fs/ocfs2/dlmglue.c 	struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
dentry           2967 fs/ocfs2/dlmglue.c void ocfs2_dentry_unlock(struct dentry *dentry, int ex)
dentry           2970 fs/ocfs2/dlmglue.c 	struct ocfs2_dentry_lock *dl = dentry->d_fsdata;
dentry           2971 fs/ocfs2/dlmglue.c 	struct ocfs2_super *osb = OCFS2_SB(dentry->d_sb);
dentry           4019 fs/ocfs2/dlmglue.c 	struct dentry *dentry;
dentry           4071 fs/ocfs2/dlmglue.c 		dentry = ocfs2_find_local_alias(dl->dl_inode,
dentry           4073 fs/ocfs2/dlmglue.c 		if (!dentry)
dentry           4078 fs/ocfs2/dlmglue.c 			shrink_dcache_parent(dentry);
dentry           4080 fs/ocfs2/dlmglue.c 		mlog(0, "d_delete(%pd);\n", dentry);
dentry           4090 fs/ocfs2/dlmglue.c 		d_delete(dentry);
dentry           4091 fs/ocfs2/dlmglue.c 		dput(dentry);
dentry            176 fs/ocfs2/dlmglue.h int ocfs2_dentry_lock(struct dentry *dentry, int ex);
dentry            177 fs/ocfs2/dlmglue.h void ocfs2_dentry_unlock(struct dentry *dentry, int ex);
dentry             36 fs/ocfs2/export.c static struct dentry *ocfs2_get_dentry(struct super_block *sb,
dentry             43 fs/ocfs2/export.c 	struct dentry *result;
dentry            131 fs/ocfs2/export.c static struct dentry *ocfs2_get_parent(struct dentry *child)
dentry            135 fs/ocfs2/export.c 	struct dentry *parent;
dentry            205 fs/ocfs2/export.c 	trace_ocfs2_encode_fh_begin(dentry, dentry->d_name.len,
dentry            206 fs/ocfs2/export.c 				    dentry->d_name.name,
dentry            252 fs/ocfs2/export.c static struct dentry *ocfs2_fh_to_dentry(struct super_block *sb,
dentry            266 fs/ocfs2/export.c static struct dentry *ocfs2_fh_to_parent(struct super_block *sb,
dentry             89 fs/ocfs2/file.c 	trace_ocfs2_file_open(inode, file, file->f_path.dentry,
dentry             91 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.len,
dentry             92 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.name, mode);
dentry            143 fs/ocfs2/file.c 	trace_ocfs2_file_release(inode, file, file->f_path.dentry,
dentry            145 fs/ocfs2/file.c 				 file->f_path.dentry->d_name.len,
dentry            146 fs/ocfs2/file.c 				 file->f_path.dentry->d_name.name,
dentry            178 fs/ocfs2/file.c 	trace_ocfs2_sync_file(inode, file, file->f_path.dentry,
dentry            180 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.len,
dentry            181 fs/ocfs2/file.c 			      file->f_path.dentry->d_name.name,
dentry           1115 fs/ocfs2/file.c int ocfs2_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1119 fs/ocfs2/file.c 	struct inode *inode = d_inode(dentry);
dentry           1129 fs/ocfs2/file.c 	trace_ocfs2_setattr(inode, dentry,
dentry           1131 fs/ocfs2/file.c 			    dentry->d_name.len, dentry->d_name.name,
dentry           1145 fs/ocfs2/file.c 	status = setattr_prepare(dentry, attr);
dentry           1304 fs/ocfs2/file.c 	struct inode *inode = d_inode(path->dentry);
dentry           1305 fs/ocfs2/file.c 	struct super_block *sb = path->dentry->d_sb;
dentry           1309 fs/ocfs2/file.c 	err = ocfs2_inode_revalidate(path->dentry);
dentry           1929 fs/ocfs2/file.c 	if (file && should_remove_suid(file->f_path.dentry)) {
dentry           2165 fs/ocfs2/file.c 	struct dentry *dentry = file->f_path.dentry;
dentry           2166 fs/ocfs2/file.c 	struct inode *inode = d_inode(dentry);
dentry           2211 fs/ocfs2/file.c 		if (should_remove_suid(dentry)) {
dentry           2293 fs/ocfs2/file.c 	trace_ocfs2_file_write_iter(inode, file, file->f_path.dentry,
dentry           2295 fs/ocfs2/file.c 		file->f_path.dentry->d_name.len,
dentry           2296 fs/ocfs2/file.c 		file->f_path.dentry->d_name.name,
dentry           2441 fs/ocfs2/file.c 	trace_ocfs2_file_read_iter(inode, filp, filp->f_path.dentry,
dentry           2443 fs/ocfs2/file.c 			filp->f_path.dentry->d_name.len,
dentry           2444 fs/ocfs2/file.c 			filp->f_path.dentry->d_name.name,
dentry             54 fs/ocfs2/file.h int ocfs2_setattr(struct dentry *dentry, struct iattr *attr);
dentry           1249 fs/ocfs2/inode.c int ocfs2_inode_revalidate(struct dentry *dentry)
dentry           1251 fs/ocfs2/inode.c 	struct inode *inode = d_inode(dentry);
dentry            132 fs/ocfs2/inode.h int ocfs2_inode_revalidate(struct dentry *dentry);
dentry             97 fs/ocfs2/namei.c static struct dentry *ocfs2_lookup(struct inode *dir, struct dentry *dentry,
dentry            103 fs/ocfs2/namei.c 	struct dentry *ret;
dentry            106 fs/ocfs2/namei.c 	trace_ocfs2_lookup(dir, dentry, dentry->d_name.len,
dentry            107 fs/ocfs2/namei.c 			   dentry->d_name.name,
dentry            110 fs/ocfs2/namei.c 	if (dentry->d_name.len > OCFS2_MAX_FILENAME_LEN) {
dentry            123 fs/ocfs2/namei.c 	status = ocfs2_lookup_ino_from_name(dir, dentry->d_name.name,
dentry            124 fs/ocfs2/namei.c 					    dentry->d_name.len, &blkno);
dentry            145 fs/ocfs2/namei.c 	ret = d_splice_alias(inode, dentry);
dentry            159 fs/ocfs2/namei.c 			dentry = ret;
dentry            161 fs/ocfs2/namei.c 		status = ocfs2_dentry_attach_lock(dentry, inode,
dentry            169 fs/ocfs2/namei.c 		ocfs2_dentry_attach_gen(dentry);
dentry            210 fs/ocfs2/namei.c 		struct dentry *dentry, struct inode *inode)
dentry            212 fs/ocfs2/namei.c 	struct ocfs2_dentry_lock *dl = dentry->d_fsdata;
dentry            218 fs/ocfs2/namei.c 	dentry->d_fsdata = NULL;
dentry            225 fs/ocfs2/namei.c 		       struct dentry *dentry,
dentry            251 fs/ocfs2/namei.c 	trace_ocfs2_mknod(dir, dentry, dentry->d_name.len, dentry->d_name.name,
dentry            283 fs/ocfs2/namei.c 	status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name,
dentry            284 fs/ocfs2/namei.c 					   dentry->d_name.len);
dentry            290 fs/ocfs2/namei.c 					      dentry->d_name.name,
dentry            291 fs/ocfs2/namei.c 					      dentry->d_name.len, &lookup);
dentry            314 fs/ocfs2/namei.c 	status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si);
dentry            426 fs/ocfs2/namei.c 	status = ocfs2_dentry_attach_lock(dentry, inode,
dentry            433 fs/ocfs2/namei.c 	dl = dentry->d_fsdata;
dentry            435 fs/ocfs2/namei.c 	status = ocfs2_add_entry(handle, dentry, inode,
dentry            444 fs/ocfs2/namei.c 	d_instantiate(dentry, inode);
dentry            478 fs/ocfs2/namei.c 			ocfs2_cleanup_add_entry_failure(osb, dentry, inode);
dentry            643 fs/ocfs2/namei.c 		       struct dentry *dentry,
dentry            648 fs/ocfs2/namei.c 	trace_ocfs2_mkdir(dir, dentry, dentry->d_name.len, dentry->d_name.name,
dentry            650 fs/ocfs2/namei.c 	ret = ocfs2_mknod(dir, dentry, mode | S_IFDIR, 0);
dentry            658 fs/ocfs2/namei.c 			struct dentry *dentry,
dentry            664 fs/ocfs2/namei.c 	trace_ocfs2_create(dir, dentry, dentry->d_name.len, dentry->d_name.name,
dentry            666 fs/ocfs2/namei.c 	ret = ocfs2_mknod(dir, dentry, mode | S_IFREG, 0);
dentry            673 fs/ocfs2/namei.c static int ocfs2_link(struct dentry *old_dentry,
dentry            675 fs/ocfs2/namei.c 		      struct dentry *dentry)
dentry            692 fs/ocfs2/namei.c 			 dentry->d_name.len, dentry->d_name.name);
dentry            745 fs/ocfs2/namei.c 	err = ocfs2_check_dir_for_entry(dir, dentry->d_name.name,
dentry            746 fs/ocfs2/namei.c 					dentry->d_name.len);
dentry            751 fs/ocfs2/namei.c 					   dentry->d_name.name,
dentry            752 fs/ocfs2/namei.c 					   dentry->d_name.len, &lookup);
dentry            796 fs/ocfs2/namei.c 	err = ocfs2_add_entry(handle, dentry, inode,
dentry            806 fs/ocfs2/namei.c 	err = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(dir)->ip_blkno);
dentry            813 fs/ocfs2/namei.c 	d_instantiate(dentry, inode);
dentry            840 fs/ocfs2/namei.c static int ocfs2_remote_dentry_delete(struct dentry *dentry)
dentry            844 fs/ocfs2/namei.c 	ret = ocfs2_dentry_lock(dentry, 1);
dentry            848 fs/ocfs2/namei.c 		ocfs2_dentry_unlock(dentry, 1);
dentry            867 fs/ocfs2/namei.c 			struct dentry *dentry)
dentry            872 fs/ocfs2/namei.c 	struct inode *inode = d_inode(dentry);
dentry            884 fs/ocfs2/namei.c 	trace_ocfs2_unlink(dir, dentry, dentry->d_name.len,
dentry            885 fs/ocfs2/namei.c 			   dentry->d_name.name,
dentry            895 fs/ocfs2/namei.c 	BUG_ON(d_inode(dentry->d_parent) != dir);
dentry            908 fs/ocfs2/namei.c 	status = ocfs2_find_files_on_disk(dentry->d_name.name,
dentry            909 fs/ocfs2/namei.c 					  dentry->d_name.len, &blkno, dir,
dentry            942 fs/ocfs2/namei.c 	status = ocfs2_remote_dentry_delete(dentry);
dentry           1193 fs/ocfs2/namei.c 			struct dentry *old_dentry,
dentry           1195 fs/ocfs2/namei.c 			struct dentry *new_dentry,
dentry           1782 fs/ocfs2/namei.c 			 struct dentry *dentry,
dentry           1809 fs/ocfs2/namei.c 	trace_ocfs2_symlink_begin(dir, dentry, symname,
dentry           1810 fs/ocfs2/namei.c 				  dentry->d_name.len, dentry->d_name.name);
dentry           1840 fs/ocfs2/namei.c 	status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name,
dentry           1841 fs/ocfs2/namei.c 					   dentry->d_name.len);
dentry           1846 fs/ocfs2/namei.c 					      dentry->d_name.name,
dentry           1847 fs/ocfs2/namei.c 					      dentry->d_name.len, &lookup);
dentry           1869 fs/ocfs2/namei.c 	status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si);
dentry           1917 fs/ocfs2/namei.c 	trace_ocfs2_symlink_create(dir, dentry, dentry->d_name.len,
dentry           1918 fs/ocfs2/namei.c 				   dentry->d_name.name,
dentry           1996 fs/ocfs2/namei.c 	status = ocfs2_dentry_attach_lock(dentry, inode, OCFS2_I(dir)->ip_blkno);
dentry           2002 fs/ocfs2/namei.c 	dl = dentry->d_fsdata;
dentry           2004 fs/ocfs2/namei.c 	status = ocfs2_add_entry(handle, dentry, inode,
dentry           2013 fs/ocfs2/namei.c 	d_instantiate(dentry, inode);
dentry           2039 fs/ocfs2/namei.c 			ocfs2_cleanup_add_entry_failure(osb, dentry, inode);
dentry           2754 fs/ocfs2/namei.c 				   struct dentry *dentry)
dentry           2766 fs/ocfs2/namei.c 	trace_ocfs2_mv_orphaned_inode_to_new(dir, dentry,
dentry           2767 fs/ocfs2/namei.c 				dentry->d_name.len, dentry->d_name.name,
dentry           2785 fs/ocfs2/namei.c 	status = ocfs2_check_dir_for_entry(dir, dentry->d_name.name,
dentry           2786 fs/ocfs2/namei.c 					   dentry->d_name.len);
dentry           2792 fs/ocfs2/namei.c 					      dentry->d_name.name,
dentry           2793 fs/ocfs2/namei.c 					      dentry->d_name.len, &lookup);
dentry           2854 fs/ocfs2/namei.c 	status = ocfs2_add_entry(handle, dentry, inode,
dentry           2862 fs/ocfs2/namei.c 	status = ocfs2_dentry_attach_lock(dentry, inode,
dentry           2869 fs/ocfs2/namei.c 	d_instantiate(dentry, inode);
dentry             20 fs/ocfs2/namei.h struct dentry *ocfs2_get_parent(struct dentry *child);
dentry             38 fs/ocfs2/namei.h 				   struct dentry *new_dentry);
dentry            401 fs/ocfs2/ocfs2.h 	struct dentry *osb_debug_root;
dentry           1274 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *inode, void *file, void *dentry,
dentry           1278 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, file, dentry, ino, d_len, d_name, para),
dentry           1282 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           1291 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           1298 fs/ocfs2/ocfs2_trace.h 		  __entry->dentry, __entry->ino, __entry->para,
dentry           1304 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *inode, void *file, void *dentry,			\
dentry           1308 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, file, dentry, ino, d_len, d_name, mode))
dentry           1407 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *inode, void *dentry,
dentry           1412 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(inode, dentry, ino, d_len, d_name,
dentry           1416 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           1427 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           1437 fs/ocfs2/ocfs2_trace.h 		  __entry->dentry, __entry->ino, __entry->d_len,
dentry           2160 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *dir, void *dentry, int name_len, const char *name,
dentry           2162 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dir, dentry, name_len, name, dir_blkno, extra),
dentry           2165 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           2173 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           2179 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %p %.*s %llu %llu", __entry->dir, __entry->dentry,
dentry           2186 fs/ocfs2/ocfs2_trace.h TP_PROTO(void *dir, void *dentry, int name_len, const char *name,	\
dentry           2188 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dir, dentry, name_len, name, dir_blkno, extra))
dentry           2205 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *dir, void *dentry, int name_len, const char *name,
dentry           2207 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dir, dentry, name_len, name, dir_blkno, dev, mode),
dentry           2210 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           2219 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           2226 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %p %.*s %llu %lu %d", __entry->dir, __entry->dentry,
dentry           2333 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *dir, void *dentry, const char *symname,
dentry           2335 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dir, dentry, symname, len, name),
dentry           2338 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           2345 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           2350 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %p %s %.*s", __entry->dir, __entry->dentry,
dentry           2397 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *dentry, int len, const char *name),
dentry           2398 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dentry, len, name),
dentry           2400 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           2405 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           2409 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %.*s", __entry->dentry, __entry->len, __get_str(name))
dentry           2541 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *dentry, int name_len, const char *name,
dentry           2543 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(dentry, name_len, name, fh, len, connectable),
dentry           2545 fs/ocfs2/ocfs2_trace.h 		__field(void *, dentry)
dentry           2553 fs/ocfs2/ocfs2_trace.h 		__entry->dentry = dentry;
dentry           2560 fs/ocfs2/ocfs2_trace.h 	TP_printk("%p %.*s %p %d %d", __entry->dentry, __entry->name_len,
dentry           4177 fs/ocfs2/refcounttree.c static int __ocfs2_reflink(struct dentry *old_dentry,
dentry           4248 fs/ocfs2/refcounttree.c static int ocfs2_reflink(struct dentry *old_dentry, struct inode *dir,
dentry           4249 fs/ocfs2/refcounttree.c 			 struct dentry *new_dentry, bool preserve)
dentry           4341 fs/ocfs2/refcounttree.c static inline int ocfs2_may_create(struct inode *dir, struct dentry *child)
dentry           4358 fs/ocfs2/refcounttree.c static int ocfs2_vfs_reflink(struct dentry *old_dentry, struct inode *dir,
dentry           4359 fs/ocfs2/refcounttree.c 			     struct dentry *new_dentry, bool preserve)
dentry           4423 fs/ocfs2/refcounttree.c 	struct dentry *new_dentry;
dentry           4449 fs/ocfs2/refcounttree.c 	error = ocfs2_vfs_reflink(old_path.dentry,
dentry           4450 fs/ocfs2/refcounttree.c 				  d_inode(new_path.dentry),
dentry             70 fs/ocfs2/super.c static struct dentry *ocfs2_debugfs_root;
dentry             93 fs/ocfs2/super.c static int ocfs2_show_options(struct seq_file *s, struct dentry *root);
dentry            102 fs/ocfs2/super.c static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry            974 fs/ocfs2/super.c 	struct dentry *root;
dentry           1186 fs/ocfs2/super.c static struct dentry *ocfs2_mount(struct file_system_type *fs_type,
dentry           1475 fs/ocfs2/super.c static int ocfs2_show_options(struct seq_file *s, struct dentry *root)
dentry           1617 fs/ocfs2/super.c static int ocfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           1626 fs/ocfs2/super.c 	trace_ocfs2_statfs(dentry->d_sb, buf);
dentry           1628 fs/ocfs2/super.c 	osb = OCFS2_SB(dentry->d_sb);
dentry           1651 fs/ocfs2/super.c 	buf->f_bsize = dentry->d_sb->s_blocksize;
dentry           1026 fs/ocfs2/xattr.c ssize_t ocfs2_listxattr(struct dentry *dentry,
dentry           1033 fs/ocfs2/xattr.c 	struct ocfs2_inode_info *oi = OCFS2_I(d_inode(dentry));
dentry           1035 fs/ocfs2/xattr.c 	if (!ocfs2_supports_xattr(OCFS2_SB(dentry->d_sb)))
dentry           1041 fs/ocfs2/xattr.c 	ret = ocfs2_inode_lock(d_inode(dentry), &di_bh, 0);
dentry           1050 fs/ocfs2/xattr.c 	i_ret = ocfs2_xattr_ibody_list(d_inode(dentry), di, buffer, size);
dentry           1058 fs/ocfs2/xattr.c 		b_ret = ocfs2_xattr_block_list(d_inode(dentry), di,
dentry           1064 fs/ocfs2/xattr.c 	ocfs2_inode_unlock(d_inode(dentry), 0);
dentry           7244 fs/ocfs2/xattr.c 				    struct dentry *unused, struct inode *inode,
dentry           7252 fs/ocfs2/xattr.c 				    struct dentry *unused, struct inode *inode,
dentry           7316 fs/ocfs2/xattr.c 				   struct dentry *unused, struct inode *inode,
dentry           7324 fs/ocfs2/xattr.c 				   struct dentry *unused, struct inode *inode,
dentry           7342 fs/ocfs2/xattr.c 				struct dentry *unused, struct inode *inode,
dentry           7354 fs/ocfs2/xattr.c 				struct dentry *unused, struct inode *inode,
dentry             37 fs/ocfs2/xattr.h ssize_t ocfs2_listxattr(struct dentry *, char *, size_t);
dentry            111 fs/omfs/dir.c  static int omfs_add_link(struct dentry *dentry, struct inode *inode)
dentry            113 fs/omfs/dir.c  	struct inode *dir = d_inode(dentry->d_parent);
dentry            114 fs/omfs/dir.c  	const char *name = dentry->d_name.name;
dentry            115 fs/omfs/dir.c  	int namelen = dentry->d_name.len;
dentry            156 fs/omfs/dir.c  static int omfs_delete_entry(struct dentry *dentry)
dentry            158 fs/omfs/dir.c  	struct inode *dir = d_inode(dentry->d_parent);
dentry            160 fs/omfs/dir.c  	const char *name = dentry->d_name.name;
dentry            161 fs/omfs/dir.c  	int namelen = dentry->d_name.len;
dentry            238 fs/omfs/dir.c  static int omfs_remove(struct inode *dir, struct dentry *dentry)
dentry            240 fs/omfs/dir.c  	struct inode *inode = d_inode(dentry);
dentry            248 fs/omfs/dir.c  	ret = omfs_delete_entry(dentry);
dentry            258 fs/omfs/dir.c  static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            270 fs/omfs/dir.c  	err = omfs_add_link(dentry, inode);
dentry            274 fs/omfs/dir.c  	d_instantiate(dentry, inode);
dentry            282 fs/omfs/dir.c  static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            284 fs/omfs/dir.c  	return omfs_add_node(dir, dentry, mode | S_IFDIR);
dentry            287 fs/omfs/dir.c  static int omfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            290 fs/omfs/dir.c  	return omfs_add_node(dir, dentry, mode | S_IFREG);
dentry            293 fs/omfs/dir.c  static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            299 fs/omfs/dir.c  	if (dentry->d_name.len > OMFS_NAMELEN)
dentry            302 fs/omfs/dir.c  	bh = omfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len);
dentry            311 fs/omfs/dir.c  	return d_splice_alias(inode, dentry);
dentry            372 fs/omfs/dir.c  static int omfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            373 fs/omfs/dir.c  		       struct inode *new_dir, struct dentry *new_dentry,
dentry            347 fs/omfs/file.c static int omfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry            349 fs/omfs/file.c 	struct inode *inode = d_inode(dentry);
dentry            352 fs/omfs/file.c 	error = setattr_prepare(dentry, attr);
dentry            274 fs/omfs/inode.c static int omfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            276 fs/omfs/inode.c 	struct super_block *s = dentry->d_sb;
dentry            297 fs/omfs/inode.c static int omfs_show_options(struct seq_file *m, struct dentry *root)
dentry            602 fs/omfs/inode.c static struct dentry *omfs_mount(struct file_system_type *fs_type,
dentry             38 fs/open.c      int do_truncate(struct dentry *dentry, loff_t length, unsigned int time_attrs,
dentry             56 fs/open.c      	ret = dentry_needs_remove_privs(dentry);
dentry             62 fs/open.c      	inode_lock(dentry->d_inode);
dentry             64 fs/open.c      	ret = notify_change(dentry, &newattrs, NULL);
dentry             65 fs/open.c      	inode_unlock(dentry->d_inode);
dentry             74 fs/open.c      	inode = path->dentry->d_inode;
dentry            110 fs/open.c      		error = do_truncate(path->dentry, length, 0, NULL);
dentry            158 fs/open.c      	struct dentry *dentry;
dentry            174 fs/open.c      	dentry = f.file->f_path.dentry;
dentry            175 fs/open.c      	inode = dentry->d_inode;
dentry            195 fs/open.c      		error = do_truncate(dentry, length, ATTR_MTIME|ATTR_CTIME, f.file);
dentry            402 fs/open.c      	inode = d_backing_inode(path.dentry);
dentry            463 fs/open.c      	error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR);
dentry            494 fs/open.c      	if (!d_can_lookup(f.file->f_path.dentry))
dentry            516 fs/open.c      	error = inode_permission(path.dentry->d_inode, MAY_EXEC | MAY_CHDIR);
dentry            546 fs/open.c      	struct inode *inode = path->dentry->d_inode;
dentry            561 fs/open.c      	error = notify_change(path->dentry, &newattrs, &delegated_inode);
dentry            622 fs/open.c      	struct inode *inode = path->dentry->d_inode;
dentry            652 fs/open.c      		error = notify_change(path->dentry, &newattrs, &delegated_inode);
dentry            842 fs/open.c      	f->f_path.dentry = NULL;
dentry            865 fs/open.c      int finish_open(struct file *file, struct dentry *dentry,
dentry            870 fs/open.c      	file->f_path.dentry = dentry;
dentry            871 fs/open.c      	return do_dentry_open(file, d_backing_inode(dentry), open);
dentry            889 fs/open.c      int finish_no_open(struct file *file, struct dentry *dentry)
dentry            891 fs/open.c      	file->f_path.dentry = dentry;
dentry            911 fs/open.c      	return do_dentry_open(file, d_backing_inode(path->dentry), NULL);
dentry           1068 fs/open.c      struct file *file_open_root(struct dentry *dentry, struct vfsmount *mnt,
dentry           1075 fs/open.c      	return do_file_open_root(dentry, mnt, filename, &op);
dentry            175 fs/openpromfs/inode.c static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, unsigned int);
dentry            181 fs/openpromfs/inode.c static struct dentry *openpromfs_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            197 fs/openpromfs/inode.c 	name = dentry->d_name.name;
dentry            198 fs/openpromfs/inode.c 	len = dentry->d_name.len;
dentry            262 fs/openpromfs/inode.c 	return d_splice_alias(inode, dentry);
dentry             16 fs/orangefs/dcache.c static int orangefs_revalidate_lookup(struct dentry *dentry)
dentry             18 fs/orangefs/dcache.c 	struct dentry *parent_dentry = dget_parent(dentry);
dentry             21 fs/orangefs/dcache.c 	struct inode *inode = dentry->d_inode;
dentry             35 fs/orangefs/dcache.c 		dentry->d_name.name,
dentry             77 fs/orangefs/dcache.c 	orangefs_set_timeout(dentry);
dentry             95 fs/orangefs/dcache.c static int orangefs_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry             98 fs/orangefs/dcache.c 	unsigned long time = (unsigned long) dentry->d_fsdata;
dentry            107 fs/orangefs/dcache.c 		     __func__, dentry);
dentry            110 fs/orangefs/dcache.c 	if (dentry->d_inode && is_root_handle(dentry->d_inode))
dentry            117 fs/orangefs/dcache.c 	if (!orangefs_revalidate_lookup(dentry))
dentry            121 fs/orangefs/dcache.c 	if (!dentry->d_inode) {
dentry            130 fs/orangefs/dcache.c 	ret = orangefs_inode_check_changed(dentry->d_inode);
dentry             62 fs/orangefs/dir.c     struct orangefs_dir *od, struct dentry *dentry,
dentry             90 fs/orangefs/dir.c 	    get_interruptible_flag(dentry->d_inode));
dentry            162 fs/orangefs/dir.c     struct orangefs_dir *od, struct dentry *dentry)
dentry            172 fs/orangefs/dir.c 	r = do_readdir(oi, od, dentry, op);
dentry            242 fs/orangefs/dir.c     struct orangefs_dir *od, struct dentry *dentry,
dentry            309 fs/orangefs/dir.c 	struct dentry *dentry;
dentry            312 fs/orangefs/dir.c 	dentry = file->f_path.dentry;
dentry            313 fs/orangefs/dir.c 	oi = ORANGEFS_I(dentry->d_inode);
dentry            345 fs/orangefs/dir.c 		r = orangefs_dir_more(oi, od, dentry);
dentry            354 fs/orangefs/dir.c 		r = orangefs_dir_fill(oi, od, dentry, ctx);
dentry            361 fs/orangefs/dir.c 		r = orangefs_dir_more(oi, od, dentry);
dentry            364 fs/orangefs/dir.c 		r = orangefs_dir_fill(oi, od, dentry, ctx);
dentry            472 fs/orangefs/file.c 			(char *)file->f_path.dentry->d_name.name :
dentry            921 fs/orangefs/inode.c int orangefs_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            925 fs/orangefs/inode.c 	    dentry);
dentry            926 fs/orangefs/inode.c 	ret = setattr_prepare(dentry, iattr);
dentry            929 fs/orangefs/inode.c 	ret = __orangefs_setattr(d_inode(dentry), iattr);
dentry            930 fs/orangefs/inode.c 	sync_inode_metadata(d_inode(dentry), 1);
dentry            944 fs/orangefs/inode.c 	struct inode *inode = path->dentry->d_inode;
dentry            948 fs/orangefs/inode.c 		     path->dentry, request_mask);
dentry             19 fs/orangefs/namei.c 			struct dentry *dentry,
dentry             32 fs/orangefs/namei.c 		     dentry);
dentry             44 fs/orangefs/namei.c 		dentry->d_name.name, ORANGEFS_NAME_MAX - 1);
dentry             51 fs/orangefs/namei.c 		     dentry,
dentry             66 fs/orangefs/namei.c 			   dentry);
dentry             75 fs/orangefs/namei.c 		     dentry);
dentry             77 fs/orangefs/namei.c 	d_instantiate_new(dentry, inode);
dentry             78 fs/orangefs/namei.c 	orangefs_set_timeout(dentry);
dentry             83 fs/orangefs/namei.c 		     dentry);
dentry             95 fs/orangefs/namei.c 		     dentry,
dentry            104 fs/orangefs/namei.c static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry,
dentry            121 fs/orangefs/namei.c 		     __func__, dentry);
dentry            123 fs/orangefs/namei.c 	if (dentry->d_name.len > (ORANGEFS_NAME_MAX - 1))
dentry            139 fs/orangefs/namei.c 	strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name,
dentry            158 fs/orangefs/namei.c 		orangefs_set_timeout(dentry);
dentry            168 fs/orangefs/namei.c 	return d_splice_alias(inode, dentry);
dentry            172 fs/orangefs/namei.c static int orangefs_unlink(struct inode *dir, struct dentry *dentry)
dentry            174 fs/orangefs/namei.c 	struct inode *inode = dentry->d_inode;
dentry            184 fs/orangefs/namei.c 		     dentry,
dentry            194 fs/orangefs/namei.c 	strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name,
dentry            219 fs/orangefs/namei.c 			 struct dentry *dentry,
dentry            249 fs/orangefs/namei.c 		dentry->d_name.name,
dentry            288 fs/orangefs/namei.c 	d_instantiate_new(dentry, inode);
dentry            289 fs/orangefs/namei.c 	orangefs_set_timeout(dentry);
dentry            294 fs/orangefs/namei.c 		     dentry);
dentry            306 fs/orangefs/namei.c static int orangefs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            325 fs/orangefs/namei.c 		dentry->d_name.name, ORANGEFS_NAME_MAX - 1);
dentry            354 fs/orangefs/namei.c 	d_instantiate_new(dentry, inode);
dentry            355 fs/orangefs/namei.c 	orangefs_set_timeout(dentry);
dentry            360 fs/orangefs/namei.c 		     dentry);
dentry            376 fs/orangefs/namei.c 			struct dentry *old_dentry,
dentry            378 fs/orangefs/namei.c 			struct dentry *new_dentry,
dentry            102 fs/orangefs/orangefs-debugfs.c static struct dentry *client_debug_dentry;
dentry            103 fs/orangefs/orangefs-debugfs.c static struct dentry *debug_dir;
dentry            439 fs/orangefs/orangefs-debugfs.c 	if (!strcmp(file->f_path.dentry->d_name.name,
dentry            344 fs/orangefs/orangefs-kernel.h struct dentry *orangefs_mount(struct file_system_type *fst,
dentry            366 fs/orangefs/orangefs-kernel.h int orangefs_setattr(struct dentry *, struct iattr *);
dentry            378 fs/orangefs/orangefs-kernel.h ssize_t orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry            485 fs/orangefs/orangefs-kernel.h static inline void orangefs_set_timeout(struct dentry *dentry)
dentry            489 fs/orangefs/orangefs-kernel.h 	dentry->d_fsdata = (void *) time;
dentry             40 fs/orangefs/super.c static int orangefs_show_options(struct seq_file *m, struct dentry *root)
dentry            163 fs/orangefs/super.c static int orangefs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            170 fs/orangefs/super.c 	sb = dentry->d_sb;
dentry            325 fs/orangefs/super.c static struct dentry *orangefs_fh_to_dentry(struct super_block *sb,
dentry            418 fs/orangefs/super.c 	struct dentry *root_dentry;
dentry            473 fs/orangefs/super.c struct dentry *orangefs_mount(struct file_system_type *fst,
dentry            481 fs/orangefs/super.c 	struct dentry *d = ERR_PTR(-EINVAL);
dentry            406 fs/orangefs/xattr.c ssize_t orangefs_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            408 fs/orangefs/xattr.c 	struct inode *inode = dentry->d_inode;
dentry            529 fs/orangefs/xattr.c 				      struct dentry *unused,
dentry            540 fs/orangefs/xattr.c 				      struct dentry *unused,
dentry             39 fs/overlayfs/copy_up.c int ovl_copy_xattr(struct dentry *old, struct dentry *new)
dentry            180 fs/overlayfs/copy_up.c static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat)
dentry            190 fs/overlayfs/copy_up.c static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat)
dentry            202 fs/overlayfs/copy_up.c int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat)
dentry            227 fs/overlayfs/copy_up.c struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper)
dentry            283 fs/overlayfs/copy_up.c int ovl_set_origin(struct dentry *dentry, struct dentry *lower,
dentry            284 fs/overlayfs/copy_up.c 		   struct dentry *upper)
dentry            303 fs/overlayfs/copy_up.c 	err = ovl_check_setxattr(dentry, upper, OVL_XATTR_ORIGIN, fh,
dentry            311 fs/overlayfs/copy_up.c static int ovl_set_upper_fh(struct dentry *upper, struct dentry *index)
dentry            331 fs/overlayfs/copy_up.c static int ovl_create_index(struct dentry *dentry, struct dentry *origin,
dentry            332 fs/overlayfs/copy_up.c 			    struct dentry *upper)
dentry            334 fs/overlayfs/copy_up.c 	struct dentry *indexdir = ovl_indexdir(dentry->d_sb);
dentry            336 fs/overlayfs/copy_up.c 	struct dentry *index = NULL;
dentry            337 fs/overlayfs/copy_up.c 	struct dentry *temp = NULL;
dentry            349 fs/overlayfs/copy_up.c 	if (WARN_ON(!d_is_dir(dentry)))
dentry            353 fs/overlayfs/copy_up.c 	if (WARN_ON(ovl_test_flag(OVL_INDEX, d_inode(dentry))))
dentry            386 fs/overlayfs/copy_up.c 	struct dentry *parent;
dentry            387 fs/overlayfs/copy_up.c 	struct dentry *dentry;
dentry            392 fs/overlayfs/copy_up.c 	struct dentry *destdir;
dentry            394 fs/overlayfs/copy_up.c 	struct dentry *workdir;
dentry            403 fs/overlayfs/copy_up.c 	struct dentry *upper;
dentry            404 fs/overlayfs/copy_up.c 	struct dentry *upperdir = ovl_dentry_upper(c->parent);
dentry            412 fs/overlayfs/copy_up.c 	err = ovl_set_nlink_lower(c->dentry);
dentry            417 fs/overlayfs/copy_up.c 	upper = lookup_one_len(c->dentry->d_name.name, upperdir,
dentry            418 fs/overlayfs/copy_up.c 			       c->dentry->d_name.len);
dentry            421 fs/overlayfs/copy_up.c 		err = ovl_do_link(ovl_dentry_upper(c->dentry), udir, upper);
dentry            427 fs/overlayfs/copy_up.c 			ovl_dentry_set_upper_alias(c->dentry);
dentry            434 fs/overlayfs/copy_up.c 	err = ovl_set_nlink_upper(c->dentry);
dentry            439 fs/overlayfs/copy_up.c static int ovl_copy_up_inode(struct ovl_copy_up_ctx *c, struct dentry *temp)
dentry            450 fs/overlayfs/copy_up.c 		ovl_path_upper(c->dentry, &upperpath);
dentry            451 fs/overlayfs/copy_up.c 		if (WARN_ON(upperpath.dentry != NULL))
dentry            453 fs/overlayfs/copy_up.c 		upperpath.dentry = temp;
dentry            455 fs/overlayfs/copy_up.c 		ovl_path_lowerdata(c->dentry, &datapath);
dentry            461 fs/overlayfs/copy_up.c 	err = ovl_copy_xattr(c->lowerpath.dentry, temp);
dentry            473 fs/overlayfs/copy_up.c 		err = ovl_set_origin(c->dentry, c->lowerpath.dentry, temp);
dentry            479 fs/overlayfs/copy_up.c 		err = ovl_check_setxattr(c->dentry, temp, OVL_XATTR_METACOPY,
dentry            500 fs/overlayfs/copy_up.c static int ovl_prep_cu_creds(struct dentry *dentry, struct ovl_cu_creds *cc)
dentry            505 fs/overlayfs/copy_up.c 	err = security_inode_copy_up(dentry, &cc->new);
dentry            531 fs/overlayfs/copy_up.c 	struct dentry *temp, *upper;
dentry            545 fs/overlayfs/copy_up.c 	err = ovl_prep_cu_creds(c->dentry, &cc);
dentry            561 fs/overlayfs/copy_up.c 		err = ovl_create_index(c->dentry, c->lowerpath.dentry, temp);
dentry            577 fs/overlayfs/copy_up.c 		ovl_set_upperdata(d_inode(c->dentry));
dentry            578 fs/overlayfs/copy_up.c 	inode = d_inode(c->dentry);
dentry            597 fs/overlayfs/copy_up.c 	struct dentry *temp, *upper;
dentry            601 fs/overlayfs/copy_up.c 	err = ovl_prep_cu_creds(c->dentry, &cc);
dentry            629 fs/overlayfs/copy_up.c 		ovl_set_upperdata(d_inode(c->dentry));
dentry            630 fs/overlayfs/copy_up.c 	ovl_inode_update(d_inode(c->dentry), temp);
dentry            651 fs/overlayfs/copy_up.c 	struct ovl_fs *ofs = c->dentry->d_sb->s_fs_info;
dentry            660 fs/overlayfs/copy_up.c 	if (ovl_need_index(c->dentry)) {
dentry            663 fs/overlayfs/copy_up.c 			c->workdir = ovl_indexdir(c->dentry->d_sb);
dentry            672 fs/overlayfs/copy_up.c 		c->destdir = ovl_indexdir(c->dentry->d_sb);
dentry            673 fs/overlayfs/copy_up.c 		err = ovl_get_index_name(c->lowerpath.dentry, &c->destname);
dentry            698 fs/overlayfs/copy_up.c 		ovl_set_flag(OVL_INDEX, d_inode(c->dentry));
dentry            702 fs/overlayfs/copy_up.c 		err = ovl_set_nlink_upper(c->dentry);
dentry            711 fs/overlayfs/copy_up.c 		ovl_dentry_set_upper_alias(c->dentry);
dentry            720 fs/overlayfs/copy_up.c static bool ovl_need_meta_copy_up(struct dentry *dentry, umode_t mode,
dentry            723 fs/overlayfs/copy_up.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            745 fs/overlayfs/copy_up.c 	ovl_path_upper(c->dentry, &upperpath);
dentry            746 fs/overlayfs/copy_up.c 	if (WARN_ON(upperpath.dentry == NULL))
dentry            749 fs/overlayfs/copy_up.c 	ovl_path_lowerdata(c->dentry, &datapath);
dentry            750 fs/overlayfs/copy_up.c 	if (WARN_ON(datapath.dentry == NULL))
dentry            754 fs/overlayfs/copy_up.c 		err = cap_size = ovl_getxattr(upperpath.dentry, XATTR_NAME_CAPS,
dentry            769 fs/overlayfs/copy_up.c 		err = ovl_do_setxattr(upperpath.dentry, XATTR_NAME_CAPS,
dentry            776 fs/overlayfs/copy_up.c 	err = vfs_removexattr(upperpath.dentry, OVL_XATTR_METACOPY);
dentry            780 fs/overlayfs/copy_up.c 	ovl_set_upperdata(d_inode(c->dentry));
dentry            787 fs/overlayfs/copy_up.c static int ovl_copy_up_one(struct dentry *parent, struct dentry *dentry,
dentry            795 fs/overlayfs/copy_up.c 		.dentry = dentry,
dentry            796 fs/overlayfs/copy_up.c 		.workdir = ovl_workdir(dentry),
dentry            802 fs/overlayfs/copy_up.c 	ovl_path_lower(dentry, &ctx.lowerpath);
dentry            808 fs/overlayfs/copy_up.c 	ctx.metacopy = ovl_need_meta_copy_up(dentry, ctx.stat.mode, flags);
dentry            812 fs/overlayfs/copy_up.c 		ctx.destdir = parentpath.dentry;
dentry            813 fs/overlayfs/copy_up.c 		ctx.destname = dentry->d_name;
dentry            827 fs/overlayfs/copy_up.c 		ctx.link = vfs_get_link(ctx.lowerpath.dentry, &done);
dentry            832 fs/overlayfs/copy_up.c 	err = ovl_copy_up_start(dentry, flags);
dentry            838 fs/overlayfs/copy_up.c 		if (!ovl_dentry_upper(dentry))
dentry            840 fs/overlayfs/copy_up.c 		if (!err && parent && !ovl_dentry_has_upper_alias(dentry))
dentry            842 fs/overlayfs/copy_up.c 		if (!err && ovl_dentry_needs_data_copy_up_locked(dentry, flags))
dentry            844 fs/overlayfs/copy_up.c 		ovl_copy_up_end(dentry);
dentry            851 fs/overlayfs/copy_up.c int ovl_copy_up_flags(struct dentry *dentry, int flags)
dentry            854 fs/overlayfs/copy_up.c 	const struct cred *old_cred = ovl_override_creds(dentry->d_sb);
dentry            855 fs/overlayfs/copy_up.c 	bool disconnected = (dentry->d_flags & DCACHE_DISCONNECTED);
dentry            862 fs/overlayfs/copy_up.c 	if (WARN_ON(disconnected && d_is_dir(dentry)))
dentry            866 fs/overlayfs/copy_up.c 		struct dentry *next;
dentry            867 fs/overlayfs/copy_up.c 		struct dentry *parent = NULL;
dentry            869 fs/overlayfs/copy_up.c 		if (ovl_already_copied_up(dentry, flags))
dentry            872 fs/overlayfs/copy_up.c 		next = dget(dentry);
dentry            894 fs/overlayfs/copy_up.c static bool ovl_open_need_copy_up(struct dentry *dentry, int flags)
dentry            897 fs/overlayfs/copy_up.c 	if (ovl_already_copied_up(dentry, flags))
dentry            900 fs/overlayfs/copy_up.c 	if (special_file(d_inode(dentry)->i_mode))
dentry            909 fs/overlayfs/copy_up.c int ovl_maybe_copy_up(struct dentry *dentry, int flags)
dentry            913 fs/overlayfs/copy_up.c 	if (ovl_open_need_copy_up(dentry, flags)) {
dentry            914 fs/overlayfs/copy_up.c 		err = ovl_want_write(dentry);
dentry            916 fs/overlayfs/copy_up.c 			err = ovl_copy_up_flags(dentry, flags);
dentry            917 fs/overlayfs/copy_up.c 			ovl_drop_write(dentry);
dentry            924 fs/overlayfs/copy_up.c int ovl_copy_up_with_data(struct dentry *dentry)
dentry            926 fs/overlayfs/copy_up.c 	return ovl_copy_up_flags(dentry, O_WRONLY);
dentry            929 fs/overlayfs/copy_up.c int ovl_copy_up(struct dentry *dentry)
dentry            931 fs/overlayfs/copy_up.c 	return ovl_copy_up_flags(dentry, 0);
dentry             24 fs/overlayfs/dir.c static int ovl_set_redirect(struct dentry *dentry, bool samedir);
dentry             26 fs/overlayfs/dir.c int ovl_cleanup(struct inode *wdir, struct dentry *wdentry)
dentry             45 fs/overlayfs/dir.c static struct dentry *ovl_lookup_temp(struct dentry *workdir)
dentry             47 fs/overlayfs/dir.c 	struct dentry *temp;
dentry             65 fs/overlayfs/dir.c static struct dentry *ovl_whiteout(struct dentry *workdir)
dentry             68 fs/overlayfs/dir.c 	struct dentry *whiteout;
dentry             85 fs/overlayfs/dir.c int ovl_cleanup_and_whiteout(struct dentry *workdir, struct inode *dir,
dentry             86 fs/overlayfs/dir.c 			     struct dentry *dentry)
dentry             89 fs/overlayfs/dir.c 	struct dentry *whiteout;
dentry             98 fs/overlayfs/dir.c 	if (d_is_dir(dentry))
dentry            101 fs/overlayfs/dir.c 	err = ovl_do_rename(wdir, whiteout, dir, dentry, flags);
dentry            105 fs/overlayfs/dir.c 		ovl_cleanup(wdir, dentry);
dentry            116 fs/overlayfs/dir.c static int ovl_mkdir_real(struct inode *dir, struct dentry **newdentry,
dentry            120 fs/overlayfs/dir.c 	struct dentry *d, *dentry = *newdentry;
dentry            122 fs/overlayfs/dir.c 	err = ovl_do_mkdir(dir, dentry, mode);
dentry            126 fs/overlayfs/dir.c 	if (likely(!d_unhashed(dentry)))
dentry            134 fs/overlayfs/dir.c 	d = lookup_one_len(dentry->d_name.name, dentry->d_parent,
dentry            135 fs/overlayfs/dir.c 			   dentry->d_name.len);
dentry            138 fs/overlayfs/dir.c 			dentry, err);
dentry            141 fs/overlayfs/dir.c 	dput(dentry);
dentry            147 fs/overlayfs/dir.c struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
dentry            203 fs/overlayfs/dir.c struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr)
dentry            209 fs/overlayfs/dir.c static int ovl_set_opaque_xerr(struct dentry *dentry, struct dentry *upper,
dentry            214 fs/overlayfs/dir.c 	err = ovl_check_setxattr(dentry, upper, OVL_XATTR_OPAQUE, "y", 1, xerr);
dentry            216 fs/overlayfs/dir.c 		ovl_dentry_set_opaque(dentry);
dentry            221 fs/overlayfs/dir.c static int ovl_set_opaque(struct dentry *dentry, struct dentry *upperdentry)
dentry            228 fs/overlayfs/dir.c 	return ovl_set_opaque_xerr(dentry, upperdentry, -EIO);
dentry            236 fs/overlayfs/dir.c static int ovl_instantiate(struct dentry *dentry, struct inode *inode,
dentry            237 fs/overlayfs/dir.c 			   struct dentry *newdentry, bool hardlink)
dentry            244 fs/overlayfs/dir.c 	ovl_dir_modified(dentry->d_parent, false);
dentry            245 fs/overlayfs/dir.c 	ovl_dentry_set_upper_alias(dentry);
dentry            259 fs/overlayfs/dir.c 		inode = ovl_get_inode(dentry->d_sb, &oip);
dentry            268 fs/overlayfs/dir.c 	d_instantiate(dentry, inode);
dentry            271 fs/overlayfs/dir.c 				    dentry);
dentry            276 fs/overlayfs/dir.c 		d_drop(dentry);
dentry            281 fs/overlayfs/dir.c static bool ovl_type_merge(struct dentry *dentry)
dentry            283 fs/overlayfs/dir.c 	return OVL_TYPE_MERGE(ovl_path_type(dentry));
dentry            286 fs/overlayfs/dir.c static bool ovl_type_origin(struct dentry *dentry)
dentry            288 fs/overlayfs/dir.c 	return OVL_TYPE_ORIGIN(ovl_path_type(dentry));
dentry            291 fs/overlayfs/dir.c static int ovl_create_upper(struct dentry *dentry, struct inode *inode,
dentry            294 fs/overlayfs/dir.c 	struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            296 fs/overlayfs/dir.c 	struct dentry *newdentry;
dentry            304 fs/overlayfs/dir.c 				    lookup_one_len(dentry->d_name.name,
dentry            306 fs/overlayfs/dir.c 						   dentry->d_name.len),
dentry            312 fs/overlayfs/dir.c 	if (ovl_type_merge(dentry->d_parent) && d_is_dir(newdentry)) {
dentry            314 fs/overlayfs/dir.c 		ovl_set_opaque(dentry, newdentry);
dentry            317 fs/overlayfs/dir.c 	err = ovl_instantiate(dentry, inode, newdentry, !!attr->hardlink);
dentry            330 fs/overlayfs/dir.c static struct dentry *ovl_clear_empty(struct dentry *dentry,
dentry            333 fs/overlayfs/dir.c 	struct dentry *workdir = ovl_workdir(dentry);
dentry            335 fs/overlayfs/dir.c 	struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            338 fs/overlayfs/dir.c 	struct dentry *upper;
dentry            339 fs/overlayfs/dir.c 	struct dentry *opaquedir;
dentry            350 fs/overlayfs/dir.c 	ovl_path_upper(dentry, &upperpath);
dentry            359 fs/overlayfs/dir.c 	upper = upperpath.dentry;
dentry            372 fs/overlayfs/dir.c 	err = ovl_set_opaque(dentry, opaquedir);
dentry            391 fs/overlayfs/dir.c 	d_drop(dentry);
dentry            404 fs/overlayfs/dir.c static int ovl_set_upper_acl(struct dentry *upperdentry, const char *name,
dentry            429 fs/overlayfs/dir.c static int ovl_create_over_whiteout(struct dentry *dentry, struct inode *inode,
dentry            432 fs/overlayfs/dir.c 	struct dentry *workdir = ovl_workdir(dentry);
dentry            434 fs/overlayfs/dir.c 	struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            436 fs/overlayfs/dir.c 	struct dentry *upper;
dentry            437 fs/overlayfs/dir.c 	struct dentry *newdentry;
dentry            446 fs/overlayfs/dir.c 		err = posix_acl_create(dentry->d_parent->d_inode,
dentry            456 fs/overlayfs/dir.c 	upper = lookup_one_len(dentry->d_name.name, upperdir,
dentry            457 fs/overlayfs/dir.c 			       dentry->d_name.len);
dentry            500 fs/overlayfs/dir.c 		err = ovl_set_opaque(dentry, newdentry);
dentry            515 fs/overlayfs/dir.c 	err = ovl_instantiate(dentry, inode, newdentry, hardlink);
dentry            535 fs/overlayfs/dir.c static int ovl_create_or_link(struct dentry *dentry, struct inode *inode,
dentry            541 fs/overlayfs/dir.c 	struct dentry *parent = dentry->d_parent;
dentry            547 fs/overlayfs/dir.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            565 fs/overlayfs/dir.c 			err = security_dentry_create_files_as(dentry,
dentry            566 fs/overlayfs/dir.c 					attr->mode, &dentry->d_name, old_cred,
dentry            576 fs/overlayfs/dir.c 		if (!ovl_dentry_is_whiteout(dentry))
dentry            577 fs/overlayfs/dir.c 			err = ovl_create_upper(dentry, inode, attr);
dentry            579 fs/overlayfs/dir.c 			err = ovl_create_over_whiteout(dentry, inode, attr);
dentry            586 fs/overlayfs/dir.c static int ovl_create_object(struct dentry *dentry, int mode, dev_t rdev,
dentry            596 fs/overlayfs/dir.c 	err = ovl_want_write(dentry);
dentry            602 fs/overlayfs/dir.c 	inode = ovl_new_inode(dentry->d_sb, mode, rdev);
dentry            610 fs/overlayfs/dir.c 	inode_init_owner(inode, dentry->d_parent->d_inode, mode);
dentry            613 fs/overlayfs/dir.c 	err = ovl_create_or_link(dentry, inode, &attr, false);
dentry            615 fs/overlayfs/dir.c 	if (inode != d_inode(dentry))
dentry            619 fs/overlayfs/dir.c 	ovl_drop_write(dentry);
dentry            624 fs/overlayfs/dir.c static int ovl_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            627 fs/overlayfs/dir.c 	return ovl_create_object(dentry, (mode & 07777) | S_IFREG, 0, NULL);
dentry            630 fs/overlayfs/dir.c static int ovl_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            632 fs/overlayfs/dir.c 	return ovl_create_object(dentry, (mode & 07777) | S_IFDIR, 0, NULL);
dentry            635 fs/overlayfs/dir.c static int ovl_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            642 fs/overlayfs/dir.c 	return ovl_create_object(dentry, mode, rdev, NULL);
dentry            645 fs/overlayfs/dir.c static int ovl_symlink(struct inode *dir, struct dentry *dentry,
dentry            648 fs/overlayfs/dir.c 	return ovl_create_object(dentry, S_IFLNK, 0, link);
dentry            651 fs/overlayfs/dir.c static int ovl_set_link_redirect(struct dentry *dentry)
dentry            656 fs/overlayfs/dir.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            657 fs/overlayfs/dir.c 	err = ovl_set_redirect(dentry, false);
dentry            663 fs/overlayfs/dir.c static int ovl_link(struct dentry *old, struct inode *newdir,
dentry            664 fs/overlayfs/dir.c 		    struct dentry *new)
dentry            707 fs/overlayfs/dir.c static bool ovl_matches_upper(struct dentry *dentry, struct dentry *upper)
dentry            709 fs/overlayfs/dir.c 	return d_inode(ovl_dentry_upper(dentry)) == d_inode(upper);
dentry            712 fs/overlayfs/dir.c static int ovl_remove_and_whiteout(struct dentry *dentry,
dentry            715 fs/overlayfs/dir.c 	struct dentry *workdir = ovl_workdir(dentry);
dentry            716 fs/overlayfs/dir.c 	struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            717 fs/overlayfs/dir.c 	struct dentry *upper;
dentry            718 fs/overlayfs/dir.c 	struct dentry *opaquedir = NULL;
dentry            725 fs/overlayfs/dir.c 		opaquedir = ovl_clear_empty(dentry, list);
dentry            735 fs/overlayfs/dir.c 	upper = lookup_one_len(dentry->d_name.name, upperdir,
dentry            736 fs/overlayfs/dir.c 			       dentry->d_name.len);
dentry            743 fs/overlayfs/dir.c 	    (!opaquedir && ovl_dentry_upper(dentry) &&
dentry            744 fs/overlayfs/dir.c 	     !ovl_matches_upper(dentry, upper))) {
dentry            752 fs/overlayfs/dir.c 	ovl_dir_modified(dentry->d_parent, true);
dentry            754 fs/overlayfs/dir.c 	d_drop(dentry);
dentry            765 fs/overlayfs/dir.c static int ovl_remove_upper(struct dentry *dentry, bool is_dir,
dentry            768 fs/overlayfs/dir.c 	struct dentry *upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            770 fs/overlayfs/dir.c 	struct dentry *upper;
dentry            771 fs/overlayfs/dir.c 	struct dentry *opaquedir = NULL;
dentry            775 fs/overlayfs/dir.c 		opaquedir = ovl_clear_empty(dentry, list);
dentry            782 fs/overlayfs/dir.c 	upper = lookup_one_len(dentry->d_name.name, upperdir,
dentry            783 fs/overlayfs/dir.c 			       dentry->d_name.len);
dentry            790 fs/overlayfs/dir.c 	    (!opaquedir && !ovl_matches_upper(dentry, upper)))
dentry            797 fs/overlayfs/dir.c 	ovl_dir_modified(dentry->d_parent, ovl_type_origin(dentry));
dentry            806 fs/overlayfs/dir.c 		d_drop(dentry);
dentry            816 fs/overlayfs/dir.c static bool ovl_pure_upper(struct dentry *dentry)
dentry            818 fs/overlayfs/dir.c 	return !ovl_dentry_lower(dentry) &&
dentry            819 fs/overlayfs/dir.c 	       !ovl_test_flag(OVL_WHITEOUTS, d_inode(dentry));
dentry            822 fs/overlayfs/dir.c static int ovl_do_remove(struct dentry *dentry, bool is_dir)
dentry            826 fs/overlayfs/dir.c 	struct dentry *upperdentry;
dentry            827 fs/overlayfs/dir.c 	bool lower_positive = ovl_lower_positive(dentry);
dentry            831 fs/overlayfs/dir.c 	if (is_dir && (lower_positive || !ovl_pure_upper(dentry))) {
dentry            832 fs/overlayfs/dir.c 		err = ovl_check_empty_dir(dentry, &list);
dentry            837 fs/overlayfs/dir.c 	err = ovl_want_write(dentry);
dentry            841 fs/overlayfs/dir.c 	err = ovl_copy_up(dentry->d_parent);
dentry            845 fs/overlayfs/dir.c 	err = ovl_nlink_start(dentry);
dentry            849 fs/overlayfs/dir.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            851 fs/overlayfs/dir.c 		err = ovl_remove_upper(dentry, is_dir, &list);
dentry            853 fs/overlayfs/dir.c 		err = ovl_remove_and_whiteout(dentry, &list);
dentry            857 fs/overlayfs/dir.c 			clear_nlink(dentry->d_inode);
dentry            859 fs/overlayfs/dir.c 			drop_nlink(dentry->d_inode);
dentry            861 fs/overlayfs/dir.c 	ovl_nlink_end(dentry);
dentry            869 fs/overlayfs/dir.c 	upperdentry = ovl_dentry_upper(dentry);
dentry            871 fs/overlayfs/dir.c 		ovl_copyattr(d_inode(upperdentry), d_inode(dentry));
dentry            874 fs/overlayfs/dir.c 	ovl_drop_write(dentry);
dentry            880 fs/overlayfs/dir.c static int ovl_unlink(struct inode *dir, struct dentry *dentry)
dentry            882 fs/overlayfs/dir.c 	return ovl_do_remove(dentry, false);
dentry            885 fs/overlayfs/dir.c static int ovl_rmdir(struct inode *dir, struct dentry *dentry)
dentry            887 fs/overlayfs/dir.c 	return ovl_do_remove(dentry, true);
dentry            890 fs/overlayfs/dir.c static bool ovl_type_merge_or_lower(struct dentry *dentry)
dentry            892 fs/overlayfs/dir.c 	enum ovl_path_type type = ovl_path_type(dentry);
dentry            897 fs/overlayfs/dir.c static bool ovl_can_move(struct dentry *dentry)
dentry            899 fs/overlayfs/dir.c 	return ovl_redirect_dir(dentry->d_sb) ||
dentry            900 fs/overlayfs/dir.c 		!d_is_dir(dentry) || !ovl_type_merge_or_lower(dentry);
dentry            903 fs/overlayfs/dir.c static char *ovl_get_redirect(struct dentry *dentry, bool abs_redirect)
dentry            906 fs/overlayfs/dir.c 	struct dentry *d, *tmp;
dentry            910 fs/overlayfs/dir.c 		ret = kstrndup(dentry->d_name.name, dentry->d_name.len,
dentry            921 fs/overlayfs/dir.c 	for (d = dget(dentry); !IS_ROOT(d);) {
dentry            963 fs/overlayfs/dir.c static bool ovl_need_absolute_redirect(struct dentry *dentry, bool samedir)
dentry            965 fs/overlayfs/dir.c 	struct dentry *lowerdentry;
dentry            970 fs/overlayfs/dir.c 	if (d_is_dir(dentry))
dentry            986 fs/overlayfs/dir.c 	lowerdentry = ovl_dentry_lower(dentry);
dentry            990 fs/overlayfs/dir.c static int ovl_set_redirect(struct dentry *dentry, bool samedir)
dentry            993 fs/overlayfs/dir.c 	const char *redirect = ovl_dentry_get_redirect(dentry);
dentry            994 fs/overlayfs/dir.c 	bool absolute_redirect = ovl_need_absolute_redirect(dentry, samedir);
dentry            999 fs/overlayfs/dir.c 	redirect = ovl_get_redirect(dentry, absolute_redirect);
dentry           1003 fs/overlayfs/dir.c 	err = ovl_check_setxattr(dentry, ovl_dentry_upper(dentry),
dentry           1007 fs/overlayfs/dir.c 		spin_lock(&dentry->d_lock);
dentry           1008 fs/overlayfs/dir.c 		ovl_dentry_set_redirect(dentry, redirect);
dentry           1009 fs/overlayfs/dir.c 		spin_unlock(&dentry->d_lock);
dentry           1020 fs/overlayfs/dir.c static int ovl_rename(struct inode *olddir, struct dentry *old,
dentry           1021 fs/overlayfs/dir.c 		      struct inode *newdir, struct dentry *new,
dentry           1025 fs/overlayfs/dir.c 	struct dentry *old_upperdir;
dentry           1026 fs/overlayfs/dir.c 	struct dentry *new_upperdir;
dentry           1027 fs/overlayfs/dir.c 	struct dentry *olddentry;
dentry           1028 fs/overlayfs/dir.c 	struct dentry *newdentry;
dentry           1029 fs/overlayfs/dir.c 	struct dentry *trap;
dentry           1038 fs/overlayfs/dir.c 	struct dentry *opaquedir = NULL;
dentry             19 fs/overlayfs/export.c static int ovl_encode_maybe_copy_up(struct dentry *dentry)
dentry             23 fs/overlayfs/export.c 	if (ovl_dentry_upper(dentry))
dentry             26 fs/overlayfs/export.c 	err = ovl_want_write(dentry);
dentry             28 fs/overlayfs/export.c 		err = ovl_copy_up(dentry);
dentry             29 fs/overlayfs/export.c 		ovl_drop_write(dentry);
dentry             34 fs/overlayfs/export.c 				    dentry, err);
dentry             77 fs/overlayfs/export.c static int ovl_connectable_layer(struct dentry *dentry)
dentry             79 fs/overlayfs/export.c 	struct ovl_entry *oe = OVL_E(dentry);
dentry             82 fs/overlayfs/export.c 	if (dentry == dentry->d_sb->s_root)
dentry             89 fs/overlayfs/export.c 	if (ovl_dentry_upper(dentry) &&
dentry             90 fs/overlayfs/export.c 	    !ovl_test_flag(OVL_INDEX, d_inode(dentry)))
dentry            105 fs/overlayfs/export.c static int ovl_connect_layer(struct dentry *dentry)
dentry            107 fs/overlayfs/export.c 	struct dentry *next, *parent = NULL;
dentry            111 fs/overlayfs/export.c 	if (WARN_ON(dentry == dentry->d_sb->s_root) ||
dentry            112 fs/overlayfs/export.c 	    WARN_ON(!ovl_dentry_lower(dentry)))
dentry            115 fs/overlayfs/export.c 	origin_layer = OVL_E(dentry)->lowerstack[0].layer->idx;
dentry            116 fs/overlayfs/export.c 	if (ovl_dentry_test_flag(OVL_E_CONNECTED, dentry))
dentry            120 fs/overlayfs/export.c 	next = dget(dentry);
dentry            150 fs/overlayfs/export.c 		ovl_dentry_set_flag(OVL_E_CONNECTED, dentry);
dentry            183 fs/overlayfs/export.c static int ovl_check_encode_origin(struct dentry *dentry)
dentry            185 fs/overlayfs/export.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            188 fs/overlayfs/export.c 	if (!ovl_dentry_lower(dentry))
dentry            197 fs/overlayfs/export.c 	if (ovl_dentry_upper(dentry) &&
dentry            198 fs/overlayfs/export.c 	    !ovl_test_flag(OVL_INDEX, d_inode(dentry)))
dentry            207 fs/overlayfs/export.c 	if (d_is_dir(dentry) && ofs->upper_mnt)
dentry            208 fs/overlayfs/export.c 		return ovl_connect_layer(dentry);
dentry            214 fs/overlayfs/export.c static int ovl_d_to_fh(struct dentry *dentry, char *buf, int buflen)
dentry            223 fs/overlayfs/export.c 	err = enc_lower = ovl_check_encode_origin(dentry);
dentry            228 fs/overlayfs/export.c 	fh = ovl_encode_real_fh(enc_lower ? ovl_dentry_lower(dentry) :
dentry            229 fs/overlayfs/export.c 				ovl_dentry_upper(dentry), !enc_lower);
dentry            246 fs/overlayfs/export.c 			    dentry, err, buflen, fh ? (int)fh->len : 0,
dentry            251 fs/overlayfs/export.c static int ovl_dentry_to_fh(struct dentry *dentry, u32 *fid, int *max_len)
dentry            255 fs/overlayfs/export.c 	res = ovl_d_to_fh(dentry, (char *)fid, len);
dentry            269 fs/overlayfs/export.c 	struct dentry *dentry;
dentry            276 fs/overlayfs/export.c 	dentry = d_find_any_alias(inode);
dentry            277 fs/overlayfs/export.c 	if (WARN_ON(!dentry))
dentry            280 fs/overlayfs/export.c 	type = ovl_dentry_to_fh(dentry, fid, max_len);
dentry            282 fs/overlayfs/export.c 	dput(dentry);
dentry            289 fs/overlayfs/export.c static struct dentry *ovl_obtain_alias(struct super_block *sb,
dentry            290 fs/overlayfs/export.c 				       struct dentry *upper_alias,
dentry            292 fs/overlayfs/export.c 				       struct dentry *index)
dentry            294 fs/overlayfs/export.c 	struct dentry *lower = lowerpath ? lowerpath->dentry : NULL;
dentry            295 fs/overlayfs/export.c 	struct dentry *upper = upper_alias ?: index;
dentry            296 fs/overlayfs/export.c 	struct dentry *dentry;
dentry            319 fs/overlayfs/export.c 	dentry = d_find_any_alias(inode);
dentry            320 fs/overlayfs/export.c 	if (!dentry) {
dentry            321 fs/overlayfs/export.c 		dentry = d_alloc_anon(inode->i_sb);
dentry            322 fs/overlayfs/export.c 		if (!dentry)
dentry            329 fs/overlayfs/export.c 			oe->lowerstack->dentry = dget(lower);
dentry            332 fs/overlayfs/export.c 		dentry->d_fsdata = oe;
dentry            334 fs/overlayfs/export.c 			ovl_dentry_set_upper_alias(dentry);
dentry            337 fs/overlayfs/export.c 	return d_instantiate_anon(dentry, inode);
dentry            341 fs/overlayfs/export.c 	dput(dentry);
dentry            346 fs/overlayfs/export.c static struct dentry *ovl_dentry_real_at(struct dentry *dentry, int idx)
dentry            348 fs/overlayfs/export.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            352 fs/overlayfs/export.c 		return ovl_dentry_upper(dentry);
dentry            356 fs/overlayfs/export.c 			return oe->lowerstack[i].dentry;
dentry            368 fs/overlayfs/export.c static struct dentry *ovl_lookup_real_one(struct dentry *connected,
dentry            369 fs/overlayfs/export.c 					  struct dentry *real,
dentry            373 fs/overlayfs/export.c 	struct dentry *this, *parent = NULL;
dentry            424 fs/overlayfs/export.c static struct dentry *ovl_lookup_real(struct super_block *sb,
dentry            425 fs/overlayfs/export.c 				      struct dentry *real,
dentry            431 fs/overlayfs/export.c static struct dentry *ovl_lookup_real_inode(struct super_block *sb,
dentry            432 fs/overlayfs/export.c 					    struct dentry *real,
dentry            437 fs/overlayfs/export.c 	struct dentry *index = NULL;
dentry            438 fs/overlayfs/export.c 	struct dentry *this = NULL;
dentry            465 fs/overlayfs/export.c 		struct dentry *upper = ovl_index_upper(ofs, index);
dentry            497 fs/overlayfs/export.c static struct dentry *ovl_lookup_real_ancestor(struct super_block *sb,
dentry            498 fs/overlayfs/export.c 					       struct dentry *real,
dentry            501 fs/overlayfs/export.c 	struct dentry *next, *parent = NULL;
dentry            502 fs/overlayfs/export.c 	struct dentry *ancestor = ERR_PTR(-EIO);
dentry            550 fs/overlayfs/export.c static struct dentry *ovl_lookup_real(struct super_block *sb,
dentry            551 fs/overlayfs/export.c 				      struct dentry *real,
dentry            554 fs/overlayfs/export.c 	struct dentry *connected;
dentry            562 fs/overlayfs/export.c 		struct dentry *next, *this;
dentry            563 fs/overlayfs/export.c 		struct dentry *parent = NULL;
dentry            564 fs/overlayfs/export.c 		struct dentry *real_connected = ovl_dentry_real_at(connected,
dentry            652 fs/overlayfs/export.c static struct dentry *ovl_get_dentry(struct super_block *sb,
dentry            653 fs/overlayfs/export.c 				     struct dentry *upper,
dentry            655 fs/overlayfs/export.c 				     struct dentry *index)
dentry            660 fs/overlayfs/export.c 	struct dentry *real = upper ?: (index ?: lowerpath->dentry);
dentry            680 fs/overlayfs/export.c static struct dentry *ovl_upper_fh_to_d(struct super_block *sb,
dentry            684 fs/overlayfs/export.c 	struct dentry *dentry;
dentry            685 fs/overlayfs/export.c 	struct dentry *upper;
dentry            694 fs/overlayfs/export.c 	dentry = ovl_get_dentry(sb, upper, NULL, NULL);
dentry            697 fs/overlayfs/export.c 	return dentry;
dentry            700 fs/overlayfs/export.c static struct dentry *ovl_lower_fh_to_d(struct super_block *sb,
dentry            706 fs/overlayfs/export.c 	struct dentry *dentry = NULL;
dentry            707 fs/overlayfs/export.c 	struct dentry *index = NULL;
dentry            716 fs/overlayfs/export.c 	if (!d_is_dir(origin.dentry) ||
dentry            717 fs/overlayfs/export.c 	    !(origin.dentry->d_flags & DCACHE_DISCONNECTED)) {
dentry            718 fs/overlayfs/export.c 		inode = ovl_lookup_inode(sb, origin.dentry, false);
dentry            723 fs/overlayfs/export.c 			dentry = d_find_any_alias(inode);
dentry            725 fs/overlayfs/export.c 			if (dentry)
dentry            742 fs/overlayfs/export.c 		struct dentry *upper = ovl_index_upper(ofs, index);
dentry            748 fs/overlayfs/export.c 		dentry = ovl_get_dentry(sb, upper, NULL, NULL);
dentry            754 fs/overlayfs/export.c 	if (d_is_dir(origin.dentry)) {
dentry            755 fs/overlayfs/export.c 		dput(origin.dentry);
dentry            756 fs/overlayfs/export.c 		origin.dentry = NULL;
dentry            762 fs/overlayfs/export.c 		err = ovl_verify_origin(index, origin.dentry, false);
dentry            768 fs/overlayfs/export.c 	dentry = ovl_get_dentry(sb, NULL, &origin, index);
dentry            771 fs/overlayfs/export.c 	dput(origin.dentry);
dentry            773 fs/overlayfs/export.c 	return dentry;
dentry            776 fs/overlayfs/export.c 	dentry = ERR_PTR(err);
dentry            780 fs/overlayfs/export.c static struct dentry *ovl_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            783 fs/overlayfs/export.c 	struct dentry *dentry = NULL;
dentry            798 fs/overlayfs/export.c 	dentry = (flags & OVL_FH_FLAG_PATH_UPPER) ?
dentry            801 fs/overlayfs/export.c 	err = PTR_ERR(dentry);
dentry            802 fs/overlayfs/export.c 	if (IS_ERR(dentry) && err != -ESTALE)
dentry            805 fs/overlayfs/export.c 	return dentry;
dentry            813 fs/overlayfs/export.c static struct dentry *ovl_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            820 fs/overlayfs/export.c static int ovl_get_name(struct dentry *parent, char *name,
dentry            821 fs/overlayfs/export.c 			struct dentry *child)
dentry            831 fs/overlayfs/export.c static struct dentry *ovl_get_parent(struct dentry *dentry)
dentry             16 fs/overlayfs/inode.c int ovl_setattr(struct dentry *dentry, struct iattr *attr)
dentry             20 fs/overlayfs/inode.c 	struct dentry *upperdentry;
dentry             23 fs/overlayfs/inode.c 	err = setattr_prepare(dentry, attr);
dentry             27 fs/overlayfs/inode.c 	err = ovl_want_write(dentry);
dentry             32 fs/overlayfs/inode.c 		struct inode *realinode = d_inode(ovl_dentry_real(dentry));
dentry             43 fs/overlayfs/inode.c 		err = ovl_copy_up(dentry);
dentry             45 fs/overlayfs/inode.c 		err = ovl_copy_up_with_data(dentry);
dentry             49 fs/overlayfs/inode.c 		upperdentry = ovl_dentry_upper(dentry);
dentry             62 fs/overlayfs/inode.c 		old_cred = ovl_override_creds(dentry->d_sb);
dentry             66 fs/overlayfs/inode.c 			ovl_copyattr(upperdentry->d_inode, dentry->d_inode);
dentry             73 fs/overlayfs/inode.c 	ovl_drop_write(dentry);
dentry             78 fs/overlayfs/inode.c static int ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat,
dentry             81 fs/overlayfs/inode.c 	bool samefs = ovl_same_sb(dentry->d_sb);
dentry             82 fs/overlayfs/inode.c 	unsigned int xinobits = ovl_xino_bits(dentry->d_sb);
dentry             90 fs/overlayfs/inode.c 		stat->dev = dentry->d_sb->s_dev;
dentry            104 fs/overlayfs/inode.c 					    dentry, stat->ino, xinobits);
dentry            109 fs/overlayfs/inode.c 			stat->dev = dentry->d_sb->s_dev;
dentry            115 fs/overlayfs/inode.c 	if (S_ISDIR(dentry->d_inode->i_mode)) {
dentry            125 fs/overlayfs/inode.c 		stat->dev = dentry->d_sb->s_dev;
dentry            126 fs/overlayfs/inode.c 		stat->ino = dentry->d_inode->i_ino;
dentry            144 fs/overlayfs/inode.c 	struct dentry *dentry = path->dentry;
dentry            148 fs/overlayfs/inode.c 	bool is_dir = S_ISDIR(dentry->d_inode->i_mode);
dentry            149 fs/overlayfs/inode.c 	bool samefs = ovl_same_sb(dentry->d_sb);
dentry            154 fs/overlayfs/inode.c 	metacopy_blocks = ovl_is_metacopy_dentry(dentry);
dentry            156 fs/overlayfs/inode.c 	type = ovl_path_real(dentry, &realpath);
dentry            157 fs/overlayfs/inode.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            171 fs/overlayfs/inode.c 	if (!is_dir || samefs || ovl_xino_bits(dentry->d_sb)) {
dentry            173 fs/overlayfs/inode.c 			lower_layer = ovl_layer_lower(dentry);
dentry            179 fs/overlayfs/inode.c 			ovl_path_lower(dentry, &realpath);
dentry            200 fs/overlayfs/inode.c 			if (ovl_test_flag(OVL_INDEX, d_inode(dentry)) ||
dentry            201 fs/overlayfs/inode.c 			    (!ovl_verify_lower(dentry->d_sb) &&
dentry            203 fs/overlayfs/inode.c 				lower_layer = ovl_layer_lower(dentry);
dentry            221 fs/overlayfs/inode.c 			    realpath.dentry == ovl_dentry_lowerdata(dentry)) {
dentry            235 fs/overlayfs/inode.c 			ovl_path_lowerdata(dentry, &realpath);
dentry            244 fs/overlayfs/inode.c 	err = ovl_map_dev_ino(dentry, stat, lower_layer);
dentry            262 fs/overlayfs/inode.c 	if (!is_dir && ovl_test_flag(OVL_INDEX, d_inode(dentry)))
dentry            263 fs/overlayfs/inode.c 		stat->nlink = dentry->d_inode->i_nlink;
dentry            305 fs/overlayfs/inode.c static const char *ovl_get_link(struct dentry *dentry,
dentry            312 fs/overlayfs/inode.c 	if (!dentry)
dentry            315 fs/overlayfs/inode.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            316 fs/overlayfs/inode.c 	p = vfs_get_link(ovl_dentry_real(dentry), done);
dentry            327 fs/overlayfs/inode.c int ovl_xattr_set(struct dentry *dentry, struct inode *inode, const char *name,
dentry            331 fs/overlayfs/inode.c 	struct dentry *upperdentry = ovl_i_dentry_upper(inode);
dentry            332 fs/overlayfs/inode.c 	struct dentry *realdentry = upperdentry ?: ovl_dentry_lower(dentry);
dentry            335 fs/overlayfs/inode.c 	err = ovl_want_write(dentry);
dentry            346 fs/overlayfs/inode.c 		err = ovl_copy_up(dentry);
dentry            350 fs/overlayfs/inode.c 		realdentry = ovl_dentry_upper(dentry);
dentry            353 fs/overlayfs/inode.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            366 fs/overlayfs/inode.c 	ovl_drop_write(dentry);
dentry            371 fs/overlayfs/inode.c int ovl_xattr_get(struct dentry *dentry, struct inode *inode, const char *name,
dentry            376 fs/overlayfs/inode.c 	struct dentry *realdentry =
dentry            377 fs/overlayfs/inode.c 		ovl_i_dentry_upper(inode) ?: ovl_dentry_lower(dentry);
dentry            379 fs/overlayfs/inode.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            396 fs/overlayfs/inode.c ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size)
dentry            398 fs/overlayfs/inode.c 	struct dentry *realdentry = ovl_dentry_real(dentry);
dentry            404 fs/overlayfs/inode.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            452 fs/overlayfs/inode.c 			.dentry = ovl_upperdentry_dereference(OVL_I(inode)),
dentry            455 fs/overlayfs/inode.c 		if (upperpath.dentry) {
dentry            457 fs/overlayfs/inode.c 			inode->i_atime = d_inode(upperpath.dentry)->i_atime;
dentry            639 fs/overlayfs/inode.c static int ovl_set_nlink_common(struct dentry *dentry,
dentry            640 fs/overlayfs/inode.c 				struct dentry *realdentry, const char *format)
dentry            642 fs/overlayfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry            653 fs/overlayfs/inode.c 	return ovl_do_setxattr(ovl_dentry_upper(dentry),
dentry            657 fs/overlayfs/inode.c int ovl_set_nlink_upper(struct dentry *dentry)
dentry            659 fs/overlayfs/inode.c 	return ovl_set_nlink_common(dentry, ovl_dentry_upper(dentry), "U%+i");
dentry            662 fs/overlayfs/inode.c int ovl_set_nlink_lower(struct dentry *dentry)
dentry            664 fs/overlayfs/inode.c 	return ovl_set_nlink_common(dentry, ovl_dentry_lower(dentry), "L%+i");
dentry            667 fs/overlayfs/inode.c unsigned int ovl_get_nlink(struct dentry *lowerdentry,
dentry            668 fs/overlayfs/inode.c 			   struct dentry *upperdentry,
dentry            728 fs/overlayfs/inode.c static bool ovl_verify_inode(struct inode *inode, struct dentry *lowerdentry,
dentry            729 fs/overlayfs/inode.c 			     struct dentry *upperdentry, bool strict)
dentry            766 fs/overlayfs/inode.c struct inode *ovl_lookup_inode(struct super_block *sb, struct dentry *real,
dentry            784 fs/overlayfs/inode.c bool ovl_lookup_trap_inode(struct super_block *sb, struct dentry *dir)
dentry            806 fs/overlayfs/inode.c struct inode *ovl_get_trap_inode(struct super_block *sb, struct dentry *dir)
dentry            835 fs/overlayfs/inode.c static bool ovl_hash_bylower(struct super_block *sb, struct dentry *upper,
dentry            836 fs/overlayfs/inode.c 			     struct dentry *lower, struct dentry *index)
dentry            877 fs/overlayfs/inode.c 	struct dentry *upperdentry = oip->upperdentry;
dentry            881 fs/overlayfs/inode.c 	struct dentry *lowerdentry = lowerpath ? lowerpath->dentry : NULL;
dentry             28 fs/overlayfs/namei.c static int ovl_check_redirect(struct dentry *dentry, struct ovl_lookup_data *d,
dentry             34 fs/overlayfs/namei.c 	buf = ovl_get_redirect_xattr(dentry, prelen + strlen(post));
dentry             63 fs/overlayfs/namei.c static int ovl_acceptable(void *ctx, struct dentry *dentry)
dentry             69 fs/overlayfs/namei.c 	if (!d_is_dir(dentry))
dentry             73 fs/overlayfs/namei.c 	if (d_unhashed(dentry))
dentry             77 fs/overlayfs/namei.c 	return is_subdir(dentry, ((struct vfsmount *)ctx)->mnt_root);
dentry            107 fs/overlayfs/namei.c static struct ovl_fh *ovl_get_fh(struct dentry *dentry, const char *name)
dentry            112 fs/overlayfs/namei.c 	res = vfs_getxattr(dentry, name, NULL, 0);
dentry            126 fs/overlayfs/namei.c 	res = vfs_getxattr(dentry, name, fh, res);
dentry            151 fs/overlayfs/namei.c struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt,
dentry            154 fs/overlayfs/namei.c 	struct dentry *real;
dentry            189 fs/overlayfs/namei.c static bool ovl_is_opaquedir(struct dentry *dentry)
dentry            191 fs/overlayfs/namei.c 	return ovl_check_dir_xattr(dentry, OVL_XATTR_OPAQUE);
dentry            194 fs/overlayfs/namei.c static int ovl_lookup_single(struct dentry *base, struct ovl_lookup_data *d,
dentry            197 fs/overlayfs/namei.c 			     struct dentry **ret)
dentry            199 fs/overlayfs/namei.c 	struct dentry *this;
dentry            280 fs/overlayfs/namei.c static int ovl_lookup_layer(struct dentry *base, struct ovl_lookup_data *d,
dentry            281 fs/overlayfs/namei.c 			    struct dentry **ret)
dentry            285 fs/overlayfs/namei.c 	struct dentry *dentry = NULL;
dentry            304 fs/overlayfs/namei.c 		dput(dentry);
dentry            307 fs/overlayfs/namei.c 		dentry = base;
dentry            316 fs/overlayfs/namei.c 	*ret = dentry;
dentry            322 fs/overlayfs/namei.c 			struct dentry *upperdentry, struct ovl_path **stackp)
dentry            324 fs/overlayfs/namei.c 	struct dentry *origin = NULL;
dentry            358 fs/overlayfs/namei.c 		.dentry = origin,
dentry            372 fs/overlayfs/namei.c static int ovl_check_origin(struct ovl_fs *ofs, struct dentry *upperdentry,
dentry            401 fs/overlayfs/namei.c static int ovl_verify_fh(struct dentry *dentry, const char *name,
dentry            404 fs/overlayfs/namei.c 	struct ovl_fh *ofh = ovl_get_fh(dentry, name);
dentry            428 fs/overlayfs/namei.c int ovl_verify_set_fh(struct dentry *dentry, const char *name,
dentry            429 fs/overlayfs/namei.c 		      struct dentry *real, bool is_upper, bool set)
dentry            442 fs/overlayfs/namei.c 	err = ovl_verify_fh(dentry, name, fh);
dentry            444 fs/overlayfs/namei.c 		err = ovl_do_setxattr(dentry, name, fh, fh->len, 0);
dentry            461 fs/overlayfs/namei.c struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index)
dentry            464 fs/overlayfs/namei.c 	struct dentry *upper;
dentry            490 fs/overlayfs/namei.c static bool ovl_is_temp_index(struct dentry *index)
dentry            500 fs/overlayfs/namei.c int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index)
dentry            506 fs/overlayfs/namei.c 	struct dentry *upper = NULL;
dentry            584 fs/overlayfs/namei.c 		if (ovl_get_nlink(origin.dentry, index, 0) == 0)
dentry            589 fs/overlayfs/namei.c 	dput(origin.dentry);
dentry            636 fs/overlayfs/namei.c int ovl_get_index_name(struct dentry *origin, struct qstr *name)
dentry            652 fs/overlayfs/namei.c struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh)
dentry            654 fs/overlayfs/namei.c 	struct dentry *index;
dentry            683 fs/overlayfs/namei.c struct dentry *ovl_lookup_index(struct ovl_fs *ofs, struct dentry *upper,
dentry            684 fs/overlayfs/namei.c 				struct dentry *origin, bool verify)
dentry            686 fs/overlayfs/namei.c 	struct dentry *index;
dentry            774 fs/overlayfs/namei.c int ovl_path_next(int idx, struct dentry *dentry, struct path *path)
dentry            776 fs/overlayfs/namei.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            780 fs/overlayfs/namei.c 		ovl_path_upper(dentry, path);
dentry            781 fs/overlayfs/namei.c 		if (path->dentry)
dentry            786 fs/overlayfs/namei.c 	path->dentry = oe->lowerstack[idx - 1].dentry;
dentry            793 fs/overlayfs/namei.c static int ovl_fix_origin(struct dentry *dentry, struct dentry *lower,
dentry            794 fs/overlayfs/namei.c 			  struct dentry *upper)
dentry            801 fs/overlayfs/namei.c 	err = ovl_want_write(dentry);
dentry            805 fs/overlayfs/namei.c 	err = ovl_set_origin(dentry, lower, upper);
dentry            807 fs/overlayfs/namei.c 		err = ovl_set_impure(dentry->d_parent, upper->d_parent);
dentry            809 fs/overlayfs/namei.c 	ovl_drop_write(dentry);
dentry            813 fs/overlayfs/namei.c struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
dentry            818 fs/overlayfs/namei.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            819 fs/overlayfs/namei.c 	struct ovl_entry *poe = dentry->d_parent->d_fsdata;
dentry            820 fs/overlayfs/namei.c 	struct ovl_entry *roe = dentry->d_sb->s_root->d_fsdata;
dentry            822 fs/overlayfs/namei.c 	struct dentry *upperdir, *upperdentry = NULL;
dentry            823 fs/overlayfs/namei.c 	struct dentry *origin = NULL;
dentry            824 fs/overlayfs/namei.c 	struct dentry *index = NULL;
dentry            829 fs/overlayfs/namei.c 	struct dentry *this;
dentry            834 fs/overlayfs/namei.c 		.sb = dentry->d_sb,
dentry            835 fs/overlayfs/namei.c 		.name = dentry->d_name,
dentry            844 fs/overlayfs/namei.c 	if (dentry->d_name.len > ofs->namelen)
dentry            847 fs/overlayfs/namei.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            848 fs/overlayfs/namei.c 	upperdir = ovl_dentry_upper(dentry->d_parent);
dentry            908 fs/overlayfs/namei.c 		err = ovl_lookup_layer(lower.dentry, &d, &this);
dentry            920 fs/overlayfs/namei.c 			err = ovl_fix_origin(dentry, this, upperdentry);
dentry            937 fs/overlayfs/namei.c 		    ((d.is_dir && ovl_verify_lower(dentry->d_sb)) ||
dentry            960 fs/overlayfs/namei.c 		stack[ctr].dentry = this;
dentry            977 fs/overlayfs/namei.c 					    dentry);
dentry           1004 fs/overlayfs/namei.c 					    dentry);
dentry           1033 fs/overlayfs/namei.c 		origin = stack[0].dentry;
dentry           1035 fs/overlayfs/namei.c 	if (origin && ovl_indexdir(dentry->d_sb) &&
dentry           1036 fs/overlayfs/namei.c 	    (!d.is_dir || ovl_index_all(dentry->d_sb))) {
dentry           1051 fs/overlayfs/namei.c 	dentry->d_fsdata = oe;
dentry           1054 fs/overlayfs/namei.c 		ovl_dentry_set_opaque(dentry);
dentry           1057 fs/overlayfs/namei.c 		ovl_dentry_set_upper_alias(dentry);
dentry           1076 fs/overlayfs/namei.c 				      stack[ctr - 1].dentry : NULL,
dentry           1079 fs/overlayfs/namei.c 		inode = ovl_get_inode(dentry->d_sb, &oip);
dentry           1087 fs/overlayfs/namei.c 		dput(origin_path->dentry);
dentry           1093 fs/overlayfs/namei.c 	return d_splice_alias(inode, dentry);
dentry           1096 fs/overlayfs/namei.c 	dentry->d_fsdata = NULL;
dentry           1101 fs/overlayfs/namei.c 		dput(stack[i].dentry);
dentry           1105 fs/overlayfs/namei.c 		dput(origin_path->dentry);
dentry           1116 fs/overlayfs/namei.c bool ovl_lower_positive(struct dentry *dentry)
dentry           1118 fs/overlayfs/namei.c 	struct ovl_entry *poe = dentry->d_parent->d_fsdata;
dentry           1119 fs/overlayfs/namei.c 	const struct qstr *name = &dentry->d_name;
dentry           1129 fs/overlayfs/namei.c 	if (!dentry->d_inode)
dentry           1130 fs/overlayfs/namei.c 		return ovl_dentry_is_opaque(dentry);
dentry           1133 fs/overlayfs/namei.c 	if (!ovl_dentry_upper(dentry))
dentry           1136 fs/overlayfs/namei.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry           1139 fs/overlayfs/namei.c 		struct dentry *this;
dentry           1140 fs/overlayfs/namei.c 		struct dentry *lowerdir = poe->lowerstack[i].dentry;
dentry             88 fs/overlayfs/overlayfs.h static inline int ovl_do_rmdir(struct inode *dir, struct dentry *dentry)
dentry             90 fs/overlayfs/overlayfs.h 	int err = vfs_rmdir(dir, dentry);
dentry             92 fs/overlayfs/overlayfs.h 	pr_debug("rmdir(%pd2) = %i\n", dentry, err);
dentry             96 fs/overlayfs/overlayfs.h static inline int ovl_do_unlink(struct inode *dir, struct dentry *dentry)
dentry             98 fs/overlayfs/overlayfs.h 	int err = vfs_unlink(dir, dentry, NULL);
dentry            100 fs/overlayfs/overlayfs.h 	pr_debug("unlink(%pd2) = %i\n", dentry, err);
dentry            104 fs/overlayfs/overlayfs.h static inline int ovl_do_link(struct dentry *old_dentry, struct inode *dir,
dentry            105 fs/overlayfs/overlayfs.h 			      struct dentry *new_dentry)
dentry            113 fs/overlayfs/overlayfs.h static inline int ovl_do_create(struct inode *dir, struct dentry *dentry,
dentry            116 fs/overlayfs/overlayfs.h 	int err = vfs_create(dir, dentry, mode, true);
dentry            118 fs/overlayfs/overlayfs.h 	pr_debug("create(%pd2, 0%o) = %i\n", dentry, mode, err);
dentry            122 fs/overlayfs/overlayfs.h static inline int ovl_do_mkdir(struct inode *dir, struct dentry *dentry,
dentry            125 fs/overlayfs/overlayfs.h 	int err = vfs_mkdir(dir, dentry, mode);
dentry            126 fs/overlayfs/overlayfs.h 	pr_debug("mkdir(%pd2, 0%o) = %i\n", dentry, mode, err);
dentry            130 fs/overlayfs/overlayfs.h static inline int ovl_do_mknod(struct inode *dir, struct dentry *dentry,
dentry            133 fs/overlayfs/overlayfs.h 	int err = vfs_mknod(dir, dentry, mode, dev);
dentry            135 fs/overlayfs/overlayfs.h 	pr_debug("mknod(%pd2, 0%o, 0%o) = %i\n", dentry, mode, dev, err);
dentry            139 fs/overlayfs/overlayfs.h static inline int ovl_do_symlink(struct inode *dir, struct dentry *dentry,
dentry            142 fs/overlayfs/overlayfs.h 	int err = vfs_symlink(dir, dentry, oldname);
dentry            144 fs/overlayfs/overlayfs.h 	pr_debug("symlink(\"%s\", %pd2) = %i\n", oldname, dentry, err);
dentry            148 fs/overlayfs/overlayfs.h static inline int ovl_do_setxattr(struct dentry *dentry, const char *name,
dentry            151 fs/overlayfs/overlayfs.h 	int err = vfs_setxattr(dentry, name, value, size, flags);
dentry            153 fs/overlayfs/overlayfs.h 		 dentry, name, min((int)size, 48), value, size, flags, err);
dentry            157 fs/overlayfs/overlayfs.h static inline int ovl_do_removexattr(struct dentry *dentry, const char *name)
dentry            159 fs/overlayfs/overlayfs.h 	int err = vfs_removexattr(dentry, name);
dentry            160 fs/overlayfs/overlayfs.h 	pr_debug("removexattr(%pd2, \"%s\") = %i\n", dentry, name, err);
dentry            164 fs/overlayfs/overlayfs.h static inline int ovl_do_rename(struct inode *olddir, struct dentry *olddentry,
dentry            165 fs/overlayfs/overlayfs.h 				struct inode *newdir, struct dentry *newdentry,
dentry            179 fs/overlayfs/overlayfs.h static inline int ovl_do_whiteout(struct inode *dir, struct dentry *dentry)
dentry            181 fs/overlayfs/overlayfs.h 	int err = vfs_whiteout(dir, dentry);
dentry            182 fs/overlayfs/overlayfs.h 	pr_debug("whiteout(%pd2) = %i\n", dentry, err);
dentry            186 fs/overlayfs/overlayfs.h static inline struct dentry *ovl_do_tmpfile(struct dentry *dentry, umode_t mode)
dentry            188 fs/overlayfs/overlayfs.h 	struct dentry *ret = vfs_tmpfile(dentry, mode, 0);
dentry            191 fs/overlayfs/overlayfs.h 	pr_debug("tmpfile(%pd2, 0%o) = %i\n", dentry, mode, err);
dentry            204 fs/overlayfs/overlayfs.h int ovl_want_write(struct dentry *dentry);
dentry            205 fs/overlayfs/overlayfs.h void ovl_drop_write(struct dentry *dentry);
dentry            206 fs/overlayfs/overlayfs.h struct dentry *ovl_workdir(struct dentry *dentry);
dentry            210 fs/overlayfs/overlayfs.h struct dentry *ovl_indexdir(struct super_block *sb);
dentry            214 fs/overlayfs/overlayfs.h bool ovl_dentry_remote(struct dentry *dentry);
dentry            215 fs/overlayfs/overlayfs.h bool ovl_dentry_weird(struct dentry *dentry);
dentry            216 fs/overlayfs/overlayfs.h enum ovl_path_type ovl_path_type(struct dentry *dentry);
dentry            217 fs/overlayfs/overlayfs.h void ovl_path_upper(struct dentry *dentry, struct path *path);
dentry            218 fs/overlayfs/overlayfs.h void ovl_path_lower(struct dentry *dentry, struct path *path);
dentry            219 fs/overlayfs/overlayfs.h void ovl_path_lowerdata(struct dentry *dentry, struct path *path);
dentry            220 fs/overlayfs/overlayfs.h enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path);
dentry            221 fs/overlayfs/overlayfs.h struct dentry *ovl_dentry_upper(struct dentry *dentry);
dentry            222 fs/overlayfs/overlayfs.h struct dentry *ovl_dentry_lower(struct dentry *dentry);
dentry            223 fs/overlayfs/overlayfs.h struct dentry *ovl_dentry_lowerdata(struct dentry *dentry);
dentry            224 fs/overlayfs/overlayfs.h struct ovl_layer *ovl_layer_lower(struct dentry *dentry);
dentry            225 fs/overlayfs/overlayfs.h struct dentry *ovl_dentry_real(struct dentry *dentry);
dentry            226 fs/overlayfs/overlayfs.h struct dentry *ovl_i_dentry_upper(struct inode *inode);
dentry            234 fs/overlayfs/overlayfs.h void ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry);
dentry            235 fs/overlayfs/overlayfs.h void ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry);
dentry            236 fs/overlayfs/overlayfs.h bool ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry);
dentry            237 fs/overlayfs/overlayfs.h bool ovl_dentry_is_opaque(struct dentry *dentry);
dentry            238 fs/overlayfs/overlayfs.h bool ovl_dentry_is_whiteout(struct dentry *dentry);
dentry            239 fs/overlayfs/overlayfs.h void ovl_dentry_set_opaque(struct dentry *dentry);
dentry            240 fs/overlayfs/overlayfs.h bool ovl_dentry_has_upper_alias(struct dentry *dentry);
dentry            241 fs/overlayfs/overlayfs.h void ovl_dentry_set_upper_alias(struct dentry *dentry);
dentry            242 fs/overlayfs/overlayfs.h bool ovl_dentry_needs_data_copy_up(struct dentry *dentry, int flags);
dentry            243 fs/overlayfs/overlayfs.h bool ovl_dentry_needs_data_copy_up_locked(struct dentry *dentry, int flags);
dentry            247 fs/overlayfs/overlayfs.h const char *ovl_dentry_get_redirect(struct dentry *dentry);
dentry            248 fs/overlayfs/overlayfs.h void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect);
dentry            249 fs/overlayfs/overlayfs.h void ovl_inode_init(struct inode *inode, struct dentry *upperdentry,
dentry            250 fs/overlayfs/overlayfs.h 		    struct dentry *lowerdentry, struct dentry *lowerdata);
dentry            251 fs/overlayfs/overlayfs.h void ovl_inode_update(struct inode *inode, struct dentry *upperdentry);
dentry            252 fs/overlayfs/overlayfs.h void ovl_dir_modified(struct dentry *dentry, bool impurity);
dentry            253 fs/overlayfs/overlayfs.h u64 ovl_dentry_version_get(struct dentry *dentry);
dentry            254 fs/overlayfs/overlayfs.h bool ovl_is_whiteout(struct dentry *dentry);
dentry            256 fs/overlayfs/overlayfs.h int ovl_copy_up_start(struct dentry *dentry, int flags);
dentry            257 fs/overlayfs/overlayfs.h void ovl_copy_up_end(struct dentry *dentry);
dentry            258 fs/overlayfs/overlayfs.h bool ovl_already_copied_up(struct dentry *dentry, int flags);
dentry            259 fs/overlayfs/overlayfs.h bool ovl_check_origin_xattr(struct dentry *dentry);
dentry            260 fs/overlayfs/overlayfs.h bool ovl_check_dir_xattr(struct dentry *dentry, const char *name);
dentry            261 fs/overlayfs/overlayfs.h int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry,
dentry            264 fs/overlayfs/overlayfs.h int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry);
dentry            268 fs/overlayfs/overlayfs.h bool ovl_inuse_trylock(struct dentry *dentry);
dentry            269 fs/overlayfs/overlayfs.h void ovl_inuse_unlock(struct dentry *dentry);
dentry            270 fs/overlayfs/overlayfs.h bool ovl_is_inuse(struct dentry *dentry);
dentry            271 fs/overlayfs/overlayfs.h bool ovl_need_index(struct dentry *dentry);
dentry            272 fs/overlayfs/overlayfs.h int ovl_nlink_start(struct dentry *dentry);
dentry            273 fs/overlayfs/overlayfs.h void ovl_nlink_end(struct dentry *dentry);
dentry            274 fs/overlayfs/overlayfs.h int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir);
dentry            275 fs/overlayfs/overlayfs.h int ovl_check_metacopy_xattr(struct dentry *dentry);
dentry            276 fs/overlayfs/overlayfs.h bool ovl_is_metacopy_dentry(struct dentry *dentry);
dentry            277 fs/overlayfs/overlayfs.h char *ovl_get_redirect_xattr(struct dentry *dentry, int padding);
dentry            278 fs/overlayfs/overlayfs.h ssize_t ovl_getxattr(struct dentry *dentry, char *name, char **value,
dentry            281 fs/overlayfs/overlayfs.h static inline bool ovl_is_impuredir(struct dentry *dentry)
dentry            283 fs/overlayfs/overlayfs.h 	return ovl_check_dir_xattr(dentry, OVL_XATTR_IMPURE);
dentry            306 fs/overlayfs/overlayfs.h struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt,
dentry            309 fs/overlayfs/overlayfs.h 			struct dentry *upperdentry, struct ovl_path **stackp);
dentry            310 fs/overlayfs/overlayfs.h int ovl_verify_set_fh(struct dentry *dentry, const char *name,
dentry            311 fs/overlayfs/overlayfs.h 		      struct dentry *real, bool is_upper, bool set);
dentry            312 fs/overlayfs/overlayfs.h struct dentry *ovl_index_upper(struct ovl_fs *ofs, struct dentry *index);
dentry            313 fs/overlayfs/overlayfs.h int ovl_verify_index(struct ovl_fs *ofs, struct dentry *index);
dentry            314 fs/overlayfs/overlayfs.h int ovl_get_index_name(struct dentry *origin, struct qstr *name);
dentry            315 fs/overlayfs/overlayfs.h struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh);
dentry            316 fs/overlayfs/overlayfs.h struct dentry *ovl_lookup_index(struct ovl_fs *ofs, struct dentry *upper,
dentry            317 fs/overlayfs/overlayfs.h 				struct dentry *origin, bool verify);
dentry            318 fs/overlayfs/overlayfs.h int ovl_path_next(int idx, struct dentry *dentry, struct path *path);
dentry            319 fs/overlayfs/overlayfs.h struct dentry *ovl_lookup(struct inode *dir, struct dentry *dentry,
dentry            321 fs/overlayfs/overlayfs.h bool ovl_lower_positive(struct dentry *dentry);
dentry            323 fs/overlayfs/overlayfs.h static inline int ovl_verify_origin(struct dentry *upper,
dentry            324 fs/overlayfs/overlayfs.h 				    struct dentry *origin, bool set)
dentry            329 fs/overlayfs/overlayfs.h static inline int ovl_verify_upper(struct dentry *index,
dentry            330 fs/overlayfs/overlayfs.h 				    struct dentry *upper, bool set)
dentry            337 fs/overlayfs/overlayfs.h int ovl_check_empty_dir(struct dentry *dentry, struct list_head *list);
dentry            338 fs/overlayfs/overlayfs.h void ovl_cleanup_whiteouts(struct dentry *upper, struct list_head *list);
dentry            343 fs/overlayfs/overlayfs.h 			 struct dentry *dentry, int level);
dentry            347 fs/overlayfs/overlayfs.h int ovl_set_nlink_upper(struct dentry *dentry);
dentry            348 fs/overlayfs/overlayfs.h int ovl_set_nlink_lower(struct dentry *dentry);
dentry            349 fs/overlayfs/overlayfs.h unsigned int ovl_get_nlink(struct dentry *lowerdentry,
dentry            350 fs/overlayfs/overlayfs.h 			   struct dentry *upperdentry,
dentry            352 fs/overlayfs/overlayfs.h int ovl_setattr(struct dentry *dentry, struct iattr *attr);
dentry            356 fs/overlayfs/overlayfs.h int ovl_xattr_set(struct dentry *dentry, struct inode *inode, const char *name,
dentry            358 fs/overlayfs/overlayfs.h int ovl_xattr_get(struct dentry *dentry, struct inode *inode, const char *name,
dentry            360 fs/overlayfs/overlayfs.h ssize_t ovl_listxattr(struct dentry *dentry, char *list, size_t size);
dentry            367 fs/overlayfs/overlayfs.h 	struct dentry *upperdentry;
dentry            369 fs/overlayfs/overlayfs.h 	struct dentry *index;
dentry            372 fs/overlayfs/overlayfs.h 	struct dentry *lowerdata;
dentry            375 fs/overlayfs/overlayfs.h struct inode *ovl_lookup_inode(struct super_block *sb, struct dentry *real,
dentry            377 fs/overlayfs/overlayfs.h bool ovl_lookup_trap_inode(struct super_block *sb, struct dentry *dir);
dentry            378 fs/overlayfs/overlayfs.h struct inode *ovl_get_trap_inode(struct super_block *sb, struct dentry *dir);
dentry            401 fs/overlayfs/overlayfs.h int ovl_cleanup_and_whiteout(struct dentry *workdir, struct inode *dir,
dentry            402 fs/overlayfs/overlayfs.h 			     struct dentry *dentry);
dentry            407 fs/overlayfs/overlayfs.h 	struct dentry *hardlink;
dentry            412 fs/overlayfs/overlayfs.h struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
dentry            414 fs/overlayfs/overlayfs.h int ovl_cleanup(struct inode *dir, struct dentry *dentry);
dentry            415 fs/overlayfs/overlayfs.h struct dentry *ovl_create_temp(struct dentry *workdir, struct ovl_cattr *attr);
dentry            421 fs/overlayfs/overlayfs.h int ovl_copy_up(struct dentry *dentry);
dentry            422 fs/overlayfs/overlayfs.h int ovl_copy_up_with_data(struct dentry *dentry);
dentry            423 fs/overlayfs/overlayfs.h int ovl_copy_up_flags(struct dentry *dentry, int flags);
dentry            424 fs/overlayfs/overlayfs.h int ovl_maybe_copy_up(struct dentry *dentry, int flags);
dentry            425 fs/overlayfs/overlayfs.h int ovl_copy_xattr(struct dentry *old, struct dentry *new);
dentry            426 fs/overlayfs/overlayfs.h int ovl_set_attr(struct dentry *upper, struct kstat *stat);
dentry            427 fs/overlayfs/overlayfs.h struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper);
dentry            428 fs/overlayfs/overlayfs.h int ovl_set_origin(struct dentry *dentry, struct dentry *lower,
dentry            429 fs/overlayfs/overlayfs.h 		   struct dentry *upper);
dentry             42 fs/overlayfs/ovl_entry.h 	struct dentry *dentry;
dentry             54 fs/overlayfs/ovl_entry.h 	struct dentry *workbasedir;
dentry             56 fs/overlayfs/ovl_entry.h 	struct dentry *workdir;
dentry             58 fs/overlayfs/ovl_entry.h 	struct dentry *indexdir;
dentry             92 fs/overlayfs/ovl_entry.h static inline struct ovl_entry *OVL_E(struct dentry *dentry)
dentry             94 fs/overlayfs/ovl_entry.h 	return (struct ovl_entry *) dentry->d_fsdata;
dentry            106 fs/overlayfs/ovl_entry.h 	struct dentry *__upperdentry;
dentry            118 fs/overlayfs/ovl_entry.h static inline struct dentry *ovl_upperdentry_dereference(struct ovl_inode *oi)
dentry             40 fs/overlayfs/readdir.c 	struct dentry *dentry;
dentry            117 fs/overlayfs/readdir.c 	if (!rdd->dentry)
dentry            121 fs/overlayfs/readdir.c 	if (ovl_xino_bits(rdd->dentry->d_sb))
dentry            137 fs/overlayfs/readdir.c 	    ovl_test_flag(OVL_IMPURE, d_inode(rdd->dentry)))
dentry            238 fs/overlayfs/readdir.c static void ovl_cache_put(struct ovl_dir_file *od, struct dentry *dentry)
dentry            245 fs/overlayfs/readdir.c 		if (ovl_dir_cache(d_inode(dentry)) == cache)
dentry            246 fs/overlayfs/readdir.c 			ovl_set_dir_cache(d_inode(dentry), NULL);
dentry            267 fs/overlayfs/readdir.c static int ovl_check_whiteouts(struct dentry *dir, struct ovl_readdir_data *rdd)
dentry            271 fs/overlayfs/readdir.c 	struct dentry *dentry;
dentry            274 fs/overlayfs/readdir.c 	old_cred = ovl_override_creds(rdd->dentry->d_sb);
dentry            281 fs/overlayfs/readdir.c 			dentry = lookup_one_len(p->name, dir, p->len);
dentry            282 fs/overlayfs/readdir.c 			if (!IS_ERR(dentry)) {
dentry            283 fs/overlayfs/readdir.c 				p->is_whiteout = ovl_is_whiteout(dentry);
dentry            284 fs/overlayfs/readdir.c 				dput(dentry);
dentry            314 fs/overlayfs/readdir.c 	if (!err && rdd->first_maybe_whiteout && rdd->dentry)
dentry            315 fs/overlayfs/readdir.c 		err = ovl_check_whiteouts(realpath->dentry, rdd);
dentry            329 fs/overlayfs/readdir.c static bool ovl_dir_is_real(struct dentry *dir)
dentry            338 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
dentry            341 fs/overlayfs/readdir.c 	if (cache && ovl_dentry_version_get(dentry) != cache->version) {
dentry            342 fs/overlayfs/readdir.c 		ovl_cache_put(od, dentry);
dentry            346 fs/overlayfs/readdir.c 	is_real = ovl_dir_is_real(dentry);
dentry            355 fs/overlayfs/readdir.c static int ovl_dir_read_merged(struct dentry *dentry, struct list_head *list,
dentry            362 fs/overlayfs/readdir.c 		.dentry = dentry,
dentry            370 fs/overlayfs/readdir.c 		next = ovl_path_next(idx, dentry, &realpath);
dentry            371 fs/overlayfs/readdir.c 		rdd.is_upper = ovl_dentry_upper(dentry) == realpath.dentry;
dentry            405 fs/overlayfs/readdir.c static struct ovl_dir_cache *ovl_cache_get(struct dentry *dentry)
dentry            410 fs/overlayfs/readdir.c 	cache = ovl_dir_cache(d_inode(dentry));
dentry            411 fs/overlayfs/readdir.c 	if (cache && ovl_dentry_version_get(dentry) == cache->version) {
dentry            416 fs/overlayfs/readdir.c 	ovl_set_dir_cache(d_inode(dentry), NULL);
dentry            426 fs/overlayfs/readdir.c 	res = ovl_dir_read_merged(dentry, &cache->entries, &cache->root);
dentry            433 fs/overlayfs/readdir.c 	cache->version = ovl_dentry_version_get(dentry);
dentry            434 fs/overlayfs/readdir.c 	ovl_set_dir_cache(d_inode(dentry), cache);
dentry            465 fs/overlayfs/readdir.c 	struct dentry *dir = path->dentry;
dentry            466 fs/overlayfs/readdir.c 	struct dentry *this = NULL;
dentry            502 fs/overlayfs/readdir.c 		statpath.dentry = this;
dentry            565 fs/overlayfs/readdir.c 	ovl_path_upper(path->dentry, &realpath);
dentry            599 fs/overlayfs/readdir.c 	struct dentry *dentry = path->dentry;
dentry            602 fs/overlayfs/readdir.c 	cache = ovl_dir_cache(d_inode(dentry));
dentry            603 fs/overlayfs/readdir.c 	if (cache && ovl_dentry_version_get(dentry) == cache->version)
dentry            607 fs/overlayfs/readdir.c 	ovl_dir_cache_free(d_inode(dentry));
dentry            608 fs/overlayfs/readdir.c 	ovl_set_dir_cache(d_inode(dentry), NULL);
dentry            625 fs/overlayfs/readdir.c 		if (!ovl_want_write(dentry)) {
dentry            626 fs/overlayfs/readdir.c 			ovl_do_removexattr(ovl_dentry_upper(dentry),
dentry            628 fs/overlayfs/readdir.c 			ovl_drop_write(dentry);
dentry            630 fs/overlayfs/readdir.c 		ovl_clear_flag(OVL_IMPURE, d_inode(dentry));
dentry            635 fs/overlayfs/readdir.c 	cache->version = ovl_dentry_version_get(dentry);
dentry            636 fs/overlayfs/readdir.c 	ovl_set_dir_cache(d_inode(dentry), cache);
dentry            677 fs/overlayfs/readdir.c 	struct inode *dir = d_inode(file->f_path.dentry);
dentry            693 fs/overlayfs/readdir.c 	struct dentry *dir = file->f_path.dentry;
dentry            708 fs/overlayfs/readdir.c 		statpath.dentry = dir->d_parent;
dentry            733 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
dentry            746 fs/overlayfs/readdir.c 		if (ovl_xino_bits(dentry->d_sb) ||
dentry            747 fs/overlayfs/readdir.c 		    (ovl_same_sb(dentry->d_sb) &&
dentry            749 fs/overlayfs/readdir.c 		      OVL_TYPE_MERGE(ovl_path_type(dentry->d_parent))))) {
dentry            758 fs/overlayfs/readdir.c 		cache = ovl_cache_get(dentry);
dentry            827 fs/overlayfs/readdir.c 	struct dentry *dentry = file->f_path.dentry;
dentry            831 fs/overlayfs/readdir.c 	if (!OVL_TYPE_UPPER(ovl_path_type(dentry)))
dentry            844 fs/overlayfs/readdir.c 			ovl_path_upper(dentry, &upperpath);
dentry            873 fs/overlayfs/readdir.c 		ovl_cache_put(od, file->f_path.dentry);
dentry            895 fs/overlayfs/readdir.c 	type = ovl_path_real(file->f_path.dentry, &realpath);
dentry            902 fs/overlayfs/readdir.c 	od->is_real = ovl_dir_is_real(file->f_path.dentry);
dentry            918 fs/overlayfs/readdir.c int ovl_check_empty_dir(struct dentry *dentry, struct list_head *list)
dentry            925 fs/overlayfs/readdir.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            926 fs/overlayfs/readdir.c 	err = ovl_dir_read_merged(dentry, list, &root);
dentry            961 fs/overlayfs/readdir.c void ovl_cleanup_whiteouts(struct dentry *upper, struct list_head *list)
dentry            967 fs/overlayfs/readdir.c 		struct dentry *dentry;
dentry            972 fs/overlayfs/readdir.c 		dentry = lookup_one_len(p->name, upper, p->len);
dentry            973 fs/overlayfs/readdir.c 		if (IS_ERR(dentry)) {
dentry            976 fs/overlayfs/readdir.c 			       (int) PTR_ERR(dentry));
dentry            979 fs/overlayfs/readdir.c 		if (dentry->d_inode)
dentry            980 fs/overlayfs/readdir.c 			ovl_cleanup(upper->d_inode, dentry);
dentry            981 fs/overlayfs/readdir.c 		dput(dentry);
dentry           1025 fs/overlayfs/readdir.c 	struct inode *dir = path->dentry->d_inode;
dentry           1031 fs/overlayfs/readdir.c 		.dentry = NULL,
dentry           1043 fs/overlayfs/readdir.c 		struct dentry *dentry;
dentry           1051 fs/overlayfs/readdir.c 		dentry = lookup_one_len(p->name, path->dentry, p->len);
dentry           1052 fs/overlayfs/readdir.c 		if (IS_ERR(dentry))
dentry           1054 fs/overlayfs/readdir.c 		if (dentry->d_inode)
dentry           1055 fs/overlayfs/readdir.c 			ovl_workdir_cleanup(dir, path->mnt, dentry, level);
dentry           1056 fs/overlayfs/readdir.c 		dput(dentry);
dentry           1064 fs/overlayfs/readdir.c 			 struct dentry *dentry, int level)
dentry           1068 fs/overlayfs/readdir.c 	if (!d_is_dir(dentry) || level > 1) {
dentry           1069 fs/overlayfs/readdir.c 		ovl_cleanup(dir, dentry);
dentry           1073 fs/overlayfs/readdir.c 	err = ovl_do_rmdir(dir, dentry);
dentry           1075 fs/overlayfs/readdir.c 		struct path path = { .mnt = mnt, .dentry = dentry };
dentry           1080 fs/overlayfs/readdir.c 		ovl_cleanup(dir, dentry);
dentry           1087 fs/overlayfs/readdir.c 	struct dentry *indexdir = ofs->indexdir;
dentry           1088 fs/overlayfs/readdir.c 	struct dentry *index = NULL;
dentry           1090 fs/overlayfs/readdir.c 	struct path path = { .mnt = ofs->upper_mnt, .dentry = indexdir };
dentry           1096 fs/overlayfs/readdir.c 		.dentry = NULL,
dentry             61 fs/overlayfs/super.c 		dput(oe->lowerstack[i].dentry);
dentry             69 fs/overlayfs/super.c static void ovl_dentry_release(struct dentry *dentry)
dentry             71 fs/overlayfs/super.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry             79 fs/overlayfs/super.c static struct dentry *ovl_d_real(struct dentry *dentry,
dentry             82 fs/overlayfs/super.c 	struct dentry *real;
dentry             85 fs/overlayfs/super.c 	if (inode && d_inode(dentry) == inode)
dentry             86 fs/overlayfs/super.c 		return dentry;
dentry             88 fs/overlayfs/super.c 	if (!d_is_reg(dentry)) {
dentry             89 fs/overlayfs/super.c 		if (!inode || inode == d_inode(dentry))
dentry             90 fs/overlayfs/super.c 			return dentry;
dentry             94 fs/overlayfs/super.c 	real = ovl_dentry_upper(dentry);
dentry             98 fs/overlayfs/super.c 	if (real && !inode && ovl_has_upperdata(d_inode(dentry)))
dentry            101 fs/overlayfs/super.c 	real = ovl_dentry_lowerdata(dentry);
dentry            111 fs/overlayfs/super.c 	WARN(1, "ovl_d_real(%pd4, %s:%lu): real dentry not found\n", dentry,
dentry            113 fs/overlayfs/super.c 	return dentry;
dentry            116 fs/overlayfs/super.c static int ovl_dentry_revalidate(struct dentry *dentry, unsigned int flags)
dentry            118 fs/overlayfs/super.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            123 fs/overlayfs/super.c 		struct dentry *d = oe->lowerstack[i].dentry;
dentry            139 fs/overlayfs/super.c static int ovl_dentry_weak_revalidate(struct dentry *dentry, unsigned int flags)
dentry            141 fs/overlayfs/super.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            146 fs/overlayfs/super.c 		struct dentry *d = oe->lowerstack[i].dentry;
dentry            290 fs/overlayfs/super.c static int ovl_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            292 fs/overlayfs/super.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            293 fs/overlayfs/super.c 	struct dentry *root_dentry = dentry->d_sb->s_root;
dentry            342 fs/overlayfs/super.c static int ovl_show_options(struct seq_file *m, struct dentry *dentry)
dentry            344 fs/overlayfs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            614 fs/overlayfs/super.c static struct dentry *ovl_workdir_create(struct ovl_fs *ofs,
dentry            619 fs/overlayfs/super.c 	struct dentry *work;
dentry            728 fs/overlayfs/super.c 	if (ovl_dentry_weird(path->dentry)) {
dentry            732 fs/overlayfs/super.c 	if (!d_is_dir(path->dentry)) {
dentry            754 fs/overlayfs/super.c 			if (ovl_dentry_remote(path->dentry)) {
dentry            795 fs/overlayfs/super.c 	if (ovl_dentry_remote(path->dentry))
dentry            802 fs/overlayfs/super.c 	fh_type = ovl_can_decode_fh(path->dentry->d_sb);
dentry            824 fs/overlayfs/super.c static bool ovl_workdir_ok(struct dentry *workdir, struct dentry *upperdir)
dentry            857 fs/overlayfs/super.c 			struct dentry *dentry, struct inode *inode,
dentry            860 fs/overlayfs/super.c 	return ovl_xattr_get(dentry, inode, handler->name, buffer, size);
dentry            865 fs/overlayfs/super.c 			struct dentry *dentry, struct inode *inode,
dentry            869 fs/overlayfs/super.c 	struct dentry *workdir = ovl_workdir(dentry);
dentry            905 fs/overlayfs/super.c 		err = ovl_setattr(dentry, &iattr);
dentry            910 fs/overlayfs/super.c 	err = ovl_xattr_set(dentry, inode, handler->name, value, size, flags);
dentry            922 fs/overlayfs/super.c 			     struct dentry *dentry, struct inode *inode,
dentry            929 fs/overlayfs/super.c 			     struct dentry *dentry, struct inode *inode,
dentry            937 fs/overlayfs/super.c 			       struct dentry *dentry, struct inode *inode,
dentry            940 fs/overlayfs/super.c 	return ovl_xattr_get(dentry, inode, name, buffer, size);
dentry            944 fs/overlayfs/super.c 			       struct dentry *dentry, struct inode *inode,
dentry            948 fs/overlayfs/super.c 	return ovl_xattr_set(dentry, inode, name, value, size, flags);
dentry            989 fs/overlayfs/super.c static int ovl_setup_trap(struct super_block *sb, struct dentry *dir,
dentry           1047 fs/overlayfs/super.c 	err = ovl_setup_trap(sb, upperpath->dentry, &ofs->upperdir_trap,
dentry           1080 fs/overlayfs/super.c 	struct dentry *temp;
dentry           1171 fs/overlayfs/super.c 	if (!ovl_workdir_ok(workpath.dentry, upperpath->dentry)) {
dentry           1176 fs/overlayfs/super.c 	ofs->workbasedir = dget(workpath.dentry);
dentry           1210 fs/overlayfs/super.c 	err = ovl_verify_origin(upperpath->dentry, oe->lowerstack[0].dentry,
dentry           1234 fs/overlayfs/super.c 						upperpath->dentry, true, false);
dentry           1238 fs/overlayfs/super.c 		err = ovl_verify_upper(ofs->indexdir, upperpath->dentry, true);
dentry           1303 fs/overlayfs/super.c 				path->dentry);
dentry           1347 fs/overlayfs/super.c 		err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir");
dentry           1351 fs/overlayfs/super.c 		if (ovl_is_inuse(stack[i].dentry)) {
dentry           1476 fs/overlayfs/super.c 		oe->lowerstack[i].dentry = dget(stack[i].dentry);
dentry           1504 fs/overlayfs/super.c 			   struct dentry *dentry, const char *name)
dentry           1506 fs/overlayfs/super.c 	struct dentry *next = dentry, *parent;
dentry           1509 fs/overlayfs/super.c 	if (!dentry)
dentry           1572 fs/overlayfs/super.c 	struct dentry *root_dentry;
dentry           1692 fs/overlayfs/super.c 	if (upperpath.dentry) {
dentry           1694 fs/overlayfs/super.c 		if (ovl_is_impuredir(upperpath.dentry))
dentry           1702 fs/overlayfs/super.c 	ovl_inode_init(d_inode(root_dentry), upperpath.dentry,
dentry           1719 fs/overlayfs/super.c static struct dentry *ovl_mount(struct file_system_type *fs_type, int flags,
dentry             18 fs/overlayfs/util.c int ovl_want_write(struct dentry *dentry)
dentry             20 fs/overlayfs/util.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry             24 fs/overlayfs/util.c void ovl_drop_write(struct dentry *dentry)
dentry             26 fs/overlayfs/util.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry             30 fs/overlayfs/util.c struct dentry *ovl_workdir(struct dentry *dentry)
dentry             32 fs/overlayfs/util.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry             71 fs/overlayfs/util.c struct dentry *ovl_indexdir(struct super_block *sb)
dentry            105 fs/overlayfs/util.c bool ovl_dentry_remote(struct dentry *dentry)
dentry            107 fs/overlayfs/util.c 	return dentry->d_flags &
dentry            112 fs/overlayfs/util.c bool ovl_dentry_weird(struct dentry *dentry)
dentry            114 fs/overlayfs/util.c 	return dentry->d_flags & (DCACHE_NEED_AUTOMOUNT |
dentry            120 fs/overlayfs/util.c enum ovl_path_type ovl_path_type(struct dentry *dentry)
dentry            122 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            125 fs/overlayfs/util.c 	if (ovl_dentry_upper(dentry)) {
dentry            132 fs/overlayfs/util.c 			if (ovl_test_flag(OVL_CONST_INO, d_inode(dentry)))
dentry            134 fs/overlayfs/util.c 			if (d_is_dir(dentry) ||
dentry            135 fs/overlayfs/util.c 			    !ovl_has_upperdata(d_inode(dentry)))
dentry            145 fs/overlayfs/util.c void ovl_path_upper(struct dentry *dentry, struct path *path)
dentry            147 fs/overlayfs/util.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            150 fs/overlayfs/util.c 	path->dentry = ovl_dentry_upper(dentry);
dentry            153 fs/overlayfs/util.c void ovl_path_lower(struct dentry *dentry, struct path *path)
dentry            155 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            159 fs/overlayfs/util.c 		path->dentry = oe->lowerstack[0].dentry;
dentry            165 fs/overlayfs/util.c void ovl_path_lowerdata(struct dentry *dentry, struct path *path)
dentry            167 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            171 fs/overlayfs/util.c 		path->dentry = oe->lowerstack[oe->numlower - 1].dentry;
dentry            177 fs/overlayfs/util.c enum ovl_path_type ovl_path_real(struct dentry *dentry, struct path *path)
dentry            179 fs/overlayfs/util.c 	enum ovl_path_type type = ovl_path_type(dentry);
dentry            182 fs/overlayfs/util.c 		ovl_path_lower(dentry, path);
dentry            184 fs/overlayfs/util.c 		ovl_path_upper(dentry, path);
dentry            189 fs/overlayfs/util.c struct dentry *ovl_dentry_upper(struct dentry *dentry)
dentry            191 fs/overlayfs/util.c 	return ovl_upperdentry_dereference(OVL_I(d_inode(dentry)));
dentry            194 fs/overlayfs/util.c struct dentry *ovl_dentry_lower(struct dentry *dentry)
dentry            196 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            198 fs/overlayfs/util.c 	return oe->numlower ? oe->lowerstack[0].dentry : NULL;
dentry            201 fs/overlayfs/util.c struct ovl_layer *ovl_layer_lower(struct dentry *dentry)
dentry            203 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            214 fs/overlayfs/util.c struct dentry *ovl_dentry_lowerdata(struct dentry *dentry)
dentry            216 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            218 fs/overlayfs/util.c 	return oe->numlower ? oe->lowerstack[oe->numlower - 1].dentry : NULL;
dentry            221 fs/overlayfs/util.c struct dentry *ovl_dentry_real(struct dentry *dentry)
dentry            223 fs/overlayfs/util.c 	return ovl_dentry_upper(dentry) ?: ovl_dentry_lower(dentry);
dentry            226 fs/overlayfs/util.c struct dentry *ovl_i_dentry_upper(struct inode *inode)
dentry            233 fs/overlayfs/util.c 	struct dentry *upperdentry = ovl_i_dentry_upper(inode);
dentry            279 fs/overlayfs/util.c void ovl_dentry_set_flag(unsigned long flag, struct dentry *dentry)
dentry            281 fs/overlayfs/util.c 	set_bit(flag, &OVL_E(dentry)->flags);
dentry            284 fs/overlayfs/util.c void ovl_dentry_clear_flag(unsigned long flag, struct dentry *dentry)
dentry            286 fs/overlayfs/util.c 	clear_bit(flag, &OVL_E(dentry)->flags);
dentry            289 fs/overlayfs/util.c bool ovl_dentry_test_flag(unsigned long flag, struct dentry *dentry)
dentry            291 fs/overlayfs/util.c 	return test_bit(flag, &OVL_E(dentry)->flags);
dentry            294 fs/overlayfs/util.c bool ovl_dentry_is_opaque(struct dentry *dentry)
dentry            296 fs/overlayfs/util.c 	return ovl_dentry_test_flag(OVL_E_OPAQUE, dentry);
dentry            299 fs/overlayfs/util.c bool ovl_dentry_is_whiteout(struct dentry *dentry)
dentry            301 fs/overlayfs/util.c 	return !dentry->d_inode && ovl_dentry_is_opaque(dentry);
dentry            304 fs/overlayfs/util.c void ovl_dentry_set_opaque(struct dentry *dentry)
dentry            306 fs/overlayfs/util.c 	ovl_dentry_set_flag(OVL_E_OPAQUE, dentry);
dentry            315 fs/overlayfs/util.c bool ovl_dentry_has_upper_alias(struct dentry *dentry)
dentry            317 fs/overlayfs/util.c 	return ovl_dentry_test_flag(OVL_E_UPPER_ALIAS, dentry);
dentry            320 fs/overlayfs/util.c void ovl_dentry_set_upper_alias(struct dentry *dentry)
dentry            322 fs/overlayfs/util.c 	ovl_dentry_set_flag(OVL_E_UPPER_ALIAS, dentry);
dentry            365 fs/overlayfs/util.c bool ovl_dentry_needs_data_copy_up_locked(struct dentry *dentry, int flags)
dentry            370 fs/overlayfs/util.c 	return !ovl_test_flag(OVL_UPPERDATA, d_inode(dentry));
dentry            373 fs/overlayfs/util.c bool ovl_dentry_needs_data_copy_up(struct dentry *dentry, int flags)
dentry            378 fs/overlayfs/util.c 	return !ovl_has_upperdata(d_inode(dentry));
dentry            388 fs/overlayfs/util.c const char *ovl_dentry_get_redirect(struct dentry *dentry)
dentry            390 fs/overlayfs/util.c 	return OVL_I(d_inode(dentry))->redirect;
dentry            393 fs/overlayfs/util.c void ovl_dentry_set_redirect(struct dentry *dentry, const char *redirect)
dentry            395 fs/overlayfs/util.c 	struct ovl_inode *oi = OVL_I(d_inode(dentry));
dentry            401 fs/overlayfs/util.c void ovl_inode_init(struct inode *inode, struct dentry *upperdentry,
dentry            402 fs/overlayfs/util.c 		    struct dentry *lowerdentry, struct dentry *lowerdata)
dentry            419 fs/overlayfs/util.c void ovl_inode_update(struct inode *inode, struct dentry *upperdentry)
dentry            438 fs/overlayfs/util.c static void ovl_dentry_version_inc(struct dentry *dentry, bool impurity)
dentry            440 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            449 fs/overlayfs/util.c 	if (OVL_TYPE_MERGE(ovl_path_type(dentry)) || impurity)
dentry            453 fs/overlayfs/util.c void ovl_dir_modified(struct dentry *dentry, bool impurity)
dentry            456 fs/overlayfs/util.c 	ovl_copyattr(d_inode(ovl_dentry_upper(dentry)), d_inode(dentry));
dentry            458 fs/overlayfs/util.c 	ovl_dentry_version_inc(dentry, impurity);
dentry            461 fs/overlayfs/util.c u64 ovl_dentry_version_get(struct dentry *dentry)
dentry            463 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            469 fs/overlayfs/util.c bool ovl_is_whiteout(struct dentry *dentry)
dentry            471 fs/overlayfs/util.c 	struct inode *inode = dentry->d_inode;
dentry            482 fs/overlayfs/util.c static bool ovl_already_copied_up_locked(struct dentry *dentry, int flags)
dentry            484 fs/overlayfs/util.c 	bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED;
dentry            486 fs/overlayfs/util.c 	if (ovl_dentry_upper(dentry) &&
dentry            487 fs/overlayfs/util.c 	    (ovl_dentry_has_upper_alias(dentry) || disconnected) &&
dentry            488 fs/overlayfs/util.c 	    !ovl_dentry_needs_data_copy_up_locked(dentry, flags))
dentry            494 fs/overlayfs/util.c bool ovl_already_copied_up(struct dentry *dentry, int flags)
dentry            496 fs/overlayfs/util.c 	bool disconnected = dentry->d_flags & DCACHE_DISCONNECTED;
dentry            511 fs/overlayfs/util.c 	if (ovl_dentry_upper(dentry) &&
dentry            512 fs/overlayfs/util.c 	    (ovl_dentry_has_upper_alias(dentry) || disconnected) &&
dentry            513 fs/overlayfs/util.c 	    !ovl_dentry_needs_data_copy_up(dentry, flags))
dentry            519 fs/overlayfs/util.c int ovl_copy_up_start(struct dentry *dentry, int flags)
dentry            521 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            525 fs/overlayfs/util.c 	if (!err && ovl_already_copied_up_locked(dentry, flags)) {
dentry            533 fs/overlayfs/util.c void ovl_copy_up_end(struct dentry *dentry)
dentry            535 fs/overlayfs/util.c 	ovl_inode_unlock(d_inode(dentry));
dentry            538 fs/overlayfs/util.c bool ovl_check_origin_xattr(struct dentry *dentry)
dentry            542 fs/overlayfs/util.c 	res = vfs_getxattr(dentry, OVL_XATTR_ORIGIN, NULL, 0);
dentry            551 fs/overlayfs/util.c bool ovl_check_dir_xattr(struct dentry *dentry, const char *name)
dentry            556 fs/overlayfs/util.c 	if (!d_is_dir(dentry))
dentry            559 fs/overlayfs/util.c 	res = vfs_getxattr(dentry, name, &val, 1);
dentry            566 fs/overlayfs/util.c int ovl_check_setxattr(struct dentry *dentry, struct dentry *upperdentry,
dentry            571 fs/overlayfs/util.c 	struct ovl_fs *ofs = dentry->d_sb->s_fs_info;
dentry            587 fs/overlayfs/util.c int ovl_set_impure(struct dentry *dentry, struct dentry *upperdentry)
dentry            591 fs/overlayfs/util.c 	if (ovl_test_flag(OVL_IMPURE, d_inode(dentry)))
dentry            598 fs/overlayfs/util.c 	err = ovl_check_setxattr(dentry, upperdentry, OVL_XATTR_IMPURE,
dentry            601 fs/overlayfs/util.c 		ovl_set_flag(OVL_IMPURE, d_inode(dentry));
dentry            625 fs/overlayfs/util.c bool ovl_inuse_trylock(struct dentry *dentry)
dentry            627 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            640 fs/overlayfs/util.c void ovl_inuse_unlock(struct dentry *dentry)
dentry            642 fs/overlayfs/util.c 	if (dentry) {
dentry            643 fs/overlayfs/util.c 		struct inode *inode = d_inode(dentry);
dentry            652 fs/overlayfs/util.c bool ovl_is_inuse(struct dentry *dentry)
dentry            654 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            667 fs/overlayfs/util.c bool ovl_need_index(struct dentry *dentry)
dentry            669 fs/overlayfs/util.c 	struct dentry *lower = ovl_dentry_lower(dentry);
dentry            671 fs/overlayfs/util.c 	if (!lower || !ovl_indexdir(dentry->d_sb))
dentry            675 fs/overlayfs/util.c 	if (ovl_index_all(dentry->d_sb))
dentry            686 fs/overlayfs/util.c static void ovl_cleanup_index(struct dentry *dentry)
dentry            688 fs/overlayfs/util.c 	struct dentry *indexdir = ovl_indexdir(dentry->d_sb);
dentry            690 fs/overlayfs/util.c 	struct dentry *lowerdentry = ovl_dentry_lower(dentry);
dentry            691 fs/overlayfs/util.c 	struct dentry *upperdentry = ovl_dentry_upper(dentry);
dentry            692 fs/overlayfs/util.c 	struct dentry *index = NULL;
dentry            714 fs/overlayfs/util.c 		set_nlink(d_inode(dentry), inode->i_nlink - 1);
dentry            715 fs/overlayfs/util.c 		ovl_set_nlink_upper(dentry);
dentry            724 fs/overlayfs/util.c 	} else if (ovl_index_all(dentry->d_sb)) {
dentry            742 fs/overlayfs/util.c 	pr_err("overlayfs: cleanup index of '%pd2' failed (%i)\n", dentry, err);
dentry            750 fs/overlayfs/util.c int ovl_nlink_start(struct dentry *dentry)
dentry            752 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            773 fs/overlayfs/util.c 	if (ovl_need_index(dentry) && !ovl_dentry_has_upper_alias(dentry)) {
dentry            774 fs/overlayfs/util.c 		err = ovl_copy_up(dentry);
dentry            783 fs/overlayfs/util.c 	if (d_is_dir(dentry) || !ovl_test_flag(OVL_INDEX, inode))
dentry            786 fs/overlayfs/util.c 	old_cred = ovl_override_creds(dentry->d_sb);
dentry            793 fs/overlayfs/util.c 	err = ovl_set_nlink_upper(dentry);
dentry            803 fs/overlayfs/util.c void ovl_nlink_end(struct dentry *dentry)
dentry            805 fs/overlayfs/util.c 	struct inode *inode = d_inode(dentry);
dentry            810 fs/overlayfs/util.c 		old_cred = ovl_override_creds(dentry->d_sb);
dentry            811 fs/overlayfs/util.c 		ovl_cleanup_index(dentry);
dentry            818 fs/overlayfs/util.c int ovl_lock_rename_workdir(struct dentry *workdir, struct dentry *upperdir)
dentry            838 fs/overlayfs/util.c int ovl_check_metacopy_xattr(struct dentry *dentry)
dentry            843 fs/overlayfs/util.c 	if (!S_ISREG(d_inode(dentry)->i_mode))
dentry            846 fs/overlayfs/util.c 	res = vfs_getxattr(dentry, OVL_XATTR_METACOPY, NULL, 0);
dentry            859 fs/overlayfs/util.c bool ovl_is_metacopy_dentry(struct dentry *dentry)
dentry            861 fs/overlayfs/util.c 	struct ovl_entry *oe = dentry->d_fsdata;
dentry            863 fs/overlayfs/util.c 	if (!d_is_reg(dentry))
dentry            866 fs/overlayfs/util.c 	if (ovl_dentry_upper(dentry)) {
dentry            867 fs/overlayfs/util.c 		if (!ovl_has_upperdata(d_inode(dentry)))
dentry            875 fs/overlayfs/util.c ssize_t ovl_getxattr(struct dentry *dentry, char *name, char **value,
dentry            881 fs/overlayfs/util.c 	res = vfs_getxattr(dentry, name, NULL, 0);
dentry            893 fs/overlayfs/util.c 		res = vfs_getxattr(dentry, name, buf, res);
dentry            908 fs/overlayfs/util.c char *ovl_get_redirect_xattr(struct dentry *dentry, int padding)
dentry            913 fs/overlayfs/util.c 	res = ovl_getxattr(dentry, OVL_XATTR_REDIRECT, &buf, padding + 1);
dentry            718 fs/pipe.c      static char *pipefs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry            720 fs/pipe.c      	return dynamic_dname(dentry, buffer, buflen, "pipe:[%lu]",
dentry            721 fs/pipe.c      				d_inode(dentry)->i_ino);
dentry             52 fs/pnode.h     struct mount *copy_tree(struct mount *, struct dentry *, int);
dentry             53 fs/pnode.h     bool is_path_reachable(struct mount *, struct dentry *,
dentry            834 fs/posix_acl.c 		    struct dentry *unused, struct inode *inode,
dentry            881 fs/posix_acl.c 		    struct dentry *unused, struct inode *inode,
dentry            899 fs/posix_acl.c posix_acl_xattr_list(struct dentry *dentry)
dentry            901 fs/posix_acl.c 	return IS_POSIXACL(d_backing_inode(dentry));
dentry            183 fs/proc/base.c static int proc_cwd_link(struct dentry *dentry, struct path *path)
dentry            185 fs/proc/base.c 	struct task_struct *task = get_proc_task(d_inode(dentry));
dentry            200 fs/proc/base.c static int proc_root_link(struct dentry *dentry, struct path *path)
dentry            202 fs/proc/base.c 	struct task_struct *task = get_proc_task(d_inode(dentry));
dentry            677 fs/proc/base.c int proc_setattr(struct dentry *dentry, struct iattr *attr)
dentry            680 fs/proc/base.c 	struct inode *inode = d_inode(dentry);
dentry            685 fs/proc/base.c 	error = setattr_prepare(dentry, attr);
dentry           1592 fs/proc/base.c static int proc_exe_link(struct dentry *dentry, struct path *exe_path)
dentry           1597 fs/proc/base.c 	task = get_proc_task(d_inode(dentry));
dentry           1611 fs/proc/base.c static const char *proc_pid_get_link(struct dentry *dentry,
dentry           1618 fs/proc/base.c 	if (!dentry)
dentry           1625 fs/proc/base.c 	error = PROC_I(inode)->op.proc_get_link(dentry, &path);
dentry           1659 fs/proc/base.c static int proc_pid_readlink(struct dentry * dentry, char __user * buffer, int buflen)
dentry           1662 fs/proc/base.c 	struct inode *inode = d_inode(dentry);
dentry           1669 fs/proc/base.c 	error = PROC_I(inode)->op.proc_get_link(dentry, &path);
dentry           1786 fs/proc/base.c 	struct inode *inode = d_inode(path->dentry);
dentry           1829 fs/proc/base.c static int pid_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1837 fs/proc/base.c 	inode = d_inode(dentry);
dentry           1853 fs/proc/base.c int pid_delete_dentry(const struct dentry *dentry)
dentry           1859 fs/proc/base.c 	return proc_inode_is_dead(d_inode(dentry));
dentry           1886 fs/proc/base.c 	struct dentry *child, *dir = file->f_path.dentry;
dentry           1899 fs/proc/base.c 			struct dentry *res;
dentry           1922 fs/proc/base.c static int dname_to_vma_addr(struct dentry *dentry,
dentry           1925 fs/proc/base.c 	const char *str = dentry->d_name.name;
dentry           1960 fs/proc/base.c static int map_files_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry           1972 fs/proc/base.c 	inode = d_inode(dentry);
dentry           1981 fs/proc/base.c 	if (!dname_to_vma_addr(dentry, &vm_start, &vm_end)) {
dentry           2011 fs/proc/base.c static int map_files_get_link(struct dentry *dentry, struct path *path)
dentry           2020 fs/proc/base.c 	task = get_proc_task(d_inode(dentry));
dentry           2029 fs/proc/base.c 	rc = dname_to_vma_addr(dentry, &vm_start, &vm_end);
dentry           2064 fs/proc/base.c proc_map_files_get_link(struct dentry *dentry,
dentry           2071 fs/proc/base.c 	return proc_pid_get_link(dentry, inode, done);
dentry           2083 fs/proc/base.c static struct dentry *
dentry           2084 fs/proc/base.c proc_map_files_instantiate(struct dentry *dentry,
dentry           2091 fs/proc/base.c 	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFLNK |
dentry           2103 fs/proc/base.c 	d_set_d_op(dentry, &tid_map_files_dentry_operations);
dentry           2104 fs/proc/base.c 	return d_splice_alias(inode, dentry);
dentry           2107 fs/proc/base.c static struct dentry *proc_map_files_lookup(struct inode *dir,
dentry           2108 fs/proc/base.c 		struct dentry *dentry, unsigned int flags)
dentry           2113 fs/proc/base.c 	struct dentry *result;
dentry           2126 fs/proc/base.c 	if (dname_to_vma_addr(dentry, &vm_start, &vm_end))
dentry           2143 fs/proc/base.c 		result = proc_map_files_instantiate(dentry, task,
dentry           2452 fs/proc/base.c static struct dentry *proc_pident_instantiate(struct dentry *dentry,
dentry           2459 fs/proc/base.c 	inode = proc_pid_make_inode(dentry->d_sb, task, p->mode);
dentry           2472 fs/proc/base.c 	d_set_d_op(dentry, &pid_dentry_operations);
dentry           2473 fs/proc/base.c 	return d_splice_alias(inode, dentry);
dentry           2476 fs/proc/base.c static struct dentry *proc_pident_lookup(struct inode *dir, 
dentry           2477 fs/proc/base.c 					 struct dentry *dentry,
dentry           2482 fs/proc/base.c 	struct dentry *res = ERR_PTR(-ENOENT);
dentry           2492 fs/proc/base.c 		if (p->len != dentry->d_name.len)
dentry           2494 fs/proc/base.c 		if (!memcmp(dentry->d_name.name, p->name, p->len)) {
dentry           2495 fs/proc/base.c 			res = proc_pident_instantiate(dentry, task, p);
dentry           2543 fs/proc/base.c 				      (char*)file->f_path.dentry->d_name.name,
dentry           2597 fs/proc/base.c 				  file->f_path.dentry->d_name.name, page,
dentry           2627 fs/proc/base.c static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
dentry           2628 fs/proc/base.c 				struct dentry *dentry, unsigned int flags) \
dentry           2630 fs/proc/base.c 	return proc_pident_lookup(dir, dentry, \
dentry           2673 fs/proc/base.c static struct dentry *proc_attr_dir_lookup(struct inode *dir,
dentry           2674 fs/proc/base.c 				struct dentry *dentry, unsigned int flags)
dentry           2676 fs/proc/base.c 	return proc_pident_lookup(dir, dentry,
dentry           3122 fs/proc/base.c static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry           3124 fs/proc/base.c 	return proc_pident_lookup(dir, dentry,
dentry           3138 fs/proc/base.c 	struct dentry *dentry, *leader, *dir;
dentry           3145 fs/proc/base.c 	dentry = d_hash_and_lookup(mnt->mnt_root, &name);
dentry           3146 fs/proc/base.c 	if (dentry) {
dentry           3147 fs/proc/base.c 		d_invalidate(dentry);
dentry           3148 fs/proc/base.c 		dput(dentry);
dentry           3168 fs/proc/base.c 	dentry = d_hash_and_lookup(dir, &name);
dentry           3169 fs/proc/base.c 	if (dentry) {
dentry           3170 fs/proc/base.c 		d_invalidate(dentry);
dentry           3171 fs/proc/base.c 		dput(dentry);
dentry           3222 fs/proc/base.c static struct dentry *proc_pid_instantiate(struct dentry * dentry,
dentry           3227 fs/proc/base.c 	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFDIR | S_IRUGO | S_IXUGO);
dentry           3238 fs/proc/base.c 	d_set_d_op(dentry, &pid_dentry_operations);
dentry           3239 fs/proc/base.c 	return d_splice_alias(inode, dentry);
dentry           3242 fs/proc/base.c struct dentry *proc_pid_lookup(struct dentry *dentry, unsigned int flags)
dentry           3247 fs/proc/base.c 	struct dentry *result = ERR_PTR(-ENOENT);
dentry           3249 fs/proc/base.c 	tgid = name_to_int(&dentry->d_name);
dentry           3253 fs/proc/base.c 	ns = dentry->d_sb->s_fs_info;
dentry           3262 fs/proc/base.c 	result = proc_pid_instantiate(dentry, task, NULL);
dentry           3498 fs/proc/base.c static struct dentry *proc_tid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry           3500 fs/proc/base.c 	return proc_pident_lookup(dir, dentry,
dentry           3517 fs/proc/base.c static struct dentry *proc_task_instantiate(struct dentry *dentry,
dentry           3521 fs/proc/base.c 	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFDIR | S_IRUGO | S_IXUGO);
dentry           3532 fs/proc/base.c 	d_set_d_op(dentry, &pid_dentry_operations);
dentry           3533 fs/proc/base.c 	return d_splice_alias(inode, dentry);
dentry           3536 fs/proc/base.c static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags)
dentry           3542 fs/proc/base.c 	struct dentry *result = ERR_PTR(-ENOENT);
dentry           3547 fs/proc/base.c 	tid = name_to_int(&dentry->d_name);
dentry           3551 fs/proc/base.c 	ns = dentry->d_sb->s_fs_info;
dentry           3562 fs/proc/base.c 	result = proc_task_instantiate(dentry, task, NULL);
dentry           3691 fs/proc/base.c 	struct inode *inode = d_inode(path->dentry);
dentry            117 fs/proc/fd.c   static int tid_fd_revalidate(struct dentry *dentry, unsigned int flags)
dentry            126 fs/proc/fd.c   	inode = d_inode(dentry);
dentry            147 fs/proc/fd.c   static int proc_fd_link(struct dentry *dentry, struct path *path)
dentry            153 fs/proc/fd.c   	task = get_proc_task(d_inode(dentry));
dentry            160 fs/proc/fd.c   		unsigned int fd = proc_fd(d_inode(dentry));
dentry            182 fs/proc/fd.c   static struct dentry *proc_fd_instantiate(struct dentry *dentry,
dentry            189 fs/proc/fd.c   	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFLNK);
dentry            202 fs/proc/fd.c   	d_set_d_op(dentry, &tid_fd_dentry_operations);
dentry            203 fs/proc/fd.c   	return d_splice_alias(inode, dentry);
dentry            206 fs/proc/fd.c   static struct dentry *proc_lookupfd_common(struct inode *dir,
dentry            207 fs/proc/fd.c   					   struct dentry *dentry,
dentry            211 fs/proc/fd.c   	struct fd_data data = {.fd = name_to_int(&dentry->d_name)};
dentry            212 fs/proc/fd.c   	struct dentry *result = ERR_PTR(-ENOENT);
dentry            221 fs/proc/fd.c   	result = instantiate(dentry, task, &data);
dentry            287 fs/proc/fd.c   static struct dentry *proc_lookupfd(struct inode *dir, struct dentry *dentry,
dentry            290 fs/proc/fd.c   	return proc_lookupfd_common(dir, dentry, proc_fd_instantiate);
dentry            321 fs/proc/fd.c   static struct dentry *proc_fdinfo_instantiate(struct dentry *dentry,
dentry            328 fs/proc/fd.c   	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFREG | S_IRUSR);
dentry            338 fs/proc/fd.c   	d_set_d_op(dentry, &tid_fd_dentry_operations);
dentry            339 fs/proc/fd.c   	return d_splice_alias(inode, dentry);
dentry            342 fs/proc/fd.c   static struct dentry *
dentry            343 fs/proc/fd.c   proc_lookupfdinfo(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            345 fs/proc/fd.c   	return proc_lookupfd_common(dir, dentry, proc_fdinfo_instantiate);
dentry            118 fs/proc/generic.c static int proc_notify_change(struct dentry *dentry, struct iattr *iattr)
dentry            120 fs/proc/generic.c 	struct inode *inode = d_inode(dentry);
dentry            124 fs/proc/generic.c 	error = setattr_prepare(dentry, iattr);
dentry            139 fs/proc/generic.c 	struct inode *inode = d_inode(path->dentry);
dentry            223 fs/proc/generic.c static int proc_misc_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry            228 fs/proc/generic.c 	if (atomic_read(&PDE(d_inode(dentry))->in_use) < 0)
dentry            233 fs/proc/generic.c static int proc_misc_d_delete(const struct dentry *dentry)
dentry            235 fs/proc/generic.c 	return atomic_read(&PDE(d_inode(dentry))->in_use) < 0;
dentry            247 fs/proc/generic.c struct dentry *proc_lookup_de(struct inode *dir, struct dentry *dentry,
dentry            253 fs/proc/generic.c 	de = pde_subdir_find(de, dentry->d_name.name, dentry->d_name.len);
dentry            260 fs/proc/generic.c 		d_set_d_op(dentry, de->proc_dops);
dentry            261 fs/proc/generic.c 		return d_splice_alias(inode, dentry);
dentry            267 fs/proc/generic.c struct dentry *proc_lookup(struct inode *dir, struct dentry *dentry,
dentry            270 fs/proc/generic.c 	return proc_lookup_de(dir, dentry, PDE(dir));
dentry            105 fs/proc/inode.c static int proc_show_options(struct seq_file *seq, struct dentry *root)
dentry            434 fs/proc/inode.c static const char *proc_get_link(struct dentry *dentry,
dentry             77 fs/proc/internal.h 	int (*proc_get_link)(struct dentry *, struct path *);
dentry            157 fs/proc/internal.h extern int proc_setattr(struct dentry *, struct iattr *);
dentry            160 fs/proc/internal.h extern int pid_delete_dentry(const struct dentry *);
dentry            162 fs/proc/internal.h struct dentry *proc_pid_lookup(struct dentry *, unsigned int);
dentry            166 fs/proc/internal.h typedef struct dentry *instantiate_t(struct dentry *,
dentry            178 fs/proc/internal.h extern struct dentry *proc_lookup(struct inode *, struct dentry *, unsigned int);
dentry            179 fs/proc/internal.h struct dentry *proc_lookup_de(struct inode *, struct dentry *, struct proc_dir_entry *);
dentry             38 fs/proc/namespaces.c static const char *proc_ns_get_link(struct dentry *dentry,
dentry             47 fs/proc/namespaces.c 	if (!dentry)
dentry             63 fs/proc/namespaces.c static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen)
dentry             65 fs/proc/namespaces.c 	struct inode *inode = d_inode(dentry);
dentry             90 fs/proc/namespaces.c static struct dentry *proc_ns_instantiate(struct dentry *dentry,
dentry             97 fs/proc/namespaces.c 	inode = proc_pid_make_inode(dentry->d_sb, task, S_IFLNK | S_IRWXUGO);
dentry            106 fs/proc/namespaces.c 	d_set_d_op(dentry, &pid_dentry_operations);
dentry            107 fs/proc/namespaces.c 	return d_splice_alias(inode, dentry);
dentry            143 fs/proc/namespaces.c static struct dentry *proc_ns_dir_lookup(struct inode *dir,
dentry            144 fs/proc/namespaces.c 				struct dentry *dentry, unsigned int flags)
dentry            148 fs/proc/namespaces.c 	unsigned int len = dentry->d_name.len;
dentry            149 fs/proc/namespaces.c 	struct dentry *res = ERR_PTR(-ENOENT);
dentry            158 fs/proc/namespaces.c 		if (!memcmp(dentry->d_name.name, (*entry)->name, len))
dentry            164 fs/proc/namespaces.c 	res = proc_ns_instantiate(dentry, task, *entry);
dentry             42 fs/proc/proc_net.c static int proc_net_d_revalidate(struct dentry *dentry, unsigned int flags)
dentry            274 fs/proc/proc_net.c static struct dentry *proc_tgid_net_lookup(struct inode *dir,
dentry            275 fs/proc/proc_net.c 		struct dentry *dentry, unsigned int flags)
dentry            277 fs/proc/proc_net.c 	struct dentry *de;
dentry            283 fs/proc/proc_net.c 		de = proc_lookup_de(dir, dentry, net->proc_net);
dentry            292 fs/proc/proc_net.c 	struct inode *inode = d_inode(path->dentry);
dentry            531 fs/proc/proc_sysctl.c static struct dentry *proc_sys_lookup(struct inode *dir, struct dentry *dentry,
dentry            536 fs/proc/proc_sysctl.c 	const struct qstr *name = &dentry->d_name;
dentry            539 fs/proc/proc_sysctl.c 	struct dentry *err = ERR_PTR(-ENOENT);
dentry            565 fs/proc/proc_sysctl.c 	d_set_d_op(dentry, &proc_sys_dentry_operations);
dentry            566 fs/proc/proc_sysctl.c 	err = d_splice_alias(inode, dentry);
dentry            693 fs/proc/proc_sysctl.c 	struct dentry *child, *dir = file->f_path.dentry;
dentry            710 fs/proc/proc_sysctl.c 			struct dentry *res;
dentry            835 fs/proc/proc_sysctl.c static int proc_sys_setattr(struct dentry *dentry, struct iattr *attr)
dentry            837 fs/proc/proc_sysctl.c 	struct inode *inode = d_inode(dentry);
dentry            843 fs/proc/proc_sysctl.c 	error = setattr_prepare(dentry, attr);
dentry            855 fs/proc/proc_sysctl.c 	struct inode *inode = d_inode(path->dentry);
dentry            897 fs/proc/proc_sysctl.c static int proc_sys_revalidate(struct dentry *dentry, unsigned int flags)
dentry            901 fs/proc/proc_sysctl.c 	return !PROC_I(d_inode(dentry))->sysctl->unregistering;
dentry            904 fs/proc/proc_sysctl.c static int proc_sys_delete(const struct dentry *dentry)
dentry            906 fs/proc/proc_sysctl.c 	return !!PROC_I(d_inode(dentry))->sysctl->unregistering;
dentry            924 fs/proc/proc_sysctl.c static int proc_sys_compare(const struct dentry *dentry,
dentry            933 fs/proc/proc_sysctl.c 	inode = d_inode_rcu(dentry);
dentry            241 fs/proc/root.c 	generic_fillattr(d_inode(path->dentry), stat);
dentry            246 fs/proc/root.c static struct dentry *proc_root_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
dentry            248 fs/proc/root.c 	if (!proc_pid_lookup(dentry, flags))
dentry            251 fs/proc/root.c 	return proc_lookup(dir, dentry, flags);
dentry             11 fs/proc/self.c static const char *proc_self_get_link(struct dentry *dentry,
dentry             22 fs/proc/self.c 	name = kmalloc(10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
dentry             24 fs/proc/self.c 		return dentry ? ERR_PTR(-ENOMEM) : ERR_PTR(-ECHILD);
dentry             40 fs/proc/self.c 	struct dentry *self;
dentry             11 fs/proc/thread_self.c static const char *proc_thread_self_get_link(struct dentry *dentry,
dentry             22 fs/proc/thread_self.c 	name = kmalloc(10 + 6 + 10 + 1, dentry ? GFP_KERNEL : GFP_ATOMIC);
dentry             24 fs/proc/thread_self.c 		return dentry ? ERR_PTR(-ENOMEM) : ERR_PTR(-ECHILD);
dentry             40 fs/proc/thread_self.c 	struct dentry *thread_self;
dentry            101 fs/proc_namespace.c 	struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
dentry            102 fs/proc_namespace.c 	struct super_block *sb = mnt_path.dentry->d_sb;
dentry            106 fs/proc_namespace.c 		err = sb->s_op->show_devname(m, mnt_path.dentry);
dentry            125 fs/proc_namespace.c 		err = sb->s_op->show_options(m, mnt_path.dentry);
dentry            136 fs/proc_namespace.c 	struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
dentry            197 fs/proc_namespace.c 	struct path mnt_path = { .dentry = mnt->mnt_root, .mnt = mnt };
dentry            198 fs/proc_namespace.c 	struct super_block *sb = mnt_path.dentry->d_sb;
dentry            204 fs/proc_namespace.c 		err = sb->s_op->show_devname(m, mnt_path.dentry);
dentry            230 fs/proc_namespace.c 		err = sb->s_op->show_stats(m, mnt_path.dentry);
dentry            111 fs/pstore/ftrace.c static struct dentry *pstore_ftrace_dir;
dentry            177 fs/pstore/inode.c static int pstore_unlink(struct inode *dir, struct dentry *dentry)
dentry            179 fs/pstore/inode.c 	struct pstore_private *p = d_inode(dentry)->i_private;
dentry            189 fs/pstore/inode.c 	return simple_unlink(dir, dentry);
dentry            258 fs/pstore/inode.c static int pstore_show_options(struct seq_file *m, struct dentry *root)
dentry            293 fs/pstore/inode.c int pstore_mkfile(struct dentry *root, struct pstore_record *record)
dentry            295 fs/pstore/inode.c 	struct dentry		*dentry;
dentry            333 fs/pstore/inode.c 	dentry = d_alloc_name(root, name);
dentry            334 fs/pstore/inode.c 	if (!dentry)
dentry            344 fs/pstore/inode.c 	d_add(dentry, inode);
dentry            370 fs/pstore/inode.c 	struct dentry *root;
dentry            413 fs/pstore/inode.c static struct dentry *pstore_mount(struct file_system_type *fs_type,
dentry             33 fs/pstore/internal.h 					   struct dentry *root, int quiet);
dentry             34 fs/pstore/internal.h extern int	pstore_mkfile(struct dentry *root,
dentry            720 fs/pstore/platform.c 				struct dentry *root, int quiet)
dentry             34 fs/qnx4/inode.c static int qnx4_statfs(struct dentry *, struct kstatfs *);
dentry            129 fs/qnx4/inode.c static int qnx4_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            131 fs/qnx4/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            382 fs/qnx4/inode.c static struct dentry *qnx4_mount(struct file_system_type *fs_type,
dentry             95 fs/qnx4/namei.c struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
dentry            101 fs/qnx4/namei.c 	const char *name = dentry->d_name.name;
dentry            102 fs/qnx4/namei.c 	int len = dentry->d_name.len;
dentry            121 fs/qnx4/namei.c 	return d_splice_alias(foundinode, dentry);
dentry             25 fs/qnx4/qnx4.h extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags);
dentry             35 fs/qnx6/inode.c static int qnx6_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry             36 fs/qnx6/inode.c static int qnx6_show_options(struct seq_file *seq, struct dentry *root);
dentry             47 fs/qnx6/inode.c static int qnx6_show_options(struct seq_file *seq, struct dentry *root)
dentry            156 fs/qnx6/inode.c static int qnx6_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            158 fs/qnx6/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            642 fs/qnx6/inode.c static struct dentry *qnx6_mount(struct file_system_type *fs_type,
dentry             16 fs/qnx6/namei.c struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry,
dentry             22 fs/qnx6/namei.c 	const char *name = dentry->d_name.name;
dentry             23 fs/qnx6/namei.c 	int len = dentry->d_name.len;
dentry             38 fs/qnx6/namei.c 	return d_splice_alias(foundinode, dentry);
dentry             48 fs/qnx6/qnx6.h extern struct dentry *qnx6_lookup(struct inode *dir, struct dentry *dentry,
dentry           2453 fs/quota/dquot.c 	int error = security_quota_on(path->dentry);
dentry           2457 fs/quota/dquot.c 	if (path->dentry->d_sb != sb)
dentry           2460 fs/quota/dquot.c 		error = vfs_load_quota_inode(d_inode(path->dentry), type,
dentry           2509 fs/quota/dquot.c 	struct dentry *dentry;
dentry           2512 fs/quota/dquot.c 	dentry = lookup_one_len_unlocked(qf_name, sb->s_root, strlen(qf_name));
dentry           2513 fs/quota/dquot.c 	if (IS_ERR(dentry))
dentry           2514 fs/quota/dquot.c 		return PTR_ERR(dentry);
dentry           2516 fs/quota/dquot.c 	if (d_really_is_negative(dentry)) {
dentry           2521 fs/quota/dquot.c 	error = security_quota_on(dentry);
dentry           2523 fs/quota/dquot.c 		error = vfs_load_quota_inode(d_inode(dentry), type, format_id,
dentry           2527 fs/quota/dquot.c 	dput(dentry);
dentry             25 fs/ramfs/file-nommu.c static int ramfs_nommu_setattr(struct dentry *, struct iattr *);
dentry            161 fs/ramfs/file-nommu.c static int ramfs_nommu_setattr(struct dentry *dentry, struct iattr *ia)
dentry            163 fs/ramfs/file-nommu.c 	struct inode *inode = d_inode(dentry);
dentry            168 fs/ramfs/file-nommu.c 	ret = setattr_prepare(dentry, ia);
dentry            104 fs/ramfs/inode.c ramfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry            110 fs/ramfs/inode.c 		d_instantiate(dentry, inode);
dentry            111 fs/ramfs/inode.c 		dget(dentry);	/* Extra count - pin the dentry in core */
dentry            118 fs/ramfs/inode.c static int ramfs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode)
dentry            120 fs/ramfs/inode.c 	int retval = ramfs_mknod(dir, dentry, mode | S_IFDIR, 0);
dentry            126 fs/ramfs/inode.c static int ramfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, bool excl)
dentry            128 fs/ramfs/inode.c 	return ramfs_mknod(dir, dentry, mode | S_IFREG, 0);
dentry            131 fs/ramfs/inode.c static int ramfs_symlink(struct inode * dir, struct dentry *dentry, const char * symname)
dentry            141 fs/ramfs/inode.c 			d_instantiate(dentry, inode);
dentry            142 fs/ramfs/inode.c 			dget(dentry);
dentry            165 fs/ramfs/inode.c static int ramfs_show_options(struct seq_file *m, struct dentry *root)
dentry             55 fs/reiserfs/acl.h 				 struct inode *dir, struct dentry *dentry,
dentry             72 fs/reiserfs/acl.h 			     const struct inode *dir, struct dentry *dentry,
dentry             55 fs/reiserfs/dir.c 	struct dentry *privroot = REISERFS_SB(dir->i_sb)->priv_root;
dentry           1671 fs/reiserfs/inode.c static struct dentry *reiserfs_get_dentry(struct super_block *sb,
dentry           1692 fs/reiserfs/inode.c struct dentry *reiserfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry           1722 fs/reiserfs/inode.c struct dentry *reiserfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           1930 fs/reiserfs/inode.c 		       loff_t i_size, struct dentry *dentry,
dentry           2104 fs/reiserfs/inode.c 	if (IS_PRIVATE(dir) || dentry == REISERFS_SB(sb)->priv_root) {
dentry           2111 fs/reiserfs/inode.c 		retval = reiserfs_inherit_default_acl(th, dir, dentry, inode);
dentry           3290 fs/reiserfs/inode.c int reiserfs_setattr(struct dentry *dentry, struct iattr *attr)
dentry           3292 fs/reiserfs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           3296 fs/reiserfs/inode.c 	error = setattr_prepare(dentry, attr);
dentry            352 fs/reiserfs/namei.c static struct dentry *reiserfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            360 fs/reiserfs/namei.c 	if (REISERFS_MAX_NAME(dir->i_sb->s_blocksize) < dentry->d_name.len)
dentry            367 fs/reiserfs/namei.c 	    reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len,
dentry            393 fs/reiserfs/namei.c 	return d_splice_alias(inode, dentry);
dentry            400 fs/reiserfs/namei.c struct dentry *reiserfs_get_parent(struct dentry *child)
dentry            622 fs/reiserfs/namei.c static int reiserfs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            652 fs/reiserfs/namei.c 	retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security);
dentry            667 fs/reiserfs/namei.c 	    reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry,
dentry            677 fs/reiserfs/namei.c 	    reiserfs_add_entry(&th, dir, dentry->d_name.name,
dentry            678 fs/reiserfs/namei.c 			       dentry->d_name.len, inode, 1 /*visible */ );
dentry            693 fs/reiserfs/namei.c 	d_instantiate_new(dentry, inode);
dentry            701 fs/reiserfs/namei.c static int reiserfs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            731 fs/reiserfs/namei.c 	retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security);
dentry            746 fs/reiserfs/namei.c 	    reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry,
dentry            762 fs/reiserfs/namei.c 	    reiserfs_add_entry(&th, dir, dentry->d_name.name,
dentry            763 fs/reiserfs/namei.c 			       dentry->d_name.len, inode, 1 /*visible */ );
dentry            776 fs/reiserfs/namei.c 	d_instantiate_new(dentry, inode);
dentry            784 fs/reiserfs/namei.c static int reiserfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            821 fs/reiserfs/namei.c 	retval = reiserfs_security_init(dir, inode, &dentry->d_name, &security);
dentry            844 fs/reiserfs/namei.c 					dentry, inode, &security);
dentry            858 fs/reiserfs/namei.c 	    reiserfs_add_entry(&th, dir, dentry->d_name.name,
dentry            859 fs/reiserfs/namei.c 			       dentry->d_name.len, inode, 1 /*visible */ );
dentry            875 fs/reiserfs/namei.c 	d_instantiate_new(dentry, inode);
dentry            897 fs/reiserfs/namei.c static int reiserfs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            927 fs/reiserfs/namei.c 	     reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len,
dentry            936 fs/reiserfs/namei.c 	inode = d_inode(dentry);
dentry            994 fs/reiserfs/namei.c static int reiserfs_unlink(struct inode *dir, struct dentry *dentry)
dentry           1008 fs/reiserfs/namei.c 	inode = d_inode(dentry);
dentry           1028 fs/reiserfs/namei.c 	     reiserfs_find_entry(dir, dentry->d_name.name, dentry->d_name.len,
dentry           1098 fs/reiserfs/namei.c 			    struct dentry *dentry, const char *symname)
dentry           1129 fs/reiserfs/namei.c 	retval = reiserfs_security_init(parent_dir, inode, &dentry->d_name,
dentry           1163 fs/reiserfs/namei.c 			       dentry, inode, &security);
dentry           1176 fs/reiserfs/namei.c 	retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name,
dentry           1177 fs/reiserfs/namei.c 				    dentry->d_name.len, inode, 1 /*visible */ );
dentry           1190 fs/reiserfs/namei.c 	d_instantiate_new(dentry, inode);
dentry           1197 fs/reiserfs/namei.c static int reiserfs_link(struct dentry *old_dentry, struct inode *dir,
dentry           1198 fs/reiserfs/namei.c 			 struct dentry *dentry)
dentry           1234 fs/reiserfs/namei.c 	    reiserfs_add_entry(&th, dir, dentry->d_name.name,
dentry           1235 fs/reiserfs/namei.c 			       dentry->d_name.len, inode, 1 /*visible */ );
dentry           1252 fs/reiserfs/namei.c 	d_instantiate(dentry, inode);
dentry           1307 fs/reiserfs/namei.c static int reiserfs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1308 fs/reiserfs/namei.c 			   struct inode *new_dir, struct dentry *new_dentry,
dentry            617 fs/reiserfs/reiserfs.h 	struct dentry *priv_root;	/* root of /.reiserfs_priv */
dentry            618 fs/reiserfs/reiserfs.h 	struct dentry *xattr_root;	/* root of /.reiserfs_priv/xattrs */
dentry           3073 fs/reiserfs/reiserfs.h struct dentry *reiserfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry           3075 fs/reiserfs/reiserfs.h struct dentry *reiserfs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry           3092 fs/reiserfs/reiserfs.h 		       struct dentry *dentry, struct inode *inode,
dentry           3105 fs/reiserfs/reiserfs.h int reiserfs_setattr(struct dentry *dentry, struct iattr *attr);
dentry           3113 fs/reiserfs/reiserfs.h struct dentry *reiserfs_get_parent(struct dentry *);
dentry             65 fs/reiserfs/super.c static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf);
dentry            721 fs/reiserfs/super.c static int reiserfs_show_options(struct seq_file *seq, struct dentry *root)
dentry           2251 fs/reiserfs/super.c static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           2253 fs/reiserfs/super.c 	struct reiserfs_super_block *rs = SB_DISK_SUPER_BLOCK(dentry->d_sb);
dentry           2259 fs/reiserfs/super.c 	buf->f_bsize = dentry->d_sb->s_blocksize;
dentry           2401 fs/reiserfs/super.c 	if (path->dentry->d_sb != sb) {
dentry           2405 fs/reiserfs/super.c 	inode = d_inode(path->dentry);
dentry           2424 fs/reiserfs/super.c 		if (path->dentry->d_parent != sb->s_root)
dentry           2602 fs/reiserfs/super.c static struct dentry *get_super_block(struct file_system_type *fs_type,
dentry             66 fs/reiserfs/xattr.c static int xattr_create(struct inode *dir, struct dentry *dentry, int mode)
dentry             69 fs/reiserfs/xattr.c 	return dir->i_op->create(dir, dentry, mode, true);
dentry             73 fs/reiserfs/xattr.c static int xattr_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry             76 fs/reiserfs/xattr.c 	return dir->i_op->mkdir(dir, dentry, mode);
dentry             85 fs/reiserfs/xattr.c static int xattr_unlink(struct inode *dir, struct dentry *dentry)
dentry             91 fs/reiserfs/xattr.c 	inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD);
dentry             92 fs/reiserfs/xattr.c 	error = dir->i_op->unlink(dir, dentry);
dentry             93 fs/reiserfs/xattr.c 	inode_unlock(d_inode(dentry));
dentry             96 fs/reiserfs/xattr.c 		d_delete(dentry);
dentry            100 fs/reiserfs/xattr.c static int xattr_rmdir(struct inode *dir, struct dentry *dentry)
dentry            106 fs/reiserfs/xattr.c 	inode_lock_nested(d_inode(dentry), I_MUTEX_CHILD);
dentry            107 fs/reiserfs/xattr.c 	error = dir->i_op->rmdir(dir, dentry);
dentry            109 fs/reiserfs/xattr.c 		d_inode(dentry)->i_flags |= S_DEAD;
dentry            110 fs/reiserfs/xattr.c 	inode_unlock(d_inode(dentry));
dentry            112 fs/reiserfs/xattr.c 		d_delete(dentry);
dentry            119 fs/reiserfs/xattr.c static struct dentry *open_xa_root(struct super_block *sb, int flags)
dentry            121 fs/reiserfs/xattr.c 	struct dentry *privroot = REISERFS_SB(sb)->priv_root;
dentry            122 fs/reiserfs/xattr.c 	struct dentry *xaroot;
dentry            147 fs/reiserfs/xattr.c static struct dentry *open_xa_dir(const struct inode *inode, int flags)
dentry            149 fs/reiserfs/xattr.c 	struct dentry *xaroot, *xadir;
dentry            186 fs/reiserfs/xattr.c 	struct dentry *xadir;
dentry            189 fs/reiserfs/xattr.c 	struct dentry *dentries[8];
dentry            198 fs/reiserfs/xattr.c 	struct dentry *dentry;
dentry            209 fs/reiserfs/xattr.c 	dentry = lookup_one_len(name, dbuf->xadir, namelen);
dentry            210 fs/reiserfs/xattr.c 	if (IS_ERR(dentry)) {
dentry            211 fs/reiserfs/xattr.c 		dbuf->err = PTR_ERR(dentry);
dentry            212 fs/reiserfs/xattr.c 		return PTR_ERR(dentry);
dentry            213 fs/reiserfs/xattr.c 	} else if (d_really_is_negative(dentry)) {
dentry            215 fs/reiserfs/xattr.c 		reiserfs_error(dentry->d_sb, "xattr-20003",
dentry            218 fs/reiserfs/xattr.c 			       dentry, dbuf->xadir);
dentry            219 fs/reiserfs/xattr.c 		dput(dentry);
dentry            224 fs/reiserfs/xattr.c 	dbuf->dentries[dbuf->count++] = dentry;
dentry            239 fs/reiserfs/xattr.c 				   int (*action)(struct dentry *, void *),
dentry            242 fs/reiserfs/xattr.c 	struct dentry *dir;
dentry            275 fs/reiserfs/xattr.c 			struct dentry *dentry = buf.dentries[i];
dentry            277 fs/reiserfs/xattr.c 			if (!d_is_dir(dentry))
dentry            278 fs/reiserfs/xattr.c 				err = action(dentry, data);
dentry            280 fs/reiserfs/xattr.c 			dput(dentry);
dentry            332 fs/reiserfs/xattr.c static int delete_one_xattr(struct dentry *dentry, void *data)
dentry            334 fs/reiserfs/xattr.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry            337 fs/reiserfs/xattr.c 	if (d_is_dir(dentry))
dentry            338 fs/reiserfs/xattr.c 		return xattr_rmdir(dir, dentry);
dentry            340 fs/reiserfs/xattr.c 	return xattr_unlink(dir, dentry);
dentry            343 fs/reiserfs/xattr.c static int chown_one_xattr(struct dentry *dentry, void *data)
dentry            355 fs/reiserfs/xattr.c 	err = reiserfs_setattr(dentry, attrs);
dentry            389 fs/reiserfs/xattr.c static struct dentry *xattr_lookup(struct inode *inode, const char *name,
dentry            392 fs/reiserfs/xattr.c 	struct dentry *xadir, *xafile;
dentry            487 fs/reiserfs/xattr.c 	struct dentry *dentry, *xadir;
dentry            494 fs/reiserfs/xattr.c 	dentry = lookup_one_len(name, xadir, strlen(name));
dentry            495 fs/reiserfs/xattr.c 	if (IS_ERR(dentry)) {
dentry            496 fs/reiserfs/xattr.c 		err = PTR_ERR(dentry);
dentry            500 fs/reiserfs/xattr.c 	if (d_really_is_positive(dentry)) {
dentry            501 fs/reiserfs/xattr.c 		err = xattr_unlink(d_inode(xadir), dentry);
dentry            505 fs/reiserfs/xattr.c 	dput(dentry);
dentry            524 fs/reiserfs/xattr.c 	struct dentry *dentry;
dentry            540 fs/reiserfs/xattr.c 	dentry = xattr_lookup(inode, name, flags);
dentry            541 fs/reiserfs/xattr.c 	if (IS_ERR(dentry))
dentry            542 fs/reiserfs/xattr.c 		return PTR_ERR(dentry);
dentry            557 fs/reiserfs/xattr.c 		page = reiserfs_get_page(d_inode(dentry), file_pos);
dentry            597 fs/reiserfs/xattr.c 	if (!err && new_size < i_size_read(d_inode(dentry))) {
dentry            604 fs/reiserfs/xattr.c 		inode_lock_nested(d_inode(dentry), I_MUTEX_XATTR);
dentry            605 fs/reiserfs/xattr.c 		inode_dio_wait(d_inode(dentry));
dentry            607 fs/reiserfs/xattr.c 		err = reiserfs_setattr(dentry, &newattrs);
dentry            608 fs/reiserfs/xattr.c 		inode_unlock(d_inode(dentry));
dentry            613 fs/reiserfs/xattr.c 	dput(dentry);
dentry            660 fs/reiserfs/xattr.c 	struct dentry *dentry;
dentry            677 fs/reiserfs/xattr.c 	dentry = xattr_lookup(inode, name, XATTR_REPLACE);
dentry            678 fs/reiserfs/xattr.c 	if (IS_ERR(dentry)) {
dentry            679 fs/reiserfs/xattr.c 		err = PTR_ERR(dentry);
dentry            685 fs/reiserfs/xattr.c 	isize = i_size_read(d_inode(dentry));
dentry            708 fs/reiserfs/xattr.c 		page = reiserfs_get_page(d_inode(dentry), file_pos);
dentry            753 fs/reiserfs/xattr.c 	dput(dentry);
dentry            797 fs/reiserfs/xattr.c 	struct dentry *dentry;
dentry            812 fs/reiserfs/xattr.c 		handler = find_xattr_handler_prefix(b->dentry->d_sb->s_xattr,
dentry            815 fs/reiserfs/xattr.c 		    (handler->list && !handler->list(b->dentry)))
dentry            838 fs/reiserfs/xattr.c ssize_t reiserfs_listxattr(struct dentry * dentry, char *buffer, size_t size)
dentry            840 fs/reiserfs/xattr.c 	struct dentry *dir;
dentry            844 fs/reiserfs/xattr.c 		.dentry = dentry,
dentry            849 fs/reiserfs/xattr.c 	if (d_really_is_negative(dentry))
dentry            852 fs/reiserfs/xattr.c 	if (get_inode_sd_version(d_inode(dentry)) == STAT_DATA_V1)
dentry            855 fs/reiserfs/xattr.c 	dir = open_xa_dir(d_inode(dentry), XATTR_REPLACE);
dentry            875 fs/reiserfs/xattr.c static int create_privroot(struct dentry *dentry)
dentry            878 fs/reiserfs/xattr.c 	struct inode *inode = d_inode(dentry->d_parent);
dentry            882 fs/reiserfs/xattr.c 	err = xattr_mkdir(inode, dentry, 0700);
dentry            883 fs/reiserfs/xattr.c 	if (err || d_really_is_negative(dentry)) {
dentry            884 fs/reiserfs/xattr.c 		reiserfs_warning(dentry->d_sb, "jdm-20006",
dentry            891 fs/reiserfs/xattr.c 	d_inode(dentry)->i_flags |= S_PRIVATE;
dentry            892 fs/reiserfs/xattr.c 	d_inode(dentry)->i_opflags &= ~IOP_XATTR;
dentry            893 fs/reiserfs/xattr.c 	reiserfs_info(dentry->d_sb, "Created %s - reserved for xattr "
dentry            902 fs/reiserfs/xattr.c static int create_privroot(struct dentry *dentry) { return 0; }
dentry            956 fs/reiserfs/xattr.c static int xattr_hide_revalidate(struct dentry *dentry, unsigned int flags)
dentry            967 fs/reiserfs/xattr.c 	struct dentry *dentry;
dentry            972 fs/reiserfs/xattr.c 	dentry = lookup_one_len(PRIVROOT_NAME, s->s_root,
dentry            974 fs/reiserfs/xattr.c 	if (!IS_ERR(dentry)) {
dentry            975 fs/reiserfs/xattr.c 		REISERFS_SB(s)->priv_root = dentry;
dentry            976 fs/reiserfs/xattr.c 		d_set_d_op(dentry, &xattr_lookup_poison_ops);
dentry            977 fs/reiserfs/xattr.c 		if (d_really_is_positive(dentry)) {
dentry            978 fs/reiserfs/xattr.c 			d_inode(dentry)->i_flags |= S_PRIVATE;
dentry            979 fs/reiserfs/xattr.c 			d_inode(dentry)->i_opflags &= ~IOP_XATTR;
dentry            982 fs/reiserfs/xattr.c 		err = PTR_ERR(dentry);
dentry            996 fs/reiserfs/xattr.c 	struct dentry *privroot = REISERFS_SB(s)->priv_root;
dentry           1011 fs/reiserfs/xattr.c 			struct dentry *dentry;
dentry           1013 fs/reiserfs/xattr.c 			dentry = lookup_one_len(XAROOT_NAME, privroot,
dentry           1015 fs/reiserfs/xattr.c 			if (!IS_ERR(dentry))
dentry           1016 fs/reiserfs/xattr.c 				REISERFS_SB(s)->xattr_root = dentry;
dentry           1018 fs/reiserfs/xattr.c 				err = PTR_ERR(dentry);
dentry              9 fs/reiserfs/xattr.h struct dentry;
dentry             23 fs/reiserfs/xattr.h ssize_t reiserfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry            301 fs/reiserfs/xattr_acl.c 			     struct inode *dir, struct dentry *dentry,
dentry             13 fs/reiserfs/xattr_security.c security_get(const struct xattr_handler *handler, struct dentry *unused,
dentry             24 fs/reiserfs/xattr_security.c security_set(const struct xattr_handler *handler, struct dentry *unused,
dentry             36 fs/reiserfs/xattr_security.c static bool security_list(struct dentry *dentry)
dentry             38 fs/reiserfs/xattr_security.c 	return !IS_PRIVATE(d_inode(dentry));
dentry             12 fs/reiserfs/xattr_trusted.c trusted_get(const struct xattr_handler *handler, struct dentry *unused,
dentry             23 fs/reiserfs/xattr_trusted.c trusted_set(const struct xattr_handler *handler, struct dentry *unused,
dentry             35 fs/reiserfs/xattr_trusted.c static bool trusted_list(struct dentry *dentry)
dentry             37 fs/reiserfs/xattr_trusted.c 	return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry));
dentry             11 fs/reiserfs/xattr_user.c user_get(const struct xattr_handler *handler, struct dentry *unused,
dentry             21 fs/reiserfs/xattr_user.c user_set(const struct xattr_handler *handler, struct dentry *unused,
dentry             32 fs/reiserfs/xattr_user.c static bool user_list(struct dentry *dentry)
dentry             34 fs/reiserfs/xattr_user.c 	return reiserfs_xattrs_user(dentry->d_sb);
dentry            212 fs/romfs/super.c static struct dentry *romfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            231 fs/romfs/super.c 	name = dentry->d_name.name;
dentry            232 fs/romfs/super.c 	len = dentry->d_name.len;
dentry            259 fs/romfs/super.c 	return d_splice_alias(inode, dentry);
dentry            392 fs/romfs/super.c static int romfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            394 fs/romfs/super.c 	struct super_block *sb = dentry->d_sb;
dentry            417 fs/romfs/super.c 		(romfs_maxsize(dentry->d_sb) + ROMBSIZE - 1) >> ROMBSBITS;
dentry            531 fs/seq_file.c  int seq_dentry(struct seq_file *m, struct dentry *dentry, const char *esc)
dentry            538 fs/seq_file.c  		char *p = dentry_path(dentry, buf, size);
dentry             61 fs/squashfs/export.c static struct dentry *squashfs_export_iget(struct super_block *sb,
dentry             65 fs/squashfs/export.c 	struct dentry *dentry = ERR_PTR(-ENOENT);
dentry             71 fs/squashfs/export.c 		dentry = d_obtain_alias(squashfs_iget(sb, ino, ino_num));
dentry             73 fs/squashfs/export.c 	return dentry;
dentry             77 fs/squashfs/export.c static struct dentry *squashfs_fh_to_dentry(struct super_block *sb,
dentry             88 fs/squashfs/export.c static struct dentry *squashfs_fh_to_parent(struct super_block *sb,
dentry             98 fs/squashfs/export.c static struct dentry *squashfs_get_parent(struct dentry *child)
dentry            126 fs/squashfs/namei.c static struct dentry *squashfs_lookup(struct inode *dir, struct dentry *dentry,
dentry            129 fs/squashfs/namei.c 	const unsigned char *name = dentry->d_name.name;
dentry            130 fs/squashfs/namei.c 	int len = dentry->d_name.len;
dentry            220 fs/squashfs/namei.c 	return d_splice_alias(inode, dentry);
dentry             75 fs/squashfs/squashfs.h extern ssize_t squashfs_listxattr(struct dentry *, char *, size_t);
dentry            369 fs/squashfs/super.c static int squashfs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            371 fs/squashfs/super.c 	struct squashfs_sb_info *msblk = dentry->d_sb->s_fs_info;
dentry            372 fs/squashfs/super.c 	u64 id = huge_encode_dev(dentry->d_sb->s_bdev->bd_dev);
dentry             26 fs/squashfs/xattr.c ssize_t squashfs_listxattr(struct dentry *d, char *buffer,
dentry            204 fs/squashfs/xattr.c 				      struct dentry *unused,
dentry            225 fs/squashfs/xattr.c static bool squashfs_trusted_xattr_handler_list(struct dentry *d)
dentry             67 fs/stat.c      	struct inode *inode = d_backing_inode(path->dentry);
dentry            401 fs/stat.c      		struct inode *inode = d_backing_inode(path.dentry);
dentry            407 fs/stat.c      		if (d_is_symlink(path.dentry) || inode->i_op->readlink) {
dentry            408 fs/stat.c      			error = security_inode_readlink(path.dentry);
dentry            411 fs/stat.c      				error = vfs_readlink(path.dentry, buf, bufsiz);
dentry             53 fs/statfs.c    static int statfs_by_dentry(struct dentry *dentry, struct kstatfs *buf)
dentry             57 fs/statfs.c    	if (!dentry->d_sb->s_op->statfs)
dentry             61 fs/statfs.c    	retval = security_sb_statfs(dentry);
dentry             64 fs/statfs.c    	retval = dentry->d_sb->s_op->statfs(dentry, buf);
dentry             70 fs/statfs.c    int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid)
dentry             75 fs/statfs.c    	error = statfs_by_dentry(dentry, &st);
dentry             88 fs/statfs.c    	error = statfs_by_dentry(path->dentry, buf);
dentry           1363 fs/super.c     struct dentry *mount_bdev(struct file_system_type *fs_type,
dentry           1453 fs/super.c     struct dentry *mount_nodev(struct file_system_type *fs_type,
dentry           1503 fs/super.c     struct dentry *mount_single(struct file_system_type *fs_type,
dentry            168 fs/sync.c      	sb = f.file->f_path.dentry->d_sb;
dentry            127 fs/sysv/dir.c  struct sysv_dir_entry *sysv_find_entry(struct dentry *dentry, struct page **res_page)
dentry            129 fs/sysv/dir.c  	const char * name = dentry->d_name.name;
dentry            130 fs/sysv/dir.c  	int namelen = dentry->d_name.len;
dentry            131 fs/sysv/dir.c  	struct inode * dir = d_inode(dentry->d_parent);
dentry            173 fs/sysv/dir.c  int sysv_add_link(struct dentry *dentry, struct inode *inode)
dentry            175 fs/sysv/dir.c  	struct inode *dir = d_inode(dentry->d_parent);
dentry            176 fs/sysv/dir.c  	const char * name = dentry->d_name.name;
dentry            177 fs/sysv/dir.c  	int namelen = dentry->d_name.len;
dentry            357 fs/sysv/dir.c  ino_t sysv_inode_by_name(struct dentry *dentry)
dentry            360 fs/sysv/dir.c  	struct sysv_dir_entry *de = sysv_find_entry (dentry, &page);
dentry            364 fs/sysv/dir.c  		res = fs16_to_cpu(SYSV_SB(dentry->d_sb), de->inode);
dentry             32 fs/sysv/file.c static int sysv_setattr(struct dentry *dentry, struct iattr *attr)
dentry             34 fs/sysv/file.c 	struct inode *inode = d_inode(dentry);
dentry             37 fs/sysv/file.c 	error = setattr_prepare(dentry, attr);
dentry             88 fs/sysv/inode.c static int sysv_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry             90 fs/sysv/inode.c 	struct super_block *sb = dentry->d_sb;
dentry            447 fs/sysv/itree.c 	struct super_block *s = path->dentry->d_sb;
dentry            448 fs/sysv/itree.c 	generic_fillattr(d_inode(path->dentry), stat);
dentry             19 fs/sysv/namei.c static int add_nondir(struct dentry *dentry, struct inode *inode)
dentry             21 fs/sysv/namei.c 	int err = sysv_add_link(dentry, inode);
dentry             23 fs/sysv/namei.c 		d_instantiate(dentry, inode);
dentry             31 fs/sysv/namei.c static struct dentry *sysv_lookup(struct inode * dir, struct dentry * dentry, unsigned int flags)
dentry             36 fs/sysv/namei.c 	if (dentry->d_name.len > SYSV_NAMELEN)
dentry             38 fs/sysv/namei.c 	ino = sysv_inode_by_name(dentry);
dentry             41 fs/sysv/namei.c 	return d_splice_alias(inode, dentry);
dentry             44 fs/sysv/namei.c static int sysv_mknod(struct inode * dir, struct dentry * dentry, umode_t mode, dev_t rdev)
dentry             58 fs/sysv/namei.c 		err = add_nondir(dentry, inode);
dentry             63 fs/sysv/namei.c static int sysv_create(struct inode * dir, struct dentry * dentry, umode_t mode, bool excl)
dentry             65 fs/sysv/namei.c 	return sysv_mknod(dir, dentry, mode, 0);
dentry             68 fs/sysv/namei.c static int sysv_symlink(struct inode * dir, struct dentry * dentry, 
dentry             89 fs/sysv/namei.c 	err = add_nondir(dentry, inode);
dentry             99 fs/sysv/namei.c static int sysv_link(struct dentry * old_dentry, struct inode * dir, 
dentry            100 fs/sysv/namei.c 	struct dentry * dentry)
dentry            108 fs/sysv/namei.c 	return add_nondir(dentry, inode);
dentry            111 fs/sysv/namei.c static int sysv_mkdir(struct inode * dir, struct dentry *dentry, umode_t mode)
dentry            131 fs/sysv/namei.c 	err = sysv_add_link(dentry, inode);
dentry            135 fs/sysv/namei.c         d_instantiate(dentry, inode);
dentry            148 fs/sysv/namei.c static int sysv_unlink(struct inode * dir, struct dentry * dentry)
dentry            150 fs/sysv/namei.c 	struct inode * inode = d_inode(dentry);
dentry            155 fs/sysv/namei.c 	de = sysv_find_entry(dentry, &page);
dentry            169 fs/sysv/namei.c static int sysv_rmdir(struct inode * dir, struct dentry * dentry)
dentry            171 fs/sysv/namei.c 	struct inode *inode = d_inode(dentry);
dentry            175 fs/sysv/namei.c 		err = sysv_unlink(dir, dentry);
dentry            189 fs/sysv/namei.c static int sysv_rename(struct inode * old_dir, struct dentry * old_dentry,
dentry            190 fs/sysv/namei.c 		       struct inode * new_dir, struct dentry * new_dentry,
dentry            531 fs/sysv/super.c static struct dentry *sysv_mount(struct file_system_type *fs_type,
dentry            537 fs/sysv/super.c static struct dentry *v7_mount(struct file_system_type *fs_type,
dentry            150 fs/sysv/sysv.h extern struct sysv_dir_entry *sysv_find_entry(struct dentry *, struct page **);
dentry            151 fs/sysv/sysv.h extern int sysv_add_link(struct dentry *, struct inode *);
dentry            158 fs/sysv/sysv.h extern ino_t sysv_inode_by_name(struct dentry *);
dentry             55 fs/tracefs/inode.c static char *get_dname(struct dentry *dentry)
dentry             59 fs/tracefs/inode.c 	int len = dentry->d_name.len;
dentry             61 fs/tracefs/inode.c 	dname = dentry->d_name.name;
dentry             70 fs/tracefs/inode.c static int tracefs_syscall_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode)
dentry             75 fs/tracefs/inode.c 	name = get_dname(dentry);
dentry             93 fs/tracefs/inode.c static int tracefs_syscall_rmdir(struct inode *inode, struct dentry *dentry)
dentry             98 fs/tracefs/inode.c 	name = get_dname(dentry);
dentry            110 fs/tracefs/inode.c 	inode_unlock(dentry->d_inode);
dentry            115 fs/tracefs/inode.c 	inode_lock(dentry->d_inode);
dentry            241 fs/tracefs/inode.c static int tracefs_show_options(struct seq_file *m, struct dentry *root)
dentry            297 fs/tracefs/inode.c static struct dentry *trace_mount(struct file_system_type *fs_type,
dentry            312 fs/tracefs/inode.c static struct dentry *start_creating(const char *name, struct dentry *parent)
dentry            314 fs/tracefs/inode.c 	struct dentry *dentry;
dentry            333 fs/tracefs/inode.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            334 fs/tracefs/inode.c 	if (!IS_ERR(dentry) && dentry->d_inode) {
dentry            335 fs/tracefs/inode.c 		dput(dentry);
dentry            336 fs/tracefs/inode.c 		dentry = ERR_PTR(-EEXIST);
dentry            339 fs/tracefs/inode.c 	if (IS_ERR(dentry)) {
dentry            344 fs/tracefs/inode.c 	return dentry;
dentry            347 fs/tracefs/inode.c static struct dentry *failed_creating(struct dentry *dentry)
dentry            349 fs/tracefs/inode.c 	inode_unlock(dentry->d_parent->d_inode);
dentry            350 fs/tracefs/inode.c 	dput(dentry);
dentry            355 fs/tracefs/inode.c static struct dentry *end_creating(struct dentry *dentry)
dentry            357 fs/tracefs/inode.c 	inode_unlock(dentry->d_parent->d_inode);
dentry            358 fs/tracefs/inode.c 	return dentry;
dentry            387 fs/tracefs/inode.c struct dentry *tracefs_create_file(const char *name, umode_t mode,
dentry            388 fs/tracefs/inode.c 				   struct dentry *parent, void *data,
dentry            391 fs/tracefs/inode.c 	struct dentry *dentry;
dentry            400 fs/tracefs/inode.c 	dentry = start_creating(name, parent);
dentry            402 fs/tracefs/inode.c 	if (IS_ERR(dentry))
dentry            405 fs/tracefs/inode.c 	inode = tracefs_get_inode(dentry->d_sb);
dentry            407 fs/tracefs/inode.c 		return failed_creating(dentry);
dentry            412 fs/tracefs/inode.c 	d_instantiate(dentry, inode);
dentry            413 fs/tracefs/inode.c 	fsnotify_create(dentry->d_parent->d_inode, dentry);
dentry            414 fs/tracefs/inode.c 	return end_creating(dentry);
dentry            417 fs/tracefs/inode.c static struct dentry *__create_dir(const char *name, struct dentry *parent,
dentry            420 fs/tracefs/inode.c 	struct dentry *dentry = start_creating(name, parent);
dentry            423 fs/tracefs/inode.c 	if (IS_ERR(dentry))
dentry            426 fs/tracefs/inode.c 	inode = tracefs_get_inode(dentry->d_sb);
dentry            428 fs/tracefs/inode.c 		return failed_creating(dentry);
dentry            436 fs/tracefs/inode.c 	d_instantiate(dentry, inode);
dentry            437 fs/tracefs/inode.c 	inc_nlink(dentry->d_parent->d_inode);
dentry            438 fs/tracefs/inode.c 	fsnotify_mkdir(dentry->d_parent->d_inode, dentry);
dentry            439 fs/tracefs/inode.c 	return end_creating(dentry);
dentry            459 fs/tracefs/inode.c struct dentry *tracefs_create_dir(const char *name, struct dentry *parent)
dentry            481 fs/tracefs/inode.c __init struct dentry *tracefs_create_instance_dir(const char *name,
dentry            482 fs/tracefs/inode.c 					  struct dentry *parent,
dentry            486 fs/tracefs/inode.c 	struct dentry *dentry;
dentry            492 fs/tracefs/inode.c 	dentry = __create_dir(name, parent, &tracefs_dir_inode_operations);
dentry            493 fs/tracefs/inode.c 	if (!dentry)
dentry            499 fs/tracefs/inode.c 	return dentry;
dentry            502 fs/tracefs/inode.c static int __tracefs_remove(struct dentry *dentry, struct dentry *parent)
dentry            506 fs/tracefs/inode.c 	if (simple_positive(dentry)) {
dentry            507 fs/tracefs/inode.c 		if (dentry->d_inode) {
dentry            508 fs/tracefs/inode.c 			dget(dentry);
dentry            509 fs/tracefs/inode.c 			switch (dentry->d_inode->i_mode & S_IFMT) {
dentry            511 fs/tracefs/inode.c 				ret = simple_rmdir(parent->d_inode, dentry);
dentry            513 fs/tracefs/inode.c 					fsnotify_rmdir(parent->d_inode, dentry);
dentry            516 fs/tracefs/inode.c 				simple_unlink(parent->d_inode, dentry);
dentry            517 fs/tracefs/inode.c 				fsnotify_unlink(parent->d_inode, dentry);
dentry            521 fs/tracefs/inode.c 				d_delete(dentry);
dentry            522 fs/tracefs/inode.c 			dput(dentry);
dentry            537 fs/tracefs/inode.c void tracefs_remove(struct dentry *dentry)
dentry            539 fs/tracefs/inode.c 	struct dentry *parent;
dentry            542 fs/tracefs/inode.c 	if (IS_ERR_OR_NULL(dentry))
dentry            545 fs/tracefs/inode.c 	parent = dentry->d_parent;
dentry            547 fs/tracefs/inode.c 	ret = __tracefs_remove(dentry, parent);
dentry            561 fs/tracefs/inode.c void tracefs_remove_recursive(struct dentry *dentry)
dentry            563 fs/tracefs/inode.c 	struct dentry *child, *parent;
dentry            565 fs/tracefs/inode.c 	if (IS_ERR_OR_NULL(dentry))
dentry            568 fs/tracefs/inode.c 	parent = dentry;
dentry            611 fs/tracefs/inode.c 	if (child != dentry)
dentry           2643 fs/ubifs/debug.c static struct dentry *dfs_rootdir;
dentry           2681 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry           2737 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry           2752 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_lprops) {
dentry           2756 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_budg) {
dentry           2760 fs/ubifs/debug.c 	if (file->f_path.dentry == d->dfs_dump_tnc) {
dentry           2878 fs/ubifs/debug.c static struct dentry *dfs_chk_gen;
dentry           2879 fs/ubifs/debug.c static struct dentry *dfs_chk_index;
dentry           2880 fs/ubifs/debug.c static struct dentry *dfs_chk_orph;
dentry           2881 fs/ubifs/debug.c static struct dentry *dfs_chk_lprops;
dentry           2882 fs/ubifs/debug.c static struct dentry *dfs_chk_fs;
dentry           2883 fs/ubifs/debug.c static struct dentry *dfs_tst_rcvry;
dentry           2888 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry           2912 fs/ubifs/debug.c 	struct dentry *dent = file->f_path.dentry;
dentry            107 fs/ubifs/debug.h 	struct dentry *dfs_dir;
dentry            108 fs/ubifs/debug.h 	struct dentry *dfs_dump_lprops;
dentry            109 fs/ubifs/debug.h 	struct dentry *dfs_dump_budg;
dentry            110 fs/ubifs/debug.h 	struct dentry *dfs_dump_tnc;
dentry            111 fs/ubifs/debug.h 	struct dentry *dfs_chk_gen;
dentry            112 fs/ubifs/debug.h 	struct dentry *dfs_chk_index;
dentry            113 fs/ubifs/debug.h 	struct dentry *dfs_chk_orph;
dentry            114 fs/ubifs/debug.h 	struct dentry *dfs_chk_lprops;
dentry            115 fs/ubifs/debug.h 	struct dentry *dfs_chk_fs;
dentry            116 fs/ubifs/debug.h 	struct dentry *dfs_tst_rcvry;
dentry            117 fs/ubifs/debug.h 	struct dentry *dfs_ro_error;
dentry            199 fs/ubifs/dir.c static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry,
dentry            209 fs/ubifs/dir.c 	dbg_gen("'%pd' in dir ino %lu", dentry, dir->i_ino);
dentry            211 fs/ubifs/dir.c 	err = fscrypt_prepare_lookup(dir, dentry, &nm);
dentry            213 fs/ubifs/dir.c 		return d_splice_alias(NULL, dentry);
dentry            261 fs/ubifs/dir.c 			  dentry, err);
dentry            278 fs/ubifs/dir.c 	return d_splice_alias(inode, dentry);
dentry            281 fs/ubifs/dir.c static int ubifs_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            298 fs/ubifs/dir.c 		dentry, mode, dir->i_ino);
dentry            304 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry            316 fs/ubifs/dir.c 	err = ubifs_init_security(dir, inode, &dentry->d_name);
dentry            332 fs/ubifs/dir.c 	d_instantiate(dentry, inode);
dentry            350 fs/ubifs/dir.c static int do_tmpfile(struct inode *dir, struct dentry *dentry,
dentry            367 fs/ubifs/dir.c 		dentry, mode, dir->i_ino);
dentry            369 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry            398 fs/ubifs/dir.c 	err = ubifs_init_security(dir, inode, &dentry->d_name);
dentry            410 fs/ubifs/dir.c 		d_tmpfile(dentry, inode);
dentry            442 fs/ubifs/dir.c static int ubifs_tmpfile(struct inode *dir, struct dentry *dentry,
dentry            445 fs/ubifs/dir.c 	return do_tmpfile(dir, dentry, mode, NULL);
dentry            687 fs/ubifs/dir.c static int ubifs_link(struct dentry *old_dentry, struct inode *dir,
dentry            688 fs/ubifs/dir.c 		      struct dentry *dentry)
dentry            694 fs/ubifs/dir.c 	int err, sz_change = CALC_DENT_SIZE(dentry->d_name.len);
dentry            705 fs/ubifs/dir.c 		dentry, inode->i_ino,
dentry            710 fs/ubifs/dir.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
dentry            714 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry            744 fs/ubifs/dir.c 	d_instantiate(dentry, inode);
dentry            762 fs/ubifs/dir.c static int ubifs_unlink(struct inode *dir, struct dentry *dentry)
dentry            765 fs/ubifs/dir.c 	struct inode *inode = d_inode(dentry);
dentry            780 fs/ubifs/dir.c 		dentry, inode->i_ino,
dentry            783 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 1, &nm);
dentry            868 fs/ubifs/dir.c static int ubifs_rmdir(struct inode *dir, struct dentry *dentry)
dentry            871 fs/ubifs/dir.c 	struct inode *inode = d_inode(dentry);
dentry            883 fs/ubifs/dir.c 	dbg_gen("directory '%pd', ino %lu in dir ino %lu", dentry,
dentry            887 fs/ubifs/dir.c 	err = ubifs_check_dir_empty(d_inode(dentry));
dentry            891 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 1, &nm);
dentry            943 fs/ubifs/dir.c static int ubifs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            958 fs/ubifs/dir.c 		dentry, mode, dir->i_ino);
dentry            964 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry            976 fs/ubifs/dir.c 	err = ubifs_init_security(dir, inode, &dentry->d_name);
dentry            995 fs/ubifs/dir.c 	d_instantiate(dentry, inode);
dentry           1014 fs/ubifs/dir.c static int ubifs_mknod(struct inode *dir, struct dentry *dentry,
dentry           1033 fs/ubifs/dir.c 	dbg_gen("dent '%pd' in dir ino %lu", dentry, dir->i_ino);
dentry           1049 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry           1070 fs/ubifs/dir.c 	err = ubifs_init_security(dir, inode, &dentry->d_name);
dentry           1085 fs/ubifs/dir.c 	d_instantiate(dentry, inode);
dentry           1103 fs/ubifs/dir.c static int ubifs_symlink(struct inode *dir, struct dentry *dentry,
dentry           1117 fs/ubifs/dir.c 	dbg_gen("dent '%pd', target '%s' in dir ino %lu", dentry,
dentry           1133 fs/ubifs/dir.c 	err = fscrypt_setup_filename(dir, &dentry->d_name, 0, &nm);
dentry           1170 fs/ubifs/dir.c 	err = ubifs_init_security(dir, inode, &dentry->d_name);
dentry           1184 fs/ubifs/dir.c 	d_instantiate(dentry, inode);
dentry           1247 fs/ubifs/dir.c static int do_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1248 fs/ubifs/dir.c 		     struct inode *new_dir, struct dentry *new_dentry,
dentry           1488 fs/ubifs/dir.c static int ubifs_xrename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1489 fs/ubifs/dir.c 			struct inode *new_dir, struct dentry *new_dentry)
dentry           1543 fs/ubifs/dir.c static int ubifs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1544 fs/ubifs/dir.c 			struct inode *new_dir, struct dentry *new_dentry,
dentry           1571 fs/ubifs/dir.c 	struct inode *inode = d_inode(path->dentry);
dentry           1260 fs/ubifs/file.c int ubifs_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1263 fs/ubifs/file.c 	struct inode *inode = d_inode(dentry);
dentry           1268 fs/ubifs/file.c 	err = setattr_prepare(dentry, attr);
dentry           1276 fs/ubifs/file.c 	err = fscrypt_prepare_setattr(dentry, attr);
dentry           1617 fs/ubifs/file.c static const char *ubifs_get_link(struct dentry *dentry,
dentry           1626 fs/ubifs/file.c 	if (!dentry)
dentry            391 fs/ubifs/super.c static int ubifs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry            393 fs/ubifs/super.c 	struct ubifs_info *c = dentry->d_sb->s_fs_info;
dentry            418 fs/ubifs/super.c static int ubifs_show_options(struct seq_file *s, struct dentry *root)
dentry           2223 fs/ubifs/super.c static struct dentry *ubifs_mount(struct file_system_type *fs_type, int flags,
dentry           1991 fs/ubifs/ubifs.h int ubifs_setattr(struct dentry *dentry, struct iattr *attr);
dentry           2003 fs/ubifs/ubifs.h ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size);
dentry           2022 fs/ubifs/ubifs.h extern int ubifs_init_security(struct inode *dentry, struct inode *inode,
dentry           2025 fs/ubifs/ubifs.h static inline int ubifs_init_security(struct inode *dentry,
dentry            396 fs/ubifs/xattr.c ssize_t ubifs_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry            399 fs/ubifs/xattr.c 	struct inode *host = d_inode(dentry);
dentry            407 fs/ubifs/xattr.c 		dentry, size);
dentry            654 fs/ubifs/xattr.c int ubifs_init_security(struct inode *dentry, struct inode *inode,
dentry            659 fs/ubifs/xattr.c 	err = security_inode_init_security(inode, dentry, qstr,
dentry            662 fs/ubifs/xattr.c 		struct ubifs_info *c = dentry->i_sb->s_fs_info;
dentry            671 fs/ubifs/xattr.c 			   struct dentry *dentry, struct inode *inode,
dentry            675 fs/ubifs/xattr.c 		inode->i_ino, dentry, size);
dentry            682 fs/ubifs/xattr.c 			   struct dentry *dentry, struct inode *inode,
dentry            687 fs/ubifs/xattr.c 		name, inode->i_ino, dentry, size);
dentry            257 fs/udf/file.c  static int udf_setattr(struct dentry *dentry, struct iattr *attr)
dentry            259 fs/udf/file.c  	struct inode *inode = d_inode(dentry);
dentry            263 fs/udf/file.c  	error = setattr_prepare(dentry, attr);
dentry            296 fs/udf/namei.c static struct dentry *udf_lookup(struct inode *dir, struct dentry *dentry,
dentry            304 fs/udf/namei.c 	if (dentry->d_name.len > UDF_NAME_LEN)
dentry            307 fs/udf/namei.c 	fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi);
dentry            324 fs/udf/namei.c 	return d_splice_alias(inode, dentry);
dentry            328 fs/udf/namei.c 					   struct dentry *dentry,
dentry            353 fs/udf/namei.c 	if (dentry) {
dentry            354 fs/udf/namei.c 		if (!dentry->d_name.len) {
dentry            358 fs/udf/namei.c 		namelen = udf_put_filename(sb, dentry->d_name.name,
dentry            359 fs/udf/namei.c 					   dentry->d_name.len,
dentry            579 fs/udf/namei.c static int udf_add_nondir(struct dentry *dentry, struct inode *inode)
dentry            582 fs/udf/namei.c 	struct inode *dir = d_inode(dentry->d_parent);
dentry            587 fs/udf/namei.c 	fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err);
dentry            603 fs/udf/namei.c 	d_instantiate_new(dentry, inode);
dentry            608 fs/udf/namei.c static int udf_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            624 fs/udf/namei.c 	return udf_add_nondir(dentry, inode);
dentry            627 fs/udf/namei.c static int udf_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            641 fs/udf/namei.c 	d_tmpfile(dentry, inode);
dentry            646 fs/udf/namei.c static int udf_mknod(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry            659 fs/udf/namei.c 	return udf_add_nondir(dentry, inode);
dentry            662 fs/udf/namei.c static int udf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            695 fs/udf/namei.c 	fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err);
dentry            711 fs/udf/namei.c 	d_instantiate_new(dentry, inode);
dentry            790 fs/udf/namei.c static int udf_rmdir(struct inode *dir, struct dentry *dentry)
dentry            793 fs/udf/namei.c 	struct inode *inode = d_inode(dentry);
dentry            799 fs/udf/namei.c 	fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi);
dentry            835 fs/udf/namei.c static int udf_unlink(struct inode *dir, struct dentry *dentry)
dentry            838 fs/udf/namei.c 	struct inode *inode = d_inode(dentry);
dentry            845 fs/udf/namei.c 	fi = udf_find_entry(dir, &dentry->d_name, &fibh, &cfi);
dentry            881 fs/udf/namei.c static int udf_symlink(struct inode *dir, struct dentry *dentry,
dentry           1018 fs/udf/namei.c 	err = udf_add_nondir(dentry, inode);
dentry           1030 fs/udf/namei.c static int udf_link(struct dentry *old_dentry, struct inode *dir,
dentry           1031 fs/udf/namei.c 		    struct dentry *dentry)
dentry           1038 fs/udf/namei.c 	fi = udf_add_entry(dir, dentry, &fibh, &cfi, &err);
dentry           1061 fs/udf/namei.c 	d_instantiate(dentry, inode);
dentry           1069 fs/udf/namei.c static int udf_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1070 fs/udf/namei.c 		      struct inode *new_dir, struct dentry *new_dentry,
dentry           1213 fs/udf/namei.c static struct dentry *udf_get_parent(struct dentry *child)
dentry           1237 fs/udf/namei.c static struct dentry *udf_nfs_get_inode(struct super_block *sb, u32 block,
dentry           1260 fs/udf/namei.c static struct dentry *udf_fh_to_dentry(struct super_block *sb,
dentry           1272 fs/udf/namei.c static struct dentry *udf_fh_to_parent(struct super_block *sb,
dentry             98 fs/udf/super.c static int udf_statfs(struct dentry *, struct kstatfs *);
dentry             99 fs/udf/super.c static int udf_show_options(struct seq_file *, struct dentry *);
dentry            124 fs/udf/super.c static struct dentry *udf_mount(struct file_system_type *fs_type,
dentry            315 fs/udf/super.c static int udf_show_options(struct seq_file *seq, struct dentry *root)
dentry           2391 fs/udf/super.c static int udf_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           2393 fs/udf/super.c 	struct super_block *sb = dentry->d_sb;
dentry            158 fs/udf/symlink.c 	struct dentry *dentry = path->dentry;
dentry            159 fs/udf/symlink.c 	struct inode *inode = d_backing_inode(dentry);
dentry             73 fs/udf/udfdecl.h struct dentry;
dentry            305 fs/ufs/dir.c   int ufs_add_link(struct dentry *dentry, struct inode *inode)
dentry            307 fs/ufs/dir.c   	struct inode *dir = d_inode(dentry->d_parent);
dentry            308 fs/ufs/dir.c   	const unsigned char *name = dentry->d_name.name;
dentry            309 fs/ufs/dir.c   	int namelen = dentry->d_name.len;
dentry           1214 fs/ufs/inode.c int ufs_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1216 fs/ufs/inode.c 	struct inode *inode = d_inode(dentry);
dentry           1220 fs/ufs/inode.c 	error = setattr_prepare(dentry, attr);
dentry             38 fs/ufs/namei.c static inline int ufs_add_nondir(struct dentry *dentry, struct inode *inode)
dentry             40 fs/ufs/namei.c 	int err = ufs_add_link(dentry, inode);
dentry             42 fs/ufs/namei.c 		d_instantiate_new(dentry, inode);
dentry             50 fs/ufs/namei.c static struct dentry *ufs_lookup(struct inode * dir, struct dentry *dentry, unsigned int flags)
dentry             55 fs/ufs/namei.c 	if (dentry->d_name.len > UFS_MAXNAMLEN)
dentry             58 fs/ufs/namei.c 	ino = ufs_inode_by_name(dir, &dentry->d_name);
dentry             61 fs/ufs/namei.c 	return d_splice_alias(inode, dentry);
dentry             72 fs/ufs/namei.c static int ufs_create (struct inode * dir, struct dentry * dentry, umode_t mode,
dentry             85 fs/ufs/namei.c 	return ufs_add_nondir(dentry, inode);
dentry             88 fs/ufs/namei.c static int ufs_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t rdev)
dentry            102 fs/ufs/namei.c 		err = ufs_add_nondir(dentry, inode);
dentry            107 fs/ufs/namei.c static int ufs_symlink (struct inode * dir, struct dentry * dentry,
dentry            140 fs/ufs/namei.c 	return ufs_add_nondir(dentry, inode);
dentry            148 fs/ufs/namei.c static int ufs_link (struct dentry * old_dentry, struct inode * dir,
dentry            149 fs/ufs/namei.c 	struct dentry *dentry)
dentry            158 fs/ufs/namei.c 	error = ufs_add_link(dentry, inode);
dentry            163 fs/ufs/namei.c 		d_instantiate(dentry, inode);
dentry            167 fs/ufs/namei.c static int ufs_mkdir(struct inode * dir, struct dentry * dentry, umode_t mode)
dentry            189 fs/ufs/namei.c 	err = ufs_add_link(dentry, inode);
dentry            193 fs/ufs/namei.c 	d_instantiate_new(dentry, inode);
dentry            205 fs/ufs/namei.c static int ufs_unlink(struct inode *dir, struct dentry *dentry)
dentry            207 fs/ufs/namei.c 	struct inode * inode = d_inode(dentry);
dentry            212 fs/ufs/namei.c 	de = ufs_find_entry(dir, &dentry->d_name, &page);
dentry            227 fs/ufs/namei.c static int ufs_rmdir (struct inode * dir, struct dentry *dentry)
dentry            229 fs/ufs/namei.c 	struct inode * inode = d_inode(dentry);
dentry            233 fs/ufs/namei.c 		err = ufs_unlink(dir, dentry);
dentry            243 fs/ufs/namei.c static int ufs_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            244 fs/ufs/namei.c 		      struct inode *new_dir, struct dentry *new_dentry,
dentry            117 fs/ufs/super.c static struct dentry *ufs_fh_to_dentry(struct super_block *sb, struct fid *fid,
dentry            123 fs/ufs/super.c static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid,
dentry            129 fs/ufs/super.c static struct dentry *ufs_get_parent(struct dentry *child)
dentry           1392 fs/ufs/super.c static int ufs_show_options(struct seq_file *seq, struct dentry *root)
dentry           1412 fs/ufs/super.c static int ufs_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           1414 fs/ufs/super.c 	struct super_block *sb = dentry->d_sb;
dentry           1507 fs/ufs/super.c static struct dentry *ufs_mount(struct file_system_type *fs_type,
dentry            102 fs/ufs/ufs.h   extern int ufs_add_link (struct dentry *, struct inode *);
dentry            126 fs/ufs/ufs.h   extern int ufs_setattr(struct dentry *dentry, struct iattr *attr);
dentry             23 fs/utimes.c    	struct inode *inode = path->dentry->d_inode;
dentry             60 fs/utimes.c    	error = notify_change(path->dentry, &newattrs, &delegated_inode);
dentry            319 fs/verity/open.c int fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr)
dentry            321 fs/verity/open.c 	if (IS_VERITY(d_inode(dentry)) && (attr->ia_valid & ATTR_SIZE)) {
dentry            323 fs/verity/open.c 			 d_inode(dentry)->i_ino);
dentry            138 fs/xattr.c     __vfs_setxattr(struct dentry *dentry, struct inode *inode, const char *name,
dentry            150 fs/xattr.c     	return handler->set(handler, dentry, inode, name, value, size, flags);
dentry            170 fs/xattr.c     int __vfs_setxattr_noperm(struct dentry *dentry, const char *name,
dentry            173 fs/xattr.c     	struct inode *inode = dentry->d_inode;
dentry            181 fs/xattr.c     		error = __vfs_setxattr(dentry, inode, name, value, size, flags);
dentry            183 fs/xattr.c     			fsnotify_xattr(dentry);
dentry            184 fs/xattr.c     			security_inode_post_setxattr(dentry, name, value,
dentry            200 fs/xattr.c     				fsnotify_xattr(dentry);
dentry            209 fs/xattr.c     vfs_setxattr(struct dentry *dentry, const char *name, const void *value,
dentry            212 fs/xattr.c     	struct inode *inode = dentry->d_inode;
dentry            220 fs/xattr.c     	error = security_inode_setxattr(dentry, name, value, size, flags);
dentry            224 fs/xattr.c     	error = __vfs_setxattr_noperm(dentry, name, value, size, flags);
dentry            267 fs/xattr.c     vfs_getxattr_alloc(struct dentry *dentry, const char *name, char **xattr_value,
dentry            271 fs/xattr.c     	struct inode *inode = dentry->d_inode;
dentry            284 fs/xattr.c     	error = handler->get(handler, dentry, inode, name, NULL, 0);
dentry            295 fs/xattr.c     	error = handler->get(handler, dentry, inode, name, value, error);
dentry            301 fs/xattr.c     __vfs_getxattr(struct dentry *dentry, struct inode *inode, const char *name,
dentry            311 fs/xattr.c     	return handler->get(handler, dentry, inode, name, value, size);
dentry            316 fs/xattr.c     vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size)
dentry            318 fs/xattr.c     	struct inode *inode = dentry->d_inode;
dentry            325 fs/xattr.c     	error = security_inode_getxattr(dentry, name);
dentry            342 fs/xattr.c     	return __vfs_getxattr(dentry, inode, name, value, size);
dentry            347 fs/xattr.c     vfs_listxattr(struct dentry *dentry, char *list, size_t size)
dentry            349 fs/xattr.c     	struct inode *inode = d_inode(dentry);
dentry            352 fs/xattr.c     	error = security_inode_listxattr(dentry);
dentry            356 fs/xattr.c     		error = inode->i_op->listxattr(dentry, list, size);
dentry            367 fs/xattr.c     __vfs_removexattr(struct dentry *dentry, const char *name)
dentry            369 fs/xattr.c     	struct inode *inode = d_inode(dentry);
dentry            377 fs/xattr.c     	return handler->set(handler, dentry, inode, name, NULL, 0, XATTR_REPLACE);
dentry            382 fs/xattr.c     vfs_removexattr(struct dentry *dentry, const char *name)
dentry            384 fs/xattr.c     	struct inode *inode = dentry->d_inode;
dentry            392 fs/xattr.c     	error = security_inode_removexattr(dentry, name);
dentry            396 fs/xattr.c     	error = __vfs_removexattr(dentry, name);
dentry            399 fs/xattr.c     		fsnotify_xattr(dentry);
dentry            400 fs/xattr.c     		evm_inode_post_removexattr(dentry, name);
dentry            414 fs/xattr.c     setxattr(struct dentry *d, const char __user *name, const void __user *value,
dentry            470 fs/xattr.c     		error = setxattr(path.dentry, name, value, size, flags);
dentry            506 fs/xattr.c     		error = setxattr(f.file->f_path.dentry, name, value, size, flags);
dentry            517 fs/xattr.c     getxattr(struct dentry *d, const char __user *name, void __user *value,
dentry            566 fs/xattr.c     	error = getxattr(path.dentry, name, value, size);
dentry            596 fs/xattr.c     	error = getxattr(f.file->f_path.dentry, name, value, size);
dentry            605 fs/xattr.c     listxattr(struct dentry *d, char __user *list, size_t size)
dentry            642 fs/xattr.c     	error = listxattr(path.dentry, list, size);
dentry            671 fs/xattr.c     	error = listxattr(f.file->f_path.dentry, list, size);
dentry            680 fs/xattr.c     removexattr(struct dentry *d, const char __user *name)
dentry            705 fs/xattr.c     		error = removexattr(path.dentry, name);
dentry            738 fs/xattr.c     		error = removexattr(f.file->f_path.dentry, name);
dentry            750 fs/xattr.c     generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size)
dentry            752 fs/xattr.c     	const struct xattr_handler *handler, **handlers = dentry->d_sb->s_xattr;
dentry            758 fs/xattr.c     			    (handler->list && !handler->list(dentry)))
dentry            768 fs/xattr.c     			    (handler->list && !handler->list(dentry)))
dentry            158 fs/xfs/xfs_export.c STATIC struct dentry *
dentry            182 fs/xfs/xfs_export.c STATIC struct dentry *
dentry            206 fs/xfs/xfs_export.c STATIC struct dentry *
dentry            208 fs/xfs/xfs_export.c 	struct dentry		*child)
dentry            277 fs/xfs/xfs_filestream.c 	struct dentry		*dentry, *parent;
dentry            279 fs/xfs/xfs_filestream.c 	dentry = d_find_alias(inode);
dentry            280 fs/xfs/xfs_filestream.c 	if (!dentry)
dentry            283 fs/xfs/xfs_filestream.c 	parent = dget_parent(dentry);
dentry            291 fs/xfs/xfs_filestream.c 	dput(dentry);
dentry             73 fs/xfs/xfs_ioctl.c 		inode = d_inode(path.dentry);
dentry            131 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry)
dentry            139 fs/xfs/xfs_ioctl.c struct dentry *
dentry            171 fs/xfs/xfs_ioctl.c STATIC struct dentry *
dentry            190 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry;
dentry            197 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, hreq);
dentry            198 fs/xfs/xfs_ioctl.c 	if (IS_ERR(dentry))
dentry            199 fs/xfs/xfs_ioctl.c 		return PTR_ERR(dentry);
dentry            200 fs/xfs/xfs_ioctl.c 	inode = d_inode(dentry);
dentry            238 fs/xfs/xfs_ioctl.c 	path.dentry = dentry;
dentry            240 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry            255 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry            264 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry;
dentry            271 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, hreq);
dentry            272 fs/xfs/xfs_ioctl.c 	if (IS_ERR(dentry))
dentry            273 fs/xfs/xfs_ioctl.c 		return PTR_ERR(dentry);
dentry            276 fs/xfs/xfs_ioctl.c 	if (!d_is_symlink(dentry)) {
dentry            286 fs/xfs/xfs_ioctl.c 	error = vfs_readlink(dentry, hreq->ohandle, olen);
dentry            289 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry            333 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry;
dentry            344 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, &dmhreq.hreq);
dentry            345 fs/xfs/xfs_ioctl.c 	if (IS_ERR(dentry)) {
dentry            347 fs/xfs/xfs_ioctl.c 		return PTR_ERR(dentry);
dentry            350 fs/xfs/xfs_ioctl.c 	if (IS_IMMUTABLE(d_inode(dentry)) || IS_APPEND(d_inode(dentry))) {
dentry            360 fs/xfs/xfs_ioctl.c 	error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask,
dentry            365 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry            378 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry;
dentry            395 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, &al_hreq.hreq);
dentry            396 fs/xfs/xfs_ioctl.c 	if (IS_ERR(dentry))
dentry            397 fs/xfs/xfs_ioctl.c 		return PTR_ERR(dentry);
dentry            404 fs/xfs/xfs_ioctl.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
dentry            420 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry            504 fs/xfs/xfs_ioctl.c 	struct dentry		*dentry;
dentry            517 fs/xfs/xfs_ioctl.c 	dentry = xfs_handlereq_to_dentry(parfilp, &am_hreq.hreq);
dentry            518 fs/xfs/xfs_ioctl.c 	if (IS_ERR(dentry))
dentry            519 fs/xfs/xfs_ioctl.c 		return PTR_ERR(dentry);
dentry            551 fs/xfs/xfs_ioctl.c 					d_inode(dentry), attr_name,
dentry            560 fs/xfs/xfs_ioctl.c 					d_inode(dentry), attr_name,
dentry            570 fs/xfs/xfs_ioctl.c 					d_inode(dentry), attr_name,
dentry            586 fs/xfs/xfs_ioctl.c 	dput(dentry);
dentry             56 fs/xfs/xfs_ioctl.h extern struct dentry *
dentry            343 fs/xfs/xfs_ioctl32.c STATIC struct dentry *
dentry            361 fs/xfs/xfs_ioctl32.c 	struct dentry		*dentry;
dentry            379 fs/xfs/xfs_ioctl32.c 	dentry = xfs_compat_handlereq_to_dentry(parfilp, &al_hreq.hreq);
dentry            380 fs/xfs/xfs_ioctl32.c 	if (IS_ERR(dentry))
dentry            381 fs/xfs/xfs_ioctl32.c 		return PTR_ERR(dentry);
dentry            389 fs/xfs/xfs_ioctl32.c 	error = xfs_attr_list(XFS_I(d_inode(dentry)), kbuf, al_hreq.buflen,
dentry            405 fs/xfs/xfs_ioctl32.c 	dput(dentry);
dentry            417 fs/xfs/xfs_ioctl32.c 	struct dentry				*dentry;
dentry            431 fs/xfs/xfs_ioctl32.c 	dentry = xfs_compat_handlereq_to_dentry(parfilp, &am_hreq.hreq);
dentry            432 fs/xfs/xfs_ioctl32.c 	if (IS_ERR(dentry))
dentry            433 fs/xfs/xfs_ioctl32.c 		return PTR_ERR(dentry);
dentry            466 fs/xfs/xfs_ioctl32.c 					d_inode(dentry), attr_name,
dentry            475 fs/xfs/xfs_ioctl32.c 					d_inode(dentry), attr_name,
dentry            485 fs/xfs/xfs_ioctl32.c 					d_inode(dentry), attr_name,
dentry            501 fs/xfs/xfs_ioctl32.c 	dput(dentry);
dentry            513 fs/xfs/xfs_ioctl32.c 	struct dentry		*dentry;
dentry            521 fs/xfs/xfs_ioctl32.c 	dentry = xfs_compat_handlereq_to_dentry(parfilp, &dmhreq.hreq);
dentry            522 fs/xfs/xfs_ioctl32.c 	if (IS_ERR(dentry))
dentry            523 fs/xfs/xfs_ioctl32.c 		return PTR_ERR(dentry);
dentry            525 fs/xfs/xfs_ioctl32.c 	if (IS_IMMUTABLE(d_inode(dentry)) || IS_APPEND(d_inode(dentry))) {
dentry            535 fs/xfs/xfs_ioctl32.c 	error = xfs_set_dmattrs(XFS_I(d_inode(dentry)), fsd.fsd_dmevmask,
dentry            539 fs/xfs/xfs_ioctl32.c 	dput(dentry);
dentry             80 fs/xfs/xfs_iops.c 	struct dentry	*dentry)
dentry             82 fs/xfs/xfs_iops.c 	namep->name = dentry->d_name.name;
dentry             83 fs/xfs/xfs_iops.c 	namep->len = dentry->d_name.len;
dentry             90 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry             93 fs/xfs/xfs_iops.c 	namep->name = dentry->d_name.name;
dentry             94 fs/xfs/xfs_iops.c 	namep->len = dentry->d_name.len;
dentry            107 fs/xfs/xfs_iops.c 	struct dentry	*dentry)
dentry            116 fs/xfs/xfs_iops.c 	xfs_dentry_to_name(&teardown, dentry);
dentry            124 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            151 fs/xfs/xfs_iops.c 	error = xfs_dentry_mode_to_name(&name, dentry, mode);
dentry            165 fs/xfs/xfs_iops.c 	error = xfs_init_security(inode, dir, &dentry->d_name);
dentry            194 fs/xfs/xfs_iops.c 		d_tmpfile(dentry, inode);
dentry            196 fs/xfs/xfs_iops.c 		d_instantiate(dentry, inode);
dentry            210 fs/xfs/xfs_iops.c 		xfs_cleanup_inode(dir, inode, dentry);
dentry            218 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            222 fs/xfs/xfs_iops.c 	return xfs_generic_create(dir, dentry, mode, rdev, false);
dentry            228 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            232 fs/xfs/xfs_iops.c 	return xfs_vn_mknod(dir, dentry, mode, 0);
dentry            238 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            241 fs/xfs/xfs_iops.c 	return xfs_vn_mknod(dir, dentry, mode|S_IFDIR, 0);
dentry            244 fs/xfs/xfs_iops.c STATIC struct dentry *
dentry            247 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            255 fs/xfs/xfs_iops.c 	if (dentry->d_name.len >= MAXNAMELEN)
dentry            258 fs/xfs/xfs_iops.c 	xfs_dentry_to_name(&name, dentry);
dentry            266 fs/xfs/xfs_iops.c 	return d_splice_alias(inode, dentry);
dentry            269 fs/xfs/xfs_iops.c STATIC struct dentry *
dentry            272 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            281 fs/xfs/xfs_iops.c 	if (dentry->d_name.len >= MAXNAMELEN)
dentry            284 fs/xfs/xfs_iops.c 	xfs_dentry_to_name(&xname, dentry);
dentry            299 fs/xfs/xfs_iops.c 		return d_splice_alias(VFS_I(ip), dentry);
dentry            304 fs/xfs/xfs_iops.c 	dentry = d_add_ci(dentry, VFS_I(ip), &dname);
dentry            306 fs/xfs/xfs_iops.c 	return dentry;
dentry            311 fs/xfs/xfs_iops.c 	struct dentry	*old_dentry,
dentry            313 fs/xfs/xfs_iops.c 	struct dentry	*dentry)
dentry            319 fs/xfs/xfs_iops.c 	error = xfs_dentry_mode_to_name(&name, dentry, inode->i_mode);
dentry            328 fs/xfs/xfs_iops.c 	d_instantiate(dentry, inode);
dentry            335 fs/xfs/xfs_iops.c 	struct dentry	*dentry)
dentry            340 fs/xfs/xfs_iops.c 	xfs_dentry_to_name(&name, dentry);
dentry            342 fs/xfs/xfs_iops.c 	error = xfs_remove(XFS_I(dir), &name, XFS_I(d_inode(dentry)));
dentry            352 fs/xfs/xfs_iops.c 		d_invalidate(dentry);
dentry            359 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            370 fs/xfs/xfs_iops.c 	error = xfs_dentry_mode_to_name(&name, dentry, mode);
dentry            380 fs/xfs/xfs_iops.c 	error = xfs_init_security(inode, dir, &dentry->d_name);
dentry            386 fs/xfs/xfs_iops.c 	d_instantiate(dentry, inode);
dentry            392 fs/xfs/xfs_iops.c 	xfs_cleanup_inode(dir, inode, dentry);
dentry            401 fs/xfs/xfs_iops.c 	struct dentry	*odentry,
dentry            403 fs/xfs/xfs_iops.c 	struct dentry	*ndentry,
dentry            440 fs/xfs/xfs_iops.c 	struct dentry		*dentry,
dentry            447 fs/xfs/xfs_iops.c 	if (!dentry)
dentry            454 fs/xfs/xfs_iops.c 	error = xfs_readlink(XFS_I(d_inode(dentry)), link);
dentry            469 fs/xfs/xfs_iops.c 	struct dentry		*dentry,
dentry            494 fs/xfs/xfs_iops.c 	struct inode		*inode = d_inode(path->dentry);
dentry            596 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry            599 fs/xfs/xfs_iops.c 	struct xfs_mount	*mp = XFS_I(d_inode(dentry))->i_mount;
dentry            607 fs/xfs/xfs_iops.c 	return setattr_prepare(dentry, iattr);
dentry            805 fs/xfs/xfs_iops.c 	struct dentry		*dentry,
dentry            808 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
dentry            813 fs/xfs/xfs_iops.c 	error = xfs_vn_change_ok(dentry, iattr);
dentry           1017 fs/xfs/xfs_iops.c 	struct dentry		*dentry,
dentry           1020 fs/xfs/xfs_iops.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
dentry           1025 fs/xfs/xfs_iops.c 	error = xfs_vn_change_ok(dentry, iattr);
dentry           1033 fs/xfs/xfs_iops.c 	struct dentry		*dentry,
dentry           1039 fs/xfs/xfs_iops.c 		struct inode		*inode = d_inode(dentry);
dentry           1052 fs/xfs/xfs_iops.c 		error = xfs_vn_setattr_size(dentry, iattr);
dentry           1055 fs/xfs/xfs_iops.c 		error = xfs_vn_setattr_nonsize(dentry, iattr);
dentry           1127 fs/xfs/xfs_iops.c 	struct dentry	*dentry,
dentry           1130 fs/xfs/xfs_iops.c 	return xfs_generic_create(dir, dentry, mode, 0, true);
dentry             14 fs/xfs/xfs_iops.h extern ssize_t xfs_vn_listxattr(struct dentry *, char *data, size_t size);
dentry             24 fs/xfs/xfs_iops.h extern int xfs_vn_setattr_nonsize(struct dentry *dentry, struct iattr *vap);
dentry             25 fs/xfs/xfs_iops.h extern int xfs_vn_setattr_size(struct dentry *dentry, struct iattr *vap);
dentry           1078 fs/xfs/xfs_super.c 	struct dentry		*dentry,
dentry           1081 fs/xfs/xfs_super.c 	struct xfs_mount	*mp = XFS_M(dentry->d_sb);
dentry           1083 fs/xfs/xfs_super.c 	struct xfs_inode	*ip = XFS_I(d_inode(dentry));
dentry           1416 fs/xfs/xfs_super.c 	struct dentry		*root)
dentry           1799 fs/xfs/xfs_super.c STATIC struct dentry *
dentry             20 fs/xfs/xfs_xattr.c xfs_xattr_get(const struct xattr_handler *handler, struct dentry *unused,
dentry             62 fs/xfs/xfs_xattr.c xfs_xattr_set(const struct xattr_handler *handler, struct dentry *unused,
dentry            211 fs/xfs/xfs_xattr.c 	struct dentry	*dentry,
dentry            217 fs/xfs/xfs_xattr.c 	struct inode	*inode = d_inode(dentry);
dentry           1350 include/drm/drm_connector.h 	struct dentry *debugfs_entry;
dentry           1070 include/drm/drm_crtc.h 	struct dentry *debugfs_entry;
dentry             79 include/drm/drm_debugfs.h 	struct dentry *dent;
dentry             84 include/drm/drm_debugfs.h 			     int count, struct dentry *root,
dentry             90 include/drm/drm_debugfs.h 					   int count, struct dentry *root,
dentry             76 include/drm/drm_file.h 	struct dentry *debugfs_root;
dentry            271 include/linux/audit.h extern void __audit_inode(struct filename *name, const struct dentry *dentry,
dentry            275 include/linux/audit.h 				const struct dentry *dentry,
dentry            330 include/linux/audit.h 				const struct dentry *dentry,
dentry            333 include/linux/audit.h 		__audit_inode(name, dentry, aflags);
dentry            341 include/linux/audit.h 						const struct dentry *dentry)
dentry            344 include/linux/audit.h 		__audit_inode(name, dentry,
dentry            348 include/linux/audit.h 				     const struct dentry *dentry,
dentry            351 include/linux/audit.h 		__audit_inode_child(parent, dentry, type);
dentry            548 include/linux/audit.h 					const struct dentry *dentry,
dentry            552 include/linux/audit.h 					const struct dentry *dentry,
dentry            556 include/linux/audit.h 				const struct dentry *dentry,
dentry            563 include/linux/audit.h 				const struct dentry *dentry)
dentry            566 include/linux/audit.h 				     const struct dentry *dentry,
dentry             19 include/linux/backing-dev-defs.h struct dentry;
dentry            229 include/linux/backing-dev-defs.h 	struct dentry *debug_dir;
dentry             69 include/linux/blk-mq.h 	struct dentry		*debugfs_dir;
dentry             70 include/linux/blk-mq.h 	struct dentry		*sched_debugfs_dir;
dentry            580 include/linux/blkdev.h 	struct dentry		*debugfs_dir;
dentry            581 include/linux/blkdev.h 	struct dentry		*sched_debugfs_dir;
dentry            582 include/linux/blkdev.h 	struct dentry		*rqos_debugfs_dir;
dentry             25 include/linux/blktrace_api.h 	struct dentry *dir;
dentry             26 include/linux/blktrace_api.h 	struct dentry *dropped_file;
dentry             27 include/linux/blktrace_api.h 	struct dentry *msg_file;
dentry             42 include/linux/capability.h struct dentry;
dentry            256 include/linux/capability.h extern int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps);
dentry            258 include/linux/capability.h extern int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size);
dentry            141 include/linux/ceph/libceph.h 	struct dentry *debugfs_dir;
dentry            142 include/linux/ceph/libceph.h 	struct dentry *debugfs_monmap;
dentry            143 include/linux/ceph/libceph.h 	struct dentry *debugfs_osdmap;
dentry            144 include/linux/ceph/libceph.h 	struct dentry *debugfs_options;
dentry            103 include/linux/ceph/mon_client.h 	struct dentry *debugfs_file;
dentry            361 include/linux/ceph/osd_client.h 	struct dentry 	       *debugfs_file;
dentry            105 include/linux/cgroup.h struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry,
dentry            120 include/linux/cgroup.h int cgroupstats_build(struct cgroupstats *stats, struct dentry *dentry);
dentry            709 include/linux/cgroup.h 				    struct dentry *dentry) { return -EINVAL; }
dentry             39 include/linux/clk-provider.h struct dentry;
dentry            247 include/linux/clk-provider.h 	void		(*debug_init)(struct clk_hw *hw, struct dentry *dentry);
dentry             48 include/linux/configfs.h 	struct dentry		*ci_dentry;
dentry             94 include/linux/dcache.h 	struct dentry *d_parent;	/* parent directory */
dentry            136 include/linux/dcache.h 	int (*d_revalidate)(struct dentry *, unsigned int);
dentry            137 include/linux/dcache.h 	int (*d_weak_revalidate)(struct dentry *, unsigned int);
dentry            138 include/linux/dcache.h 	int (*d_hash)(const struct dentry *, struct qstr *);
dentry            139 include/linux/dcache.h 	int (*d_compare)(const struct dentry *,
dentry            141 include/linux/dcache.h 	int (*d_delete)(const struct dentry *);
dentry            142 include/linux/dcache.h 	int (*d_init)(struct dentry *);
dentry            143 include/linux/dcache.h 	void (*d_release)(struct dentry *);
dentry            144 include/linux/dcache.h 	void (*d_prune)(struct dentry *);
dentry            145 include/linux/dcache.h 	void (*d_iput)(struct dentry *, struct inode *);
dentry            146 include/linux/dcache.h 	char *(*d_dname)(struct dentry *, char *, int);
dentry            149 include/linux/dcache.h 	struct dentry *(*d_real)(struct dentry *, const struct inode *);
dentry            226 include/linux/dcache.h extern void d_instantiate(struct dentry *, struct inode *);
dentry            227 include/linux/dcache.h extern void d_instantiate_new(struct dentry *, struct inode *);
dentry            228 include/linux/dcache.h extern struct dentry * d_instantiate_unique(struct dentry *, struct inode *);
dentry            229 include/linux/dcache.h extern struct dentry * d_instantiate_anon(struct dentry *, struct inode *);
dentry            230 include/linux/dcache.h extern void __d_drop(struct dentry *dentry);
dentry            231 include/linux/dcache.h extern void d_drop(struct dentry *dentry);
dentry            232 include/linux/dcache.h extern void d_delete(struct dentry *);
dentry            233 include/linux/dcache.h extern void d_set_d_op(struct dentry *dentry, const struct dentry_operations *op);
dentry            236 include/linux/dcache.h extern struct dentry * d_alloc(struct dentry *, const struct qstr *);
dentry            237 include/linux/dcache.h extern struct dentry * d_alloc_anon(struct super_block *);
dentry            238 include/linux/dcache.h extern struct dentry * d_alloc_parallel(struct dentry *, const struct qstr *,
dentry            240 include/linux/dcache.h extern struct dentry * d_splice_alias(struct inode *, struct dentry *);
dentry            241 include/linux/dcache.h extern struct dentry * d_add_ci(struct dentry *, struct inode *, struct qstr *);
dentry            242 include/linux/dcache.h extern struct dentry * d_exact_alias(struct dentry *, struct inode *);
dentry            243 include/linux/dcache.h extern struct dentry *d_find_any_alias(struct inode *inode);
dentry            244 include/linux/dcache.h extern struct dentry * d_obtain_alias(struct inode *);
dentry            245 include/linux/dcache.h extern struct dentry * d_obtain_root(struct inode *);
dentry            247 include/linux/dcache.h extern void shrink_dcache_parent(struct dentry *);
dentry            249 include/linux/dcache.h extern void d_invalidate(struct dentry *);
dentry            252 include/linux/dcache.h extern struct dentry * d_make_root(struct inode *);
dentry            255 include/linux/dcache.h extern void d_genocide(struct dentry *);
dentry            257 include/linux/dcache.h extern void d_tmpfile(struct dentry *, struct inode *);
dentry            259 include/linux/dcache.h extern struct dentry *d_find_alias(struct inode *);
dentry            268 include/linux/dcache.h extern void d_rehash(struct dentry *);
dentry            270 include/linux/dcache.h extern void d_add(struct dentry *, struct inode *);
dentry            273 include/linux/dcache.h extern void d_move(struct dentry *, struct dentry *);
dentry            274 include/linux/dcache.h extern void d_exchange(struct dentry *, struct dentry *);
dentry            275 include/linux/dcache.h extern struct dentry *d_ancestor(struct dentry *, struct dentry *);
dentry            278 include/linux/dcache.h extern struct dentry *d_lookup(const struct dentry *, const struct qstr *);
dentry            279 include/linux/dcache.h extern struct dentry *d_hash_and_lookup(struct dentry *, struct qstr *);
dentry            280 include/linux/dcache.h extern struct dentry *__d_lookup(const struct dentry *, const struct qstr *);
dentry            281 include/linux/dcache.h extern struct dentry *__d_lookup_rcu(const struct dentry *parent,
dentry            284 include/linux/dcache.h static inline unsigned d_count(const struct dentry *dentry)
dentry            286 include/linux/dcache.h 	return dentry->d_lockref.count;
dentry            293 include/linux/dcache.h char *dynamic_dname(struct dentry *, char *, int, const char *, ...);
dentry            298 include/linux/dcache.h extern char *dentry_path_raw(struct dentry *, char *, int);
dentry            299 include/linux/dcache.h extern char *dentry_path(struct dentry *, char *, int);
dentry            311 include/linux/dcache.h static inline struct dentry *dget_dlock(struct dentry *dentry)
dentry            313 include/linux/dcache.h 	if (dentry)
dentry            314 include/linux/dcache.h 		dentry->d_lockref.count++;
dentry            315 include/linux/dcache.h 	return dentry;
dentry            318 include/linux/dcache.h static inline struct dentry *dget(struct dentry *dentry)
dentry            320 include/linux/dcache.h 	if (dentry)
dentry            321 include/linux/dcache.h 		lockref_get(&dentry->d_lockref);
dentry            322 include/linux/dcache.h 	return dentry;
dentry            325 include/linux/dcache.h extern struct dentry *dget_parent(struct dentry *dentry);
dentry            334 include/linux/dcache.h static inline int d_unhashed(const struct dentry *dentry)
dentry            336 include/linux/dcache.h 	return hlist_bl_unhashed(&dentry->d_hash);
dentry            339 include/linux/dcache.h static inline int d_unlinked(const struct dentry *dentry)
dentry            341 include/linux/dcache.h 	return d_unhashed(dentry) && !IS_ROOT(dentry);
dentry            344 include/linux/dcache.h static inline int cant_mount(const struct dentry *dentry)
dentry            346 include/linux/dcache.h 	return (dentry->d_flags & DCACHE_CANT_MOUNT);
dentry            349 include/linux/dcache.h static inline void dont_mount(struct dentry *dentry)
dentry            351 include/linux/dcache.h 	spin_lock(&dentry->d_lock);
dentry            352 include/linux/dcache.h 	dentry->d_flags |= DCACHE_CANT_MOUNT;
dentry            353 include/linux/dcache.h 	spin_unlock(&dentry->d_lock);
dentry            356 include/linux/dcache.h extern void __d_lookup_done(struct dentry *);
dentry            358 include/linux/dcache.h static inline int d_in_lookup(const struct dentry *dentry)
dentry            360 include/linux/dcache.h 	return dentry->d_flags & DCACHE_PAR_LOOKUP;
dentry            363 include/linux/dcache.h static inline void d_lookup_done(struct dentry *dentry)
dentry            365 include/linux/dcache.h 	if (unlikely(d_in_lookup(dentry))) {
dentry            366 include/linux/dcache.h 		spin_lock(&dentry->d_lock);
dentry            367 include/linux/dcache.h 		__d_lookup_done(dentry);
dentry            368 include/linux/dcache.h 		spin_unlock(&dentry->d_lock);
dentry            372 include/linux/dcache.h extern void dput(struct dentry *);
dentry            374 include/linux/dcache.h static inline bool d_managed(const struct dentry *dentry)
dentry            376 include/linux/dcache.h 	return dentry->d_flags & DCACHE_MANAGED_DENTRY;
dentry            379 include/linux/dcache.h static inline bool d_mountpoint(const struct dentry *dentry)
dentry            381 include/linux/dcache.h 	return dentry->d_flags & DCACHE_MOUNTED;
dentry            387 include/linux/dcache.h static inline unsigned __d_entry_type(const struct dentry *dentry)
dentry            389 include/linux/dcache.h 	return dentry->d_flags & DCACHE_ENTRY_TYPE;
dentry            392 include/linux/dcache.h static inline bool d_is_miss(const struct dentry *dentry)
dentry            394 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_MISS_TYPE;
dentry            397 include/linux/dcache.h static inline bool d_is_whiteout(const struct dentry *dentry)
dentry            399 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_WHITEOUT_TYPE;
dentry            402 include/linux/dcache.h static inline bool d_can_lookup(const struct dentry *dentry)
dentry            404 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_DIRECTORY_TYPE;
dentry            407 include/linux/dcache.h static inline bool d_is_autodir(const struct dentry *dentry)
dentry            409 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_AUTODIR_TYPE;
dentry            412 include/linux/dcache.h static inline bool d_is_dir(const struct dentry *dentry)
dentry            414 include/linux/dcache.h 	return d_can_lookup(dentry) || d_is_autodir(dentry);
dentry            417 include/linux/dcache.h static inline bool d_is_symlink(const struct dentry *dentry)
dentry            419 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_SYMLINK_TYPE;
dentry            422 include/linux/dcache.h static inline bool d_is_reg(const struct dentry *dentry)
dentry            424 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_REGULAR_TYPE;
dentry            427 include/linux/dcache.h static inline bool d_is_special(const struct dentry *dentry)
dentry            429 include/linux/dcache.h 	return __d_entry_type(dentry) == DCACHE_SPECIAL_TYPE;
dentry            432 include/linux/dcache.h static inline bool d_is_file(const struct dentry *dentry)
dentry            434 include/linux/dcache.h 	return d_is_reg(dentry) || d_is_special(dentry);
dentry            437 include/linux/dcache.h static inline bool d_is_negative(const struct dentry *dentry)
dentry            440 include/linux/dcache.h 	return d_is_miss(dentry);
dentry            443 include/linux/dcache.h static inline bool d_is_positive(const struct dentry *dentry)
dentry            445 include/linux/dcache.h 	return !d_is_negative(dentry);
dentry            463 include/linux/dcache.h static inline bool d_really_is_negative(const struct dentry *dentry)
dentry            465 include/linux/dcache.h 	return dentry->d_inode == NULL;
dentry            481 include/linux/dcache.h static inline bool d_really_is_positive(const struct dentry *dentry)
dentry            483 include/linux/dcache.h 	return dentry->d_inode != NULL;
dentry            486 include/linux/dcache.h static inline int simple_positive(const struct dentry *dentry)
dentry            488 include/linux/dcache.h 	return d_really_is_positive(dentry) && !d_unhashed(dentry);
dentry            491 include/linux/dcache.h extern void d_set_fallthru(struct dentry *dentry);
dentry            493 include/linux/dcache.h static inline bool d_is_fallthru(const struct dentry *dentry)
dentry            495 include/linux/dcache.h 	return dentry->d_flags & DCACHE_FALLTHRU;
dentry            513 include/linux/dcache.h static inline struct inode *d_inode(const struct dentry *dentry)
dentry            515 include/linux/dcache.h 	return dentry->d_inode;
dentry            525 include/linux/dcache.h static inline struct inode *d_inode_rcu(const struct dentry *dentry)
dentry            527 include/linux/dcache.h 	return READ_ONCE(dentry->d_inode);
dentry            540 include/linux/dcache.h static inline struct inode *d_backing_inode(const struct dentry *upper)
dentry            557 include/linux/dcache.h static inline struct dentry *d_backing_dentry(struct dentry *upper)
dentry            572 include/linux/dcache.h static inline struct dentry *d_real(struct dentry *dentry,
dentry            575 include/linux/dcache.h 	if (unlikely(dentry->d_flags & DCACHE_OP_REAL))
dentry            576 include/linux/dcache.h 		return dentry->d_op->d_real(dentry, inode);
dentry            578 include/linux/dcache.h 		return dentry;
dentry            588 include/linux/dcache.h static inline struct inode *d_real_inode(const struct dentry *dentry)
dentry            591 include/linux/dcache.h 	return d_backing_inode(d_real((struct dentry *) dentry, NULL));
dentry            598 include/linux/dcache.h void take_dentry_name_snapshot(struct name_snapshot *, struct dentry *);
dentry             40 include/linux/debugfs.h extern struct dentry *arch_debugfs_dir;
dentry             59 include/linux/debugfs.h struct dentry *debugfs_lookup(const char *name, struct dentry *parent);
dentry             61 include/linux/debugfs.h struct dentry *debugfs_create_file(const char *name, umode_t mode,
dentry             62 include/linux/debugfs.h 				   struct dentry *parent, void *data,
dentry             64 include/linux/debugfs.h struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode,
dentry             65 include/linux/debugfs.h 				   struct dentry *parent, void *data,
dentry             68 include/linux/debugfs.h struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
dentry             69 include/linux/debugfs.h 					struct dentry *parent, void *data,
dentry             73 include/linux/debugfs.h struct dentry *debugfs_create_dir(const char *name, struct dentry *parent);
dentry             75 include/linux/debugfs.h struct dentry *debugfs_create_symlink(const char *name, struct dentry *parent,
dentry             79 include/linux/debugfs.h struct dentry *debugfs_create_automount(const char *name,
dentry             80 include/linux/debugfs.h 					struct dentry *parent,
dentry             84 include/linux/debugfs.h void debugfs_remove(struct dentry *dentry);
dentry             85 include/linux/debugfs.h void debugfs_remove_recursive(struct dentry *dentry);
dentry             89 include/linux/debugfs.h int debugfs_file_get(struct dentry *dentry);
dentry             90 include/linux/debugfs.h void debugfs_file_put(struct dentry *dentry);
dentry             97 include/linux/debugfs.h struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
dentry             98 include/linux/debugfs.h                 struct dentry *new_dir, const char *new_name);
dentry            100 include/linux/debugfs.h struct dentry *debugfs_create_u8(const char *name, umode_t mode,
dentry            101 include/linux/debugfs.h 				 struct dentry *parent, u8 *value);
dentry            102 include/linux/debugfs.h struct dentry *debugfs_create_u16(const char *name, umode_t mode,
dentry            103 include/linux/debugfs.h 				  struct dentry *parent, u16 *value);
dentry            104 include/linux/debugfs.h struct dentry *debugfs_create_u32(const char *name, umode_t mode,
dentry            105 include/linux/debugfs.h 				  struct dentry *parent, u32 *value);
dentry            106 include/linux/debugfs.h struct dentry *debugfs_create_u64(const char *name, umode_t mode,
dentry            107 include/linux/debugfs.h 				  struct dentry *parent, u64 *value);
dentry            108 include/linux/debugfs.h struct dentry *debugfs_create_ulong(const char *name, umode_t mode,
dentry            109 include/linux/debugfs.h 				    struct dentry *parent, unsigned long *value);
dentry            110 include/linux/debugfs.h struct dentry *debugfs_create_x8(const char *name, umode_t mode,
dentry            111 include/linux/debugfs.h 				 struct dentry *parent, u8 *value);
dentry            112 include/linux/debugfs.h struct dentry *debugfs_create_x16(const char *name, umode_t mode,
dentry            113 include/linux/debugfs.h 				  struct dentry *parent, u16 *value);
dentry            114 include/linux/debugfs.h struct dentry *debugfs_create_x32(const char *name, umode_t mode,
dentry            115 include/linux/debugfs.h 				  struct dentry *parent, u32 *value);
dentry            116 include/linux/debugfs.h struct dentry *debugfs_create_x64(const char *name, umode_t mode,
dentry            117 include/linux/debugfs.h 				  struct dentry *parent, u64 *value);
dentry            118 include/linux/debugfs.h struct dentry *debugfs_create_size_t(const char *name, umode_t mode,
dentry            119 include/linux/debugfs.h 				     struct dentry *parent, size_t *value);
dentry            120 include/linux/debugfs.h struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode,
dentry            121 include/linux/debugfs.h 				     struct dentry *parent, atomic_t *value);
dentry            122 include/linux/debugfs.h struct dentry *debugfs_create_bool(const char *name, umode_t mode,
dentry            123 include/linux/debugfs.h 				  struct dentry *parent, bool *value);
dentry            125 include/linux/debugfs.h struct dentry *debugfs_create_blob(const char *name, umode_t mode,
dentry            126 include/linux/debugfs.h 				  struct dentry *parent,
dentry            129 include/linux/debugfs.h struct dentry *debugfs_create_regset32(const char *name, umode_t mode,
dentry            130 include/linux/debugfs.h 				     struct dentry *parent,
dentry            137 include/linux/debugfs.h 			      struct dentry *parent, u32 *array, u32 elements);
dentry            139 include/linux/debugfs.h struct dentry *debugfs_create_devm_seqfile(struct device *dev, const char *name,
dentry            140 include/linux/debugfs.h 					   struct dentry *parent,
dentry            162 include/linux/debugfs.h static inline struct dentry *debugfs_lookup(const char *name,
dentry            163 include/linux/debugfs.h 					    struct dentry *parent)
dentry            168 include/linux/debugfs.h static inline struct dentry *debugfs_create_file(const char *name, umode_t mode,
dentry            169 include/linux/debugfs.h 					struct dentry *parent, void *data,
dentry            175 include/linux/debugfs.h static inline struct dentry *debugfs_create_file_unsafe(const char *name,
dentry            176 include/linux/debugfs.h 					umode_t mode, struct dentry *parent,
dentry            183 include/linux/debugfs.h static inline struct dentry *debugfs_create_file_size(const char *name, umode_t mode,
dentry            184 include/linux/debugfs.h 					struct dentry *parent, void *data,
dentry            191 include/linux/debugfs.h static inline struct dentry *debugfs_create_dir(const char *name,
dentry            192 include/linux/debugfs.h 						struct dentry *parent)
dentry            197 include/linux/debugfs.h static inline struct dentry *debugfs_create_symlink(const char *name,
dentry            198 include/linux/debugfs.h 						    struct dentry *parent,
dentry            204 include/linux/debugfs.h static inline struct dentry *debugfs_create_automount(const char *name,
dentry            205 include/linux/debugfs.h 					struct dentry *parent,
dentry            212 include/linux/debugfs.h static inline void debugfs_remove(struct dentry *dentry)
dentry            215 include/linux/debugfs.h static inline void debugfs_remove_recursive(struct dentry *dentry)
dentry            220 include/linux/debugfs.h static inline int debugfs_file_get(struct dentry *dentry)
dentry            225 include/linux/debugfs.h static inline void debugfs_file_put(struct dentry *dentry)
dentry            241 include/linux/debugfs.h static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
dentry            242 include/linux/debugfs.h                 struct dentry *new_dir, char *new_name)
dentry            247 include/linux/debugfs.h static inline struct dentry *debugfs_create_u8(const char *name, umode_t mode,
dentry            248 include/linux/debugfs.h 					       struct dentry *parent,
dentry            254 include/linux/debugfs.h static inline struct dentry *debugfs_create_u16(const char *name, umode_t mode,
dentry            255 include/linux/debugfs.h 						struct dentry *parent,
dentry            261 include/linux/debugfs.h static inline struct dentry *debugfs_create_u32(const char *name, umode_t mode,
dentry            262 include/linux/debugfs.h 						struct dentry *parent,
dentry            268 include/linux/debugfs.h static inline struct dentry *debugfs_create_u64(const char *name, umode_t mode,
dentry            269 include/linux/debugfs.h 						struct dentry *parent,
dentry            275 include/linux/debugfs.h static inline struct dentry *debugfs_create_ulong(const char *name,
dentry            277 include/linux/debugfs.h 						struct dentry *parent,
dentry            283 include/linux/debugfs.h static inline struct dentry *debugfs_create_x8(const char *name, umode_t mode,
dentry            284 include/linux/debugfs.h 					       struct dentry *parent,
dentry            290 include/linux/debugfs.h static inline struct dentry *debugfs_create_x16(const char *name, umode_t mode,
dentry            291 include/linux/debugfs.h 						struct dentry *parent,
dentry            297 include/linux/debugfs.h static inline struct dentry *debugfs_create_x32(const char *name, umode_t mode,
dentry            298 include/linux/debugfs.h 						struct dentry *parent,
dentry            304 include/linux/debugfs.h static inline struct dentry *debugfs_create_x64(const char *name, umode_t mode,
dentry            305 include/linux/debugfs.h 						struct dentry *parent,
dentry            311 include/linux/debugfs.h static inline struct dentry *debugfs_create_size_t(const char *name, umode_t mode,
dentry            312 include/linux/debugfs.h 				     struct dentry *parent,
dentry            318 include/linux/debugfs.h static inline struct dentry *debugfs_create_atomic_t(const char *name, umode_t mode,
dentry            319 include/linux/debugfs.h 				     struct dentry *parent, atomic_t *value)
dentry            324 include/linux/debugfs.h static inline struct dentry *debugfs_create_bool(const char *name, umode_t mode,
dentry            325 include/linux/debugfs.h 						 struct dentry *parent,
dentry            331 include/linux/debugfs.h static inline struct dentry *debugfs_create_blob(const char *name, umode_t mode,
dentry            332 include/linux/debugfs.h 				  struct dentry *parent,
dentry            338 include/linux/debugfs.h static inline struct dentry *debugfs_create_regset32(const char *name,
dentry            339 include/linux/debugfs.h 				   umode_t mode, struct dentry *parent,
dentry            356 include/linux/debugfs.h 					    struct dentry *parent, u32 *array,
dentry            361 include/linux/debugfs.h static inline struct dentry *debugfs_create_devm_seqfile(struct device *dev,
dentry            363 include/linux/debugfs.h 							 struct dentry *parent,
dentry             27 include/linux/devpts_fs.h struct dentry *devpts_pty_new(struct pts_fs_info *, int, void *);
dentry             29 include/linux/devpts_fs.h void *devpts_get_priv(struct dentry *);
dentry             31 include/linux/devpts_fs.h void devpts_pty_kill(struct dentry *);
dentry            667 include/linux/edac.h 	struct dentry *debugfs;
dentry             19 include/linux/evm.h extern enum integrity_status evm_verifyxattr(struct dentry *dentry,
dentry             24 include/linux/evm.h extern int evm_inode_setattr(struct dentry *dentry, struct iattr *attr);
dentry             25 include/linux/evm.h extern void evm_inode_post_setattr(struct dentry *dentry, int ia_valid);
dentry             26 include/linux/evm.h extern int evm_inode_setxattr(struct dentry *dentry, const char *name,
dentry             28 include/linux/evm.h extern void evm_inode_post_setxattr(struct dentry *dentry,
dentry             32 include/linux/evm.h extern int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name);
dentry             33 include/linux/evm.h extern void evm_inode_post_removexattr(struct dentry *dentry,
dentry             54 include/linux/evm.h static inline enum integrity_status evm_verifyxattr(struct dentry *dentry,
dentry             64 include/linux/evm.h static inline int evm_inode_setattr(struct dentry *dentry, struct iattr *attr)
dentry             69 include/linux/evm.h static inline void evm_inode_post_setattr(struct dentry *dentry, int ia_valid)
dentry             74 include/linux/evm.h static inline int evm_inode_setxattr(struct dentry *dentry, const char *name,
dentry             80 include/linux/evm.h static inline void evm_inode_post_setxattr(struct dentry *dentry,
dentry             88 include/linux/evm.h static inline int evm_inode_removexattr(struct dentry *dentry,
dentry             94 include/linux/evm.h static inline void evm_inode_post_removexattr(struct dentry *dentry,
dentry              7 include/linux/exportfs.h struct dentry;
dentry            196 include/linux/exportfs.h 	struct dentry * (*fh_to_dentry)(struct super_block *sb, struct fid *fid,
dentry            198 include/linux/exportfs.h 	struct dentry * (*fh_to_parent)(struct super_block *sb, struct fid *fid,
dentry            200 include/linux/exportfs.h 	int (*get_name)(struct dentry *parent, char *name,
dentry            201 include/linux/exportfs.h 			struct dentry *child);
dentry            202 include/linux/exportfs.h 	struct dentry * (*get_parent)(struct dentry *child);
dentry            215 include/linux/exportfs.h extern int exportfs_encode_fh(struct dentry *dentry, struct fid *fid,
dentry            217 include/linux/exportfs.h extern struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
dentry            218 include/linux/exportfs.h 	int fh_len, int fileid_type, int (*acceptable)(void *, struct dentry *),
dentry            224 include/linux/exportfs.h extern struct dentry *generic_fh_to_dentry(struct super_block *sb,
dentry            227 include/linux/exportfs.h extern struct dentry *generic_fh_to_parent(struct super_block *sb,
dentry            539 include/linux/f2fs_fs.h 	struct f2fs_dir_entry dentry[NR_DENTRY_IN_BLOCK];
dentry             31 include/linux/fault-inject.h 	struct dentry *dname;
dentry             50 include/linux/fault-inject.h struct dentry *fault_create_debugfs_attr(const char *name,
dentry             51 include/linux/fault-inject.h 			struct dentry *parent, struct fault_attr *attr);
dentry             55 include/linux/fault-inject.h static inline struct dentry *fault_create_debugfs_attr(const char *name,
dentry             56 include/linux/fault-inject.h 			struct dentry *parent, struct fault_attr *attr)
dentry             71 include/linux/fdtable.h struct dentry;
dentry             20 include/linux/file.h struct dentry;
dentry           1322 include/linux/fs.h static inline struct dentry *file_dentry(const struct file *file)
dentry           1324 include/linux/fs.h 	return d_real(file->f_path.dentry, file_inode(file));
dentry           1439 include/linux/fs.h 	struct dentry		*s_root;
dentry           1712 include/linux/fs.h extern int vfs_create(struct inode *, struct dentry *, umode_t, bool);
dentry           1713 include/linux/fs.h extern int vfs_mkdir(struct inode *, struct dentry *, umode_t);
dentry           1714 include/linux/fs.h extern int vfs_mknod(struct inode *, struct dentry *, umode_t, dev_t);
dentry           1715 include/linux/fs.h extern int vfs_symlink(struct inode *, struct dentry *, const char *);
dentry           1716 include/linux/fs.h extern int vfs_link(struct dentry *, struct inode *, struct dentry *, struct inode **);
dentry           1717 include/linux/fs.h extern int vfs_rmdir(struct inode *, struct dentry *);
dentry           1718 include/linux/fs.h extern int vfs_unlink(struct inode *, struct dentry *, struct inode **);
dentry           1719 include/linux/fs.h extern int vfs_rename(struct inode *, struct dentry *, struct inode *, struct dentry *, struct inode **, unsigned int);
dentry           1720 include/linux/fs.h extern int vfs_whiteout(struct inode *, struct dentry *);
dentry           1722 include/linux/fs.h extern struct dentry *vfs_tmpfile(struct dentry *dentry, umode_t mode,
dentry           1725 include/linux/fs.h int vfs_mkobj(struct dentry *, umode_t,
dentry           1726 include/linux/fs.h 		int (*f)(struct dentry *, umode_t, void *),
dentry           1865 include/linux/fs.h 	struct dentry * (*lookup) (struct inode *,struct dentry *, unsigned int);
dentry           1866 include/linux/fs.h 	const char * (*get_link) (struct dentry *, struct inode *, struct delayed_call *);
dentry           1870 include/linux/fs.h 	int (*readlink) (struct dentry *, char __user *,int);
dentry           1872 include/linux/fs.h 	int (*create) (struct inode *,struct dentry *, umode_t, bool);
dentry           1873 include/linux/fs.h 	int (*link) (struct dentry *,struct inode *,struct dentry *);
dentry           1874 include/linux/fs.h 	int (*unlink) (struct inode *,struct dentry *);
dentry           1875 include/linux/fs.h 	int (*symlink) (struct inode *,struct dentry *,const char *);
dentry           1876 include/linux/fs.h 	int (*mkdir) (struct inode *,struct dentry *,umode_t);
dentry           1877 include/linux/fs.h 	int (*rmdir) (struct inode *,struct dentry *);
dentry           1878 include/linux/fs.h 	int (*mknod) (struct inode *,struct dentry *,umode_t,dev_t);
dentry           1879 include/linux/fs.h 	int (*rename) (struct inode *, struct dentry *,
dentry           1880 include/linux/fs.h 			struct inode *, struct dentry *, unsigned int);
dentry           1881 include/linux/fs.h 	int (*setattr) (struct dentry *, struct iattr *);
dentry           1883 include/linux/fs.h 	ssize_t (*listxattr) (struct dentry *, char *, size_t);
dentry           1887 include/linux/fs.h 	int (*atomic_open)(struct inode *, struct dentry *,
dentry           1890 include/linux/fs.h 	int (*tmpfile) (struct inode *, struct dentry *, umode_t);
dentry           1958 include/linux/fs.h 	int (*statfs) (struct dentry *, struct kstatfs *);
dentry           1962 include/linux/fs.h 	int (*show_options)(struct seq_file *, struct dentry *);
dentry           1963 include/linux/fs.h 	int (*show_devname)(struct seq_file *, struct dentry *);
dentry           1964 include/linux/fs.h 	int (*show_path)(struct seq_file *, struct dentry *);
dentry           1965 include/linux/fs.h 	int (*show_stats)(struct seq_file *, struct dentry *);
dentry           2229 include/linux/fs.h 	struct dentry *(*mount) (struct file_system_type *, int,
dentry           2249 include/linux/fs.h extern struct dentry *mount_bdev(struct file_system_type *fs_type,
dentry           2253 include/linux/fs.h static inline struct dentry *mount_bdev(struct file_system_type *fs_type,
dentry           2260 include/linux/fs.h extern struct dentry *mount_single(struct file_system_type *fs_type,
dentry           2263 include/linux/fs.h extern struct dentry *mount_nodev(struct file_system_type *fs_type,
dentry           2266 include/linux/fs.h extern struct dentry *mount_subtree(struct vfsmount *mnt, const char *path);
dentry           2528 include/linux/fs.h extern int do_truncate(struct dentry *, loff_t start, unsigned int time_attrs,
dentry           2536 include/linux/fs.h extern struct file *file_open_root(struct dentry *, struct vfsmount *,
dentry           2552 include/linux/fs.h extern int finish_open(struct file *file, struct dentry *dentry,
dentry           2554 include/linux/fs.h extern int finish_no_open(struct file *file, struct dentry *dentry);
dentry           2876 include/linux/fs.h extern int notify_change(struct dentry *, struct iattr *, struct inode **);
dentry           3010 include/linux/fs.h extern bool is_subdir(struct dentry *, struct dentry *);
dentry           3071 include/linux/fs.h extern int should_remove_suid(struct dentry *);
dentry           3217 include/linux/fs.h extern int page_readlink(struct dentry *, char __user *, int);
dentry           3218 include/linux/fs.h extern const char *page_get_link(struct dentry *, struct inode *,
dentry           3239 include/linux/fs.h const char *simple_get_link(struct dentry *, struct inode *,
dentry           3270 include/linux/fs.h extern const char *vfs_get_link(struct dentry *, struct delayed_call *);
dentry           3271 include/linux/fs.h extern int vfs_readlink(struct dentry *, char __user *, int);
dentry           3298 include/linux/fs.h extern int simple_setattr(struct dentry *, struct iattr *);
dentry           3300 include/linux/fs.h extern int simple_statfs(struct dentry *, struct kstatfs *);
dentry           3302 include/linux/fs.h extern int simple_link(struct dentry *, struct inode *, struct dentry *);
dentry           3303 include/linux/fs.h extern int simple_unlink(struct inode *, struct dentry *);
dentry           3304 include/linux/fs.h extern int simple_rmdir(struct inode *, struct dentry *);
dentry           3305 include/linux/fs.h extern int simple_rename(struct inode *, struct dentry *,
dentry           3306 include/linux/fs.h 			 struct inode *, struct dentry *, unsigned int);
dentry           3312 include/linux/fs.h extern int simple_empty(struct dentry *);
dentry           3320 include/linux/fs.h extern int always_delete_dentry(const struct dentry *);
dentry           3325 include/linux/fs.h extern struct dentry *simple_lookup(struct inode *, struct dentry *, unsigned int flags);
dentry           3332 include/linux/fs.h struct dentry *d_alloc_name(struct dentry *, const char *);
dentry           3360 include/linux/fs.h extern int setattr_prepare(struct dentry *, struct iattr *);
dentry           3425 include/linux/fs.h static inline ino_t parent_ino(struct dentry *dentry)
dentry           3433 include/linux/fs.h 	spin_lock(&dentry->d_lock);
dentry           3434 include/linux/fs.h 	res = dentry->d_parent->d_inode->i_ino;
dentry           3435 include/linux/fs.h 	spin_unlock(&dentry->d_lock);
dentry           3555 include/linux/fs.h 			  file->f_path.dentry->d_inode->i_ino, DT_DIR) == 0;
dentry           3560 include/linux/fs.h 			  parent_ino(file->f_path.dentry), DT_DIR) == 0;
dentry             18 include/linux/fs_context.h struct dentry;
dentry             92 include/linux/fs_context.h 	struct dentry		*root;		/* The root and superblock */
dentry            124 include/linux/fs_context.h extern struct fs_context *fs_context_for_reconfigure(struct dentry *dentry,
dentry            128 include/linux/fs_context.h 						struct dentry *reference);
dentry             98 include/linux/fscrypt.h static inline void fscrypt_handle_d_move(struct dentry *dentry)
dentry            100 include/linux/fscrypt.h 	dentry->d_flags &= ~DCACHE_ENCRYPTED_NAME;
dentry            255 include/linux/fscrypt.h 				  struct dentry *dentry);
dentry            257 include/linux/fscrypt.h 				    struct dentry *old_dentry,
dentry            259 include/linux/fscrypt.h 				    struct dentry *new_dentry,
dentry            261 include/linux/fscrypt.h extern int __fscrypt_prepare_lookup(struct inode *dir, struct dentry *dentry,
dentry            289 include/linux/fscrypt.h static inline void fscrypt_handle_d_move(struct dentry *dentry)
dentry            508 include/linux/fscrypt.h 					 struct dentry *dentry)
dentry            514 include/linux/fscrypt.h 					   struct dentry *old_dentry,
dentry            516 include/linux/fscrypt.h 					   struct dentry *new_dentry,
dentry            523 include/linux/fscrypt.h 					   struct dentry *dentry,
dentry            605 include/linux/fscrypt.h static inline int fscrypt_prepare_link(struct dentry *old_dentry,
dentry            607 include/linux/fscrypt.h 				       struct dentry *dentry)
dentry            610 include/linux/fscrypt.h 		return __fscrypt_prepare_link(d_inode(old_dentry), dir, dentry);
dentry            636 include/linux/fscrypt.h 					 struct dentry *old_dentry,
dentry            638 include/linux/fscrypt.h 					 struct dentry *new_dentry,
dentry            667 include/linux/fscrypt.h 					 struct dentry *dentry,
dentry            671 include/linux/fscrypt.h 		return __fscrypt_prepare_lookup(dir, dentry, fname);
dentry            674 include/linux/fscrypt.h 	fname->usr_fname = &dentry->d_name;
dentry            675 include/linux/fscrypt.h 	fname->disk_name.name = (unsigned char *)dentry->d_name.name;
dentry            676 include/linux/fscrypt.h 	fname->disk_name.len = dentry->d_name.len;
dentry            697 include/linux/fscrypt.h static inline int fscrypt_prepare_setattr(struct dentry *dentry,
dentry            701 include/linux/fscrypt.h 		return fscrypt_require_key(d_inode(dentry));
dentry            147 include/linux/fsl/ptp_qoriq.h 	struct dentry *debugfs_root;
dentry             26 include/linux/fsnotify.h static inline int fsnotify_dirent(struct inode *dir, struct dentry *dentry,
dentry             29 include/linux/fsnotify.h 	return fsnotify(dir, mask, d_inode(dentry), FSNOTIFY_EVENT_INODE,
dentry             30 include/linux/fsnotify.h 			&dentry->d_name, 0);
dentry             35 include/linux/fsnotify.h 				  struct dentry *dentry, __u32 mask)
dentry             37 include/linux/fsnotify.h 	if (!dentry)
dentry             38 include/linux/fsnotify.h 		dentry = path->dentry;
dentry             40 include/linux/fsnotify.h 	return __fsnotify_parent(path, dentry, mask);
dentry            107 include/linux/fsnotify.h 				 struct dentry *moved)
dentry            171 include/linux/fsnotify.h static inline void fsnotify_create(struct inode *inode, struct dentry *dentry)
dentry            173 include/linux/fsnotify.h 	audit_inode_child(inode, dentry, AUDIT_TYPE_CHILD_CREATE);
dentry            175 include/linux/fsnotify.h 	fsnotify_dirent(inode, dentry, FS_CREATE);
dentry            183 include/linux/fsnotify.h static inline void fsnotify_link(struct inode *dir, struct inode *inode, struct dentry *new_dentry)
dentry            196 include/linux/fsnotify.h static inline void fsnotify_unlink(struct inode *dir, struct dentry *dentry)
dentry            199 include/linux/fsnotify.h 	WARN_ON_ONCE(d_is_negative(dentry));
dentry            201 include/linux/fsnotify.h 	fsnotify_dirent(dir, dentry, FS_DELETE);
dentry            207 include/linux/fsnotify.h static inline void fsnotify_mkdir(struct inode *inode, struct dentry *dentry)
dentry            209 include/linux/fsnotify.h 	audit_inode_child(inode, dentry, AUDIT_TYPE_CHILD_CREATE);
dentry            211 include/linux/fsnotify.h 	fsnotify_dirent(inode, dentry, FS_CREATE | FS_ISDIR);
dentry            219 include/linux/fsnotify.h static inline void fsnotify_rmdir(struct inode *dir, struct dentry *dentry)
dentry            222 include/linux/fsnotify.h 	WARN_ON_ONCE(d_is_negative(dentry));
dentry            224 include/linux/fsnotify.h 	fsnotify_dirent(dir, dentry, FS_DELETE | FS_ISDIR);
dentry            296 include/linux/fsnotify.h static inline void fsnotify_xattr(struct dentry *dentry)
dentry            298 include/linux/fsnotify.h 	struct inode *inode = dentry->d_inode;
dentry            304 include/linux/fsnotify.h 	fsnotify_parent(NULL, dentry, mask);
dentry            312 include/linux/fsnotify.h static inline void fsnotify_change(struct dentry *dentry, unsigned int ia_valid)
dentry            314 include/linux/fsnotify.h 	struct inode *inode = dentry->d_inode;
dentry            339 include/linux/fsnotify.h 		fsnotify_parent(NULL, dentry, mask);
dentry            355 include/linux/fsnotify_backend.h extern int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask);
dentry            375 include/linux/fsnotify_backend.h static inline void fsnotify_update_flags(struct dentry *dentry)
dentry            377 include/linux/fsnotify_backend.h 	assert_spin_locked(&dentry->d_lock);
dentry            386 include/linux/fsnotify_backend.h 	if (fsnotify_inode_watches_children(dentry->d_parent->d_inode))
dentry            387 include/linux/fsnotify_backend.h 		dentry->d_flags |= DCACHE_FSNOTIFY_PARENT_WATCHED;
dentry            389 include/linux/fsnotify_backend.h 		dentry->d_flags &= ~DCACHE_FSNOTIFY_PARENT_WATCHED;
dentry            516 include/linux/fsnotify_backend.h static inline int __fsnotify_parent(const struct path *path, struct dentry *dentry, __u32 mask)
dentry            530 include/linux/fsnotify_backend.h static inline void fsnotify_update_flags(struct dentry *dentry)
dentry            128 include/linux/fsverity.h extern int fsverity_prepare_setattr(struct dentry *dentry, struct iattr *attr);
dentry            166 include/linux/fsverity.h static inline int fsverity_prepare_setattr(struct dentry *dentry,
dentry            169 include/linux/fsverity.h 	return IS_VERITY(d_inode(dentry)) ? -EOPNOTSUPP : 0;
dentry            105 include/linux/greybus.h struct dentry *gb_debugfs_get(void);
dentry             57 include/linux/greybus/svc.h 	struct dentry *debugfs_dentry;
dentry            615 include/linux/hid.h 	struct dentry *debug_dir;
dentry            616 include/linux/hid.h 	struct dentry *debug_rdesc;
dentry            617 include/linux/hid.h 	struct dentry *debug_events;
dentry            567 include/linux/iio/iio.h 	struct dentry			*debugfs_dentry;
dentry            714 include/linux/iio/iio.h static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
dentry            719 include/linux/iio/iio.h static inline struct dentry *iio_get_debugfs_dentry(struct iio_dev *indio_dev)
dentry             25 include/linux/ima.h extern void ima_post_path_mknod(struct dentry *dentry);
dentry             88 include/linux/ima.h static inline void ima_post_path_mknod(struct dentry *dentry)
dentry            105 include/linux/ima.h extern void ima_inode_post_setattr(struct dentry *dentry);
dentry            106 include/linux/ima.h extern int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name,
dentry            108 include/linux/ima.h extern int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name);
dentry            115 include/linux/ima.h static inline void ima_inode_post_setattr(struct dentry *dentry)
dentry            120 include/linux/ima.h static inline int ima_inode_setxattr(struct dentry *dentry,
dentry            128 include/linux/ima.h static inline int ima_inode_removexattr(struct dentry *dentry,
dentry           1011 include/linux/iommu.h extern	struct dentry *iommu_debugfs_dir;
dentry             98 include/linux/irqdesc.h 	struct dentry		*debugfs_file;
dentry            176 include/linux/irqdomain.h 	struct dentry		*debugfs_file;
dentry             21 include/linux/kernfs.h struct dentry;
dentry            334 include/linux/kernfs.h struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry);
dentry            338 include/linux/kernfs.h struct dentry *kernfs_node_dentry(struct kernfs_node *kn,
dentry            424 include/linux/kernfs.h static inline struct kernfs_node *kernfs_node_from_dentry(struct dentry *dentry)
dentry            323 include/linux/kvm_host.h 	struct dentry *debugfs_dentry;
dentry            499 include/linux/kvm_host.h 	struct dentry *debugfs_dentry;
dentry           1110 include/linux/kvm_host.h extern struct dentry *kvm_debugfs_dir;
dentry             79 include/linux/lsm_audit.h 		struct dentry *dentry;
dentry           1482 include/linux/lsm_hooks.h 	int (*quota_on)(struct dentry *dentry);
dentry           1502 include/linux/lsm_hooks.h 	int (*sb_statfs)(struct dentry *dentry);
dentry           1518 include/linux/lsm_hooks.h 	int (*dentry_init_security)(struct dentry *dentry, int mode,
dentry           1521 include/linux/lsm_hooks.h 	int (*dentry_create_files_as)(struct dentry *dentry, int mode,
dentry           1528 include/linux/lsm_hooks.h 	int (*path_unlink)(const struct path *dir, struct dentry *dentry);
dentry           1529 include/linux/lsm_hooks.h 	int (*path_mkdir)(const struct path *dir, struct dentry *dentry,
dentry           1531 include/linux/lsm_hooks.h 	int (*path_rmdir)(const struct path *dir, struct dentry *dentry);
dentry           1532 include/linux/lsm_hooks.h 	int (*path_mknod)(const struct path *dir, struct dentry *dentry,
dentry           1535 include/linux/lsm_hooks.h 	int (*path_symlink)(const struct path *dir, struct dentry *dentry,
dentry           1537 include/linux/lsm_hooks.h 	int (*path_link)(struct dentry *old_dentry, const struct path *new_dir,
dentry           1538 include/linux/lsm_hooks.h 				struct dentry *new_dentry);
dentry           1539 include/linux/lsm_hooks.h 	int (*path_rename)(const struct path *old_dir, struct dentry *old_dentry,
dentry           1541 include/linux/lsm_hooks.h 				struct dentry *new_dentry);
dentry           1555 include/linux/lsm_hooks.h 	int (*inode_create)(struct inode *dir, struct dentry *dentry,
dentry           1557 include/linux/lsm_hooks.h 	int (*inode_link)(struct dentry *old_dentry, struct inode *dir,
dentry           1558 include/linux/lsm_hooks.h 				struct dentry *new_dentry);
dentry           1559 include/linux/lsm_hooks.h 	int (*inode_unlink)(struct inode *dir, struct dentry *dentry);
dentry           1560 include/linux/lsm_hooks.h 	int (*inode_symlink)(struct inode *dir, struct dentry *dentry,
dentry           1562 include/linux/lsm_hooks.h 	int (*inode_mkdir)(struct inode *dir, struct dentry *dentry,
dentry           1564 include/linux/lsm_hooks.h 	int (*inode_rmdir)(struct inode *dir, struct dentry *dentry);
dentry           1565 include/linux/lsm_hooks.h 	int (*inode_mknod)(struct inode *dir, struct dentry *dentry,
dentry           1567 include/linux/lsm_hooks.h 	int (*inode_rename)(struct inode *old_dir, struct dentry *old_dentry,
dentry           1569 include/linux/lsm_hooks.h 				struct dentry *new_dentry);
dentry           1570 include/linux/lsm_hooks.h 	int (*inode_readlink)(struct dentry *dentry);
dentry           1571 include/linux/lsm_hooks.h 	int (*inode_follow_link)(struct dentry *dentry, struct inode *inode,
dentry           1574 include/linux/lsm_hooks.h 	int (*inode_setattr)(struct dentry *dentry, struct iattr *attr);
dentry           1576 include/linux/lsm_hooks.h 	int (*inode_setxattr)(struct dentry *dentry, const char *name,
dentry           1578 include/linux/lsm_hooks.h 	void (*inode_post_setxattr)(struct dentry *dentry, const char *name,
dentry           1581 include/linux/lsm_hooks.h 	int (*inode_getxattr)(struct dentry *dentry, const char *name);
dentry           1582 include/linux/lsm_hooks.h 	int (*inode_listxattr)(struct dentry *dentry);
dentry           1583 include/linux/lsm_hooks.h 	int (*inode_removexattr)(struct dentry *dentry, const char *name);
dentry           1584 include/linux/lsm_hooks.h 	int (*inode_need_killpriv)(struct dentry *dentry);
dentry           1585 include/linux/lsm_hooks.h 	int (*inode_killpriv)(struct dentry *dentry);
dentry           1594 include/linux/lsm_hooks.h 	int (*inode_copy_up)(struct dentry *src, struct cred **new);
dentry           1688 include/linux/lsm_hooks.h 	void (*d_instantiate)(struct dentry *dentry, struct inode *inode);
dentry           1699 include/linux/lsm_hooks.h 	int (*inode_setsecctx)(struct dentry *dentry, void *ctx, u32 ctxlen);
dentry            138 include/linux/mfd/aat2870.h 	struct dentry *dentry_root;
dentry            200 include/linux/mlx5/driver.h 	struct dentry	       *root;
dentry            244 include/linux/mlx5/driver.h 	struct dentry	       *dbg_root;
dentry            268 include/linux/mlx5/driver.h 	struct dentry  *root;
dentry            553 include/linux/mlx5/driver.h 	struct dentry	       *qp_debugfs;
dentry            554 include/linux/mlx5/driver.h 	struct dentry	       *eq_debugfs;
dentry            555 include/linux/mlx5/driver.h 	struct dentry	       *cq_debugfs;
dentry            556 include/linux/mlx5/driver.h 	struct dentry	       *cmdif_debugfs;
dentry            569 include/linux/mlx5/driver.h 	struct dentry	       *dbg_root;
dentry            824 include/linux/mlx5/driver.h extern struct dentry *mlx5_debugfs_root;
dentry            307 include/linux/mmc/card.h 	struct dentry		*debugfs_root;
dentry            443 include/linux/mmc/host.h 	struct dentry		*debugfs_root;
dentry             22 include/linux/mount.h struct dentry;
dentry             69 include/linux/mount.h 	struct dentry *mnt_root;	/* root of the mounted tree */
dentry             99 include/linux/mount.h extern struct vfsmount *vfs_submount(const struct dentry *mountpoint,
dentry             57 include/linux/moxtet.h 	struct dentry			*debugfs_root;
dentry            191 include/linux/mtd/mtd.h 	struct dentry *dfs_dir;
dentry             54 include/linux/namei.h extern struct dentry *kern_path_create(int, const char *, struct path *, unsigned int);
dentry             55 include/linux/namei.h extern struct dentry *user_path_create(int, const char __user *, struct path *, unsigned int);
dentry             56 include/linux/namei.h extern void done_path_create(struct path *, struct dentry *);
dentry             57 include/linux/namei.h extern struct dentry *kern_path_locked(const char *, struct path *);
dentry             60 include/linux/namei.h extern struct dentry *try_lookup_one_len(const char *, struct dentry *, int);
dentry             61 include/linux/namei.h extern struct dentry *lookup_one_len(const char *, struct dentry *, int);
dentry             62 include/linux/namei.h extern struct dentry *lookup_one_len_unlocked(const char *, struct dentry *, int);
dentry             68 include/linux/namei.h extern struct dentry *lock_rename(struct dentry *, struct dentry *);
dentry             69 include/linux/namei.h extern void unlock_rename(struct dentry *, struct dentry *);
dentry             72 include/linux/nfs_fs.h 	struct dentry *dentry;
dentry            335 include/linux/nfs_fs.h static inline void nfs_set_verifier(struct dentry * dentry, unsigned long verf)
dentry            337 include/linux/nfs_fs.h 	dentry->d_time = verf;
dentry            389 include/linux/nfs_fs.h extern int nfs_setattr(struct dentry *, struct iattr *);
dentry            396 include/linux/nfs_fs.h extern struct nfs_open_context *alloc_nfs_open_context(struct dentry *dentry, fmode_t f_mode, struct file *filp);
dentry            493 include/linux/nfs_fs.h extern struct dentry *nfs_add_or_obtain(struct dentry *dentry,
dentry            496 include/linux/nfs_fs.h extern int nfs_instantiate(struct dentry *dentry, struct nfs_fh *fh,
dentry            528 include/linux/nfs_fs.h extern void nfs_complete_unlink(struct dentry *dentry, struct inode *);
dentry           1598 include/linux/nfs_xdr.h 	struct dentry *dentry;
dentry           1610 include/linux/nfs_xdr.h 	struct dentry		*old_dentry;
dentry           1613 include/linux/nfs_xdr.h 	struct dentry		*new_dentry;
dentry           1641 include/linux/nfs_xdr.h 	struct vfsmount *(*submount) (struct nfs_server *, struct dentry *,
dentry           1643 include/linux/nfs_xdr.h 	struct dentry *(*try_mount) (int, const char *, struct nfs_mount_info *,
dentry           1648 include/linux/nfs_xdr.h 	int	(*setattr) (struct dentry *, struct nfs_fattr *,
dentry           1658 include/linux/nfs_xdr.h 	int	(*create)  (struct inode *, struct dentry *,
dentry           1660 include/linux/nfs_xdr.h 	int	(*remove)  (struct inode *, struct dentry *);
dentry           1661 include/linux/nfs_xdr.h 	void	(*unlink_setup)  (struct rpc_message *, struct dentry *, struct inode *);
dentry           1665 include/linux/nfs_xdr.h 			struct dentry *old_dentry,
dentry           1666 include/linux/nfs_xdr.h 			struct dentry *new_dentry);
dentry           1670 include/linux/nfs_xdr.h 	int	(*symlink) (struct inode *, struct dentry *, struct page *,
dentry           1672 include/linux/nfs_xdr.h 	int	(*mkdir)   (struct inode *, struct dentry *, struct iattr *);
dentry           1674 include/linux/nfs_xdr.h 	int	(*readdir) (struct dentry *, const struct cred *,
dentry           1676 include/linux/nfs_xdr.h 	int	(*mknod)   (struct inode *, struct dentry *, struct iattr *,
dentry             45 include/linux/oprofile.h struct dentry;
dentry             53 include/linux/oprofile.h 	int (*create_files)(struct dentry * root);
dentry            127 include/linux/oprofile.h int oprofilefs_create_file(struct dentry * root,
dentry            130 include/linux/oprofile.h int oprofilefs_create_file_perm(struct dentry * root,
dentry            134 include/linux/oprofile.h int oprofilefs_create_ulong(struct dentry * root,
dentry            138 include/linux/oprofile.h int oprofilefs_create_ro_ulong(struct dentry * root,
dentry            142 include/linux/oprofile.h int oprofilefs_create_ro_atomic(struct dentry * root,
dentry            146 include/linux/oprofile.h struct dentry *oprofilefs_mkdir(struct dentry *parent, char const *name);
dentry              5 include/linux/path.h struct dentry;
dentry             10 include/linux/path.h 	struct dentry *dentry;
dentry             18 include/linux/path.h 	return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
dentry             35 include/linux/pid_namespace.h 	struct dentry *proc_self;
dentry             36 include/linux/pid_namespace.h 	struct dentry *proc_thread_self;
dentry            201 include/linux/pktcdvd.h 	struct dentry		*dfs_d_root;	/* debugfs: devname directory */
dentry            202 include/linux/pktcdvd.h 	struct dentry		*dfs_f_info;	/* debugfs: info file */
dentry            156 include/linux/power/smartreflex.h 	struct dentry			*dbg_dir;
dentry            476 include/linux/regulator/driver.h 	struct dentry *debugfs;
dentry             44 include/linux/relay.h 	struct dentry *dentry;		/* channel file dentry */
dentry             72 include/linux/relay.h 	struct dentry *parent;		/* parent dentry passed to open */
dentry            146 include/linux/relay.h 	struct dentry *(*create_buf_file)(const char *filename,
dentry            147 include/linux/relay.h 					  struct dentry *parent,
dentry            162 include/linux/relay.h 	int (*remove_buf_file)(struct dentry *dentry);
dentry            170 include/linux/relay.h 			 struct dentry *parent,
dentry            177 include/linux/relay.h 				  struct dentry *parent);
dentry            496 include/linux/remoteproc.h 	struct dentry *dbg_dir;
dentry             44 include/linux/security.h struct dentry;
dentry            143 include/linux/security.h extern int cap_inode_setxattr(struct dentry *dentry, const char *name,
dentry            145 include/linux/security.h extern int cap_inode_removexattr(struct dentry *dentry, const char *name);
dentry            146 include/linux/security.h extern int cap_inode_need_killpriv(struct dentry *dentry);
dentry            147 include/linux/security.h extern int cap_inode_killpriv(struct dentry *dentry);
dentry            274 include/linux/security.h int security_quota_on(struct dentry *dentry);
dentry            291 include/linux/security.h int security_sb_statfs(struct dentry *dentry);
dentry            307 include/linux/security.h int security_dentry_init_security(struct dentry *dentry, int mode,
dentry            310 include/linux/security.h int security_dentry_create_files_as(struct dentry *dentry, int mode,
dentry            324 include/linux/security.h int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode);
dentry            325 include/linux/security.h int security_inode_link(struct dentry *old_dentry, struct inode *dir,
dentry            326 include/linux/security.h 			 struct dentry *new_dentry);
dentry            327 include/linux/security.h int security_inode_unlink(struct inode *dir, struct dentry *dentry);
dentry            328 include/linux/security.h int security_inode_symlink(struct inode *dir, struct dentry *dentry,
dentry            330 include/linux/security.h int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
dentry            331 include/linux/security.h int security_inode_rmdir(struct inode *dir, struct dentry *dentry);
dentry            332 include/linux/security.h int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev);
dentry            333 include/linux/security.h int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry            334 include/linux/security.h 			  struct inode *new_dir, struct dentry *new_dentry,
dentry            336 include/linux/security.h int security_inode_readlink(struct dentry *dentry);
dentry            337 include/linux/security.h int security_inode_follow_link(struct dentry *dentry, struct inode *inode,
dentry            340 include/linux/security.h int security_inode_setattr(struct dentry *dentry, struct iattr *attr);
dentry            342 include/linux/security.h int security_inode_setxattr(struct dentry *dentry, const char *name,
dentry            344 include/linux/security.h void security_inode_post_setxattr(struct dentry *dentry, const char *name,
dentry            346 include/linux/security.h int security_inode_getxattr(struct dentry *dentry, const char *name);
dentry            347 include/linux/security.h int security_inode_listxattr(struct dentry *dentry);
dentry            348 include/linux/security.h int security_inode_removexattr(struct dentry *dentry, const char *name);
dentry            349 include/linux/security.h int security_inode_need_killpriv(struct dentry *dentry);
dentry            350 include/linux/security.h int security_inode_killpriv(struct dentry *dentry);
dentry            355 include/linux/security.h int security_inode_copy_up(struct dentry *src, struct cred **new);
dentry            433 include/linux/security.h void security_d_instantiate(struct dentry *dentry, struct inode *inode);
dentry            445 include/linux/security.h int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen);
dentry            550 include/linux/security.h static inline int security_quota_on(struct dentry *dentry)
dentry            631 include/linux/security.h static inline int security_sb_statfs(struct dentry *dentry)
dentry            696 include/linux/security.h static inline int security_dentry_init_security(struct dentry *dentry,
dentry            705 include/linux/security.h static inline int security_dentry_create_files_as(struct dentry *dentry,
dentry            733 include/linux/security.h 					 struct dentry *dentry,
dentry            739 include/linux/security.h static inline int security_inode_link(struct dentry *old_dentry,
dentry            741 include/linux/security.h 				       struct dentry *new_dentry)
dentry            747 include/linux/security.h 					 struct dentry *dentry)
dentry            753 include/linux/security.h 					  struct dentry *dentry,
dentry            760 include/linux/security.h 					struct dentry *dentry,
dentry            767 include/linux/security.h 					struct dentry *dentry)
dentry            773 include/linux/security.h 					struct dentry *dentry,
dentry            780 include/linux/security.h 					 struct dentry *old_dentry,
dentry            782 include/linux/security.h 					 struct dentry *new_dentry,
dentry            788 include/linux/security.h static inline int security_inode_readlink(struct dentry *dentry)
dentry            793 include/linux/security.h static inline int security_inode_follow_link(struct dentry *dentry,
dentry            805 include/linux/security.h static inline int security_inode_setattr(struct dentry *dentry,
dentry            816 include/linux/security.h static inline int security_inode_setxattr(struct dentry *dentry,
dentry            819 include/linux/security.h 	return cap_inode_setxattr(dentry, name, value, size, flags);
dentry            822 include/linux/security.h static inline void security_inode_post_setxattr(struct dentry *dentry,
dentry            826 include/linux/security.h static inline int security_inode_getxattr(struct dentry *dentry,
dentry            832 include/linux/security.h static inline int security_inode_listxattr(struct dentry *dentry)
dentry            837 include/linux/security.h static inline int security_inode_removexattr(struct dentry *dentry,
dentry            840 include/linux/security.h 	return cap_inode_removexattr(dentry, name);
dentry            843 include/linux/security.h static inline int security_inode_need_killpriv(struct dentry *dentry)
dentry            845 include/linux/security.h 	return cap_inode_need_killpriv(dentry);
dentry            848 include/linux/security.h static inline int security_inode_killpriv(struct dentry *dentry)
dentry            850 include/linux/security.h 	return cap_inode_killpriv(dentry);
dentry            873 include/linux/security.h static inline int security_inode_copy_up(struct dentry *src, struct cred **new)
dentry           1213 include/linux/security.h static inline void security_d_instantiate(struct dentry *dentry,
dentry           1263 include/linux/security.h static inline int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen)
dentry           1658 include/linux/security.h int security_path_unlink(const struct path *dir, struct dentry *dentry);
dentry           1659 include/linux/security.h int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode);
dentry           1660 include/linux/security.h int security_path_rmdir(const struct path *dir, struct dentry *dentry);
dentry           1661 include/linux/security.h int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode,
dentry           1664 include/linux/security.h int security_path_symlink(const struct path *dir, struct dentry *dentry,
dentry           1666 include/linux/security.h int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
dentry           1667 include/linux/security.h 		       struct dentry *new_dentry);
dentry           1668 include/linux/security.h int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
dentry           1669 include/linux/security.h 			 const struct path *new_dir, struct dentry *new_dentry,
dentry           1675 include/linux/security.h static inline int security_path_unlink(const struct path *dir, struct dentry *dentry)
dentry           1680 include/linux/security.h static inline int security_path_mkdir(const struct path *dir, struct dentry *dentry,
dentry           1686 include/linux/security.h static inline int security_path_rmdir(const struct path *dir, struct dentry *dentry)
dentry           1691 include/linux/security.h static inline int security_path_mknod(const struct path *dir, struct dentry *dentry,
dentry           1702 include/linux/security.h static inline int security_path_symlink(const struct path *dir, struct dentry *dentry,
dentry           1708 include/linux/security.h static inline int security_path_link(struct dentry *old_dentry,
dentry           1710 include/linux/security.h 				     struct dentry *new_dentry)
dentry           1716 include/linux/security.h 				       struct dentry *old_dentry,
dentry           1718 include/linux/security.h 				       struct dentry *new_dentry,
dentry           1812 include/linux/security.h extern struct dentry *securityfs_create_file(const char *name, umode_t mode,
dentry           1813 include/linux/security.h 					     struct dentry *parent, void *data,
dentry           1815 include/linux/security.h extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent);
dentry           1816 include/linux/security.h struct dentry *securityfs_create_symlink(const char *name,
dentry           1817 include/linux/security.h 					 struct dentry *parent,
dentry           1820 include/linux/security.h extern void securityfs_remove(struct dentry *dentry);
dentry           1824 include/linux/security.h static inline struct dentry *securityfs_create_dir(const char *name,
dentry           1825 include/linux/security.h 						   struct dentry *parent)
dentry           1830 include/linux/security.h static inline struct dentry *securityfs_create_file(const char *name,
dentry           1832 include/linux/security.h 						    struct dentry *parent,
dentry           1839 include/linux/security.h static inline struct dentry *securityfs_create_symlink(const char *name,
dentry           1840 include/linux/security.h 					struct dentry *parent,
dentry           1847 include/linux/security.h static inline void securityfs_remove(struct dentry *dentry)
dentry            138 include/linux/seq_file.h int seq_dentry(struct seq_file *, struct dentry *, const char *);
dentry            560 include/linux/soundwire/sdw.h 	struct dentry *debugfs;
dentry            761 include/linux/soundwire/sdw.h 	struct dentry *debugfs;
dentry             44 include/linux/statfs.h struct dentry;
dentry             45 include/linux/statfs.h extern int vfs_get_fsid(struct dentry *dentry, __kernel_fsid_t *fsid);
dentry            117 include/linux/sunrpc/cache.h 		struct dentry		*pipefs;
dentry            226 include/linux/sunrpc/cache.h extern int sunrpc_cache_register_pipefs(struct dentry *parent, const char *,
dentry             72 include/linux/sunrpc/clnt.h 	struct dentry		*cl_debugfs;	/* debugfs directory */
dentry             11 include/linux/sunrpc/rpc_pipe_fs.h 	struct dentry *pdh_dentry;
dentry             23 include/linux/sunrpc/rpc_pipe_fs.h 	int (*create)(struct dentry *dir,
dentry             25 include/linux/sunrpc/rpc_pipe_fs.h 	void (*destroy)(struct dentry *dir,
dentry             57 include/linux/sunrpc/rpc_pipe_fs.h 	struct dentry *dentry;
dentry             86 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_d_lookup_sb(const struct super_block *sb,
dentry             98 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_create_client_dir(struct dentry *, const char *, struct rpc_clnt *);
dentry            119 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_create_cache_dir(struct dentry *,
dentry            123 include/linux/sunrpc/rpc_pipe_fs.h extern void rpc_remove_cache_dir(struct dentry *);
dentry            127 include/linux/sunrpc/rpc_pipe_fs.h extern struct dentry *rpc_mkpipe_dentry(struct dentry *, const char *, void *,
dentry            129 include/linux/sunrpc/rpc_pipe_fs.h extern int rpc_unlink(struct dentry *);
dentry            286 include/linux/sunrpc/xprt.h 	struct dentry		*debugfs;		/* debugfs directory */
dentry            143 include/linux/tpm.h 	struct dentry *bios_dir[TPM_NUM_EVENT_LOG_FILES];
dentry             16 include/linux/trace_events.h struct dentry;
dentry            379 include/linux/trace_events.h 	struct dentry			*dir;
dentry             24 include/linux/tracefs.h struct dentry *tracefs_create_file(const char *name, umode_t mode,
dentry             25 include/linux/tracefs.h 				   struct dentry *parent, void *data,
dentry             28 include/linux/tracefs.h struct dentry *tracefs_create_dir(const char *name, struct dentry *parent);
dentry             30 include/linux/tracefs.h void tracefs_remove(struct dentry *dentry);
dentry             31 include/linux/tracefs.h void tracefs_remove_recursive(struct dentry *dentry);
dentry             33 include/linux/tracefs.h struct dentry *tracefs_create_instance_dir(const char *name, struct dentry *parent,
dentry           2004 include/linux/usb.h extern struct dentry *usb_debug_root;
dentry            249 include/linux/visorbus.h 	struct dentry *debugfs_dir;
dentry            250 include/linux/visorbus.h 	struct dentry *debugfs_bus_info;
dentry             21 include/linux/xattr.h struct dentry;
dentry             32 include/linux/xattr.h 	bool (*list)(struct dentry *dentry);
dentry             33 include/linux/xattr.h 	int (*get)(const struct xattr_handler *, struct dentry *dentry,
dentry             36 include/linux/xattr.h 	int (*set)(const struct xattr_handler *, struct dentry *dentry,
dentry             49 include/linux/xattr.h ssize_t __vfs_getxattr(struct dentry *, struct inode *, const char *, void *, size_t);
dentry             50 include/linux/xattr.h ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t);
dentry             51 include/linux/xattr.h ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size);
dentry             52 include/linux/xattr.h int __vfs_setxattr(struct dentry *, struct inode *, const char *, const void *, size_t, int);
dentry             53 include/linux/xattr.h int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int);
dentry             54 include/linux/xattr.h int vfs_setxattr(struct dentry *, const char *, const void *, size_t, int);
dentry             55 include/linux/xattr.h int __vfs_removexattr(struct dentry *, const char *);
dentry             56 include/linux/xattr.h int vfs_removexattr(struct dentry *, const char *);
dentry             58 include/linux/xattr.h ssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size);
dentry             59 include/linux/xattr.h ssize_t vfs_getxattr_alloc(struct dentry *dentry, const char *name,
dentry            227 include/media/cec.h 	struct dentry *cec_dir;
dentry            228 include/media/cec.h 	struct dentry *status_file;
dentry            229 include/media/cec.h 	struct dentry *error_inj_file;
dentry            137 include/net/6lowpan.h 	struct dentry *iface_debugfs;
dentry            392 include/net/bluetooth/bluetooth.h extern struct dentry *bt_debugfs;
dentry            407 include/net/bluetooth/hci_core.h 	struct dentry		*debugfs;
dentry            522 include/net/bluetooth/hci_core.h 	struct dentry	*debugfs;
dentry            237 include/net/bonding.h 	struct	 dentry *debug_dir;
dentry            131 include/net/caif/caif_spi.h 	struct dentry *dbgfs_dir;
dentry            132 include/net/caif/caif_spi.h 	struct dentry *dbgfs_state;
dentry            133 include/net/caif/caif_spi.h 	struct dentry *dbgfs_frame;
dentry           4646 include/net/cfg80211.h 	struct dentry *debugfsdir;
dentry           1627 include/net/mac80211.h 	struct dentry *debugfs_dir;
dentry           3838 include/net/mac80211.h 				struct dentry *dir);
dentry           5938 include/net/mac80211.h 			    struct dentry *debugfsdir);
dentry           5962 include/net/mac80211.h 				struct dentry *dir);
dentry            415 include/net/wimax.h 	struct dentry *debugfs_dentry;
dentry             90 include/soc/tegra/bpmp.h 	struct dentry *debugfs_mirror;
dentry            149 include/sound/soc-component.h 	struct dentry *debugfs_root;
dentry            450 include/sound/soc-dapm.h 				struct dentry *parent);
dentry            683 include/sound/soc-dapm.h 	struct dentry *debugfs_dapm;
dentry             84 include/sound/soc-dpcm.h 	struct dentry *debugfs_state;
dentry           1082 include/sound/soc.h 	struct dentry *debugfs_card_root;
dentry           1144 include/sound/soc.h 	struct dentry *debugfs_dpcm_root;
dentry           1379 include/sound/soc.h extern struct dentry *snd_soc_debugfs_root;
dentry            664 include/trace/events/btrfs.h 		const struct dentry *dentry = file->f_path.dentry;
dentry            665 include/trace/events/btrfs.h 		const struct inode *inode = d_inode(dentry);
dentry            667 include/trace/events/btrfs.h 		TP_fast_assign_fsid(btrfs_sb(file->f_path.dentry->d_sb));
dentry            669 include/trace/events/btrfs.h 		__entry->parent		= btrfs_ino(BTRFS_I(d_inode(dentry->d_parent)));
dentry            101 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            108 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
dentry            124 include/trace/events/cachefiles.h 		     struct dentry *de, int ret),
dentry            130 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
dentry            146 include/trace/events/cachefiles.h 		     struct dentry *de, int ret),
dentry            152 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de	)
dentry            168 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            176 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry            193 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            194 include/trace/events/cachefiles.h 		     struct dentry *to,
dentry            202 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry            203 include/trace/events/cachefiles.h 		    __field(struct dentry *,		to		)
dentry            221 include/trace/events/cachefiles.h 		     struct dentry *de),
dentry            228 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry            242 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            250 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry            271 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            279 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry            295 include/trace/events/cachefiles.h 		     struct dentry *de,
dentry            303 include/trace/events/cachefiles.h 		    __field(struct dentry *,		de		)
dentry             31 include/trace/events/erofs.h 	TP_PROTO(struct inode *dir, struct dentry *dentry, unsigned int flags),
dentry             33 include/trace/events/erofs.h 	TP_ARGS(dir, dentry, flags),
dentry             45 include/trace/events/erofs.h 		__entry->name	= dentry->d_name.name;
dentry            896 include/trace/events/ext4.h 		struct dentry *dentry = file->f_path.dentry;
dentry            898 include/trace/events/ext4.h 		__entry->dev		= dentry->d_sb->s_dev;
dentry            899 include/trace/events/ext4.h 		__entry->ino		= d_inode(dentry)->i_ino;
dentry            901 include/trace/events/ext4.h 		__entry->parent		= d_inode(dentry->d_parent)->i_ino;
dentry           1446 include/trace/events/ext4.h 	TP_PROTO(struct inode *parent, struct dentry *dentry),
dentry           1448 include/trace/events/ext4.h 	TP_ARGS(parent, dentry),
dentry           1458 include/trace/events/ext4.h 		__entry->dev		= dentry->d_sb->s_dev;
dentry           1459 include/trace/events/ext4.h 		__entry->ino		= d_inode(dentry)->i_ino;
dentry           1461 include/trace/events/ext4.h 		__entry->size		= d_inode(dentry)->i_size;
dentry           1471 include/trace/events/ext4.h 	TP_PROTO(struct dentry *dentry, int ret),
dentry           1473 include/trace/events/ext4.h 	TP_ARGS(dentry, ret),
dentry           1482 include/trace/events/ext4.h 		__entry->dev		= dentry->d_sb->s_dev;
dentry           1483 include/trace/events/ext4.h 		__entry->ino		= d_inode(dentry)->i_ino;
dentry            310 include/trace/events/f2fs.h 	TP_PROTO(struct inode *dir, struct dentry *dentry),
dentry            312 include/trace/events/f2fs.h 	TP_ARGS(dir, dentry),
dentry            327 include/trace/events/f2fs.h 		__entry->name	= dentry->d_name.name;
dentry            789 include/trace/events/f2fs.h 	TP_PROTO(struct inode *dir, struct dentry *dentry, unsigned int flags),
dentry            791 include/trace/events/f2fs.h 	TP_ARGS(dir, dentry, flags),
dentry            803 include/trace/events/f2fs.h 		__entry->name	= dentry->d_name.name;
dentry            815 include/trace/events/f2fs.h 	TP_PROTO(struct inode *dir, struct dentry *dentry, nid_t ino,
dentry            818 include/trace/events/f2fs.h 	TP_ARGS(dir, dentry, ino, err),
dentry            831 include/trace/events/f2fs.h 		__entry->name	= dentry->d_name.name;
dentry            394 init/do_mounts.c 	s = current->fs->pwd.dentry->d_sb;
dentry            493 ipc/mqueue.c   static int mqueue_create_attr(struct dentry *dentry, umode_t mode, void *arg)
dentry            495 ipc/mqueue.c   	struct inode *dir = dentry->d_parent->d_inode;
dentry            528 ipc/mqueue.c   	d_instantiate(dentry, inode);
dentry            529 ipc/mqueue.c   	dget(dentry);
dentry            538 ipc/mqueue.c   static int mqueue_create(struct inode *dir, struct dentry *dentry,
dentry            541 ipc/mqueue.c   	return mqueue_create_attr(dentry, mode, NULL);
dentry            544 ipc/mqueue.c   static int mqueue_unlink(struct inode *dir, struct dentry *dentry)
dentry            546 ipc/mqueue.c   	struct inode *inode = d_inode(dentry);
dentry            551 ipc/mqueue.c   	dput(dentry);
dentry            788 ipc/mqueue.c   static int prepare_open(struct dentry *dentry, int oflag, int ro,
dentry            796 ipc/mqueue.c   	if (d_really_is_negative(dentry)) {
dentry            801 ipc/mqueue.c   		audit_inode_parent_hidden(name, dentry->d_parent);
dentry            802 ipc/mqueue.c   		return vfs_mkobj(dentry, mode & ~current_umask(),
dentry            806 ipc/mqueue.c   	audit_inode(name, dentry, 0);
dentry            812 ipc/mqueue.c   	return inode_permission(d_inode(dentry), acc);
dentry            819 ipc/mqueue.c   	struct dentry *root = mnt->mnt_root;
dentry            836 ipc/mqueue.c   	path.dentry = lookup_one_len(name->name, root, strlen(name->name));
dentry            837 ipc/mqueue.c   	if (IS_ERR(path.dentry)) {
dentry            838 ipc/mqueue.c   		error = PTR_ERR(path.dentry);
dentry            842 ipc/mqueue.c   	error = prepare_open(path.dentry, oflag, ro, mode, name, attr);
dentry            878 ipc/mqueue.c   	struct dentry *dentry;
dentry            892 ipc/mqueue.c   	dentry = lookup_one_len(name->name, mnt->mnt_root,
dentry            894 ipc/mqueue.c   	if (IS_ERR(dentry)) {
dentry            895 ipc/mqueue.c   		err = PTR_ERR(dentry);
dentry            899 ipc/mqueue.c   	inode = d_inode(dentry);
dentry            904 ipc/mqueue.c   		err = vfs_unlink(d_inode(dentry->d_parent), dentry, NULL);
dentry            906 ipc/mqueue.c   	dput(dentry);
dentry             78 kernel/audit_fsnotify.c 	struct dentry *dentry;
dentry             85 kernel/audit_fsnotify.c 	dentry = kern_path_locked(pathname, &path);
dentry             86 kernel/audit_fsnotify.c 	if (IS_ERR(dentry))
dentry             87 kernel/audit_fsnotify.c 		return (void *)dentry; /* returning an error */
dentry             88 kernel/audit_fsnotify.c 	inode = path.dentry->d_inode;
dentry            100 kernel/audit_fsnotify.c 	audit_update_mark(audit_mark, dentry->d_inode);
dentry            109 kernel/audit_fsnotify.c 	dput(dentry);
dentry            171 kernel/audit_fsnotify.c 		inode = ((const struct path *)data)->dentry->d_inode;
dentry            138 kernel/audit_watch.c 	struct inode *inode = d_backing_inode(path->dentry);
dentry            351 kernel/audit_watch.c 	struct dentry *d = kern_path_locked(watch->path, parent);
dentry            359 kernel/audit_watch.c 	inode_unlock(d_backing_inode(parent->dentry));
dentry            429 kernel/audit_watch.c 	parent = audit_find_parent(d_backing_inode(parent_path.dentry));
dentry            485 kernel/audit_watch.c 		inode = d_backing_inode(((const struct path *)data)->dentry);
dentry            874 kernel/auditsc.c 	context->pwd.dentry = NULL;
dentry           1551 kernel/auditsc.c 	if (context->pwd.dentry && context->pwd.mnt) {
dentry           1764 kernel/auditsc.c static void handle_path(const struct dentry *dentry)
dentry           1768 kernel/auditsc.c 	const struct dentry *d, *parent;
dentry           1778 kernel/auditsc.c 	d = dentry;
dentry           1892 kernel/auditsc.c 	if (!context->pwd.dentry)
dentry           1897 kernel/auditsc.c 				   const struct dentry *dentry)
dentry           1902 kernel/auditsc.c 	if (!dentry)
dentry           1905 kernel/auditsc.c 	rc = get_vfs_caps_from_disk(dentry, &caps);
dentry           1921 kernel/auditsc.c 			     const struct dentry *dentry,
dentry           1935 kernel/auditsc.c 	audit_copy_fcaps(name, dentry);
dentry           1944 kernel/auditsc.c void __audit_inode(struct filename *name, const struct dentry *dentry,
dentry           1948 kernel/auditsc.c 	struct inode *inode = d_backing_inode(dentry);
dentry           2038 kernel/auditsc.c 	handle_path(dentry);
dentry           2039 kernel/auditsc.c 	audit_copy_inode(n, dentry, inode, flags & AUDIT_INODE_NOEVAL);
dentry           2044 kernel/auditsc.c 	__audit_inode(NULL, file->f_path.dentry, 0);
dentry           2062 kernel/auditsc.c 			 const struct dentry *dentry,
dentry           2066 kernel/auditsc.c 	struct inode *inode = d_backing_inode(dentry);
dentry           2067 kernel/auditsc.c 	const struct qstr *dname = &dentry->d_name;
dentry           2155 kernel/auditsc.c 		audit_copy_inode(found_child, dentry, inode, 0);
dentry           2456 kernel/auditsc.c 	get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps);
dentry            123 kernel/bpf/inode.c static void bpf_dentry_finalize(struct dentry *dentry, struct inode *inode,
dentry            126 kernel/bpf/inode.c 	d_instantiate(dentry, inode);
dentry            127 kernel/bpf/inode.c 	dget(dentry);
dentry            133 kernel/bpf/inode.c static int bpf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry            147 kernel/bpf/inode.c 	bpf_dentry_finalize(dentry, inode, dir);
dentry            306 kernel/bpf/inode.c static int bpf_mkobj_ops(struct dentry *dentry, umode_t mode, void *raw,
dentry            310 kernel/bpf/inode.c 	struct inode *dir = dentry->d_parent->d_inode;
dentry            319 kernel/bpf/inode.c 	bpf_dentry_finalize(dentry, inode, dir);
dentry            323 kernel/bpf/inode.c static int bpf_mkprog(struct dentry *dentry, umode_t mode, void *arg)
dentry            325 kernel/bpf/inode.c 	return bpf_mkobj_ops(dentry, mode, arg, &bpf_prog_iops,
dentry            329 kernel/bpf/inode.c static int bpf_mkmap(struct dentry *dentry, umode_t mode, void *arg)
dentry            333 kernel/bpf/inode.c 	return bpf_mkobj_ops(dentry, mode, arg, &bpf_map_iops,
dentry            338 kernel/bpf/inode.c static struct dentry *
dentry            339 kernel/bpf/inode.c bpf_lookup(struct inode *dir, struct dentry *dentry, unsigned flags)
dentry            344 kernel/bpf/inode.c 	if (strchr(dentry->d_name.name, '.'))
dentry            347 kernel/bpf/inode.c 	return simple_lookup(dir, dentry, flags);
dentry            350 kernel/bpf/inode.c static int bpf_symlink(struct inode *dir, struct dentry *dentry,
dentry            368 kernel/bpf/inode.c 	bpf_dentry_finalize(dentry, inode, dir);
dentry            385 kernel/bpf/inode.c 	struct dentry *dentry;
dentry            391 kernel/bpf/inode.c 	dentry = kern_path_create(AT_FDCWD, pathname->name, &path, 0);
dentry            392 kernel/bpf/inode.c 	if (IS_ERR(dentry))
dentry            393 kernel/bpf/inode.c 		return PTR_ERR(dentry);
dentry            397 kernel/bpf/inode.c 	ret = security_path_mknod(&path, dentry, mode, 0);
dentry            401 kernel/bpf/inode.c 	dir = d_inode(path.dentry);
dentry            409 kernel/bpf/inode.c 		ret = vfs_mkobj(dentry, mode, bpf_mkprog, raw);
dentry            412 kernel/bpf/inode.c 		ret = vfs_mkobj(dentry, mode, bpf_mkmap, raw);
dentry            418 kernel/bpf/inode.c 	done_path_create(&path, dentry);
dentry            459 kernel/bpf/inode.c 	inode = d_backing_inode(path.dentry);
dentry            546 kernel/bpf/inode.c 	prog = __get_prog_inode(d_backing_inode(path.dentry), type);
dentry            557 kernel/bpf/inode.c static int bpf_show_options(struct seq_file *m, struct dentry *root)
dentry            335 kernel/bpf/offload.c 	ns_inode = ns_path.dentry->d_inode;
dentry            538 kernel/bpf/offload.c 	ns_inode = ns_path.dentry->d_inode;
dentry            690 kernel/cgroup/cgroup-v1.c int cgroupstats_build(struct cgroupstats *stats, struct dentry *dentry)
dentry            692 kernel/cgroup/cgroup-v1.c 	struct kernfs_node *kn = kernfs_node_from_dentry(dentry);
dentry            698 kernel/cgroup/cgroup-v1.c 	if (dentry->d_sb->s_type != &cgroup_fs_type || !kn ||
dentry           2108 kernel/cgroup/cgroup.c 		struct dentry *nsdentry;
dentry           4788 kernel/cgroup/cgroup.c 					    of->file->f_path.dentry->d_sb);
dentry           4832 kernel/cgroup/cgroup.c 					    of->file->f_path.dentry->d_sb);
dentry           6200 kernel/cgroup/cgroup.c struct cgroup_subsys_state *css_tryget_online_from_dir(struct dentry *dentry,
dentry           6203 kernel/cgroup/cgroup.c 	struct kernfs_node *kn = kernfs_node_from_dentry(dentry);
dentry           6204 kernel/cgroup/cgroup.c 	struct file_system_type *s_type = dentry->d_sb->s_type;
dentry           6298 kernel/cgroup/cgroup.c 	css = css_tryget_online_from_dir(f->f_path.dentry, NULL);
dentry            851 kernel/dma/debug.c 	struct dentry *dentry = debugfs_create_dir("dma-api", NULL);
dentry            853 kernel/dma/debug.c 	debugfs_create_bool("disabled", 0444, dentry, &global_disable);
dentry            854 kernel/dma/debug.c 	debugfs_create_u32("error_count", 0444, dentry, &error_count);
dentry            855 kernel/dma/debug.c 	debugfs_create_u32("all_errors", 0644, dentry, &show_all_errors);
dentry            856 kernel/dma/debug.c 	debugfs_create_u32("num_errors", 0644, dentry, &show_num_errors);
dentry            857 kernel/dma/debug.c 	debugfs_create_u32("num_free_entries", 0444, dentry, &num_free_entries);
dentry            858 kernel/dma/debug.c 	debugfs_create_u32("min_free_entries", 0444, dentry, &min_free_entries);
dentry            859 kernel/dma/debug.c 	debugfs_create_u32("nr_total_entries", 0444, dentry, &nr_total_entries);
dentry            860 kernel/dma/debug.c 	debugfs_create_file("driver_filter", 0644, dentry, NULL, &filter_fops);
dentry            861 kernel/dma/debug.c 	debugfs_create_file("dump", 0444, dentry, NULL, &dump_fops);
dentry            708 kernel/dma/swiotlb.c 	struct dentry *root;
dentry            911 kernel/events/core.c 	css = css_tryget_online_from_dir(f.file->f_path.dentry,
dentry           6893 kernel/events/core.c 		if (filter->path.dentry) {
dentry           7286 kernel/events/core.c 		ns_inode = ns_path.dentry->d_inode;
dentry           7569 kernel/events/core.c 	if (!filter->path.dentry)
dentry           7572 kernel/events/core.c 	if (d_inode(filter->path.dentry) != file_inode(file))
dentry           9259 kernel/events/core.c 		if (filter->path.dentry) {
dentry           9467 kernel/events/core.c 				if (!filter->path.dentry ||
dentry           9468 kernel/events/core.c 				    !S_ISREG(d_inode(filter->path.dentry)
dentry             34 kernel/fail_function.c static struct dentry *fei_debugfs_dir;
dentry            157 kernel/fail_function.c 	struct dentry *dir;
dentry            166 kernel/fail_function.c 	struct dentry *dir;
dentry            325 kernel/fail_function.c 	struct dentry *dir;
dentry            305 kernel/futex.c 	struct dentry *dir;
dentry             58 kernel/gcov/fs.c 	struct dentry *dentry;
dentry             59 kernel/gcov/fs.c 	struct dentry **links;
dentry            366 kernel/gcov/fs.c static void add_links(struct gcov_node *node, struct dentry *parent)
dentry            375 kernel/gcov/fs.c 	node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL);
dentry            446 kernel/gcov/fs.c 		node->dentry = debugfs_create_file(deskew(node->name), 0600,
dentry            447 kernel/gcov/fs.c 					parent->dentry, node, &gcov_data_fops);
dentry            449 kernel/gcov/fs.c 		node->dentry = debugfs_create_dir(node->name, parent->dentry);
dentry            451 kernel/gcov/fs.c 		add_links(node, parent->dentry);
dentry            484 kernel/gcov/fs.c 	debugfs_remove(node->dentry);
dentry            761 kernel/gcov/fs.c 	root_node.dentry = debugfs_create_dir("gcov", NULL);
dentry            766 kernel/gcov/fs.c 	debugfs_create_file("reset", 0600, root_node.dentry, NULL,
dentry             10 kernel/irq/debugfs.c static struct dentry *irq_dir;
dentry            265 kernel/irq/debugfs.c 	struct dentry *root_dir;
dentry            479 kernel/irq/internals.h void irq_domain_debugfs_init(struct dentry *root);
dentry            481 kernel/irq/internals.h static inline void irq_domain_debugfs_init(struct dentry *root)
dentry           1738 kernel/irq/irqdomain.c static struct dentry *domain_dir;
dentry           1787 kernel/irq/irqdomain.c void __init irq_domain_debugfs_init(struct dentry *root)
dentry           2620 kernel/kprobes.c 	struct dentry *dir;
dentry            146 kernel/locking/lock_events.c 	struct dentry *d_counts = debugfs_create_dir(LOCK_EVENTS_DIR, NULL);
dentry             28 kernel/power/energy_model.c static struct dentry *rootdir;
dentry             30 kernel/power/energy_model.c static void em_debug_create_cs(struct em_cap_state *cs, struct dentry *pd)
dentry             32 kernel/power/energy_model.c 	struct dentry *d;
dentry             54 kernel/power/energy_model.c 	struct dentry *d;
dentry            532 kernel/power/qos.c static int register_pm_qos_misc(struct pm_qos_object *qos, struct dentry *d)
dentry            634 kernel/power/qos.c 	struct dentry *d;
dentry            304 kernel/relay.c static struct dentry *create_buf_file_default_callback(const char *filename,
dentry            305 kernel/relay.c 						       struct dentry *parent,
dentry            316 kernel/relay.c static int remove_buf_file_default_callback(struct dentry *dentry)
dentry            409 kernel/relay.c 					struct dentry *dentry)
dentry            411 kernel/relay.c 	buf->dentry = dentry;
dentry            412 kernel/relay.c 	d_inode(buf->dentry)->i_size = buf->early_bytes;
dentry            415 kernel/relay.c static struct dentry *relay_create_buf_file(struct rchan *chan,
dentry            419 kernel/relay.c 	struct dentry *dentry;
dentry            428 kernel/relay.c 	dentry = chan->cb->create_buf_file(tmpname, chan->parent,
dentry            431 kernel/relay.c 	if (IS_ERR(dentry))
dentry            432 kernel/relay.c 		dentry = NULL;
dentry            436 kernel/relay.c 	return dentry;
dentry            447 kernel/relay.c 	struct dentry *dentry;
dentry            457 kernel/relay.c 		dentry = relay_create_buf_file(chan, buf, cpu);
dentry            458 kernel/relay.c 		if (!dentry)
dentry            460 kernel/relay.c 		relay_set_buf_dentry(buf, dentry);
dentry            463 kernel/relay.c 		dentry = chan->cb->create_buf_file(NULL, NULL,
dentry            466 kernel/relay.c 		if (IS_ERR_OR_NULL(dentry))
dentry            497 kernel/relay.c 	buf->chan->cb->remove_buf_file(buf->dentry);
dentry            564 kernel/relay.c 			 struct dentry *parent,
dentry            628 kernel/relay.c 	struct dentry *dentry;
dentry            636 kernel/relay.c 	relay_set_buf_dentry(p->buf, p->dentry);
dentry            656 kernel/relay.c 			   struct dentry *parent)
dentry            661 kernel/relay.c 	struct dentry *dentry;
dentry            683 kernel/relay.c 			dentry = relay_create_buf_file(chan, buf, 0);
dentry            684 kernel/relay.c 			if (dentry && !WARN_ON_ONCE(!chan->is_global)) {
dentry            685 kernel/relay.c 				relay_set_buf_dentry(buf, dentry);
dentry            707 kernel/relay.c 		dentry = relay_create_buf_file(chan, buf, i);
dentry            708 kernel/relay.c 		if (unlikely(!dentry)) {
dentry            715 kernel/relay.c 			relay_set_buf_dentry(buf, dentry);
dentry            719 kernel/relay.c 			disp.dentry = dentry;
dentry            759 kernel/relay.c 		if (buf->dentry)
dentry            760 kernel/relay.c 			d_inode(buf->dentry)->i_size +=
dentry            426 kernel/taskstats.c 	rc = cgroupstats_build(stats, f.file->f_path.dentry);
dentry             24 kernel/time/test_udelay.c static struct dentry *udelay_test_debugfs_file;
dentry            432 kernel/trace/blktrace.c static int blk_remove_buf_file_callback(struct dentry *dentry)
dentry            434 kernel/trace/blktrace.c 	debugfs_remove(dentry);
dentry            439 kernel/trace/blktrace.c static struct dentry *blk_create_buf_file_callback(const char *filename,
dentry            440 kernel/trace/blktrace.c 						   struct dentry *parent,
dentry            480 kernel/trace/blktrace.c 	struct dentry *dir = NULL;
dentry            961 kernel/trace/ftrace.c static __init void ftrace_profile_tracefs(struct dentry *d_tracer)
dentry            964 kernel/trace/ftrace.c 	struct dentry *entry;
dentry           1002 kernel/trace/ftrace.c static __init void ftrace_profile_tracefs(struct dentry *d_tracer)
dentry           5509 kernel/trace/ftrace.c 				struct dentry *parent)
dentry           5539 kernel/trace/ftrace.c static __init int ftrace_init_dyn_tracefs(struct dentry *d_tracer)
dentry           6263 kernel/trace/ftrace.c static inline int ftrace_init_dyn_tracefs(struct dentry *d_tracer) { return 0; }
dentry           6682 kernel/trace/ftrace.c void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d_tracer)
dentry           6689 kernel/trace/ftrace.c 					 struct dentry *d_tracer)
dentry           5406 kernel/trace/trace.c static void trace_create_eval_file(struct dentry *d_tracer)
dentry           5413 kernel/trace/trace.c static inline void trace_create_eval_file(struct dentry *d_tracer) { }
dentry           7775 kernel/trace/trace.c static struct dentry *tracing_get_dentry(struct trace_array *tr)
dentry           7788 kernel/trace/trace.c static struct dentry *tracing_dentry_percpu(struct trace_array *tr, int cpu)
dentry           7790 kernel/trace/trace.c 	struct dentry *d_tracer;
dentry           7807 kernel/trace/trace.c static struct dentry *
dentry           7808 kernel/trace/trace.c trace_create_cpu_file(const char *name, umode_t mode, struct dentry *parent,
dentry           7811 kernel/trace/trace.c 	struct dentry *ret = trace_create_file(name, mode, parent, data, fops);
dentry           7821 kernel/trace/trace.c 	struct dentry *d_percpu = tracing_dentry_percpu(tr, cpu);
dentry           7822 kernel/trace/trace.c 	struct dentry *d_cpu;
dentry           8010 kernel/trace/trace.c struct dentry *trace_create_file(const char *name,
dentry           8012 kernel/trace/trace.c 				 struct dentry *parent,
dentry           8016 kernel/trace/trace.c 	struct dentry *ret;
dentry           8026 kernel/trace/trace.c static struct dentry *trace_options_init_dentry(struct trace_array *tr)
dentry           8028 kernel/trace/trace.c 	struct dentry *d_tracer;
dentry           8052 kernel/trace/trace.c 	struct dentry *t_options;
dentry           8128 kernel/trace/trace.c static struct dentry *
dentry           8132 kernel/trace/trace.c 	struct dentry *t_options;
dentry           8145 kernel/trace/trace.c 	struct dentry *t_options;
dentry           8263 kernel/trace/trace.c static struct dentry *trace_instance_dir;
dentry           8266 kernel/trace/trace.c init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer);
dentry           8546 kernel/trace/trace.c static __init void create_trace_instances(struct dentry *d_tracer)
dentry           8556 kernel/trace/trace.c init_tracer_tracefs(struct trace_array *tr, struct dentry *d_tracer)
dentry           8638 kernel/trace/trace.c static struct vfsmount *trace_automount(struct dentry *mntpt, void *ingore)
dentry           8667 kernel/trace/trace.c struct dentry *tracing_init_dentry(void)
dentry           8781 kernel/trace/trace.c 	struct dentry *d_tracer;
dentry            302 kernel/trace/trace.h 	struct dentry		*dir;
dentry            303 kernel/trace/trace.h 	struct dentry		*options;
dentry            304 kernel/trace/trace.h 	struct dentry		*percpu_dir;
dentry            305 kernel/trace/trace.h 	struct dentry		*event_dir;
dentry            443 kernel/trace/trace.h 	struct dentry			*entry;
dentry            690 kernel/trace/trace.h struct dentry *trace_create_file(const char *name,
dentry            692 kernel/trace/trace.h 				 struct dentry *parent,
dentry            696 kernel/trace/trace.h struct dentry *tracing_init_dentry(void);
dentry           1065 kernel/trace/trace.h 				 struct dentry *parent);
dentry           1070 kernel/trace/trace.h void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d_tracer);
dentry           1072 kernel/trace/trace.h 				  struct dentry *d_tracer);
dentry           1084 kernel/trace/trace.h 			     struct dentry *parent)
dentry           1092 kernel/trace/trace.h static inline void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d) { }
dentry           1093 kernel/trace/trace.h static inline void ftrace_init_tracefs_toplevel(struct trace_array *tr, struct dentry *d) { }
dentry           1147 kernel/trace/trace.h 				struct dentry *parent);
dentry           1365 kernel/trace/trace.h 	struct dentry			*entry;
dentry           1585 kernel/trace/trace.h extern int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr);
dentry            209 kernel/trace/trace_dynevent.c 	struct dentry *d_tracer;
dentry            210 kernel/trace/trace_dynevent.c 	struct dentry *entry;
dentry            708 kernel/trace/trace_events.c 	struct dentry *dir = file->dir;
dentry            709 kernel/trace/trace_events.c 	struct dentry *child;
dentry           1873 kernel/trace/trace_events.c static struct dentry *
dentry           1875 kernel/trace/trace_events.c 		    struct trace_event_file *file, struct dentry *parent)
dentry           1879 kernel/trace/trace_events.c 	struct dentry *entry;
dentry           1949 kernel/trace/trace_events.c event_create_dir(struct dentry *parent, struct trace_event_file *file)
dentry           1954 kernel/trace/trace_events.c 	struct dentry *d_events;
dentry           2909 kernel/trace/trace_events.c create_event_toplevel_files(struct dentry *parent, struct trace_array *tr)
dentry           2911 kernel/trace/trace_events.c 	struct dentry *d_events;
dentry           2912 kernel/trace/trace_events.c 	struct dentry *entry;
dentry           2972 kernel/trace/trace_events.c int event_trace_add_tracer(struct dentry *parent, struct trace_array *tr)
dentry           2995 kernel/trace/trace_events.c early_event_add_tracer(struct dentry *parent, struct trace_array *tr)
dentry           3142 kernel/trace/trace_events.c 	struct dentry *d_tracer;
dentry           3143 kernel/trace/trace_events.c 	struct dentry *entry;
dentry           6535 kernel/trace/trace_events_hist.c 	struct dentry *entry = NULL;
dentry           6536 kernel/trace/trace_events_hist.c 	struct dentry *d_tracer;
dentry             56 kernel/trace/trace_functions.c 				 struct dentry *parent)
dentry           1339 kernel/trace/trace_functions_graph.c 	struct dentry *d_tracer;
dentry             60 kernel/trace/trace_hwlat.c static struct dentry *hwlat_sample_width;	/* sample width us */
dentry             61 kernel/trace/trace_hwlat.c static struct dentry *hwlat_sample_window;	/* sample window us */
dentry            528 kernel/trace/trace_hwlat.c 	struct dentry *d_tracer;
dentry            529 kernel/trace/trace_hwlat.c 	struct dentry *top_dir;
dentry           1694 kernel/trace/trace_kprobe.c 	struct dentry *d_tracer;
dentry           1695 kernel/trace/trace_kprobe.c 	struct dentry *entry;
dentry            370 kernel/trace/trace_printk.c 	struct dentry *d_tracer;
dentry            558 kernel/trace/trace_stack.c 	struct dentry *d_tracer;
dentry             37 kernel/trace/trace_stat.c 	struct dentry		*file;
dentry             45 kernel/trace/trace_stat.c static struct dentry		*stat_dir;
dentry            281 kernel/trace/trace_stat.c 	struct dentry *d_tracing;
dentry            412 kernel/trace/trace_uprobe.c 	struct inode *comp_inode = d_real_inode(comp->path.dentry);
dentry            417 kernel/trace/trace_uprobe.c 		if (comp_inode != d_real_inode(orig->path.dentry) ||
dentry            476 kernel/trace/trace_uprobe.c 	struct inode *new_inode = d_real_inode(new->path.dentry);
dentry            479 kernel/trace/trace_uprobe.c 		if (new_inode == d_real_inode(tmp->path.dentry) &&
dentry            588 kernel/trace/trace_uprobe.c 	if (!d_is_reg(path.dentry)) {
dentry           1044 kernel/trace/trace_uprobe.c 	tu->inode = d_real_inode(tu->path.dentry);
dentry           1567 kernel/trace/trace_uprobe.c 	if (!d_is_reg(path.dentry)) {
dentry           1617 kernel/trace/trace_uprobe.c 	struct dentry *d_tracer;
dentry             14 lib/842/842_debugfs.h static struct dentry *sw842_debugfs_root;
dentry           1040 lib/debugobjects.c 	struct dentry *dbgdir;
dentry            996 lib/dynamic_debug.c 	struct dentry *dir;
dentry            218 lib/error-inject.c 	struct dentry *dir, *file;
dentry            170 lib/fault-inject.c 			      struct dentry *parent, unsigned long *value)
dentry            189 lib/fault-inject.c 					    struct dentry *parent,
dentry            197 lib/fault-inject.c struct dentry *fault_create_debugfs_attr(const char *name,
dentry            198 lib/fault-inject.c 			struct dentry *parent, struct fault_attr *attr)
dentry            201 lib/fault-inject.c 	struct dentry *dir;
dentry             20 lib/memory-notifier-error-inject.c static struct dentry *dir;
dentry             27 lib/netdev-notifier-error-inject.c static struct dentry *dir;
dentry             21 lib/notifier-error-inject.c static struct dentry *debugfs_create_errno(const char *name, umode_t mode,
dentry             22 lib/notifier-error-inject.c 				struct dentry *parent, int *value)
dentry             47 lib/notifier-error-inject.c struct dentry *notifier_err_inject_dir;
dentry             50 lib/notifier-error-inject.c struct dentry *notifier_err_inject_init(const char *name, struct dentry *parent,
dentry             55 lib/notifier-error-inject.c 	struct dentry *dir;
dentry             56 lib/notifier-error-inject.c 	struct dentry *actions_dir;
dentry             66 lib/notifier-error-inject.c 		struct dentry *action_dir;
dentry             21 lib/notifier-error-inject.h extern struct dentry *notifier_err_inject_dir;
dentry             23 lib/notifier-error-inject.h extern struct dentry *notifier_err_inject_init(const char *name,
dentry             24 lib/notifier-error-inject.h 		struct dentry *parent, struct notifier_err_inject *err_inject,
dentry             23 lib/of-reconfig-notifier-error-inject.c static struct dentry *dir;
dentry             21 lib/pm-notifier-error-inject.c static struct dentry *dir;
dentry            453 lib/test_printf.c static struct dentry test_dentry[4] __initdata = {
dentry            628 lib/test_printf.c 	dentry();
dentry            831 lib/vsprintf.c char *dentry_name(char *buf, char *end, const struct dentry *d, struct printf_spec spec,
dentry            835 lib/vsprintf.c 	const struct dentry *p;
dentry            886 lib/vsprintf.c 	return dentry_name(buf, end, f->f_path.dentry, spec, fmt);
dentry             42 mm/backing-dev.c static struct dentry *bdi_debug_root;
dentry            306 mm/cleancache.c 	struct dentry *root = debugfs_create_dir("cleancache", NULL);
dentry            163 mm/cma_debug.c static void cma_debugfs_add_one(struct cma *cma, struct dentry *root_dentry)
dentry            165 mm/cma_debug.c 	struct dentry *tmp;
dentry            189 mm/cma_debug.c 	struct dentry *cma_debugfs_root;
dentry             87 mm/debug.c     			struct dentry *dentry;
dentry             88 mm/debug.c     			dentry = container_of(mapping->host->i_dentry.first, struct dentry, d_u.d_alias);
dentry             89 mm/debug.c     			pr_warn("%ps name:\"%pd\"\n", mapping->a_ops, dentry);
dentry             45 mm/failslab.c  	struct dentry *dir;
dentry            485 mm/frontswap.c 	struct dentry *root = debugfs_create_dir("frontswap", NULL);
dentry             12 mm/hwpoison-inject.c static struct dentry *hwpoison_dir;
dentry           2008 mm/memblock.c  	struct dentry *root = debugfs_create_dir("memblock", NULL);
dentry           4763 mm/memcontrol.c 	name = cfile.file->f_path.dentry->d_name.name;
dentry           4787 mm/memcontrol.c 	cfile_css = css_tryget_online_from_dir(cfile.file->f_path.dentry->d_parent,
dentry           3360 mm/page_alloc.c 	struct dentry *dir;
dentry           1000 mm/shmem.c     	struct inode *inode = path->dentry->d_inode;
dentry           1017 mm/shmem.c     static int shmem_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1019 mm/shmem.c     	struct inode *inode = d_inode(dentry);
dentry           1024 mm/shmem.c     	error = setattr_prepare(dentry, attr);
dentry           2857 mm/shmem.c     static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf)
dentry           2859 mm/shmem.c     	struct shmem_sb_info *sbinfo = SHMEM_SB(dentry->d_sb);
dentry           2882 mm/shmem.c     shmem_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry           2893 mm/shmem.c     						     &dentry->d_name,
dentry           2901 mm/shmem.c     		d_instantiate(dentry, inode);
dentry           2902 mm/shmem.c     		dget(dentry); /* Extra count - pin the dentry in core */
dentry           2911 mm/shmem.c     shmem_tmpfile(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2926 mm/shmem.c     		d_tmpfile(dentry, inode);
dentry           2934 mm/shmem.c     static int shmem_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2938 mm/shmem.c     	if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0)))
dentry           2944 mm/shmem.c     static int shmem_create(struct inode *dir, struct dentry *dentry, umode_t mode,
dentry           2947 mm/shmem.c     	return shmem_mknod(dir, dentry, mode | S_IFREG, 0);
dentry           2953 mm/shmem.c     static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
dentry           2975 mm/shmem.c     	dget(dentry);		/* Extra pinning count for the created dentry */
dentry           2976 mm/shmem.c     	d_instantiate(dentry, inode);
dentry           2981 mm/shmem.c     static int shmem_unlink(struct inode *dir, struct dentry *dentry)
dentry           2983 mm/shmem.c     	struct inode *inode = d_inode(dentry);
dentry           2991 mm/shmem.c     	dput(dentry);	/* Undo the count from "create" - this does all the work */
dentry           2995 mm/shmem.c     static int shmem_rmdir(struct inode *dir, struct dentry *dentry)
dentry           2997 mm/shmem.c     	if (!simple_empty(dentry))
dentry           3000 mm/shmem.c     	drop_nlink(d_inode(dentry));
dentry           3002 mm/shmem.c     	return shmem_unlink(dir, dentry);
dentry           3005 mm/shmem.c     static int shmem_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)
dentry           3027 mm/shmem.c     static int shmem_whiteout(struct inode *old_dir, struct dentry *old_dentry)
dentry           3029 mm/shmem.c     	struct dentry *whiteout;
dentry           3059 mm/shmem.c     static int shmem_rename2(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags)
dentry           3100 mm/shmem.c     static int shmem_symlink(struct inode *dir, struct dentry *dentry, const char *symname)
dentry           3116 mm/shmem.c     	error = security_inode_init_security(inode, dir, &dentry->d_name,
dentry           3151 mm/shmem.c     	d_instantiate(dentry, inode);
dentry           3152 mm/shmem.c     	dget(dentry);
dentry           3162 mm/shmem.c     static const char *shmem_get_link(struct dentry *dentry,
dentry           3168 mm/shmem.c     	if (!dentry) {
dentry           3231 mm/shmem.c     				   struct dentry *unused, struct inode *inode,
dentry           3241 mm/shmem.c     				   struct dentry *unused, struct inode *inode,
dentry           3273 mm/shmem.c     static ssize_t shmem_listxattr(struct dentry *dentry, char *buffer, size_t size)
dentry           3275 mm/shmem.c     	struct shmem_inode_info *info = SHMEM_I(d_inode(dentry));
dentry           3276 mm/shmem.c     	return simple_xattr_list(d_inode(dentry), &info->xattrs, buffer, size);
dentry           3294 mm/shmem.c     static struct dentry *shmem_get_parent(struct dentry *child)
dentry           3308 mm/shmem.c     static struct dentry *shmem_find_alias(struct inode *inode)
dentry           3310 mm/shmem.c     	struct dentry *alias = d_find_alias(inode);
dentry           3316 mm/shmem.c     static struct dentry *shmem_fh_to_dentry(struct super_block *sb,
dentry           3320 mm/shmem.c     	struct dentry *dentry = NULL;
dentry           3332 mm/shmem.c     		dentry = shmem_find_alias(inode);
dentry           3336 mm/shmem.c     	return dentry;
dentry           3595 mm/shmem.c     static int shmem_show_options(struct seq_file *seq, struct dentry *root)
dentry           2136 mm/vmstat.c    	struct dentry *extfrag_debug_root;
dentry            176 mm/zsmalloc.c  static struct dentry *zs_stat_root;
dentry            267 mm/zsmalloc.c  	struct dentry *stat_dentry;
dentry           1249 mm/zswap.c     static struct dentry *zswap_debugfs_root;
dentry             15 net/6lowpan/debugfs.c static struct dentry *lowpan_debugfs;
dentry            167 net/6lowpan/debugfs.c 					struct dentry *ctx, u8 id)
dentry            170 net/6lowpan/debugfs.c 	struct dentry *root;
dentry            232 net/6lowpan/debugfs.c 	struct dentry *root;
dentry            247 net/6lowpan/debugfs.c 	struct dentry *contexts;
dentry             37 net/batman-adv/debugfs.c static struct dentry *batadv_debugfs;
dentry             46 net/batman-adv/debugfs.c 	struct dentry *dentry = file_dentry(file);
dentry             47 net/batman-adv/debugfs.c 	const char *name = dentry->d_name.name;
dentry            343 net/batman-adv/debugfs.c 	struct dentry *dir;
dentry            415 net/batman-adv/debugfs.c 	struct dentry *dir;
dentry           1950 net/batman-adv/network-coding.c 	struct dentry *nc_dir;
dentry            226 net/batman-adv/types.h 	struct dentry *debug_dir;
dentry           1310 net/batman-adv/types.h 	struct dentry *debug_dir;
dentry           1672 net/batman-adv/types.h 	struct dentry *debug_dir;
dentry             26 net/bluetooth/6lowpan.c static struct dentry *lowpan_enable_debugfs;
dentry             27 net/bluetooth/6lowpan.c static struct dentry *lowpan_control_debugfs;
dentry            714 net/bluetooth/af_bluetooth.c struct dentry *bt_debugfs;
dentry           7711 net/bluetooth/l2cap_core.c static struct dentry *l2cap_debugfs;
dentry           2172 net/bluetooth/rfcomm/core.c static struct dentry *rfcomm_dlc_debugfs;
dentry           1025 net/bluetooth/rfcomm/sock.c static struct dentry *rfcomm_sock_debugfs;
dentry           1178 net/bluetooth/sco.c static struct dentry *sco_debugfs;
dentry             52 net/caif/caif_socket.c 	struct dentry *debugfs_socket_dir;
dentry             32 net/ceph/debugfs.c static struct dentry *ceph_debugfs_dir;
dentry             23 net/hsr/hsr_debugfs.c static struct dentry *hsr_debugfs_root_dir;
dentry             71 net/hsr/hsr_debugfs.c 	struct dentry *d;
dentry             97 net/hsr/hsr_debugfs.c 	struct dentry *de = NULL;
dentry            168 net/hsr/hsr_main.h 	struct dentry *node_tbl_root;
dentry            169 net/hsr/hsr_main.h 	struct dentry *node_tbl_file;
dentry             33 net/l2tp/l2tp_debugfs.c static struct dentry *rootdir;
dentry            417 net/mac80211/debugfs.c 	struct dentry *phyd = local->hw.wiphy->debugfsdir;
dentry            418 net/mac80211/debugfs.c 	struct dentry *statsd;
dentry            723 net/mac80211/debugfs_netdev.c 	struct dentry *dir = debugfs_create_dir("mesh_stats",
dentry            739 net/mac80211/debugfs_netdev.c 	struct dentry *dir = debugfs_create_dir("mesh_config",
dentry            842 net/mac80211/debugfs_netdev.c 	struct dentry *dir;
dentry            943 net/mac80211/debugfs_sta.c 	struct dentry *stations_dir = sta->sdata->debugfs.subdir_stations;
dentry            494 net/mac80211/driver-ops.h 				       struct dentry *dir)
dentry            980 net/mac80211/ieee80211_i.h 		struct dentry *subdir_stations;
dentry            981 net/mac80211/ieee80211_i.h 		struct dentry *default_unicast_key;
dentry            982 net/mac80211/ieee80211_i.h 		struct dentry *default_multicast_key;
dentry            983 net/mac80211/ieee80211_i.h 		struct dentry *default_mgmt_key;
dentry           1381 net/mac80211/ieee80211_i.h 		struct dentry *rcdir;
dentry           1382 net/mac80211/ieee80211_i.h 		struct dentry *keys;
dentry            124 net/mac80211/key.h 		struct dentry *stalink;
dentry            125 net/mac80211/key.h 		struct dentry *dir;
dentry             68 net/mac80211/rate.h 	struct dentry *debugfsdir;
dentry            126 net/mac80211/rc80211_minstrel.h void minstrel_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir);
dentry           1678 net/mac80211/rc80211_minstrel_ht.c 				    struct dentry *debugfsdir)
dentry            120 net/mac80211/rc80211_minstrel_ht.h void minstrel_ht_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir);
dentry            317 net/mac80211/rc80211_minstrel_ht_debugfs.c minstrel_ht_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir)
dentry            612 net/mac80211/sta_info.h 	struct dentry *debugfs_dir;
dentry            291 net/socket.c   static char *sockfs_dname(struct dentry *dentry, char *buffer, int buflen)
dentry            293 net/socket.c   	return dynamic_dname(dentry, buffer, buflen, "socket:[%lu]",
dentry            294 net/socket.c   				d_inode(dentry)->i_ino);
dentry            302 net/socket.c   			    struct dentry *dentry, struct inode *inode,
dentry            306 net/socket.c   		if (dentry->d_name.len + 1 > size)
dentry            308 net/socket.c   		memcpy(value, dentry->d_name.name, dentry->d_name.len + 1);
dentry            310 net/socket.c   	return dentry->d_name.len + 1;
dentry            323 net/socket.c   				     struct dentry *dentry, struct inode *inode,
dentry            496 net/socket.c   static ssize_t sockfs_listxattr(struct dentry *dentry, char *buffer,
dentry            502 net/socket.c   	len = security_inode_listsecurity(d_inode(dentry), buffer, size);
dentry            524 net/socket.c   static int sockfs_setattr(struct dentry *dentry, struct iattr *iattr)
dentry            526 net/socket.c   	int err = simple_setattr(dentry, iattr);
dentry            529 net/socket.c   		struct socket *sock = SOCKET_I(d_inode(dentry));
dentry            880 net/sunrpc/auth_gss/auth_gss.c static void gss_pipe_dentry_destroy(struct dentry *dir,
dentry            886 net/sunrpc/auth_gss/auth_gss.c 	if (pipe->dentry != NULL) {
dentry            887 net/sunrpc/auth_gss/auth_gss.c 		rpc_unlink(pipe->dentry);
dentry            888 net/sunrpc/auth_gss/auth_gss.c 		pipe->dentry = NULL;
dentry            892 net/sunrpc/auth_gss/auth_gss.c static int gss_pipe_dentry_create(struct dentry *dir,
dentry            896 net/sunrpc/auth_gss/auth_gss.c 	struct dentry *dentry;
dentry            898 net/sunrpc/auth_gss/auth_gss.c 	dentry = rpc_mkpipe_dentry(dir, p->name, p->clnt, p->pipe);
dentry            899 net/sunrpc/auth_gss/auth_gss.c 	if (IS_ERR(dentry))
dentry            900 net/sunrpc/auth_gss/auth_gss.c 		return PTR_ERR(dentry);
dentry            901 net/sunrpc/auth_gss/auth_gss.c 	p->pipe->dentry = dentry;
dentry           1864 net/sunrpc/cache.c int sunrpc_cache_register_pipefs(struct dentry *parent,
dentry           1868 net/sunrpc/cache.c 	struct dentry *dir = rpc_create_cache_dir(parent, name, umode, cd);
dentry            121 net/sunrpc/clnt.c static struct dentry *rpc_setup_pipedir_sb(struct super_block *sb,
dentry            127 net/sunrpc/clnt.c 	struct dentry *dir, *dentry;
dentry            137 net/sunrpc/clnt.c 		dentry = rpc_create_client_dir(dir, name, clnt);
dentry            138 net/sunrpc/clnt.c 		if (!IS_ERR(dentry))
dentry            140 net/sunrpc/clnt.c 		if (dentry == ERR_PTR(-EEXIST))
dentry            144 net/sunrpc/clnt.c 				dir_name, name, PTR_ERR(dentry));
dentry            148 net/sunrpc/clnt.c 	return dentry;
dentry            154 net/sunrpc/clnt.c 	struct dentry *dentry;
dentry            157 net/sunrpc/clnt.c 		dentry = rpc_setup_pipedir_sb(pipefs_sb, clnt);
dentry            158 net/sunrpc/clnt.c 		if (IS_ERR(dentry))
dentry            159 net/sunrpc/clnt.c 			return PTR_ERR(dentry);
dentry            187 net/sunrpc/clnt.c 	struct dentry *dentry;
dentry            191 net/sunrpc/clnt.c 		dentry = rpc_setup_pipedir_sb(sb, clnt);
dentry            192 net/sunrpc/clnt.c 		if (!dentry)
dentry            194 net/sunrpc/clnt.c 		if (IS_ERR(dentry))
dentry            195 net/sunrpc/clnt.c 			return PTR_ERR(dentry);
dentry             13 net/sunrpc/debugfs.c static struct dentry *topdir;
dentry             14 net/sunrpc/debugfs.c static struct dentry *rpc_clnt_dir;
dentry             15 net/sunrpc/debugfs.c static struct dentry *rpc_xprt_dir;
dentry            312 net/sunrpc/debugfs.c 	struct dentry *rpc_fault_dir;
dentry             89 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry             97 net/sunrpc/rpc_pipe.c 	dentry = dget(pipe->dentry);
dentry             99 net/sunrpc/rpc_pipe.c 	rpc_purge_list(dentry ? &RPC_I(d_inode(dentry))->waitq : NULL,
dentry            101 net/sunrpc/rpc_pipe.c 	dput(dentry);
dentry            138 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry            154 net/sunrpc/rpc_pipe.c 	dentry = dget(pipe->dentry);
dentry            156 net/sunrpc/rpc_pipe.c 	if (dentry) {
dentry            157 net/sunrpc/rpc_pipe.c 		wake_up(&RPC_I(d_inode(dentry))->waitq);
dentry            158 net/sunrpc/rpc_pipe.c 		dput(dentry);
dentry            184 net/sunrpc/rpc_pipe.c 	pipe->dentry = NULL;
dentry            423 net/sunrpc/rpc_pipe.c 		spin_lock(&file->f_path.dentry->d_lock);
dentry            424 net/sunrpc/rpc_pipe.c 		if (!d_unhashed(file->f_path.dentry))
dentry            427 net/sunrpc/rpc_pipe.c 			spin_unlock(&file->f_path.dentry->d_lock);
dentry            430 net/sunrpc/rpc_pipe.c 			spin_unlock(&file->f_path.dentry->d_lock);
dentry            487 net/sunrpc/rpc_pipe.c static int __rpc_create_common(struct inode *dir, struct dentry *dentry,
dentry            494 net/sunrpc/rpc_pipe.c 	d_drop(dentry);
dentry            503 net/sunrpc/rpc_pipe.c 	d_add(dentry, inode);
dentry            507 net/sunrpc/rpc_pipe.c 			__FILE__, __func__, dentry);
dentry            508 net/sunrpc/rpc_pipe.c 	dput(dentry);
dentry            512 net/sunrpc/rpc_pipe.c static int __rpc_create(struct inode *dir, struct dentry *dentry,
dentry            519 net/sunrpc/rpc_pipe.c 	err = __rpc_create_common(dir, dentry, S_IFREG | mode, i_fop, private);
dentry            522 net/sunrpc/rpc_pipe.c 	fsnotify_create(dir, dentry);
dentry            526 net/sunrpc/rpc_pipe.c static int __rpc_mkdir(struct inode *dir, struct dentry *dentry,
dentry            533 net/sunrpc/rpc_pipe.c 	err = __rpc_create_common(dir, dentry, S_IFDIR | mode, i_fop, private);
dentry            537 net/sunrpc/rpc_pipe.c 	fsnotify_mkdir(dir, dentry);
dentry            554 net/sunrpc/rpc_pipe.c 	pipe->dentry = NULL;
dentry            577 net/sunrpc/rpc_pipe.c static int __rpc_mkpipe_dentry(struct inode *dir, struct dentry *dentry,
dentry            586 net/sunrpc/rpc_pipe.c 	err = __rpc_create_common(dir, dentry, S_IFIFO | mode, i_fop, private);
dentry            589 net/sunrpc/rpc_pipe.c 	rpci = RPC_I(d_inode(dentry));
dentry            592 net/sunrpc/rpc_pipe.c 	fsnotify_create(dir, dentry);
dentry            596 net/sunrpc/rpc_pipe.c static int __rpc_rmdir(struct inode *dir, struct dentry *dentry)
dentry            600 net/sunrpc/rpc_pipe.c 	dget(dentry);
dentry            601 net/sunrpc/rpc_pipe.c 	ret = simple_rmdir(dir, dentry);
dentry            603 net/sunrpc/rpc_pipe.c 		fsnotify_rmdir(dir, dentry);
dentry            604 net/sunrpc/rpc_pipe.c 	d_delete(dentry);
dentry            605 net/sunrpc/rpc_pipe.c 	dput(dentry);
dentry            609 net/sunrpc/rpc_pipe.c static int __rpc_unlink(struct inode *dir, struct dentry *dentry)
dentry            613 net/sunrpc/rpc_pipe.c 	dget(dentry);
dentry            614 net/sunrpc/rpc_pipe.c 	ret = simple_unlink(dir, dentry);
dentry            616 net/sunrpc/rpc_pipe.c 		fsnotify_unlink(dir, dentry);
dentry            617 net/sunrpc/rpc_pipe.c 	d_delete(dentry);
dentry            618 net/sunrpc/rpc_pipe.c 	dput(dentry);
dentry            622 net/sunrpc/rpc_pipe.c static int __rpc_rmpipe(struct inode *dir, struct dentry *dentry)
dentry            624 net/sunrpc/rpc_pipe.c 	struct inode *inode = d_inode(dentry);
dentry            627 net/sunrpc/rpc_pipe.c 	return __rpc_unlink(dir, dentry);
dentry            630 net/sunrpc/rpc_pipe.c static struct dentry *__rpc_lookup_create_exclusive(struct dentry *parent,
dentry            634 net/sunrpc/rpc_pipe.c 	struct dentry *dentry = d_hash_and_lookup(parent, &q);
dentry            635 net/sunrpc/rpc_pipe.c 	if (!dentry) {
dentry            636 net/sunrpc/rpc_pipe.c 		dentry = d_alloc(parent, &q);
dentry            637 net/sunrpc/rpc_pipe.c 		if (!dentry)
dentry            640 net/sunrpc/rpc_pipe.c 	if (d_really_is_negative(dentry))
dentry            641 net/sunrpc/rpc_pipe.c 		return dentry;
dentry            642 net/sunrpc/rpc_pipe.c 	dput(dentry);
dentry            649 net/sunrpc/rpc_pipe.c static void __rpc_depopulate(struct dentry *parent,
dentry            654 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry            661 net/sunrpc/rpc_pipe.c 		dentry = d_hash_and_lookup(parent, &name);
dentry            663 net/sunrpc/rpc_pipe.c 		if (dentry == NULL)
dentry            665 net/sunrpc/rpc_pipe.c 		if (d_really_is_negative(dentry))
dentry            667 net/sunrpc/rpc_pipe.c 		switch (d_inode(dentry)->i_mode & S_IFMT) {
dentry            671 net/sunrpc/rpc_pipe.c 				__rpc_unlink(dir, dentry);
dentry            674 net/sunrpc/rpc_pipe.c 				__rpc_rmdir(dir, dentry);
dentry            677 net/sunrpc/rpc_pipe.c 		dput(dentry);
dentry            681 net/sunrpc/rpc_pipe.c static void rpc_depopulate(struct dentry *parent,
dentry            692 net/sunrpc/rpc_pipe.c static int rpc_populate(struct dentry *parent,
dentry            698 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry            703 net/sunrpc/rpc_pipe.c 		dentry = __rpc_lookup_create_exclusive(parent, files[i].name);
dentry            704 net/sunrpc/rpc_pipe.c 		err = PTR_ERR(dentry);
dentry            705 net/sunrpc/rpc_pipe.c 		if (IS_ERR(dentry))
dentry            711 net/sunrpc/rpc_pipe.c 				err = __rpc_create(dir, dentry,
dentry            717 net/sunrpc/rpc_pipe.c 				err = __rpc_mkdir(dir, dentry,
dentry            735 net/sunrpc/rpc_pipe.c static struct dentry *rpc_mkdir_populate(struct dentry *parent,
dentry            737 net/sunrpc/rpc_pipe.c 		int (*populate)(struct dentry *, void *), void *args_populate)
dentry            739 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry            744 net/sunrpc/rpc_pipe.c 	dentry = __rpc_lookup_create_exclusive(parent, name);
dentry            745 net/sunrpc/rpc_pipe.c 	if (IS_ERR(dentry))
dentry            747 net/sunrpc/rpc_pipe.c 	error = __rpc_mkdir(dir, dentry, mode, NULL, private);
dentry            751 net/sunrpc/rpc_pipe.c 		error = populate(dentry, args_populate);
dentry            757 net/sunrpc/rpc_pipe.c 	return dentry;
dentry            759 net/sunrpc/rpc_pipe.c 	__rpc_rmdir(dir, dentry);
dentry            761 net/sunrpc/rpc_pipe.c 	dentry = ERR_PTR(error);
dentry            765 net/sunrpc/rpc_pipe.c static int rpc_rmdir_depopulate(struct dentry *dentry,
dentry            766 net/sunrpc/rpc_pipe.c 		void (*depopulate)(struct dentry *))
dentry            768 net/sunrpc/rpc_pipe.c 	struct dentry *parent;
dentry            772 net/sunrpc/rpc_pipe.c 	parent = dget_parent(dentry);
dentry            776 net/sunrpc/rpc_pipe.c 		depopulate(dentry);
dentry            777 net/sunrpc/rpc_pipe.c 	error = __rpc_rmdir(dir, dentry);
dentry            801 net/sunrpc/rpc_pipe.c struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name,
dentry            804 net/sunrpc/rpc_pipe.c 	struct dentry *dentry;
dentry            815 net/sunrpc/rpc_pipe.c 	dentry = __rpc_lookup_create_exclusive(parent, name);
dentry            816 net/sunrpc/rpc_pipe.c 	if (IS_ERR(dentry))
dentry            818 net/sunrpc/rpc_pipe.c 	err = __rpc_mkpipe_dentry(dir, dentry, umode, &rpc_pipe_fops,
dentry            824 net/sunrpc/rpc_pipe.c 	return dentry;
dentry            826 net/sunrpc/rpc_pipe.c 	dentry = ERR_PTR(err);
dentry            843 net/sunrpc/rpc_pipe.c rpc_unlink(struct dentry *dentry)
dentry            845 net/sunrpc/rpc_pipe.c 	struct dentry *parent;
dentry            849 net/sunrpc/rpc_pipe.c 	parent = dget_parent(dentry);
dentry            852 net/sunrpc/rpc_pipe.c 	error = __rpc_rmpipe(dir, dentry);
dentry            996 net/sunrpc/rpc_pipe.c 	struct dentry *dir = pdh->pdh_dentry;
dentry           1006 net/sunrpc/rpc_pipe.c 	struct dentry *dir = pdh->pdh_dentry;
dentry           1025 net/sunrpc/rpc_pipe.c static int rpc_clntdir_populate(struct dentry *dentry, void *private)
dentry           1027 net/sunrpc/rpc_pipe.c 	return rpc_populate(dentry,
dentry           1032 net/sunrpc/rpc_pipe.c static void rpc_clntdir_depopulate(struct dentry *dentry)
dentry           1034 net/sunrpc/rpc_pipe.c 	rpc_depopulate(dentry, authfiles, RPCAUTH_info, RPCAUTH_EOF);
dentry           1048 net/sunrpc/rpc_pipe.c struct dentry *rpc_create_client_dir(struct dentry *dentry,
dentry           1052 net/sunrpc/rpc_pipe.c 	struct dentry *ret;
dentry           1054 net/sunrpc/rpc_pipe.c 	ret = rpc_mkdir_populate(dentry, name, 0555, NULL,
dentry           1069 net/sunrpc/rpc_pipe.c 	struct dentry *dentry = rpc_client->cl_pipedir_objects.pdh_dentry;
dentry           1071 net/sunrpc/rpc_pipe.c 	if (dentry == NULL)
dentry           1075 net/sunrpc/rpc_pipe.c 	return rpc_rmdir_depopulate(dentry, rpc_clntdir_depopulate);
dentry           1096 net/sunrpc/rpc_pipe.c static int rpc_cachedir_populate(struct dentry *dentry, void *private)
dentry           1098 net/sunrpc/rpc_pipe.c 	return rpc_populate(dentry,
dentry           1103 net/sunrpc/rpc_pipe.c static void rpc_cachedir_depopulate(struct dentry *dentry)
dentry           1105 net/sunrpc/rpc_pipe.c 	rpc_depopulate(dentry, cache_pipefs_files, 0, 3);
dentry           1108 net/sunrpc/rpc_pipe.c struct dentry *rpc_create_cache_dir(struct dentry *parent, const char *name,
dentry           1115 net/sunrpc/rpc_pipe.c void rpc_remove_cache_dir(struct dentry *dentry)
dentry           1117 net/sunrpc/rpc_pipe.c 	rpc_rmdir_depopulate(dentry, rpc_cachedir_depopulate);
dentry           1189 net/sunrpc/rpc_pipe.c struct dentry *rpc_d_lookup_sb(const struct super_block *sb,
dentry           1295 net/sunrpc/rpc_pipe.c static struct dentry *
dentry           1296 net/sunrpc/rpc_pipe.c rpc_gssd_dummy_populate(struct dentry *root, struct rpc_pipe *pipe_data)
dentry           1299 net/sunrpc/rpc_pipe.c 	struct dentry *gssd_dentry;
dentry           1300 net/sunrpc/rpc_pipe.c 	struct dentry *clnt_dentry = NULL;
dentry           1301 net/sunrpc/rpc_pipe.c 	struct dentry *pipe_dentry = NULL;
dentry           1343 net/sunrpc/rpc_pipe.c rpc_gssd_dummy_depopulate(struct dentry *pipe_dentry)
dentry           1345 net/sunrpc/rpc_pipe.c 	struct dentry *clnt_dir = pipe_dentry->d_parent;
dentry           1346 net/sunrpc/rpc_pipe.c 	struct dentry *gssd_dir = clnt_dir->d_parent;
dentry           1359 net/sunrpc/rpc_pipe.c 	struct dentry *root, *gssd_dentry;
dentry            316 net/unix/af_unix.c 		struct dentry *dentry = unix_sk(s)->path.dentry;
dentry            318 net/unix/af_unix.c 		if (dentry && d_backing_inode(dentry) == i) {
dentry            530 net/unix/af_unix.c 	u->path.dentry = NULL;
dentry            567 net/unix/af_unix.c 	if (path.dentry)
dentry            784 net/unix/af_unix.c 	u->path.dentry = NULL;
dentry            924 net/unix/af_unix.c 		inode = d_backing_inode(path.dentry);
dentry            950 net/unix/af_unix.c 			struct dentry *dentry;
dentry            951 net/unix/af_unix.c 			dentry = unix_sk(u)->path.dentry;
dentry            952 net/unix/af_unix.c 			if (dentry)
dentry            968 net/unix/af_unix.c 	struct dentry *dentry;
dentry            975 net/unix/af_unix.c 	dentry = kern_path_create(AT_FDCWD, sun_path, &path, 0);
dentry            976 net/unix/af_unix.c 	err = PTR_ERR(dentry);
dentry            977 net/unix/af_unix.c 	if (IS_ERR(dentry))
dentry            983 net/unix/af_unix.c 	err = security_path_mknod(&path, dentry, mode, 0);
dentry            985 net/unix/af_unix.c 		err = vfs_mknod(d_inode(path.dentry), dentry, mode, 0);
dentry            988 net/unix/af_unix.c 			res->dentry = dget(dentry);
dentry            991 net/unix/af_unix.c 	done_path_create(&path, dentry);
dentry           1054 net/unix/af_unix.c 		hash = d_backing_inode(path.dentry)->i_ino & (UNIX_HASH_SIZE - 1);
dentry           1360 net/unix/af_unix.c 	if (otheru->path.dentry) {
dentry           2546 net/unix/af_unix.c 	if (!path.dentry)
dentry             28 net/unix/diag.c 	struct dentry *dentry = unix_sk(sk)->path.dentry;
dentry             30 net/unix/diag.c 	if (dentry) {
dentry             32 net/unix/diag.c 			.udiag_vfs_ino = d_backing_inode(dentry)->i_ino,
dentry             33 net/unix/diag.c 			.udiag_vfs_dev = dentry->d_sb->s_dev,
dentry             19 net/wimax/debugfs.c 	struct dentry *dentry;
dentry             23 net/wimax/debugfs.c 	dentry = debugfs_create_dir(buf, NULL);
dentry             24 net/wimax/debugfs.c 	wimax_dev->debugfs_dentry = dentry;
dentry             26 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", debugfs, dentry);
dentry             27 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", id_table, dentry);
dentry             28 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", op_msg, dentry);
dentry             29 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", op_reset, dentry);
dentry             30 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", op_rfkill, dentry);
dentry             31 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", op_state_get, dentry);
dentry             32 net/wimax/debugfs.c 	d_level_register_debugfs("wimax_dl_", stack, dentry);
dentry             47 net/wireless/core.c static struct dentry *ieee80211_debugfs_dir;
dentry            107 net/wireless/debugfs.c 	struct dentry *phyd = rdev->wiphy.debugfsdir;
dentry            446 samples/qmi/qmi_sample_client.c 	struct dentry *de_dir;
dentry            447 samples/qmi/qmi_sample_client.c 	struct dentry *de_data;
dentry            448 samples/qmi/qmi_sample_client.c 	struct dentry *de_ping;
dentry            451 samples/qmi/qmi_sample_client.c static struct dentry *qmi_debug_dir;
dentry            117 security/apparmor/apparmorfs.c static int aafs_show_path(struct seq_file *seq, struct dentry *dentry)
dentry            119 security/apparmor/apparmorfs.c 	seq_printf(seq, "%s:[%lu]", AAFS_NAME, d_inode(dentry)->i_ino);
dentry            181 security/apparmor/apparmorfs.c static int __aafs_setup_d_inode(struct inode *dir, struct dentry *dentry,
dentry            189 security/apparmor/apparmorfs.c 	AA_BUG(!dentry);
dentry            209 security/apparmor/apparmorfs.c 	d_instantiate(dentry, inode);
dentry            210 security/apparmor/apparmorfs.c 	dget(dentry);
dentry            231 security/apparmor/apparmorfs.c static struct dentry *aafs_create(const char *name, umode_t mode,
dentry            232 security/apparmor/apparmorfs.c 				  struct dentry *parent, void *data, void *link,
dentry            236 security/apparmor/apparmorfs.c 	struct dentry *dentry;
dentry            253 security/apparmor/apparmorfs.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            254 security/apparmor/apparmorfs.c 	if (IS_ERR(dentry)) {
dentry            255 security/apparmor/apparmorfs.c 		error = PTR_ERR(dentry);
dentry            259 security/apparmor/apparmorfs.c 	if (d_really_is_positive(dentry)) {
dentry            264 security/apparmor/apparmorfs.c 	error = __aafs_setup_d_inode(dir, dentry, mode, data, link, fops, iops);
dentry            269 security/apparmor/apparmorfs.c 	return dentry;
dentry            272 security/apparmor/apparmorfs.c 	dput(dentry);
dentry            292 security/apparmor/apparmorfs.c static struct dentry *aafs_create_file(const char *name, umode_t mode,
dentry            293 security/apparmor/apparmorfs.c 				       struct dentry *parent, void *data,
dentry            307 security/apparmor/apparmorfs.c static struct dentry *aafs_create_dir(const char *name, struct dentry *parent)
dentry            324 security/apparmor/apparmorfs.c static struct dentry *aafs_create_symlink(const char *name,
dentry            325 security/apparmor/apparmorfs.c 					  struct dentry *parent,
dentry            330 security/apparmor/apparmorfs.c 	struct dentry *dent;
dentry            350 security/apparmor/apparmorfs.c static void aafs_remove(struct dentry *dentry)
dentry            354 security/apparmor/apparmorfs.c 	if (!dentry || IS_ERR(dentry))
dentry            357 security/apparmor/apparmorfs.c 	dir = d_inode(dentry->d_parent);
dentry            359 security/apparmor/apparmorfs.c 	if (simple_positive(dentry)) {
dentry            360 security/apparmor/apparmorfs.c 		if (d_is_dir(dentry))
dentry            361 security/apparmor/apparmorfs.c 			simple_rmdir(dir, dentry);
dentry            363 security/apparmor/apparmorfs.c 			simple_unlink(dir, dentry);
dentry            364 security/apparmor/apparmorfs.c 		d_delete(dentry);
dentry            365 security/apparmor/apparmorfs.c 		dput(dentry);
dentry           1350 security/apparmor/apparmorfs.c 	struct dentry *dent, *dir;
dentry           1461 security/apparmor/apparmorfs.c static struct dentry *create_profile_file(struct dentry *dir, const char *name,
dentry           1466 security/apparmor/apparmorfs.c 	struct dentry *dent;
dentry           1517 security/apparmor/apparmorfs.c static const char *rawdata_get_link_base(struct dentry *dentry,
dentry           1528 security/apparmor/apparmorfs.c 	if (!dentry)
dentry           1545 security/apparmor/apparmorfs.c static const char *rawdata_get_link_sha1(struct dentry *dentry,
dentry           1549 security/apparmor/apparmorfs.c 	return rawdata_get_link_base(dentry, inode, done, "sha1");
dentry           1552 security/apparmor/apparmorfs.c static const char *rawdata_get_link_abi(struct dentry *dentry,
dentry           1556 security/apparmor/apparmorfs.c 	return rawdata_get_link_base(dentry, inode, done, "abi");
dentry           1559 security/apparmor/apparmorfs.c static const char *rawdata_get_link_data(struct dentry *dentry,
dentry           1563 security/apparmor/apparmorfs.c 	return rawdata_get_link_base(dentry, inode, done, "raw_data");
dentry           1581 security/apparmor/apparmorfs.c int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent)
dentry           1584 security/apparmor/apparmorfs.c 	struct dentry *dent = NULL, *dir;
dentry           1690 security/apparmor/apparmorfs.c static int ns_mkdir_op(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1716 security/apparmor/apparmorfs.c 	error = __aafs_setup_d_inode(dir, dentry, mode | S_IFDIR,  NULL,
dentry           1721 security/apparmor/apparmorfs.c 	ns = __aa_find_or_create_ns(parent, READ_ONCE(dentry->d_name.name),
dentry           1722 security/apparmor/apparmorfs.c 				    dentry);
dentry           1739 security/apparmor/apparmorfs.c static int ns_rmdir_op(struct inode *dir, struct dentry *dentry)
dentry           1758 security/apparmor/apparmorfs.c 	inode_unlock(dentry->d_inode);
dentry           1761 security/apparmor/apparmorfs.c 	ns = aa_get_ns(__aa_findn_ns(&parent->sub_ns, dentry->d_name.name,
dentry           1762 security/apparmor/apparmorfs.c 				     dentry->d_name.len));
dentry           1767 security/apparmor/apparmorfs.c 	AA_BUG(ns_dir(ns) != dentry);
dentry           1775 security/apparmor/apparmorfs.c 	inode_lock(dentry->d_inode);
dentry           1850 security/apparmor/apparmorfs.c static int __aafs_ns_mkdir_entries(struct aa_ns *ns, struct dentry *dir)
dentry           1852 security/apparmor/apparmorfs.c 	struct dentry *dent;
dentry           1909 security/apparmor/apparmorfs.c int __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name,
dentry           1910 security/apparmor/apparmorfs.c 		    struct dentry *dent)
dentry           1914 security/apparmor/apparmorfs.c 	struct dentry *dir;
dentry           2312 security/apparmor/apparmorfs.c 				    struct dentry *parent)
dentry           2316 security/apparmor/apparmorfs.c 	fs_file->dentry = securityfs_create_file(fs_file->name,
dentry           2320 security/apparmor/apparmorfs.c 	if (IS_ERR(fs_file->dentry)) {
dentry           2321 security/apparmor/apparmorfs.c 		error = PTR_ERR(fs_file->dentry);
dentry           2322 security/apparmor/apparmorfs.c 		fs_file->dentry = NULL;
dentry           2336 security/apparmor/apparmorfs.c 				   struct dentry *parent)
dentry           2339 security/apparmor/apparmorfs.c 	struct dentry *dir;
dentry           2345 security/apparmor/apparmorfs.c 	fs_dir->dentry = dir;
dentry           2349 security/apparmor/apparmorfs.c 			error = entry_create_dir(fs_file, fs_dir->dentry);
dentry           2351 security/apparmor/apparmorfs.c 			error = entry_create_file(fs_file, fs_dir->dentry);
dentry           2370 security/apparmor/apparmorfs.c 	if (!fs_file->dentry)
dentry           2373 security/apparmor/apparmorfs.c 	securityfs_remove(fs_file->dentry);
dentry           2374 security/apparmor/apparmorfs.c 	fs_file->dentry = NULL;
dentry           2409 security/apparmor/apparmorfs.c static int aa_mk_null_file(struct dentry *parent)
dentry           2412 security/apparmor/apparmorfs.c 	struct dentry *dentry;
dentry           2421 security/apparmor/apparmorfs.c 	dentry = lookup_one_len(NULL_FILE_NAME, parent, strlen(NULL_FILE_NAME));
dentry           2422 security/apparmor/apparmorfs.c 	if (IS_ERR(dentry)) {
dentry           2423 security/apparmor/apparmorfs.c 		error = PTR_ERR(dentry);
dentry           2437 security/apparmor/apparmorfs.c 	d_instantiate(dentry, inode);
dentry           2438 security/apparmor/apparmorfs.c 	aa_null.dentry = dget(dentry);
dentry           2444 security/apparmor/apparmorfs.c 	dput(dentry);
dentry           2453 security/apparmor/apparmorfs.c static const char *policy_get_link(struct dentry *dentry,
dentry           2460 security/apparmor/apparmorfs.c 	if (!dentry)
dentry           2464 security/apparmor/apparmorfs.c 	path.dentry = dget(ns_dir(ns));
dentry           2471 security/apparmor/apparmorfs.c static int policy_readlink(struct dentry *dentry, char __user *buffer,
dentry           2478 security/apparmor/apparmorfs.c 		       d_inode(dentry)->i_ino);
dentry           2502 security/apparmor/apparmorfs.c 	struct dentry *dent;
dentry           2508 security/apparmor/apparmorfs.c 	if (aa_sfs_entry.dentry) {
dentry           2524 security/apparmor/apparmorfs.c 	dent = securityfs_create_file(".load", 0666, aa_sfs_entry.dentry,
dentry           2530 security/apparmor/apparmorfs.c 	dent = securityfs_create_file(".replace", 0666, aa_sfs_entry.dentry,
dentry           2536 security/apparmor/apparmorfs.c 	dent = securityfs_create_file(".remove", 0666, aa_sfs_entry.dentry,
dentry           2542 security/apparmor/apparmorfs.c 	dent = securityfs_create_file("revision", 0444, aa_sfs_entry.dentry,
dentry           2557 security/apparmor/apparmorfs.c 	dent = securityfs_create_symlink("policy", aa_sfs_entry.dentry,
dentry           2562 security/apparmor/apparmorfs.c 	error = aa_mk_null_file(aa_sfs_entry.dentry);
dentry            314 security/apparmor/domain.c 	struct dentry *d;
dentry            325 security/apparmor/domain.c 	d = bprm->file->f_path.dentry;
dentry            159 security/apparmor/file.c static inline bool is_deleted(struct dentry *dentry)
dentry            161 security/apparmor/file.c 	if (d_unlinked(dentry) && d_backing_inode(dentry)->i_nlink == 0)
dentry            464 security/apparmor/file.c int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
dentry            465 security/apparmor/file.c 		 const struct path *new_dir, struct dentry *new_dentry)
dentry            467 security/apparmor/file.c 	struct path link = { .mnt = new_dir->mnt, .dentry = new_dentry };
dentry            468 security/apparmor/file.c 	struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry };
dentry            627 security/apparmor/file.c 	if (file->f_path.mnt && path_mediated_fs(file->f_path.dentry))
dentry             28 security/apparmor/include/apparmorfs.h 	struct dentry *dentry;
dentry            111 security/apparmor/include/apparmorfs.h int __aafs_profile_mkdir(struct aa_profile *profile, struct dentry *parent);
dentry            113 security/apparmor/include/apparmorfs.h int __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name,
dentry            114 security/apparmor/include/apparmorfs.h 		     struct dentry *dent);
dentry            196 security/apparmor/include/file.h int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
dentry            197 security/apparmor/include/file.h 		 const struct path *new_dir, struct dentry *new_dentry);
dentry             87 security/apparmor/include/lib.h static inline bool path_mediated_fs(struct dentry *dentry)
dentry             89 security/apparmor/include/lib.h 	return !(dentry->d_sb->s_flags & SB_NOUSER);
dentry            160 security/apparmor/include/policy.h 	struct dentry *dents[AAFS_PROF_SIZEOF];
dentry             74 security/apparmor/include/policy_ns.h 	struct dentry *dents[AAFS_NS_SIZEOF];
dentry             95 security/apparmor/include/policy_ns.h 				     struct dentry *dir);
dentry             61 security/apparmor/include/policy_unpack.h 	struct dentry *dents[AAFS_LOADDATA_NDENTS];
dentry            217 security/apparmor/lsm.c 	struct path_cond cond = { d_backing_inode(path->dentry)->i_uid,
dentry            218 security/apparmor/lsm.c 				  d_backing_inode(path->dentry)->i_mode
dentry            221 security/apparmor/lsm.c 	if (!path_mediated_fs(path->dentry))
dentry            238 security/apparmor/lsm.c 				  struct dentry *dentry, u32 mask,
dentry            241 security/apparmor/lsm.c 	struct path path = { .mnt = dir->mnt, .dentry = dentry };
dentry            256 security/apparmor/lsm.c 			  struct dentry *dentry, u32 mask)
dentry            258 security/apparmor/lsm.c 	struct inode *inode = d_backing_inode(dentry);
dentry            261 security/apparmor/lsm.c 	if (!inode || !path_mediated_fs(dentry))
dentry            267 security/apparmor/lsm.c 	return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
dentry            281 security/apparmor/lsm.c 			      struct dentry *dentry, u32 mask, umode_t mode)
dentry            285 security/apparmor/lsm.c 	if (!path_mediated_fs(dir->dentry))
dentry            288 security/apparmor/lsm.c 	return common_perm_dir_dentry(op, dir, dentry, mask, &cond);
dentry            291 security/apparmor/lsm.c static int apparmor_path_unlink(const struct path *dir, struct dentry *dentry)
dentry            293 security/apparmor/lsm.c 	return common_perm_rm(OP_UNLINK, dir, dentry, AA_MAY_DELETE);
dentry            296 security/apparmor/lsm.c static int apparmor_path_mkdir(const struct path *dir, struct dentry *dentry,
dentry            299 security/apparmor/lsm.c 	return common_perm_create(OP_MKDIR, dir, dentry, AA_MAY_CREATE,
dentry            303 security/apparmor/lsm.c static int apparmor_path_rmdir(const struct path *dir, struct dentry *dentry)
dentry            305 security/apparmor/lsm.c 	return common_perm_rm(OP_RMDIR, dir, dentry, AA_MAY_DELETE);
dentry            308 security/apparmor/lsm.c static int apparmor_path_mknod(const struct path *dir, struct dentry *dentry,
dentry            311 security/apparmor/lsm.c 	return common_perm_create(OP_MKNOD, dir, dentry, AA_MAY_CREATE, mode);
dentry            319 security/apparmor/lsm.c static int apparmor_path_symlink(const struct path *dir, struct dentry *dentry,
dentry            322 security/apparmor/lsm.c 	return common_perm_create(OP_SYMLINK, dir, dentry, AA_MAY_CREATE,
dentry            326 security/apparmor/lsm.c static int apparmor_path_link(struct dentry *old_dentry, const struct path *new_dir,
dentry            327 security/apparmor/lsm.c 			      struct dentry *new_dentry)
dentry            343 security/apparmor/lsm.c static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry,
dentry            344 security/apparmor/lsm.c 				const struct path *new_dir, struct dentry *new_dentry)
dentry            355 security/apparmor/lsm.c 					 .dentry = old_dentry };
dentry            357 security/apparmor/lsm.c 					 .dentry = new_dentry };
dentry            398 security/apparmor/lsm.c 	if (!path_mediated_fs(file->f_path.dentry))
dentry            451 security/apparmor/lsm.c 	if (file->f_path.dentry == aa_null.dentry)
dentry            298 security/apparmor/mount.c 		(S_ISDIR(path->dentry->d_inode->i_mode) ? PATH_IS_DIR : 0);
dentry            409 security/apparmor/mount.c 	binary = path->dentry->d_sb->s_type->fs_flags & FS_BINARY_MOUNTDATA;
dentry            589 security/apparmor/mount.c 	struct path path = { .mnt = mnt, .dentry = mnt->mnt_root };
dentry             99 security/apparmor/path.c 		res = dentry_path(path->dentry, buf, buflen);
dentry            105 security/apparmor/path.c 		if (path->dentry->d_sb->s_magic == PROC_SUPER_MAGIC &&
dentry            140 security/apparmor/path.c 		res = dentry_path_raw(path->dentry, buf, buflen);
dentry            160 security/apparmor/path.c 	if (d_unlinked(path->dentry) && d_is_positive(path->dentry) &&
dentry            981 security/apparmor/policy.c 			struct dentry *parent;
dentry            243 security/apparmor/policy_ns.c 				    struct dentry *dir)
dentry            283 security/apparmor/policy_ns.c 				     struct dentry *dir)
dentry            295 security/commoncap.c int cap_inode_need_killpriv(struct dentry *dentry)
dentry            297 security/commoncap.c 	struct inode *inode = d_backing_inode(dentry);
dentry            300 security/commoncap.c 	error = __vfs_getxattr(dentry, inode, XATTR_NAME_CAPS, NULL, 0);
dentry            312 security/commoncap.c int cap_inode_killpriv(struct dentry *dentry)
dentry            316 security/commoncap.c 	error = __vfs_removexattr(dentry, XATTR_NAME_CAPS);
dentry            378 security/commoncap.c 	struct dentry *dentry;
dentry            384 security/commoncap.c 	dentry = d_find_any_alias(inode);
dentry            385 security/commoncap.c 	if (!dentry)
dentry            389 security/commoncap.c 	ret = (int) vfs_getxattr_alloc(dentry, XATTR_NAME_CAPS,
dentry            391 security/commoncap.c 	dput(dentry);
dentry            476 security/commoncap.c int cap_convert_nscap(struct dentry *dentry, void **ivalue, size_t size)
dentry            482 security/commoncap.c 	struct inode *inode = d_backing_inode(dentry);
dentry            571 security/commoncap.c int get_vfs_caps_from_disk(const struct dentry *dentry, struct cpu_vfs_cap_data *cpu_caps)
dentry            573 security/commoncap.c 	struct inode *inode = d_backing_inode(dentry);
dentry            588 security/commoncap.c 	size = __vfs_getxattr((struct dentry *)dentry, inode,
dentry            671 security/commoncap.c 	rc = get_vfs_caps_from_disk(bprm->file->f_path.dentry, &vcaps);
dentry            912 security/commoncap.c int cap_inode_setxattr(struct dentry *dentry, const char *name,
dentry            915 security/commoncap.c 	struct user_namespace *user_ns = dentry->d_sb->s_user_ns;
dentry            945 security/commoncap.c int cap_inode_removexattr(struct dentry *dentry, const char *name)
dentry            947 security/commoncap.c 	struct user_namespace *user_ns = dentry->d_sb->s_user_ns;
dentry            956 security/commoncap.c 		struct inode *inode = d_backing_inode(dentry);
dentry            107 security/inode.c static struct dentry *securityfs_create_dentry(const char *name, umode_t mode,
dentry            108 security/inode.c 					struct dentry *parent, void *data,
dentry            112 security/inode.c 	struct dentry *dentry;
dentry            131 security/inode.c 	dentry = lookup_one_len(name, parent, strlen(name));
dentry            132 security/inode.c 	if (IS_ERR(dentry))
dentry            135 security/inode.c 	if (d_really_is_positive(dentry)) {
dentry            161 security/inode.c 	d_instantiate(dentry, inode);
dentry            162 security/inode.c 	dget(dentry);
dentry            164 security/inode.c 	return dentry;
dentry            167 security/inode.c 	dput(dentry);
dentry            168 security/inode.c 	dentry = ERR_PTR(error);
dentry            172 security/inode.c 	return dentry;
dentry            200 security/inode.c struct dentry *securityfs_create_file(const char *name, umode_t mode,
dentry            201 security/inode.c 				      struct dentry *parent, void *data,
dentry            228 security/inode.c struct dentry *securityfs_create_dir(const char *name, struct dentry *parent)
dentry            260 security/inode.c struct dentry *securityfs_create_symlink(const char *name,
dentry            261 security/inode.c 					 struct dentry *parent,
dentry            265 security/inode.c 	struct dentry *dent;
dentry            295 security/inode.c void securityfs_remove(struct dentry *dentry)
dentry            299 security/inode.c 	if (!dentry || IS_ERR(dentry))
dentry            302 security/inode.c 	dir = d_inode(dentry->d_parent);
dentry            304 security/inode.c 	if (simple_positive(dentry)) {
dentry            305 security/inode.c 		if (d_is_dir(dentry))
dentry            306 security/inode.c 			simple_rmdir(dir, dentry);
dentry            308 security/inode.c 			simple_unlink(dir, dentry);
dentry            309 security/inode.c 		dput(dentry);
dentry            317 security/inode.c static struct dentry *lsm_dentry;
dentry             52 security/integrity/evm/evm.h int evm_update_evmxattr(struct dentry *dentry,
dentry             56 security/integrity/evm/evm.h int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
dentry             59 security/integrity/evm/evm.h int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
dentry            186 security/integrity/evm/evm_crypto.c static int evm_calc_hmac_or_hash(struct dentry *dentry,
dentry            192 security/integrity/evm/evm_crypto.c 	struct inode *inode = d_backing_inode(dentry);
dentry            227 security/integrity/evm/evm_crypto.c 		size = vfs_getxattr_alloc(dentry, xattr->name,
dentry            253 security/integrity/evm/evm_crypto.c int evm_calc_hmac(struct dentry *dentry, const char *req_xattr_name,
dentry            257 security/integrity/evm/evm_crypto.c 	return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value,
dentry            261 security/integrity/evm/evm_crypto.c int evm_calc_hash(struct dentry *dentry, const char *req_xattr_name,
dentry            265 security/integrity/evm/evm_crypto.c 	return evm_calc_hmac_or_hash(dentry, req_xattr_name, req_xattr_value,
dentry            269 security/integrity/evm/evm_crypto.c static int evm_is_immutable(struct dentry *dentry, struct inode *inode)
dentry            280 security/integrity/evm/evm_crypto.c 	rc = vfs_getxattr_alloc(dentry, XATTR_NAME_EVM, (char **)&xattr_data, 0,
dentry            302 security/integrity/evm/evm_crypto.c int evm_update_evmxattr(struct dentry *dentry, const char *xattr_name,
dentry            305 security/integrity/evm/evm_crypto.c 	struct inode *inode = d_backing_inode(dentry);
dentry            313 security/integrity/evm/evm_crypto.c 	rc = evm_is_immutable(dentry, inode);
dentry            320 security/integrity/evm/evm_crypto.c 	rc = evm_calc_hmac(dentry, xattr_name, xattr_value,
dentry            324 security/integrity/evm/evm_crypto.c 		rc = __vfs_setxattr_noperm(dentry, XATTR_NAME_EVM,
dentry            328 security/integrity/evm/evm_crypto.c 		rc = __vfs_removexattr(dentry, XATTR_NAME_EVM);
dentry             92 security/integrity/evm/evm_main.c static int evm_find_protected_xattrs(struct dentry *dentry)
dentry             94 security/integrity/evm/evm_main.c 	struct inode *inode = d_backing_inode(dentry);
dentry            103 security/integrity/evm/evm_main.c 		error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0);
dentry            128 security/integrity/evm/evm_main.c static enum integrity_status evm_verify_hmac(struct dentry *dentry,
dentry            148 security/integrity/evm/evm_main.c 	rc = vfs_getxattr_alloc(dentry, XATTR_NAME_EVM, (char **)&xattr_data, 0,
dentry            153 security/integrity/evm/evm_main.c 			rc = evm_find_protected_xattrs(dentry);
dentry            175 security/integrity/evm/evm_main.c 		rc = evm_calc_hmac(dentry, xattr_name, xattr_value,
dentry            188 security/integrity/evm/evm_main.c 		rc = evm_calc_hash(dentry, xattr_name, xattr_value,
dentry            196 security/integrity/evm/evm_main.c 			inode = d_backing_inode(dentry);
dentry            205 security/integrity/evm/evm_main.c 				evm_update_evmxattr(dentry, xattr_name,
dentry            266 security/integrity/evm/evm_main.c enum integrity_status evm_verifyxattr(struct dentry *dentry,
dentry            275 security/integrity/evm/evm_main.c 		iint = integrity_iint_find(d_backing_inode(dentry));
dentry            279 security/integrity/evm/evm_main.c 	return evm_verify_hmac(dentry, xattr_name, xattr_value,
dentry            291 security/integrity/evm/evm_main.c static enum integrity_status evm_verify_current_integrity(struct dentry *dentry)
dentry            293 security/integrity/evm/evm_main.c 	struct inode *inode = d_backing_inode(dentry);
dentry            297 security/integrity/evm/evm_main.c 	return evm_verify_hmac(dentry, NULL, NULL, 0, NULL);
dentry            312 security/integrity/evm/evm_main.c static int evm_protect_xattr(struct dentry *dentry, const char *xattr_name,
dentry            323 security/integrity/evm/evm_main.c 		evm_status = evm_verify_current_integrity(dentry);
dentry            330 security/integrity/evm/evm_main.c 	evm_status = evm_verify_current_integrity(dentry);
dentry            334 security/integrity/evm/evm_main.c 		iint = integrity_iint_find(d_backing_inode(dentry));
dentry            339 security/integrity/evm/evm_main.c 		if (dentry->d_sb->s_magic == TMPFS_MAGIC
dentry            340 security/integrity/evm/evm_main.c 		    || dentry->d_sb->s_magic == SYSFS_MAGIC)
dentry            344 security/integrity/evm/evm_main.c 				    dentry->d_inode, dentry->d_name.name,
dentry            351 security/integrity/evm/evm_main.c 		integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry),
dentry            352 security/integrity/evm/evm_main.c 				    dentry->d_name.name, "appraise_metadata",
dentry            371 security/integrity/evm/evm_main.c int evm_inode_setxattr(struct dentry *dentry, const char *xattr_name,
dentry            389 security/integrity/evm/evm_main.c 	return evm_protect_xattr(dentry, xattr_name, xattr_value,
dentry            401 security/integrity/evm/evm_main.c int evm_inode_removexattr(struct dentry *dentry, const char *xattr_name)
dentry            409 security/integrity/evm/evm_main.c 	return evm_protect_xattr(dentry, xattr_name, NULL, 0);
dentry            434 security/integrity/evm/evm_main.c void evm_inode_post_setxattr(struct dentry *dentry, const char *xattr_name,
dentry            441 security/integrity/evm/evm_main.c 	evm_reset_status(dentry->d_inode);
dentry            443 security/integrity/evm/evm_main.c 	evm_update_evmxattr(dentry, xattr_name, xattr_value, xattr_value_len);
dentry            456 security/integrity/evm/evm_main.c void evm_inode_post_removexattr(struct dentry *dentry, const char *xattr_name)
dentry            461 security/integrity/evm/evm_main.c 	evm_reset_status(dentry->d_inode);
dentry            463 security/integrity/evm/evm_main.c 	evm_update_evmxattr(dentry, xattr_name, NULL, 0);
dentry            473 security/integrity/evm/evm_main.c int evm_inode_setattr(struct dentry *dentry, struct iattr *attr)
dentry            486 security/integrity/evm/evm_main.c 	evm_status = evm_verify_current_integrity(dentry);
dentry            490 security/integrity/evm/evm_main.c 	integrity_audit_msg(AUDIT_INTEGRITY_METADATA, d_backing_inode(dentry),
dentry            491 security/integrity/evm/evm_main.c 			    dentry->d_name.name, "appraise_metadata",
dentry            507 security/integrity/evm/evm_main.c void evm_inode_post_setattr(struct dentry *dentry, int ia_valid)
dentry            513 security/integrity/evm/evm_main.c 		evm_update_evmxattr(dentry, NULL, NULL, 0);
dentry             21 security/integrity/evm/evm_secfs.c static struct dentry *evm_dir;
dentry             22 security/integrity/evm/evm_secfs.c static struct dentry *evm_init_tpm;
dentry             23 security/integrity/evm/evm_secfs.c static struct dentry *evm_symlink;
dentry             26 security/integrity/evm/evm_secfs.c static struct dentry *evm_xattrs;
dentry             28 security/integrity/iint.c struct dentry *integrity_dir;
dentry            267 security/integrity/ima/ima.h int ima_read_xattr(struct dentry *dentry,
dentry            306 security/integrity/ima/ima.h static inline int ima_read_xattr(struct dentry *dentry,
dentry            212 security/integrity/ima/ima_api.c 	const char *filename = file->f_path.dentry->d_name.name;
dentry            399 security/integrity/ima/ima_api.c 		strlcpy(namebuf, path->dentry->d_name.name, NAME_MAX);
dentry             60 security/integrity/ima/ima_appraise.c static int ima_fix_xattr(struct dentry *dentry,
dentry             74 security/integrity/ima/ima_appraise.c 	rc = __vfs_setxattr_noperm(dentry, XATTR_NAME_IMA,
dentry            190 security/integrity/ima/ima_appraise.c int ima_read_xattr(struct dentry *dentry,
dentry            195 security/integrity/ima/ima_appraise.c 	ret = vfs_getxattr_alloc(dentry, XATTR_NAME_IMA, (char **)xattr_value,
dentry            322 security/integrity/ima/ima_appraise.c 	struct dentry *dentry = file_dentry(file);
dentry            323 security/integrity/ima/ima_appraise.c 	struct inode *inode = d_backing_inode(dentry);
dentry            349 security/integrity/ima/ima_appraise.c 	status = evm_verifyxattr(dentry, XATTR_NAME_IMA, xattr_value, rc, iint);
dentry            402 security/integrity/ima/ima_appraise.c 			if (!ima_fix_xattr(dentry, iint))
dentry            427 security/integrity/ima/ima_appraise.c 	struct dentry *dentry = file_dentry(file);
dentry            443 security/integrity/ima/ima_appraise.c 	ima_fix_xattr(dentry, iint);
dentry            456 security/integrity/ima/ima_appraise.c void ima_inode_post_setattr(struct dentry *dentry)
dentry            458 security/integrity/ima/ima_appraise.c 	struct inode *inode = d_backing_inode(dentry);
dentry            468 security/integrity/ima/ima_appraise.c 		__vfs_removexattr(dentry, XATTR_NAME_IMA);
dentry            482 security/integrity/ima/ima_appraise.c static int ima_protect_xattr(struct dentry *dentry, const char *xattr_name,
dentry            511 security/integrity/ima/ima_appraise.c int ima_inode_setxattr(struct dentry *dentry, const char *xattr_name,
dentry            517 security/integrity/ima/ima_appraise.c 	result = ima_protect_xattr(dentry, xattr_name, xattr_value,
dentry            522 security/integrity/ima/ima_appraise.c 		ima_reset_appraise_flags(d_backing_inode(dentry),
dentry            529 security/integrity/ima/ima_appraise.c int ima_inode_removexattr(struct dentry *dentry, const char *xattr_name)
dentry            533 security/integrity/ima/ima_appraise.c 	result = ima_protect_xattr(dentry, xattr_name, NULL, 0);
dentry            535 security/integrity/ima/ima_appraise.c 		ima_reset_appraise_flags(d_backing_inode(dentry), 0);
dentry            357 security/integrity/ima/ima_fs.c static struct dentry *ima_dir;
dentry            358 security/integrity/ima/ima_fs.c static struct dentry *ima_symlink;
dentry            359 security/integrity/ima/ima_fs.c static struct dentry *binary_runtime_measurements;
dentry            360 security/integrity/ima/ima_fs.c static struct dentry *ascii_runtime_measurements;
dentry            361 security/integrity/ima/ima_fs.c static struct dentry *runtime_measurements_count;
dentry            362 security/integrity/ima/ima_fs.c static struct dentry *violations;
dentry            363 security/integrity/ima/ima_fs.c static struct dentry *ima_policy;
dentry            478 security/integrity/ima/ima_main.c void ima_post_path_mknod(struct dentry *dentry)
dentry            481 security/integrity/ima/ima_main.c 	struct inode *inode = dentry->d_inode;
dentry            385 security/integrity/ima/ima_template_lib.c 		cur_filename = event_data->file->f_path.dentry->d_name.name;
dentry            149 security/integrity/integrity.h extern struct dentry *integrity_dir;
dentry             53 security/keys/big_key.c #define BIG_KEY_FILE_THRESHOLD (sizeof(struct inode) + sizeof(struct dentry))
dentry            330 security/keys/big_key.c 		path->dentry = NULL;
dentry            178 security/lockdown/lockdown.c 	struct dentry *dentry;
dentry            180 security/lockdown/lockdown.c 	dentry = securityfs_create_file("lockdown", 0600, NULL, NULL,
dentry            182 security/lockdown/lockdown.c 	return PTR_ERR_OR_ZERO(dentry);
dentry            237 security/lsm_audit.c 		inode = d_backing_inode(a->u.path.dentry);
dentry            263 security/lsm_audit.c 		inode = a->u.op->path.dentry->d_inode;
dentry            277 security/lsm_audit.c 		audit_log_untrustedstring(ab, a->u.dentry->d_name.name);
dentry            279 security/lsm_audit.c 		inode = d_backing_inode(a->u.dentry);
dentry            288 security/lsm_audit.c 		struct dentry *dentry;
dentry            292 security/lsm_audit.c 		dentry = d_find_alias(inode);
dentry            293 security/lsm_audit.c 		if (dentry) {
dentry            296 security/lsm_audit.c 					 dentry->d_name.name);
dentry            297 security/lsm_audit.c 			dput(dentry);
dentry            355 security/lsm_audit.c 				if (u->path.dentry) {
dentry            236 security/safesetid/securityfs.c 	struct dentry *policy_dir;
dentry            237 security/safesetid/securityfs.c 	struct dentry *policy_file;
dentry            737 security/security.c int security_quota_on(struct dentry *dentry)
dentry            739 security/security.c 	return call_int_hook(quota_on, 0, dentry);
dentry            852 security/security.c int security_sb_statfs(struct dentry *dentry)
dentry            854 security/security.c 	return call_int_hook(sb_statfs, 0, dentry);
dentry            951 security/security.c int security_dentry_init_security(struct dentry *dentry, int mode,
dentry            955 security/security.c 	return call_int_hook(dentry_init_security, -EOPNOTSUPP, dentry, mode,
dentry            960 security/security.c int security_dentry_create_files_as(struct dentry *dentry, int mode,
dentry            964 security/security.c 	return call_int_hook(dentry_create_files_as, 0, dentry, mode,
dentry           1016 security/security.c int security_path_mknod(const struct path *dir, struct dentry *dentry, umode_t mode,
dentry           1019 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry))))
dentry           1021 security/security.c 	return call_int_hook(path_mknod, 0, dir, dentry, mode, dev);
dentry           1025 security/security.c int security_path_mkdir(const struct path *dir, struct dentry *dentry, umode_t mode)
dentry           1027 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry))))
dentry           1029 security/security.c 	return call_int_hook(path_mkdir, 0, dir, dentry, mode);
dentry           1033 security/security.c int security_path_rmdir(const struct path *dir, struct dentry *dentry)
dentry           1035 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry))))
dentry           1037 security/security.c 	return call_int_hook(path_rmdir, 0, dir, dentry);
dentry           1040 security/security.c int security_path_unlink(const struct path *dir, struct dentry *dentry)
dentry           1042 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry))))
dentry           1044 security/security.c 	return call_int_hook(path_unlink, 0, dir, dentry);
dentry           1048 security/security.c int security_path_symlink(const struct path *dir, struct dentry *dentry,
dentry           1051 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dir->dentry))))
dentry           1053 security/security.c 	return call_int_hook(path_symlink, 0, dir, dentry, old_name);
dentry           1056 security/security.c int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
dentry           1057 security/security.c 		       struct dentry *new_dentry)
dentry           1064 security/security.c int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
dentry           1065 security/security.c 			 const struct path *new_dir, struct dentry *new_dentry,
dentry           1086 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
dentry           1093 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
dentry           1100 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
dentry           1111 security/security.c int security_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1115 security/security.c 	return call_int_hook(inode_create, 0, dir, dentry, mode);
dentry           1119 security/security.c int security_inode_link(struct dentry *old_dentry, struct inode *dir,
dentry           1120 security/security.c 			 struct dentry *new_dentry)
dentry           1127 security/security.c int security_inode_unlink(struct inode *dir, struct dentry *dentry)
dentry           1129 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1131 security/security.c 	return call_int_hook(inode_unlink, 0, dir, dentry);
dentry           1134 security/security.c int security_inode_symlink(struct inode *dir, struct dentry *dentry,
dentry           1139 security/security.c 	return call_int_hook(inode_symlink, 0, dir, dentry, old_name);
dentry           1142 security/security.c int security_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           1146 security/security.c 	return call_int_hook(inode_mkdir, 0, dir, dentry, mode);
dentry           1150 security/security.c int security_inode_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1152 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1154 security/security.c 	return call_int_hook(inode_rmdir, 0, dir, dentry);
dentry           1157 security/security.c int security_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry           1161 security/security.c 	return call_int_hook(inode_mknod, 0, dir, dentry, mode, dev);
dentry           1164 security/security.c int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
dentry           1165 security/security.c 			   struct inode *new_dir, struct dentry *new_dentry,
dentry           1183 security/security.c int security_inode_readlink(struct dentry *dentry)
dentry           1185 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1187 security/security.c 	return call_int_hook(inode_readlink, 0, dentry);
dentry           1190 security/security.c int security_inode_follow_link(struct dentry *dentry, struct inode *inode,
dentry           1195 security/security.c 	return call_int_hook(inode_follow_link, 0, dentry, inode, rcu);
dentry           1205 security/security.c int security_inode_setattr(struct dentry *dentry, struct iattr *attr)
dentry           1209 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1211 security/security.c 	ret = call_int_hook(inode_setattr, 0, dentry, attr);
dentry           1214 security/security.c 	return evm_inode_setattr(dentry, attr);
dentry           1220 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(path->dentry))))
dentry           1225 security/security.c int security_inode_setxattr(struct dentry *dentry, const char *name,
dentry           1230 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1236 security/security.c 	ret = call_int_hook(inode_setxattr, 1, dentry, name, value, size,
dentry           1240 security/security.c 		ret = cap_inode_setxattr(dentry, name, value, size, flags);
dentry           1243 security/security.c 	ret = ima_inode_setxattr(dentry, name, value, size);
dentry           1246 security/security.c 	return evm_inode_setxattr(dentry, name, value, size);
dentry           1249 security/security.c void security_inode_post_setxattr(struct dentry *dentry, const char *name,
dentry           1252 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1254 security/security.c 	call_void_hook(inode_post_setxattr, dentry, name, value, size, flags);
dentry           1255 security/security.c 	evm_inode_post_setxattr(dentry, name, value, size);
dentry           1258 security/security.c int security_inode_getxattr(struct dentry *dentry, const char *name)
dentry           1260 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1262 security/security.c 	return call_int_hook(inode_getxattr, 0, dentry, name);
dentry           1265 security/security.c int security_inode_listxattr(struct dentry *dentry)
dentry           1267 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1269 security/security.c 	return call_int_hook(inode_listxattr, 0, dentry);
dentry           1272 security/security.c int security_inode_removexattr(struct dentry *dentry, const char *name)
dentry           1276 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           1282 security/security.c 	ret = call_int_hook(inode_removexattr, 1, dentry, name);
dentry           1284 security/security.c 		ret = cap_inode_removexattr(dentry, name);
dentry           1287 security/security.c 	ret = ima_inode_removexattr(dentry, name);
dentry           1290 security/security.c 	return evm_inode_removexattr(dentry, name);
dentry           1293 security/security.c int security_inode_need_killpriv(struct dentry *dentry)
dentry           1295 security/security.c 	return call_int_hook(inode_need_killpriv, 0, dentry);
dentry           1298 security/security.c int security_inode_killpriv(struct dentry *dentry)
dentry           1300 security/security.c 	return call_int_hook(inode_killpriv, 0, dentry);
dentry           1353 security/security.c int security_inode_copy_up(struct dentry *src, struct cred **new)
dentry           1870 security/security.c void security_d_instantiate(struct dentry *dentry, struct inode *inode)
dentry           1874 security/security.c 	call_void_hook(d_instantiate, dentry, inode);
dentry           1947 security/security.c int security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen)
dentry           1949 security/security.c 	return call_int_hook(inode_setsecctx, 0, dentry, ctx, ctxlen);
dentry            259 security/selinux/hooks.c static int inode_doinit_with_dentry(struct inode *inode, struct dentry *opt_dentry);
dentry            268 security/selinux/hooks.c 				       struct dentry *dentry,
dentry            285 security/selinux/hooks.c 		inode_doinit_with_dentry(inode, dentry);
dentry            314 security/selinux/hooks.c static struct inode_security_struct *backing_inode_security_novalidate(struct dentry *dentry)
dentry            316 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry            324 security/selinux/hooks.c static struct inode_security_struct *backing_inode_security(struct dentry *dentry)
dentry            326 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry            328 security/selinux/hooks.c 	__inode_security_revalidate(inode, dentry, true);
dentry            540 security/selinux/hooks.c 	struct dentry *root = sb->s_root;
dentry            653 security/selinux/hooks.c 	struct dentry *root = sbsec->sb->s_root;
dentry           1131 security/selinux/hooks.c 		struct dentry *root = sbsec->sb->s_root;
dentry           1331 security/selinux/hooks.c static int selinux_genfs_get_sid(struct dentry *dentry,
dentry           1337 security/selinux/hooks.c 	struct super_block *sb = dentry->d_sb;
dentry           1344 security/selinux/hooks.c 	path = dentry_path_raw(dentry, buffer, PAGE_SIZE);
dentry           1369 security/selinux/hooks.c static int inode_doinit_use_xattr(struct inode *inode, struct dentry *dentry,
dentry           1383 security/selinux/hooks.c 	rc = __vfs_getxattr(dentry, inode, XATTR_NAME_SELINUX, context, len);
dentry           1388 security/selinux/hooks.c 		rc = __vfs_getxattr(dentry, inode, XATTR_NAME_SELINUX, NULL, 0);
dentry           1398 security/selinux/hooks.c 		rc = __vfs_getxattr(dentry, inode, XATTR_NAME_SELINUX,
dentry           1431 security/selinux/hooks.c static int inode_doinit_with_dentry(struct inode *inode, struct dentry *opt_dentry)
dentry           1437 security/selinux/hooks.c 	struct dentry *dentry;
dentry           1480 security/selinux/hooks.c 			dentry = dget(opt_dentry);
dentry           1488 security/selinux/hooks.c 			dentry = d_find_alias(inode);
dentry           1489 security/selinux/hooks.c 			if (!dentry)
dentry           1490 security/selinux/hooks.c 				dentry = d_find_any_alias(inode);
dentry           1492 security/selinux/hooks.c 		if (!dentry) {
dentry           1505 security/selinux/hooks.c 		rc = inode_doinit_use_xattr(inode, dentry, sbsec->def_sid,
dentry           1507 security/selinux/hooks.c 		dput(dentry);
dentry           1537 security/selinux/hooks.c 				dentry = dget(opt_dentry);
dentry           1543 security/selinux/hooks.c 				dentry = d_find_alias(inode);
dentry           1544 security/selinux/hooks.c 				if (!dentry)
dentry           1545 security/selinux/hooks.c 					dentry = d_find_any_alias(inode);
dentry           1556 security/selinux/hooks.c 			if (!dentry)
dentry           1558 security/selinux/hooks.c 			rc = selinux_genfs_get_sid(dentry, sclass,
dentry           1561 security/selinux/hooks.c 				dput(dentry);
dentry           1567 security/selinux/hooks.c 				rc = inode_doinit_use_xattr(inode, dentry,
dentry           1570 security/selinux/hooks.c 					dput(dentry);
dentry           1574 security/selinux/hooks.c 			dput(dentry);
dentry           1692 security/selinux/hooks.c 				  struct dentry *dentry,
dentry           1695 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry           1699 security/selinux/hooks.c 	ad.u.dentry = dentry;
dentry           1700 security/selinux/hooks.c 	__inode_security_revalidate(inode, dentry, true);
dentry           1711 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(path->dentry);
dentry           1716 security/selinux/hooks.c 	__inode_security_revalidate(inode, path->dentry, true);
dentry           1811 security/selinux/hooks.c 		      struct dentry *dentry,
dentry           1827 security/selinux/hooks.c 	ad.u.dentry = dentry;
dentry           1837 security/selinux/hooks.c 					   &dentry->d_name, tclass, &newsid);
dentry           1858 security/selinux/hooks.c 		    struct dentry *dentry,
dentry           1869 security/selinux/hooks.c 	isec = backing_inode_security(dentry);
dentry           1872 security/selinux/hooks.c 	ad.u.dentry = dentry;
dentry           1903 security/selinux/hooks.c 			     struct dentry *old_dentry,
dentry           1905 security/selinux/hooks.c 			     struct dentry *new_dentry)
dentry           1921 security/selinux/hooks.c 	ad.u.dentry = old_dentry;
dentry           1940 security/selinux/hooks.c 	ad.u.dentry = new_dentry;
dentry           2093 security/selinux/hooks.c 	struct dentry *dentry = file->f_path.dentry;
dentry           2117 security/selinux/hooks.c 	if (unlikely(IS_PRIVATE(d_backing_inode(dentry))))
dentry           2120 security/selinux/hooks.c 	isec = backing_inode_security(dentry);
dentry           2209 security/selinux/hooks.c static int selinux_quota_on(struct dentry *dentry)
dentry           2213 security/selinux/hooks.c 	return dentry_has_perm(cred, dentry, FILE__QUOTAON);
dentry           2740 security/selinux/hooks.c 	ad.u.dentry = sb->s_root;
dentry           2744 security/selinux/hooks.c static int selinux_sb_statfs(struct dentry *dentry)
dentry           2750 security/selinux/hooks.c 	ad.u.dentry = dentry->d_sb->s_root;
dentry           2751 security/selinux/hooks.c 	return superblock_has_perm(cred, dentry->d_sb, FILESYSTEM__GETATTR, &ad);
dentry           2763 security/selinux/hooks.c 		return superblock_has_perm(cred, path->dentry->d_sb,
dentry           2867 security/selinux/hooks.c static int selinux_dentry_init_security(struct dentry *dentry, int mode,
dentry           2875 security/selinux/hooks.c 					   d_inode(dentry->d_parent), name,
dentry           2885 security/selinux/hooks.c static int selinux_dentry_create_files_as(struct dentry *dentry, int mode,
dentry           2895 security/selinux/hooks.c 					   d_inode(dentry->d_parent), name,
dentry           2954 security/selinux/hooks.c static int selinux_inode_create(struct inode *dir, struct dentry *dentry, umode_t mode)
dentry           2956 security/selinux/hooks.c 	return may_create(dir, dentry, SECCLASS_FILE);
dentry           2959 security/selinux/hooks.c static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry)
dentry           2964 security/selinux/hooks.c static int selinux_inode_unlink(struct inode *dir, struct dentry *dentry)
dentry           2966 security/selinux/hooks.c 	return may_link(dir, dentry, MAY_UNLINK);
dentry           2969 security/selinux/hooks.c static int selinux_inode_symlink(struct inode *dir, struct dentry *dentry, const char *name)
dentry           2971 security/selinux/hooks.c 	return may_create(dir, dentry, SECCLASS_LNK_FILE);
dentry           2974 security/selinux/hooks.c static int selinux_inode_mkdir(struct inode *dir, struct dentry *dentry, umode_t mask)
dentry           2976 security/selinux/hooks.c 	return may_create(dir, dentry, SECCLASS_DIR);
dentry           2979 security/selinux/hooks.c static int selinux_inode_rmdir(struct inode *dir, struct dentry *dentry)
dentry           2981 security/selinux/hooks.c 	return may_link(dir, dentry, MAY_RMDIR);
dentry           2984 security/selinux/hooks.c static int selinux_inode_mknod(struct inode *dir, struct dentry *dentry, umode_t mode, dev_t dev)
dentry           2986 security/selinux/hooks.c 	return may_create(dir, dentry, inode_mode_to_security_class(mode));
dentry           2989 security/selinux/hooks.c static int selinux_inode_rename(struct inode *old_inode, struct dentry *old_dentry,
dentry           2990 security/selinux/hooks.c 				struct inode *new_inode, struct dentry *new_dentry)
dentry           2995 security/selinux/hooks.c static int selinux_inode_readlink(struct dentry *dentry)
dentry           2999 security/selinux/hooks.c 	return dentry_has_perm(cred, dentry, FILE__READ);
dentry           3002 security/selinux/hooks.c static int selinux_inode_follow_link(struct dentry *dentry, struct inode *inode,
dentry           3013 security/selinux/hooks.c 	ad.u.dentry = dentry;
dentry           3094 security/selinux/hooks.c static int selinux_inode_setattr(struct dentry *dentry, struct iattr *iattr)
dentry           3097 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry           3111 security/selinux/hooks.c 		return dentry_has_perm(cred, dentry, FILE__SETATTR);
dentry           3119 security/selinux/hooks.c 	return dentry_has_perm(cred, dentry, av);
dentry           3139 security/selinux/hooks.c static int selinux_inode_setxattr(struct dentry *dentry, const char *name,
dentry           3142 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry           3150 security/selinux/hooks.c 		rc = cap_inode_setxattr(dentry, name, value, size, flags);
dentry           3156 security/selinux/hooks.c 		return dentry_has_perm(current_cred(), dentry, FILE__SETATTR);
dentry           3167 security/selinux/hooks.c 	ad.u.dentry = dentry;
dentry           3169 security/selinux/hooks.c 	isec = backing_inode_security(dentry);
dentry           3228 security/selinux/hooks.c static void selinux_inode_post_setxattr(struct dentry *dentry, const char *name,
dentry           3232 security/selinux/hooks.c 	struct inode *inode = d_backing_inode(dentry);
dentry           3251 security/selinux/hooks.c 	isec = backing_inode_security(dentry);
dentry           3261 security/selinux/hooks.c static int selinux_inode_getxattr(struct dentry *dentry, const char *name)
dentry           3265 security/selinux/hooks.c 	return dentry_has_perm(cred, dentry, FILE__GETATTR);
dentry           3268 security/selinux/hooks.c static int selinux_inode_listxattr(struct dentry *dentry)
dentry           3272 security/selinux/hooks.c 	return dentry_has_perm(cred, dentry, FILE__GETATTR);
dentry           3275 security/selinux/hooks.c static int selinux_inode_removexattr(struct dentry *dentry, const char *name)
dentry           3278 security/selinux/hooks.c 		int rc = cap_inode_removexattr(dentry, name);
dentry           3284 security/selinux/hooks.c 		return dentry_has_perm(current_cred(), dentry, FILE__SETATTR);
dentry           3313 security/selinux/hooks.c 		ret = superblock_has_perm(current_cred(), path->dentry->d_sb,
dentry           3424 security/selinux/hooks.c static int selinux_inode_copy_up(struct dentry *src, struct cred **new)
dentry           6288 security/selinux/hooks.c static void selinux_d_instantiate(struct dentry *dentry, struct inode *inode)
dentry           6291 security/selinux/hooks.c 		inode_doinit_with_dentry(inode, dentry);
dentry           6532 security/selinux/hooks.c static int selinux_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen)
dentry           6534 security/selinux/hooks.c 	return __vfs_setxattr_noperm(dentry, XATTR_NAME_SELINUX, ctx, ctxlen, 0);
dentry             69 security/selinux/selinuxfs.c 	struct dentry *bool_dir;
dentry             73 security/selinux/selinuxfs.c 	struct dentry *class_dir;
dentry             76 security/selinux/selinuxfs.c 	struct dentry *policycap_dir;
dentry            348 security/selinux/selinuxfs.c static struct dentry *sel_make_dir(struct dentry *dir, const char *name,
dentry           1177 security/selinux/selinuxfs.c 	const char *name = filep->f_path.dentry->d_name.name;
dentry           1217 security/selinux/selinuxfs.c 	const char *name = filep->f_path.dentry->d_name.name;
dentry           1318 security/selinux/selinuxfs.c static void sel_remove_entries(struct dentry *de)
dentry           1330 security/selinux/selinuxfs.c 	struct dentry *dentry = NULL;
dentry           1331 security/selinux/selinuxfs.c 	struct dentry *dir = fsi->bool_dir;
dentry           1361 security/selinux/selinuxfs.c 		dentry = d_alloc_name(dir, names[i]);
dentry           1362 security/selinux/selinuxfs.c 		if (!dentry)
dentry           1368 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1375 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1393 security/selinux/selinuxfs.c 		d_add(dentry, inode);
dentry           1570 security/selinux/selinuxfs.c static int sel_make_avc_files(struct dentry *dir)
dentry           1586 security/selinux/selinuxfs.c 		struct dentry *dentry;
dentry           1588 security/selinux/selinuxfs.c 		dentry = d_alloc_name(dir, files[i].name);
dentry           1589 security/selinux/selinuxfs.c 		if (!dentry)
dentry           1594 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1600 security/selinux/selinuxfs.c 		d_add(dentry, inode);
dentry           1629 security/selinux/selinuxfs.c static int sel_make_initcon_files(struct dentry *dir)
dentry           1635 security/selinux/selinuxfs.c 		struct dentry *dentry;
dentry           1636 security/selinux/selinuxfs.c 		dentry = d_alloc_name(dir, security_get_initial_sid_context(i));
dentry           1637 security/selinux/selinuxfs.c 		if (!dentry)
dentry           1642 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1648 security/selinux/selinuxfs.c 		d_add(dentry, inode);
dentry           1723 security/selinux/selinuxfs.c 				struct dentry *dir)
dentry           1735 security/selinux/selinuxfs.c 		struct dentry *dentry;
dentry           1738 security/selinux/selinuxfs.c 		dentry = d_alloc_name(dir, perms[i]);
dentry           1739 security/selinux/selinuxfs.c 		if (!dentry)
dentry           1745 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1752 security/selinux/selinuxfs.c 		d_add(dentry, inode);
dentry           1763 security/selinux/selinuxfs.c 					struct dentry *dir)
dentry           1767 security/selinux/selinuxfs.c 	struct dentry *dentry = NULL;
dentry           1771 security/selinux/selinuxfs.c 	dentry = d_alloc_name(dir, "index");
dentry           1772 security/selinux/selinuxfs.c 	if (!dentry)
dentry           1777 security/selinux/selinuxfs.c 		dput(dentry);
dentry           1783 security/selinux/selinuxfs.c 	d_add(dentry, inode);
dentry           1785 security/selinux/selinuxfs.c 	dentry = sel_make_dir(dir, "perms", &fsi->last_class_ino);
dentry           1786 security/selinux/selinuxfs.c 	if (IS_ERR(dentry))
dentry           1787 security/selinux/selinuxfs.c 		return PTR_ERR(dentry);
dentry           1789 security/selinux/selinuxfs.c 	rc = sel_make_perm_files(classname, index, dentry);
dentry           1811 security/selinux/selinuxfs.c 		struct dentry *class_name_dir;
dentry           1837 security/selinux/selinuxfs.c 	struct dentry *dentry = NULL;
dentry           1844 security/selinux/selinuxfs.c 			dentry = d_alloc_name(fsi->policycap_dir,
dentry           1847 security/selinux/selinuxfs.c 			dentry = d_alloc_name(fsi->policycap_dir, "unknown");
dentry           1849 security/selinux/selinuxfs.c 		if (dentry == NULL)
dentry           1854 security/selinux/selinuxfs.c 			dput(dentry);
dentry           1860 security/selinux/selinuxfs.c 		d_add(dentry, inode);
dentry           1866 security/selinux/selinuxfs.c static struct dentry *sel_make_dir(struct dentry *dir, const char *name,
dentry           1869 security/selinux/selinuxfs.c 	struct dentry *dentry = d_alloc_name(dir, name);
dentry           1872 security/selinux/selinuxfs.c 	if (!dentry)
dentry           1877 security/selinux/selinuxfs.c 		dput(dentry);
dentry           1886 security/selinux/selinuxfs.c 	d_add(dentry, inode);
dentry           1890 security/selinux/selinuxfs.c 	return dentry;
dentry           1899 security/selinux/selinuxfs.c 	struct dentry *dentry;
dentry           1943 security/selinux/selinuxfs.c 	dentry = d_alloc_name(sb->s_root, NULL_FILE_NAME);
dentry           1944 security/selinux/selinuxfs.c 	if (!dentry)
dentry           1950 security/selinux/selinuxfs.c 		dput(dentry);
dentry           1961 security/selinux/selinuxfs.c 	d_add(dentry, inode);
dentry           1963 security/selinux/selinuxfs.c 	dentry = sel_make_dir(sb->s_root, "avc", &fsi->last_ino);
dentry           1964 security/selinux/selinuxfs.c 	if (IS_ERR(dentry)) {
dentry           1965 security/selinux/selinuxfs.c 		ret = PTR_ERR(dentry);
dentry           1969 security/selinux/selinuxfs.c 	ret = sel_make_avc_files(dentry);
dentry           1973 security/selinux/selinuxfs.c 	dentry = sel_make_dir(sb->s_root, "initial_contexts", &fsi->last_ino);
dentry           1974 security/selinux/selinuxfs.c 	if (IS_ERR(dentry)) {
dentry           1975 security/selinux/selinuxfs.c 		ret = PTR_ERR(dentry);
dentry           1979 security/selinux/selinuxfs.c 	ret = sel_make_initcon_files(dentry);
dentry           2066 security/selinux/selinuxfs.c 	selinux_null.dentry = d_hash_and_lookup(selinux_null.mnt->mnt_root,
dentry           2068 security/selinux/selinuxfs.c 	if (IS_ERR(selinux_null.dentry)) {
dentry           2070 security/selinux/selinuxfs.c 		err = PTR_ERR(selinux_null.dentry);
dentry           2071 security/selinux/selinuxfs.c 		selinux_null.dentry = NULL;
dentry           2083 security/selinux/selinuxfs.c 	dput(selinux_null.dentry);
dentry            468 security/smack/smack.h 						    struct dentry *d)
dentry            470 security/smack/smack.h 	a->a.u.dentry = d;
dentry            499 security/smack/smack.h 						    struct dentry *d)
dentry            280 security/smack/smack_lsm.c 					struct dentry *dp)
dentry            780 security/smack/smack_lsm.c 	struct dentry *root = sb->s_root;
dentry            879 security/smack/smack_lsm.c static int smack_sb_statfs(struct dentry *dentry)
dentry            881 security/smack/smack_lsm.c 	struct superblock_smack *sbp = dentry->d_sb->s_security;
dentry            886 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1030 security/smack/smack_lsm.c static int smack_inode_link(struct dentry *old_dentry, struct inode *dir,
dentry           1031 security/smack/smack_lsm.c 			    struct dentry *new_dentry)
dentry           1062 security/smack/smack_lsm.c static int smack_inode_unlink(struct inode *dir, struct dentry *dentry)
dentry           1064 security/smack/smack_lsm.c 	struct inode *ip = d_backing_inode(dentry);
dentry           1069 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1096 security/smack/smack_lsm.c static int smack_inode_rmdir(struct inode *dir, struct dentry *dentry)
dentry           1102 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1107 security/smack/smack_lsm.c 	rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad);
dentry           1108 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc);
dentry           1135 security/smack/smack_lsm.c 			      struct dentry *old_dentry,
dentry           1137 security/smack/smack_lsm.c 			      struct dentry *new_dentry)
dentry           1204 security/smack/smack_lsm.c static int smack_inode_setattr(struct dentry *dentry, struct iattr *iattr)
dentry           1215 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1217 security/smack/smack_lsm.c 	rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad);
dentry           1218 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc);
dentry           1231 security/smack/smack_lsm.c 	struct inode *inode = d_backing_inode(path->dentry);
dentry           1253 security/smack/smack_lsm.c static int smack_inode_setxattr(struct dentry *dentry, const char *name,
dentry           1282 security/smack/smack_lsm.c 		rc = cap_inode_setxattr(dentry, name, value, size, flags);
dentry           1297 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1300 security/smack/smack_lsm.c 		rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad);
dentry           1301 security/smack/smack_lsm.c 		rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc);
dentry           1318 security/smack/smack_lsm.c static void smack_inode_post_setxattr(struct dentry *dentry, const char *name,
dentry           1322 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(d_backing_inode(dentry));
dentry           1353 security/smack/smack_lsm.c static int smack_inode_getxattr(struct dentry *dentry, const char *name)
dentry           1359 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1361 security/smack/smack_lsm.c 	rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_READ, &ad);
dentry           1362 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(dentry), MAY_READ, rc);
dentry           1375 security/smack/smack_lsm.c static int smack_inode_removexattr(struct dentry *dentry, const char *name)
dentry           1390 security/smack/smack_lsm.c 		rc = cap_inode_removexattr(dentry, name);
dentry           1396 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, dentry);
dentry           1398 security/smack/smack_lsm.c 	rc = smk_curacc(smk_of_inode(d_backing_inode(dentry)), MAY_WRITE, &ad);
dentry           1399 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(dentry), MAY_WRITE, rc);
dentry           1403 security/smack/smack_lsm.c 	isp = smack_inode(d_backing_inode(dentry));
dentry           1410 security/smack/smack_lsm.c 		struct super_block *sbp = dentry->d_sb;
dentry           3255 security/smack/smack_lsm.c static void smack_d_instantiate(struct dentry *opt_dentry, struct inode *inode)
dentry           3266 security/smack/smack_lsm.c 	struct dentry *dp;
dentry           4485 security/smack/smack_lsm.c static int smack_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen)
dentry           4487 security/smack/smack_lsm.c 	return __vfs_setxattr_noperm(dentry, XATTR_NAME_SMACK, ctx, ctxlen, 0);
dentry           4499 security/smack/smack_lsm.c static int smack_inode_copy_up(struct dentry *dentry, struct cred **new)
dentry           4518 security/smack/smack_lsm.c 	isp = smack_inode(d_inode(dentry->d_parent));
dentry           4536 security/smack/smack_lsm.c static int smack_dentry_create_files_as(struct dentry *dentry, int mode,
dentry           4555 security/smack/smack_lsm.c 	isp = smack_inode(d_inode(dentry->d_parent));
dentry            716 security/tomoyo/condition.c 	struct dentry *dentry = NULL;
dentry            723 security/tomoyo/condition.c 			dentry = obj->path1.dentry;
dentry            724 security/tomoyo/condition.c 			if (!dentry)
dentry            728 security/tomoyo/condition.c 			dentry = obj->path2.dentry;
dentry            729 security/tomoyo/condition.c 			if (!dentry)
dentry            733 security/tomoyo/condition.c 			if (!dentry)
dentry            735 security/tomoyo/condition.c 			dentry = dget_parent(dentry);
dentry            738 security/tomoyo/condition.c 		inode = d_backing_inode(dentry);
dentry            751 security/tomoyo/condition.c 			dput(dentry);
dentry            713 security/tomoyo/file.c 		.path1 = { .mnt = path->mnt, .dentry = path->dentry },
dentry            720 security/tomoyo/file.c 	    == TOMOYO_CONFIG_DISABLED || !path->dentry)
dentry            761 security/tomoyo/file.c 		.path1 = { .mnt = path->mnt, .dentry = path->dentry },
dentry            807 security/tomoyo/file.c 		.path1 = { .mnt = path->mnt, .dentry = path->dentry },
dentry            864 security/tomoyo/file.c 		.path1 = { .mnt = path->mnt, .dentry = path->dentry },
dentry            911 security/tomoyo/file.c 		.path1 = { .mnt = path1->mnt, .dentry = path1->dentry },
dentry            912 security/tomoyo/file.c 		.path2 = { .mnt = path2->mnt, .dentry = path2->dentry }
dentry            928 security/tomoyo/file.c 		if (!d_is_dir(path1->dentry))
dentry            175 security/tomoyo/mount.c 	if (obj.path1.dentry)
dentry            102 security/tomoyo/realpath.c 			struct inode *inode = d_backing_inode(path->dentry);
dentry            124 security/tomoyo/realpath.c static char *tomoyo_get_dentry_path(struct dentry *dentry, char * const buffer,
dentry            130 security/tomoyo/realpath.c 		pos = dentry_path_raw(dentry, buffer, buflen - 1);
dentry            132 security/tomoyo/realpath.c 			struct inode *inode = d_backing_inode(dentry);
dentry            152 security/tomoyo/realpath.c static char *tomoyo_get_local_path(struct dentry *dentry, char * const buffer,
dentry            155 security/tomoyo/realpath.c 	struct super_block *sb = dentry->d_sb;
dentry            156 security/tomoyo/realpath.c 	char *pos = tomoyo_get_dentry_path(dentry, buffer, buflen);
dentry            240 security/tomoyo/realpath.c 	struct dentry *dentry = path->dentry;
dentry            243 security/tomoyo/realpath.c 	if (!dentry)
dentry            245 security/tomoyo/realpath.c 	sb = dentry->d_sb;
dentry            258 security/tomoyo/realpath.c 		if (dentry->d_op && dentry->d_op->d_dname) {
dentry            259 security/tomoyo/realpath.c 			pos = dentry->d_op->d_dname(dentry, buf, buf_len - 1);
dentry            270 security/tomoyo/realpath.c 			pos = tomoyo_get_local_path(path->dentry, buf,
dentry            280 security/tomoyo/realpath.c 				pos = tomoyo_get_local_path(path->dentry, buf,
dentry            224 security/tomoyo/securityfs_if.c 				       struct dentry *parent, const u8 key)
dentry            238 security/tomoyo/securityfs_if.c 	struct dentry *tomoyo_dir;
dentry            152 security/tomoyo/tomoyo.c static int tomoyo_path_unlink(const struct path *parent, struct dentry *dentry)
dentry            154 security/tomoyo/tomoyo.c 	struct path path = { .mnt = parent->mnt, .dentry = dentry };
dentry            168 security/tomoyo/tomoyo.c static int tomoyo_path_mkdir(const struct path *parent, struct dentry *dentry,
dentry            171 security/tomoyo/tomoyo.c 	struct path path = { .mnt = parent->mnt, .dentry = dentry };
dentry            185 security/tomoyo/tomoyo.c static int tomoyo_path_rmdir(const struct path *parent, struct dentry *dentry)
dentry            187 security/tomoyo/tomoyo.c 	struct path path = { .mnt = parent->mnt, .dentry = dentry };
dentry            201 security/tomoyo/tomoyo.c static int tomoyo_path_symlink(const struct path *parent, struct dentry *dentry,
dentry            204 security/tomoyo/tomoyo.c 	struct path path = { .mnt = parent->mnt, .dentry = dentry };
dentry            219 security/tomoyo/tomoyo.c static int tomoyo_path_mknod(const struct path *parent, struct dentry *dentry,
dentry            222 security/tomoyo/tomoyo.c 	struct path path = { .mnt = parent->mnt, .dentry = dentry };
dentry            258 security/tomoyo/tomoyo.c static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir,
dentry            259 security/tomoyo/tomoyo.c 			    struct dentry *new_dentry)
dentry            261 security/tomoyo/tomoyo.c 	struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry };
dentry            262 security/tomoyo/tomoyo.c 	struct path path2 = { .mnt = new_dir->mnt, .dentry = new_dentry };
dentry            278 security/tomoyo/tomoyo.c 			      struct dentry *old_dentry,
dentry            280 security/tomoyo/tomoyo.c 			      struct dentry *new_dentry)
dentry            282 security/tomoyo/tomoyo.c 	struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry };
dentry            283 security/tomoyo/tomoyo.c 	struct path path2 = { .mnt = new_parent->mnt, .dentry = new_dentry };
dentry            413 security/tomoyo/tomoyo.c 	struct path path = { .mnt = mnt, .dentry = mnt->mnt_root };
dentry            728 sound/soc/codecs/wm_adsp.c 	struct dentry *root = NULL;
dentry            104 sound/soc/codecs/wm_adsp.h 	struct dentry *debugfs_root;
dentry            272 sound/soc/fsl/fsl_ssi.h 	struct dentry *dbg_dir;
dentry             33 sound/soc/fsl/imx-audmux.c static struct dentry *audmux_debugfs_root;
dentry            274 sound/soc/intel/common/sst-dsp-priv.h 	struct dentry *debugfs_root;
dentry             26 sound/soc/intel/skylake/skl-debug.c 	struct dentry *fs;
dentry             27 sound/soc/intel/skylake/skl-debug.c 	struct dentry *modules;
dentry             49 sound/soc/soc-core.c struct dentry *snd_soc_debugfs_root;
dentry           2205 sound/soc/soc-dapm.c 	struct dentry *parent)
dentry           2235 sound/soc/soc-dapm.c 	struct dentry *parent)
dentry            131 sound/soc/sof/debug.c 	struct dentry *dentry;
dentry            153 sound/soc/sof/debug.c 	dentry = file->f_path.dentry;
dentry            154 sound/soc/sof/debug.c 	if (strcmp(dentry->d_name.name, "ipc_flood_count") &&
dentry            155 sound/soc/sof/debug.c 	    strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) {
dentry            160 sound/soc/sof/debug.c 	if (!strcmp(dentry->d_name.name, "ipc_flood_duration_ms"))
dentry            233 sound/soc/sof/debug.c 	struct dentry *dentry;
dentry            235 sound/soc/sof/debug.c 	dentry = file->f_path.dentry;
dentry            236 sound/soc/sof/debug.c 	if ((!strcmp(dentry->d_name.name, "ipc_flood_count") ||
dentry            237 sound/soc/sof/debug.c 	     !strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) &&
dentry            409 sound/soc/sof/sof-priv.h 	struct dentry *debugfs_root;
dentry            112 virt/kvm/kvm_main.c struct dentry *kvm_debugfs_dir;