Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/mlx5/
A Ddevx.c2552 size_t eventsz; in devx_async_cmd_event_read() local
2578 eventsz = event->cmd_out_len + in devx_async_cmd_event_read()
2581 if (eventsz > count) { in devx_async_cmd_event_read()
2589 if (copy_to_user(buf, &event->hdr, eventsz)) in devx_async_cmd_event_read()
2592 ret = eventsz; in devx_async_cmd_event_read()
2633 size_t eventsz; in devx_async_event_read() local
2671 eventsz = sizeof(event_sub->cookie); in devx_async_event_read()
2676 eventsz = sizeof(struct mlx5_eqe) + in devx_async_event_read()
2681 if (eventsz > count) { in devx_async_event_read()
2693 if (copy_to_user(buf, event_data, eventsz)) in devx_async_event_read()
[all …]
/linux/drivers/infiniband/core/
A 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()

Completed in 10 milliseconds