Home
last modified time | relevance | path

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

/openbmc/linux/kernel/dma/
H A Dmap_benchmark.c23 struct map_benchmark bparam; member
39 int npages = map->bparam.granule; in map_benchmark_thread()
119 int node = map->bparam.node; in do_map_benchmark()
184 map->bparam.avg_map_100ns * in do_map_benchmark()
185 map->bparam.avg_map_100ns; in do_map_benchmark()
188 map->bparam.avg_unmap_100ns; in do_map_benchmark()
207 if (copy_from_user(&map->bparam, argp, sizeof(map->bparam))) in map_benchmark_ioctl()
230 (map->bparam.node < 0 || map->bparam.node >= MAX_NUMNODES || in map_benchmark_ioctl()
236 if (map->bparam.granule < 1 || map->bparam.granule > 1024) { in map_benchmark_ioctl()
241 switch (map->bparam.dma_dir) { in map_benchmark_ioctl()
[all …]