Searched refs:seg_payload (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/infiniband/core/ |
H A D | user_mad.c | 265 int left, seg_payload, offset, max_seg_payload; copy_recv_mad() local 279 seg_payload = min_t(int, packet->length, sizeof (*recv_buf->mad)); copy_recv_mad() 280 if (copy_to_user(buf, recv_buf->mad, seg_payload)) copy_recv_mad() 283 if (seg_payload < packet->length) { copy_recv_mad() 298 for (left = packet->length - seg_payload, buf += seg_payload; copy_recv_mad() 299 left; left -= seg_payload, buf += seg_payload) { copy_recv_mad() 302 seg_payload = min(left, max_seg_payload); copy_recv_mad() 304 seg_payload)) copy_recv_mad()
|
Completed in 659 milliseconds