Home
last modified time | relevance | path

Searched refs:to_copy (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_recv.c338 unsigned long to_copy; in rdsv3_ib_inc_copy_to_user() local
357 to_copy = min(len - copied, RDSV3_FRAG_SIZE - frag_off); in rdsv3_ib_inc_copy_to_user()
358 to_copy = min(size - copied, to_copy); in rdsv3_ib_inc_copy_to_user()
362 to_copy, uiop, in rdsv3_ib_inc_copy_to_user()
367 to_copy, UIO_READ, uiop); in rdsv3_ib_inc_copy_to_user()
370 "uiomove (%d) returned: %d", to_copy, ret); in rdsv3_ib_inc_copy_to_user()
374 frag_off += to_copy; in rdsv3_ib_inc_copy_to_user()
375 copied += to_copy; in rdsv3_ib_inc_copy_to_user()
604 unsigned long to_copy; in rdsv3_ib_cong_recv() local
629 to_copy = min(RDSV3_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rdsv3_ib_cong_recv()
[all …]
H A Dmessage.c397 unsigned long to_copy; in rdsv3_message_inc_copy_to_user() local
415 to_copy = min(len - copied, sg->length - vec_off); in rdsv3_message_inc_copy_to_user()
416 to_copy = min(size - copied, to_copy); in rdsv3_message_inc_copy_to_user()
420 to_copy, uiop, in rdsv3_message_inc_copy_to_user()
423 ret = uiomove(rdsv3_sg_page(sg), to_copy, UIO_READ, uiop); in rdsv3_message_inc_copy_to_user()
427 vec_off += to_copy; in rdsv3_message_inc_copy_to_user()
428 copied += to_copy; in rdsv3_message_inc_copy_to_user()
/illumos-gate/usr/src/uts/intel/io/viona/
H A Dviona_rx.c168 const size_t to_copy = MIN(chunk, len); in viona_copy_mblk() local
170 bcopy(mp->b_rptr + off, buf, to_copy); in viona_copy_mblk()
171 copied += to_copy; in viona_copy_mblk()
172 buf += to_copy; in viona_copy_mblk()
173 len -= to_copy; in viona_copy_mblk()
180 if (chunk == to_copy) { in viona_copy_mblk()
H A Dviona_ring.c1250 const uint32_t to_copy = MIN(sz, iov_avail); in iov_bunch_copy() local
1252 if (to_copy != 0) { in iov_bunch_copy()
1254 to_copy); in iov_bunch_copy()
1257 sz -= to_copy; in iov_bunch_copy()
1258 iob->ib_remain -= to_copy; in iov_bunch_copy()
1259 dest += to_copy; in iov_bunch_copy()
1260 iob->ib_offset += to_copy; in iov_bunch_copy()
/illumos-gate/usr/src/uts/common/io/igc/
H A Digc_ring.c1314 size_t to_copy; in igc_tx_ring_copy() local
1343 to_copy = MIN(len, tx->itx_buf_rem); in igc_tx_ring_copy()
1347 bcopy(src, dest, to_copy); in igc_tx_ring_copy()
1349 tx->itx_buf_rem -= to_copy; in igc_tx_ring_copy()
1350 tx->itx_cur_buf->itb_len += to_copy; in igc_tx_ring_copy()
1351 len -= to_copy; in igc_tx_ring_copy()
1352 off += to_copy; in igc_tx_ring_copy()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c411 u8_t to_copy = FALSE; in lm_is_packet_coalescing_required() local
441 to_copy = TRUE; in lm_is_packet_coalescing_required()
454 to_copy = TRUE; in lm_is_packet_coalescing_required()
458 return to_copy; in lm_is_packet_coalescing_required()