Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/hw/mlx5/
Ddevx.c2452 size_t eventsz; in devx_async_cmd_event_read() local
2478 eventsz = event->cmd_out_len + in devx_async_cmd_event_read()
2481 if (eventsz > count) { in devx_async_cmd_event_read()
2489 if (copy_to_user(buf, &event->hdr, eventsz)) in devx_async_cmd_event_read()
2492 ret = eventsz; in devx_async_cmd_event_read()
2550 size_t eventsz; in devx_async_event_read() local
2592 eventsz = sizeof(event_sub->cookie); in devx_async_event_read()
2597 eventsz = sizeof(struct mlx5_eqe) + in devx_async_event_read()
2602 if (eventsz > count) { in devx_async_event_read()
2614 if (copy_to_user(buf, event_data, eventsz)) in devx_async_event_read()
[all …]
/Linux-v5.4/drivers/infiniband/core/
Duverbs_main.c226 size_t eventsz) in ib_uverbs_event_read() argument
258 if (eventsz > count) { in ib_uverbs_event_read()
272 if (copy_to_user(buf, event, eventsz)) in ib_uverbs_event_read()
275 ret = eventsz; in ib_uverbs_event_read()