Searched refs:eventsz (Results 1 – 2 of 2) sorted by relevance
2605 size_t eventsz; in devx_async_cmd_event_read() local2631 eventsz = event->cmd_out_len + in devx_async_cmd_event_read()2634 if (eventsz > count) { in devx_async_cmd_event_read()2642 if (copy_to_user(buf, &event->hdr, eventsz)) in devx_async_cmd_event_read()2645 ret = eventsz; in devx_async_cmd_event_read()2686 size_t eventsz; in devx_async_event_read() local2724 eventsz = sizeof(event_sub->cookie); in devx_async_event_read()2729 eventsz = sizeof(struct mlx5_eqe) + in devx_async_event_read()2734 if (eventsz > count) { in devx_async_event_read()2746 if (copy_to_user(buf, event_data, eventsz)) in devx_async_event_read()[all …]
228 size_t eventsz) in ib_uverbs_event_read() argument255 if (eventsz > count) { in ib_uverbs_event_read()269 if (copy_to_user(buf, event, eventsz)) in ib_uverbs_event_read()272 ret = eventsz; in ib_uverbs_event_read()