Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 25 of 64) sorted by relevance

123

/arch/s390/hypfs/
Dinode.c33 static struct dentry *hypfs_create_update_file(struct dentry *dir);
38 struct dentry *update_file; /* file to trigger update */
48 static struct dentry *hypfs_last_dentry;
61 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry() argument
63 dentry->d_fsdata = hypfs_last_dentry; in hypfs_add_dentry()
64 hypfs_last_dentry = dentry; in hypfs_add_dentry()
67 static void hypfs_remove(struct dentry *dentry) in hypfs_remove() argument
69 struct dentry *parent; in hypfs_remove()
71 parent = dentry->d_parent; in hypfs_remove()
73 if (simple_positive(dentry)) { in hypfs_remove()
[all …]
Dhypfs.h23 extern struct dentry *hypfs_mkdir(struct dentry *parent, const char *name);
25 extern struct dentry *hypfs_create_u64(struct dentry *dir, const char *name,
28 extern struct dentry *hypfs_create_str(struct dentry *dir, const char *name,
34 extern int hypfs_diag_create_files(struct dentry *root);
39 extern int hypfs_vm_create_files(struct dentry *root);
69 struct dentry *dentry; member
Dhypfs_diag.c35 static struct dentry *dbfs_d204_file;
472 static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files()
474 struct dentry *cpu_dir; in hypfs_create_cpu_files()
502 static void *hypfs_create_lpar_files(struct dentry *systems_dir, void *part_hdr) in hypfs_create_lpar_files()
504 struct dentry *cpus_dir; in hypfs_create_lpar_files()
505 struct dentry *lpar_dir; in hypfs_create_lpar_files()
529 static int hypfs_create_phys_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_phys_cpu_files()
531 struct dentry *cpu_dir; in hypfs_create_phys_cpu_files()
549 static void *hypfs_create_phys_files(struct dentry *parent_dir, void *phys_hdr) in hypfs_create_phys_files()
553 struct dentry *cpus_dir; in hypfs_create_phys_files()
[all …]
Dhypfs_dbfs.c12 static struct dentry *dbfs_dir;
83 df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df, in hypfs_dbfs_create_file()
90 debugfs_remove(df->dentry); in hypfs_dbfs_remove_file()
Dhypfs_vm.c123 static int hypfs_vm_create_guest(struct dentry *systems_dir, in hypfs_vm_create_guest()
127 struct dentry *guest_dir, *cpus_dir, *samples_dir, *mem_dir; in hypfs_vm_create_guest()
181 int hypfs_vm_create_files(struct dentry *root) in hypfs_vm_create_files()
183 struct dentry *dir, *file; in hypfs_vm_create_files()
/arch/powerpc/platforms/cell/spufs/
Dinode.c94 spufs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry, in spufs_setattr() argument
97 struct inode *inode = d_inode(dentry); in spufs_setattr()
109 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file() argument
129 d_add(dentry, inode); in spufs_new_file()
145 static void spufs_prune_dir(struct dentry *dir) in spufs_prune_dir()
147 struct dentry *dentry, *tmp; in spufs_prune_dir() local
150 list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) { in spufs_prune_dir()
151 spin_lock(&dentry->d_lock); in spufs_prune_dir()
152 if (simple_positive(dentry)) { in spufs_prune_dir()
153 dget_dlock(dentry); in spufs_prune_dir()
[all …]
Dsyscalls.c67 struct dentry *dentry; in do_spu_create() local
70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
71 ret = PTR_ERR(dentry); in do_spu_create()
72 if (!IS_ERR(dentry)) { in do_spu_create()
73 ret = spufs_create(&path, dentry, flags, mode, neighbor); in do_spu_create()
74 done_path_create(&path, dentry); in do_spu_create()
/arch/x86/kernel/
Dkdebugfs.c19 struct dentry *arch_debugfs_dir;
76 create_setup_data_node(struct dentry *parent, int no, in create_setup_data_node()
79 struct dentry *d; in create_setup_data_node()
89 static int __init create_setup_data_nodes(struct dentry *parent) in create_setup_data_nodes()
95 struct dentry *d; in create_setup_data_nodes()
167 struct dentry *dbp; in boot_params_kdebugfs_init()
/arch/x86/xen/
Ddebugfs.c8 static struct dentry *d_xen_debug;
10 struct dentry * __init xen_init_debugfs(void) in xen_init_debugfs()
Ddebugfs.h5 struct dentry * __init xen_init_debugfs(void);
/arch/mips/include/asm/
Ddebug.h16 extern struct dentry *mips_debugfs_dir;
/arch/powerpc/platforms/powernv/
Dopal-xscom.c155 static int scom_debug_init_one(struct dentry *root, struct device_node *dn, in scom_debug_init_one()
159 struct dentry *dir; in scom_debug_init_one()
191 struct dentry *root; in scom_debug_init()
Dvas-debug.c15 static struct dentry *vas_debugfs;
121 struct dentry *d; in vas_window_init_dbgdir()
141 struct dentry *d; in vas_instance_init_dbgdir()
Dmemtrace.c29 struct dentry *dir;
181 static struct dentry *memtrace_debugfs_dir;
189 struct dentry *dir; in memtrace_init_debugfs()
Dopal-imc.c22 static struct dentry *imc_debugfs_parent;
39 struct dentry *parent, u64 *value) in imc_debugfs_create_x64()
/arch/arm/mach-omap2/
Dpm-debug.c178 struct dentry *d; in pwrdms_setup()
190 d = debugfs_create_dir(pwrdm->name, (struct dentry *)dir); in pwrdms_setup()
224 struct dentry *d; in pm_dbg_init()
/arch/sh/kernel/
Dkdebugfs.c6 struct dentry *arch_debugfs_dir;
/arch/s390/kernel/
Dkdebugfs.c6 struct dentry *arch_debugfs_dir;
/arch/powerpc/kernel/
Dkdebugfs.c6 struct dentry *arch_debugfs_dir;
/arch/powerpc/kvm/
Dbook3s_xics.h106 struct dentry *dentry; member
Dbook3s_xive.h106 struct dentry *dentry; member
/arch/mips/mm/
Dsc-debugfs.c54 struct dentry *dir; in sc_debugfs_init()
/arch/microblaze/include/asm/
Dprocessor.h93 extern struct dentry *of_debugfs_root;
/arch/x86/mm/
Ddebug_pagetables.c47 static struct dentry *dir;
/arch/microblaze/kernel/
Dsetup.c184 struct dentry *of_debugfs_root;

123