Searched refs:eventsz (Results 1 – 2 of 2) sorted by relevance
2452 size_t eventsz; in devx_async_cmd_event_read() local2478 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() local2592 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 …]
226 size_t eventsz) in ib_uverbs_event_read() argument258 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()