Home
last modified time | relevance | path

Searched refs:copylen (Results 1 – 7 of 7) sorted by relevance

/drivers/scsi/
Dstorvsc_drv.c507 unsigned int srclen, destlen, copylen; in copy_from_bounce_buffer() local
527 copylen = min(srclen, destlen); in copy_from_bounce_buffer()
528 memcpy((void *)dest, (void *)src, copylen); in copy_from_bounce_buffer()
530 total_copied += copylen; in copy_from_bounce_buffer()
531 bounce_sgl[j].offset += copylen; in copy_from_bounce_buffer()
532 destlen -= copylen; in copy_from_bounce_buffer()
533 dest += copylen; in copy_from_bounce_buffer()
581 unsigned int srclen, destlen, copylen; in copy_to_bounce_buffer() local
602 copylen = min(srclen, destlen); in copy_to_bounce_buffer()
603 memcpy((void *)dest, (void *)src, copylen); in copy_to_bounce_buffer()
[all …]
/drivers/net/wireless/bcmdhd/
Dbcmsdh_sdmmc.c1323 uint copylen = 0; in sdioh_request_buffer() local
1333 copylen = buflen_u; in sdioh_request_buffer()
1341 copylen = PKTLEN(sd->osh, pkt); in sdioh_request_buffer()
1345 if (copylen) { in sdioh_request_buffer()
1346 tmppkt = PKTGET_STATIC(sd->osh, copylen, write ? TRUE : FALSE); in sdioh_request_buffer()
1348 sd_err(("%s: PKTGET failed: len %d\n", __FUNCTION__, copylen)); in sdioh_request_buffer()
1353 bcopy(orig_buf, PKTDATA(sd->osh, tmppkt), copylen); in sdioh_request_buffer()
1358 if (copylen) { in sdioh_request_buffer()
/drivers/net/
Dmacvtap.c679 int copylen = 0; in macvtap_get_user() local
714 copylen = vnet_hdr.hdr_len ? vnet_hdr.hdr_len : GOODCOPY_LEN; in macvtap_get_user()
715 linear = copylen; in macvtap_get_user()
716 if (iov_pages(iv, vnet_hdr_len + copylen, count) in macvtap_get_user()
722 copylen = len; in macvtap_get_user()
726 skb = macvtap_alloc_skb(&q->sk, NET_IP_ALIGN, copylen, in macvtap_get_user()
/drivers/net/wireless/
Dzd1201.c231 unsigned short infotype, framelen, copylen; in zd1201_usbrx() local
296 copylen = le16_to_cpu(*(__le16*)&data[i+2]); in zd1201_usbrx()
298 if (copylen+zd->rxlen > sizeof(zd->rxdata)) in zd1201_usbrx()
300 memcpy(zd->rxdata+zd->rxlen, data+i+4, copylen); in zd1201_usbrx()
301 zd->rxlen += copylen; in zd1201_usbrx()
Drndis_wlan.c768 int resplen, respoffs, copylen; in rndis_query_oid() local
815 copylen = buflen - respoffs; in rndis_query_oid()
817 copylen = resplen; in rndis_query_oid()
820 if (copylen > *len) in rndis_query_oid()
821 copylen = *len; in rndis_query_oid()
823 memcpy(data, u.buf + respoffs, copylen); in rndis_query_oid()
/drivers/net/wireless/iwlwifi/
Diwl-agn-rx.c1066 u32 copylen = len; in iwlagn_rx_noa_notification() local
1072 copylen += 1 + 2; in iwlagn_rx_noa_notification()
1084 copylen); in iwlagn_rx_noa_notification()
/drivers/media/video/usbvision/
Dusbvision-core.c1144 long copylen = 0; in usbvision_parse_data() local
1158 newstate = usbvision_parse_lines_420(usbvision, &copylen); in usbvision_parse_data()
1160 newstate = usbvision_parse_lines_422(usbvision, &copylen); in usbvision_parse_data()
1162 newstate = usbvision_parse_compress(usbvision, &copylen); in usbvision_parse_data()
1194 frame->scanlength += copylen; in usbvision_parse_data()