/lib/ |
D | swiotlb.c | 389 size_t size, enum dma_data_direction dir) in swiotlb_bounce() argument 406 if (dir == DMA_TO_DEVICE) in swiotlb_bounce() 418 } else if (dir == DMA_TO_DEVICE) { in swiotlb_bounce() 428 enum dma_data_direction dir) in swiotlb_tbl_map_single() argument 529 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) in swiotlb_tbl_map_single() 541 enum dma_data_direction dir) in map_single() argument 545 return swiotlb_tbl_map_single(hwdev, start_dma_addr, phys, size, dir); in map_single() 552 size_t size, enum dma_data_direction dir) in swiotlb_tbl_unmap_single() argument 563 ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) in swiotlb_tbl_unmap_single() 596 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single() argument [all …]
|
D | fault-inject.c | 189 struct dentry *dir; in fault_create_debugfs_attr() local 191 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr() 192 if (!dir) in fault_create_debugfs_attr() 195 if (!debugfs_create_ul("probability", mode, dir, &attr->probability)) in fault_create_debugfs_attr() 197 if (!debugfs_create_ul("interval", mode, dir, &attr->interval)) in fault_create_debugfs_attr() 199 if (!debugfs_create_atomic_t("times", mode, dir, &attr->times)) in fault_create_debugfs_attr() 201 if (!debugfs_create_atomic_t("space", mode, dir, &attr->space)) in fault_create_debugfs_attr() 203 if (!debugfs_create_ul("verbose", mode, dir, &attr->verbose)) in fault_create_debugfs_attr() 205 if (!debugfs_create_bool("task-filter", mode, dir, &attr->task_filter)) in fault_create_debugfs_attr() 210 if (!debugfs_create_stacktrace_depth("stacktrace-depth", mode, dir, in fault_create_debugfs_attr() [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 | 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 | 957 struct dentry *dir, *file; in dynamic_debug_init_debugfs() local 962 dir = debugfs_create_dir("dynamic_debug", NULL); in dynamic_debug_init_debugfs() 963 if (!dir) in dynamic_debug_init_debugfs() 965 file = debugfs_create_file("control", 0644, dir, NULL, in dynamic_debug_init_debugfs() 968 debugfs_remove(dir); in dynamic_debug_init_debugfs()
|
D | dma-debug.c | 1393 int nelems, int dir) in debug_dma_unmap_sg() argument 1410 .direction = dir, in debug_dma_unmap_sg()
|