Home
last modified time | relevance | path

Searched refs:dent (Results 1 – 15 of 15) sorted by relevance

/drivers/mtd/ubi/
Ddebug.c299 struct dentry *dent = file->f_path.dentry; in dfs_file_read() local
310 if (dent == d->dfs_chk_gen) in dfs_file_read()
312 else if (dent == d->dfs_chk_io) in dfs_file_read()
314 else if (dent == d->dfs_disable_bgt) in dfs_file_read()
316 else if (dent == d->dfs_emulate_bitflips) in dfs_file_read()
318 else if (dent == d->dfs_emulate_io_failures) in dfs_file_read()
344 struct dentry *dent = file->f_path.dentry; in dfs_file_write() local
371 if (dent == d->dfs_chk_gen) in dfs_file_write()
373 else if (dent == d->dfs_chk_io) in dfs_file_write()
375 else if (dent == d->dfs_disable_bgt) in dfs_file_write()
[all …]
/drivers/media/video/uvc/
Duvc_debugfs.c81 struct dentry *dent; in uvc_debugfs_init_stream() local
89 dent = debugfs_create_dir(dir_name, uvc_debugfs_root_dir); in uvc_debugfs_init_stream()
90 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
96 stream->debugfs_dir = dent; in uvc_debugfs_init_stream()
98 dent = debugfs_create_file("stats", 0444, stream->debugfs_dir, in uvc_debugfs_init_stream()
100 if (IS_ERR_OR_NULL(dent)) { in uvc_debugfs_init_stream()
/drivers/platform/x86/
Dsamsung-laptop.c1184 struct dentry *dent; in samsung_debugfs_init() local
1201 dent = debugfs_create_u16("command", S_IRUGO | S_IWUSR, in samsung_debugfs_init()
1203 if (!dent) in samsung_debugfs_init()
1206 dent = debugfs_create_u32("d0", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init()
1208 if (!dent) in samsung_debugfs_init()
1211 dent = debugfs_create_u32("d1", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init()
1213 if (!dent) in samsung_debugfs_init()
1216 dent = debugfs_create_u16("d2", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init()
1218 if (!dent) in samsung_debugfs_init()
1221 dent = debugfs_create_u8("d3", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init()
[all …]
Dasus-wmi.c1592 struct dentry *dent; in asus_wmi_debugfs_init() local
1601 dent = debugfs_create_x32("method_id", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init()
1603 if (!dent) in asus_wmi_debugfs_init()
1606 dent = debugfs_create_x32("dev_id", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init()
1608 if (!dent) in asus_wmi_debugfs_init()
1611 dent = debugfs_create_x32("ctrl_param", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init()
1613 if (!dent) in asus_wmi_debugfs_init()
1620 dent = debugfs_create_file(node->name, S_IFREG | S_IRUGO, in asus_wmi_debugfs_init()
1623 if (!dent) { in asus_wmi_debugfs_init()
/drivers/gpu/drm/
Ddrm_debugfs.c119 tmp->dent = ent; in drm_debugfs_create_files()
204 debugfs_remove(tmp->dent); in drm_debugfs_remove_files()
/drivers/scsi/lpfc/
Dlpfc_debugfs.c1004 struct dentry *dent = file->f_dentry; in lpfc_debugfs_dif_err_read() local
1010 if (dent == phba->debug_writeGuard) in lpfc_debugfs_dif_err_read()
1012 else if (dent == phba->debug_writeApp) in lpfc_debugfs_dif_err_read()
1014 else if (dent == phba->debug_writeRef) in lpfc_debugfs_dif_err_read()
1016 else if (dent == phba->debug_readGuard) in lpfc_debugfs_dif_err_read()
1018 else if (dent == phba->debug_readApp) in lpfc_debugfs_dif_err_read()
1020 else if (dent == phba->debug_readRef) in lpfc_debugfs_dif_err_read()
1022 else if (dent == phba->debug_InjErrNPortID) in lpfc_debugfs_dif_err_read()
1024 else if (dent == phba->debug_InjErrWWPN) { in lpfc_debugfs_dif_err_read()
1028 } else if (dent == phba->debug_InjErrLBA) { in lpfc_debugfs_dif_err_read()
[all …]
/drivers/iommu/
Domap-iommu-debug.c350 struct dentry *dent; \
351 dent = debugfs_create_file(#attr, mode, parent, \
353 if (!dent) \
Damd_iommu_types.h679 struct dentry *dent; member
Damd_iommu.c396 cnt->dent = debugfs_create_u64(cnt->name, 0444, stats_dir, in amd_iommu_stats_add()
/drivers/hid/
Dhid-picolcd.c2327 struct dentry *dent; in picolcd_exit_devfs() local
2329 dent = data->debug_reset; in picolcd_exit_devfs()
2331 if (dent) in picolcd_exit_devfs()
2332 debugfs_remove(dent); in picolcd_exit_devfs()
2333 dent = data->debug_eeprom; in picolcd_exit_devfs()
2335 if (dent) in picolcd_exit_devfs()
2336 debugfs_remove(dent); in picolcd_exit_devfs()
2337 dent = data->debug_flash; in picolcd_exit_devfs()
2339 if (dent) in picolcd_exit_devfs()
2340 debugfs_remove(dent); in picolcd_exit_devfs()
/drivers/staging/ft1000/ft1000-usb/
Dft1000_usb.h85 struct dentry *dent; member
Dft1000_debug.c183 tmp->dent = dir; in ft1000_create_dev()
248 debugfs_remove(dir->dent); in ft1000_destroy_dev()
/drivers/mtd/
Dmtdswap.c1324 struct dentry *dent; in mtdswap_add_debugfs() local
1337 dent = debugfs_create_file("stats", S_IRUSR, root, d, in mtdswap_add_debugfs()
1339 if (!dent) { in mtdswap_add_debugfs()
/drivers/message/fusion/
Dmptbase.c1786 struct proc_dir_entry *dent; in mpt_attach() local
2039 dent = proc_mkdir(ioc->name, mpt_proc_root_dir); in mpt_attach()
2040 if (dent) { in mpt_attach()
2041 proc_create_data("info", S_IRUGO, dent, &mpt_iocinfo_proc_fops, ioc); in mpt_attach()
2042 proc_create_data("summary", S_IRUGO, dent, &mpt_summary_proc_fops, ioc); in mpt_attach()
/drivers/gpu/drm/i915/
Di915_debugfs.c1713 node->dent = ent; in drm_add_fake_info_node()