/lib/ |
D | swiotlb.c | 378 size_t size, enum dma_data_direction dir) in swiotlb_bounce() argument 395 if (dir == DMA_TO_DEVICE) in swiotlb_bounce() 407 } else if (dir == DMA_TO_DEVICE) { in swiotlb_bounce() 417 enum dma_data_direction dir) in swiotlb_tbl_map_single() argument 516 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) in swiotlb_tbl_map_single() 528 enum dma_data_direction dir) in map_single() argument 532 return swiotlb_tbl_map_single(hwdev, start_dma_addr, phys, size, dir); in map_single() 539 size_t size, enum dma_data_direction dir) in swiotlb_tbl_unmap_single() argument 549 if (orig_addr && ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) in swiotlb_tbl_unmap_single() 580 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single() argument [all …]
|
D | memory-notifier-error-inject.c | 19 static struct dentry *dir; variable 25 dir = notifier_err_inject_init("memory", notifier_err_inject_dir, in err_inject_init() 27 if (IS_ERR(dir)) in err_inject_init() 28 return PTR_ERR(dir); in err_inject_init() 32 debugfs_remove_recursive(dir); in err_inject_init() 40 debugfs_remove_recursive(dir); in err_inject_exit()
|
D | pm-notifier-error-inject.c | 20 static struct dentry *dir; variable 26 dir = notifier_err_inject_init("pm", notifier_err_inject_dir, in err_inject_init() 28 if (IS_ERR(dir)) in err_inject_init() 29 return PTR_ERR(dir); in err_inject_init() 33 debugfs_remove_recursive(dir); in err_inject_init() 41 debugfs_remove_recursive(dir); in err_inject_exit()
|
D | cpu-notifier-error-inject.c | 21 static struct dentry *dir; variable 27 dir = notifier_err_inject_init("cpu", notifier_err_inject_dir, in err_inject_init() 29 if (IS_ERR(dir)) in err_inject_init() 30 return PTR_ERR(dir); in err_inject_init() 34 debugfs_remove_recursive(dir); in err_inject_init() 42 debugfs_remove_recursive(dir); in err_inject_exit()
|
D | of-reconfig-notifier-error-inject.c | 22 static struct dentry *dir; variable 28 dir = notifier_err_inject_init("OF-reconfig", in err_inject_init() 30 if (IS_ERR(dir)) in err_inject_init() 31 return PTR_ERR(dir); in err_inject_init() 35 debugfs_remove_recursive(dir); in err_inject_init() 43 debugfs_remove_recursive(dir); in err_inject_exit()
|
D | fault-inject.c | 210 struct dentry *dir; in fault_create_debugfs_attr() local 212 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr() 213 if (!dir) in fault_create_debugfs_attr() 216 if (!debugfs_create_ul("probability", mode, dir, &attr->probability)) in fault_create_debugfs_attr() 218 if (!debugfs_create_ul("interval", mode, dir, &attr->interval)) in fault_create_debugfs_attr() 220 if (!debugfs_create_atomic_t("times", mode, dir, &attr->times)) in fault_create_debugfs_attr() 222 if (!debugfs_create_atomic_t("space", mode, dir, &attr->space)) in fault_create_debugfs_attr() 224 if (!debugfs_create_ul("verbose", mode, dir, &attr->verbose)) in fault_create_debugfs_attr() 226 if (!debugfs_create_bool("task-filter", mode, dir, &attr->task_filter)) in fault_create_debugfs_attr() 231 if (!debugfs_create_stacktrace_depth("stacktrace-depth", mode, dir, in fault_create_debugfs_attr() [all …]
|
D | notifier-error-inject.c | 54 struct dentry *dir; in notifier_err_inject_init() local 60 dir = debugfs_create_dir(name, parent); in notifier_err_inject_init() 61 if (!dir) in notifier_err_inject_init() 64 actions_dir = debugfs_create_dir("actions", dir); in notifier_err_inject_init() 84 return dir; in notifier_err_inject_init() 86 debugfs_remove_recursive(dir); in notifier_err_inject_init()
|
D | dynamic_debug.c | 971 struct dentry *dir, *file; in dynamic_debug_init_debugfs() local 976 dir = debugfs_create_dir("dynamic_debug", NULL); in dynamic_debug_init_debugfs() 977 if (!dir) in dynamic_debug_init_debugfs() 979 file = debugfs_create_file("control", 0644, dir, NULL, in dynamic_debug_init_debugfs() 982 debugfs_remove(dir); in dynamic_debug_init_debugfs()
|
D | dma-debug.c | 1188 int nelems, int dir) in debug_dma_unmap_sg() argument 1204 .direction = dir, in debug_dma_unmap_sg()
|