Searched refs:seg_payload (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/infiniband/core/ |
D | user_mad.c | 301 int left, seg_payload, offset, max_seg_payload; in copy_recv_mad() local 318 seg_payload = min_t(int, packet->length, seg_size); in copy_recv_mad() 319 if (copy_to_user(buf, recv_buf->mad, seg_payload)) in copy_recv_mad() 322 if (seg_payload < packet->length) { in copy_recv_mad() 337 for (left = packet->length - seg_payload, buf += seg_payload; in copy_recv_mad() 338 left; left -= seg_payload, buf += seg_payload) { in copy_recv_mad() 341 seg_payload = min(left, max_seg_payload); in copy_recv_mad() 343 seg_payload)) in copy_recv_mad()
|