Home
last modified time | relevance | path

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

/lib/
Dswiotlb.c391 size_t size, enum dma_data_direction dir) in swiotlb_bounce() argument
408 if (dir == DMA_TO_DEVICE) in swiotlb_bounce()
420 } else if (dir == DMA_TO_DEVICE) { in swiotlb_bounce()
430 enum dma_data_direction dir) in swiotlb_tbl_map_single() argument
531 if (dir == DMA_TO_DEVICE || dir == DMA_BIDIRECTIONAL) in swiotlb_tbl_map_single()
544 enum dma_data_direction dir) in map_single() argument
548 return swiotlb_tbl_map_single(hwdev, start_dma_addr, phys, size, dir); in map_single()
555 size_t size, enum dma_data_direction dir) in swiotlb_tbl_unmap_single() argument
566 ((dir == DMA_FROM_DEVICE) || (dir == DMA_BIDIRECTIONAL))) in swiotlb_tbl_unmap_single()
599 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single() argument
[all …]
Dfault-inject.c195 struct dentry *dir; in fault_create_debugfs_attr() local
197 dir = debugfs_create_dir(name, parent); in fault_create_debugfs_attr()
198 if (!dir) in fault_create_debugfs_attr()
201 if (!debugfs_create_ul("probability", mode, dir, &attr->probability)) in fault_create_debugfs_attr()
203 if (!debugfs_create_ul("interval", mode, dir, &attr->interval)) in fault_create_debugfs_attr()
205 if (!debugfs_create_atomic_t("times", mode, dir, &attr->times)) in fault_create_debugfs_attr()
207 if (!debugfs_create_atomic_t("space", mode, dir, &attr->space)) in fault_create_debugfs_attr()
209 if (!debugfs_create_ul("verbose", mode, dir, &attr->verbose)) in fault_create_debugfs_attr()
211 if (!debugfs_create_u32("verbose_ratelimit_interval_ms", mode, dir, in fault_create_debugfs_attr()
214 if (!debugfs_create_u32("verbose_ratelimit_burst", 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.c956 struct dentry *dir, *file; in dynamic_debug_init_debugfs() local
961 dir = debugfs_create_dir("dynamic_debug", NULL); in dynamic_debug_init_debugfs()
962 if (!dir) in dynamic_debug_init_debugfs()
964 file = debugfs_create_file("control", 0644, dir, NULL, in dynamic_debug_init_debugfs()
967 debugfs_remove(dir); in dynamic_debug_init_debugfs()
Ddma-debug.c1418 int nelems, int dir) in debug_dma_unmap_sg() argument
1435 .direction = dir, in debug_dma_unmap_sg()