Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/hw/mlx5/
Ddevx.c2586 size_t eventsz; in devx_async_cmd_event_read() local
2612 eventsz = event->cmd_out_len + in devx_async_cmd_event_read()
2615 if (eventsz > count) { in devx_async_cmd_event_read()
2623 if (copy_to_user(buf, &event->hdr, eventsz)) in devx_async_cmd_event_read()
2626 ret = eventsz; in devx_async_cmd_event_read()
2667 size_t eventsz; in devx_async_event_read() local
2705 eventsz = sizeof(event_sub->cookie); in devx_async_event_read()
2710 eventsz = sizeof(struct mlx5_eqe) + in devx_async_event_read()
2715 if (eventsz > count) { in devx_async_event_read()
2727 if (copy_to_user(buf, event_data, eventsz)) in devx_async_event_read()
[all …]
/linux-6.1.9/drivers/infiniband/core/
Duverbs_main.c217 size_t eventsz) in ib_uverbs_event_read() argument
246 if (eventsz > count) { in ib_uverbs_event_read()
260 if (copy_to_user(buf, event, eventsz)) in ib_uverbs_event_read()
263 ret = eventsz; in ib_uverbs_event_read()