Home
last modified time | relevance | path

Searched refs:nelems (Results 1 – 5 of 5) sorted by relevance

/kernel/dma/
Ddebug.h25 int nelems, int dir);
52 int nelems, int direction);
56 int nelems, int direction);
78 int nelems, int dir) in debug_dma_unmap_sg() argument
120 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
126 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
Dmapping.c357 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_cpu() argument
363 dma_direct_sync_sg_for_cpu(dev, sg, nelems, dir); in dma_sync_sg_for_cpu()
365 ops->sync_sg_for_cpu(dev, sg, nelems, dir); in dma_sync_sg_for_cpu()
366 debug_dma_sync_sg_for_cpu(dev, sg, nelems, dir); in dma_sync_sg_for_cpu()
371 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_device() argument
377 dma_direct_sync_sg_for_device(dev, sg, nelems, dir); in dma_sync_sg_for_device()
379 ops->sync_sg_for_device(dev, sg, nelems, dir); in dma_sync_sg_for_device()
380 debug_dma_sync_sg_for_device(dev, sg, nelems, dir); in dma_sync_sg_for_device()
Ddebug.c1350 int nelems, int dir) in debug_dma_unmap_sg() argument
1358 for_each_sg(sglist, s, nelems, i) { in debug_dma_unmap_sg()
1368 .sg_call_ents = nelems, in debug_dma_unmap_sg()
1523 int nelems, int direction) in debug_dma_sync_sg_for_cpu() argument
1531 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_cpu()
1541 .sg_call_ents = nelems, in debug_dma_sync_sg_for_cpu()
1555 int nelems, int direction) in debug_dma_sync_sg_for_device() argument
1563 for_each_sg(sg, s, nelems, i) { in debug_dma_sync_sg_for_device()
1573 .sg_call_ents = nelems, in debug_dma_sync_sg_for_device()
Ddummy.c22 int nelems, enum dma_data_direction dir, in dma_dummy_map_sg() argument
/kernel/bpf/
Dbtf.c1844 u32 i, size, nelems = 1, id = 0; in __btf_resolve_size() local
1876 if (nelems && array->nelems > U32_MAX / nelems) in __btf_resolve_size()
1878 nelems *= array->nelems; in __btf_resolve_size()
1891 if (nelems && size > U32_MAX / nelems) in __btf_resolve_size()
1894 *type_size = nelems * size; in __btf_resolve_size()
1896 *total_nelems = nelems; in __btf_resolve_size()
2906 if (array->nelems && elem_size > U32_MAX / array->nelems) { in btf_array_resolve()
2912 env_stack_pop_resolved(env, elem_type_id, elem_size * array->nelems); in btf_array_resolve()
2923 array->type, array->index_type, array->nelems); in btf_array_log()
2962 for (i = 0; i < array->nelems; i++) { in __btf_array_show()
[all …]