Home
last modified time | relevance | path

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

1234

/arch/s390/hypfs/
Dinode.c31 static struct dentry *hypfs_create_update_file(struct dentry *dir);
36 struct dentry *update_file; /* file to trigger update */
46 static struct dentry *hypfs_last_dentry;
59 static void hypfs_add_dentry(struct dentry *dentry) in hypfs_add_dentry() argument
61 dentry->d_fsdata = hypfs_last_dentry; in hypfs_add_dentry()
62 hypfs_last_dentry = dentry; in hypfs_add_dentry()
65 static void hypfs_remove(struct dentry *dentry) in hypfs_remove() argument
67 struct dentry *parent; in hypfs_remove()
69 parent = dentry->d_parent; in hypfs_remove()
71 if (simple_positive(dentry)) { in hypfs_remove()
[all …]
Dhypfs.h22 extern struct dentry *hypfs_mkdir(struct dentry *parent, const char *name);
24 extern struct dentry *hypfs_create_u64(struct dentry *dir, const char *name,
27 extern struct dentry *hypfs_create_str(struct dentry *dir, const char *name,
33 extern int hypfs_diag_create_files(struct dentry *root);
38 extern int hypfs_vm_create_files(struct dentry *root);
68 struct dentry *dentry; member
Dhypfs_dbfs.c11 static struct dentry *dbfs_dir;
82 df->dentry = debugfs_create_file(df->name, 0400, dbfs_dir, df, in hypfs_dbfs_create_file()
84 if (IS_ERR(df->dentry)) in hypfs_dbfs_create_file()
85 return PTR_ERR(df->dentry); in hypfs_dbfs_create_file()
92 debugfs_remove(df->dentry); in hypfs_dbfs_remove_file()
Dhypfs_diag.c53 static struct dentry *dbfs_d204_file;
634 static int hypfs_create_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_cpu_files()
636 struct dentry *cpu_dir; in hypfs_create_cpu_files()
664 static void *hypfs_create_lpar_files(struct dentry *systems_dir, void *part_hdr) in hypfs_create_lpar_files()
666 struct dentry *cpus_dir; in hypfs_create_lpar_files()
667 struct dentry *lpar_dir; in hypfs_create_lpar_files()
691 static int hypfs_create_phys_cpu_files(struct dentry *cpus_dir, void *cpu_info) in hypfs_create_phys_cpu_files()
693 struct dentry *cpu_dir; in hypfs_create_phys_cpu_files()
711 static void *hypfs_create_phys_files(struct dentry *parent_dir, void *phys_hdr) in hypfs_create_phys_files()
715 struct dentry *cpus_dir; in hypfs_create_phys_files()
[all …]
Dhypfs_vm.c122 static int hpyfs_vm_create_guest(struct dentry *systems_dir, in hpyfs_vm_create_guest()
126 struct dentry *guest_dir, *cpus_dir, *samples_dir, *mem_dir; in hpyfs_vm_create_guest()
180 int hypfs_vm_create_files(struct dentry *root) in hypfs_vm_create_files()
182 struct dentry *dir, *file; in hypfs_vm_create_files()
/arch/powerpc/platforms/cell/spufs/
Dinode.c112 spufs_setattr(struct dentry *dentry, struct iattr *attr) in spufs_setattr() argument
114 struct inode *inode = d_inode(dentry); in spufs_setattr()
126 spufs_new_file(struct super_block *sb, struct dentry *dentry, in spufs_new_file() argument
146 d_add(dentry, inode); in spufs_new_file()
162 static void spufs_prune_dir(struct dentry *dir) in spufs_prune_dir()
164 struct dentry *dentry, *tmp; in spufs_prune_dir() local
167 list_for_each_entry_safe(dentry, tmp, &dir->d_subdirs, d_child) { in spufs_prune_dir()
168 spin_lock(&dentry->d_lock); in spufs_prune_dir()
169 if (simple_positive(dentry)) { in spufs_prune_dir()
170 dget_dlock(dentry); in spufs_prune_dir()
[all …]
Dsyscalls.c66 struct dentry *dentry; in do_spu_create() local
69 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
70 ret = PTR_ERR(dentry); in do_spu_create()
71 if (!IS_ERR(dentry)) { in do_spu_create()
72 ret = spufs_create(&path, dentry, flags, mode, neighbor); in do_spu_create()
73 done_path_create(&path, dentry); in do_spu_create()
/arch/avr32/kernel/
Docd.c88 static struct dentry *ocd_debugfs_root;
89 static struct dentry *ocd_debugfs_DC;
90 static struct dentry *ocd_debugfs_DS;
91 static struct dentry *ocd_debugfs_count;
121 struct dentry *root; in ocd_debugfs_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.h4 struct dentry * __init xen_init_debugfs(void);
/arch/x86/kernel/
Dkdebugfs.c20 struct dentry *arch_debugfs_dir;
78 create_setup_data_node(struct dentry *parent, int no, in create_setup_data_node()
81 struct dentry *d, *type, *data; in create_setup_data_node()
106 static int __init create_setup_data_nodes(struct dentry *parent) in create_setup_data_nodes()
111 struct dentry *d; in create_setup_data_nodes()
167 struct dentry *dbp, *version, *data; in boot_params_kdebugfs_init()
/arch/arm/plat-pxa/
Ddma.c50 static struct dentry *dbgfs_root, *dbgfs_state, **dbgfs_chan;
196 static struct dentry *pxa_dma_dbg_alloc_chan(int ch, struct dentry *chandir) in pxa_dma_dbg_alloc_chan()
199 struct dentry *chan, *chan_state = NULL, *chan_descr = NULL; in pxa_dma_dbg_alloc_chan()
200 struct dentry *chan_reqs = NULL; in pxa_dma_dbg_alloc_chan()
229 struct dentry *chandir; in pxa_dma_init_debugfs()
/arch/mips/include/asm/
Ddebug.h20 extern struct dentry *mips_debugfs_dir;
/arch/frv/mm/
Delf-fdpic.c103 len, filp ? filp->f_path.dentry->d_name.name : ""); in arch_get_unmapped_area()
110 len, addr, filp ? filp->f_path.dentry->d_name.name : ""); in arch_get_unmapped_area()
/arch/sh/kernel/
Dkdebugfs.c5 struct dentry *arch_debugfs_dir;
/arch/powerpc/kvm/
Dbook3s_xics.h104 struct dentry *dentry; member
/arch/mips/oprofile/
Dcommon.c38 static int op_mips_create_files(struct dentry *root) in op_mips_create_files()
43 struct dentry *dir; in op_mips_create_files()
/arch/microblaze/kernel/
Dsetup.c201 struct dentry *of_debugfs_root;
214 struct dentry *d; in debugfs_tlb()
/arch/x86/platform/atom/
Dpunit_atom_debug.c117 static struct dentry *punit_dbg_file;
121 static struct dentry *dev_state; in punit_dbgfs_register()
/arch/arm/mach-omap2/
Dpm-debug.c207 struct dentry *d; in pwrdms_setup()
219 d = debugfs_create_dir(pwrdm->name, (struct dentry *)dir); in pwrdms_setup()
258 struct dentry *d; in pm_dbg_init()
/arch/powerpc/platforms/pseries/
DhvCall_inst.c134 struct dentry *hcall_root; in hcall_inst_init()
135 struct dentry *hcall_file; in hcall_inst_init()
/arch/powerpc/sysdev/
Dscom.c186 static int scom_debug_init_one(struct dentry *root, struct device_node *dn, in scom_debug_init_one()
190 struct dentry *dir; in scom_debug_init_one()
217 struct dentry *root; in scom_debug_init()
/arch/alpha/oprofile/
Dcommon.c109 op_axp_create_files(struct dentry *root) in op_axp_create_files()
114 struct dentry *dir; in op_axp_create_files()
/arch/s390/include/asm/
Dpci.h122 struct dentry *debugfs_dev;
123 struct dentry *debugfs_perf;
/arch/powerpc/oprofile/
Dcommon.c122 static int op_powerpc_create_files(struct dentry *root) in op_powerpc_create_files()
159 struct dentry *dir; in op_powerpc_create_files()

1234