Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 9 of 9) sorted by relevance

/lib/
Dswiotlb.c389 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 …]
Dfault-inject.c189 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 …]
Dmemory-notifier-error-inject.c19 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()
Dpm-notifier-error-inject.c20 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()
Dcpu-notifier-error-inject.c21 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()
Dof-reconfig-notifier-error-inject.c22 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()
Dnotifier-error-inject.c54 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()
Ddynamic_debug.c957 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()
Ddma-debug.c1393 int nelems, int dir) in debug_dma_unmap_sg() argument
1410 .direction = dir, in debug_dma_unmap_sg()