/drivers/mtd/ubi/ |
D | debug.c | 263 struct dentry *dent = file->f_path.dentry; in dfs_file_read() local 274 if (dent == d->dfs_chk_gen) in dfs_file_read() 276 else if (dent == d->dfs_chk_io) in dfs_file_read() 278 else if (dent == d->dfs_chk_fastmap) in dfs_file_read() 280 else if (dent == d->dfs_disable_bgt) in dfs_file_read() 282 else if (dent == d->dfs_emulate_bitflips) in dfs_file_read() 284 else if (dent == d->dfs_emulate_io_failures) in dfs_file_read() 286 else if (dent == d->dfs_emulate_power_cut) { in dfs_file_read() 291 } else if (dent == d->dfs_power_cut_min) { in dfs_file_read() 296 } else if (dent == d->dfs_power_cut_max) { in dfs_file_read() [all …]
|
/drivers/usb/chipidea/ |
D | debug.c | 399 struct dentry *dent; in dbg_create_files() local 405 dent = debugfs_create_file("device", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 407 if (!dent) in dbg_create_files() 410 dent = debugfs_create_file("port_test", S_IRUGO | S_IWUSR, ci->debugfs, in dbg_create_files() 412 if (!dent) in dbg_create_files() 415 dent = debugfs_create_file("qheads", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 417 if (!dent) in dbg_create_files() 420 dent = debugfs_create_file("requests", S_IRUGO, ci->debugfs, ci, in dbg_create_files() 422 if (!dent) in dbg_create_files() 426 dent = debugfs_create_file("otg", S_IRUGO, ci->debugfs, ci, in dbg_create_files() [all …]
|
/drivers/media/usb/uvc/ |
D | uvc_debugfs.c | 81 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/ |
D | samsung-laptop.c | 1298 struct dentry *dent; in samsung_debugfs_init() local 1315 dent = debugfs_create_u16("command", S_IRUGO | S_IWUSR, in samsung_debugfs_init() 1317 if (!dent) in samsung_debugfs_init() 1320 dent = debugfs_create_u32("d0", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init() 1322 if (!dent) in samsung_debugfs_init() 1325 dent = debugfs_create_u32("d1", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init() 1327 if (!dent) in samsung_debugfs_init() 1330 dent = debugfs_create_u16("d2", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init() 1332 if (!dent) in samsung_debugfs_init() 1335 dent = debugfs_create_u8("d3", S_IRUGO | S_IWUSR, samsung->debug.root, in samsung_debugfs_init() [all …]
|
D | asus-wmi.c | 2002 struct dentry *dent; in asus_wmi_debugfs_init() local 2011 dent = debugfs_create_x32("method_id", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init() 2013 if (!dent) in asus_wmi_debugfs_init() 2016 dent = debugfs_create_x32("dev_id", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init() 2018 if (!dent) in asus_wmi_debugfs_init() 2021 dent = debugfs_create_x32("ctrl_param", S_IRUGO | S_IWUSR, in asus_wmi_debugfs_init() 2023 if (!dent) in asus_wmi_debugfs_init() 2030 dent = debugfs_create_file(node->name, S_IFREG | S_IRUGO, in asus_wmi_debugfs_init() 2033 if (!dent) { in asus_wmi_debugfs_init()
|
/drivers/iommu/ |
D | omap-iommu-debug.c | 257 struct dentry *dent; \ 258 dent = debugfs_create_file(#attr, mode, obj->debug_dir, \ 260 if (!dent) \
|
/drivers/hid/ |
D | hid-picolcd_debugfs.c | 882 struct dentry *dent; in picolcd_exit_devfs() local 884 dent = data->debug_reset; in picolcd_exit_devfs() 886 debugfs_remove(dent); in picolcd_exit_devfs() 887 dent = data->debug_eeprom; in picolcd_exit_devfs() 889 debugfs_remove(dent); in picolcd_exit_devfs() 890 dent = data->debug_flash; in picolcd_exit_devfs() 892 debugfs_remove(dent); in picolcd_exit_devfs()
|
/drivers/scsi/lpfc/ |
D | lpfc_debugfs.c | 1014 struct dentry *dent = file->f_path.dentry; in lpfc_debugfs_dif_err_read() local 1020 if (dent == phba->debug_writeGuard) in lpfc_debugfs_dif_err_read() 1022 else if (dent == phba->debug_writeApp) in lpfc_debugfs_dif_err_read() 1024 else if (dent == phba->debug_writeRef) in lpfc_debugfs_dif_err_read() 1026 else if (dent == phba->debug_readGuard) in lpfc_debugfs_dif_err_read() 1028 else if (dent == phba->debug_readApp) in lpfc_debugfs_dif_err_read() 1030 else if (dent == phba->debug_readRef) in lpfc_debugfs_dif_err_read() 1032 else if (dent == phba->debug_InjErrNPortID) in lpfc_debugfs_dif_err_read() 1034 else if (dent == phba->debug_InjErrWWPN) { in lpfc_debugfs_dif_err_read() 1038 } else if (dent == phba->debug_InjErrLBA) { in lpfc_debugfs_dif_err_read() [all …]
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_debugfs.c | 207 node->dent = debugfs_create_file(ndf->name, S_IRUGO | S_IWUSR, in nouveau_debugfs_create_file() 209 if (!node->dent) { in nouveau_debugfs_create_file()
|
/drivers/mtd/nand/ |
D | nandsim.c | 527 struct dentry *dent; in nandsim_debugfs_create() local 533 dent = debugfs_create_dir("nandsim", NULL); in nandsim_debugfs_create() 534 if (IS_ERR_OR_NULL(dent)) { in nandsim_debugfs_create() 535 int err = dent ? -ENODEV : PTR_ERR(dent); in nandsim_debugfs_create() 541 dbg->dfs_root = dent; in nandsim_debugfs_create() 543 dent = debugfs_create_file("wear_report", S_IRUSR, in nandsim_debugfs_create() 545 if (IS_ERR_OR_NULL(dent)) in nandsim_debugfs_create() 547 dbg->dfs_wear_report = dent; in nandsim_debugfs_create() 553 err = dent ? PTR_ERR(dent) : -ENODEV; in nandsim_debugfs_create()
|
/drivers/gpu/drm/ |
D | drm_debugfs.c | 115 tmp->dent = ent; in drm_debugfs_create_files() 200 debugfs_remove(tmp->dent); in drm_debugfs_remove_files()
|
/drivers/staging/greybus/ |
D | svc.c | 841 struct dentry *dent; in gb_svc_pwrmon_debugfs_init() local 845 dent = debugfs_create_dir("pwrmon", svc->debugfs_dentry); in gb_svc_pwrmon_debugfs_init() 846 if (IS_ERR_OR_NULL(dent)) in gb_svc_pwrmon_debugfs_init() 881 dir = debugfs_create_dir(fname, dent); in gb_svc_pwrmon_debugfs_init() 899 debugfs_remove(dent); in gb_svc_pwrmon_debugfs_init()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | debugfs.c | 515 d->fields[i].dent = debugfs_create_file(field[i], 0400, in add_res_tree() 518 if (!d->fields[i].dent) { in add_res_tree()
|
/drivers/gpu/drm/armada/ |
D | armada_debugfs.c | 122 node->dent = ent; in drm_add_fake_info_node()
|
/drivers/gpu/drm/msm/ |
D | msm_perf.c | 238 perf->node->dent = perf->ent; in msm_perf_debugfs_init()
|
D | msm_rd.c | 252 rd->node->dent = rd->ent; in msm_rd_debugfs_init()
|
/drivers/gpu/drm/sti/ |
D | sti_drv.c | 111 node->dent = ent; in sti_drm_debugfs_create()
|
/drivers/mtd/ |
D | mtdswap.c | 1324 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/ |
D | mptbase.c | 1778 struct proc_dir_entry *dent; in mpt_attach() local 2040 dent = proc_mkdir(ioc->name, mpt_proc_root_dir); in mpt_attach() 2041 if (dent) { in mpt_attach() 2042 proc_create_data("info", S_IRUGO, dent, &mpt_iocinfo_proc_fops, ioc); in mpt_attach() 2043 proc_create_data("summary", S_IRUGO, dent, &mpt_summary_proc_fops, ioc); in mpt_attach()
|
/drivers/gpu/drm/i915/ |
D | i915_debugfs.c | 64 node->dent = ent; in drm_add_fake_info_node()
|