Searched refs:eventsz (Results 1 – 2 of 2) sorted by relevance
2586 size_t eventsz; in devx_async_cmd_event_read() local2612 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() local2705 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 …]
217 size_t eventsz) in ib_uverbs_event_read() argument246 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()