Searched refs:copylen (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/ |
D | storvsc_drv.c | 507 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/ |
D | bcmsdh_sdmmc.c | 1323 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/ |
D | macvtap.c | 679 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/ |
D | zd1201.c | 231 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()
|
D | rndis_wlan.c | 768 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/ |
D | iwl-agn-rx.c | 1066 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/ |
D | usbvision-core.c | 1144 long copylen = 0; in usbvision_parse_data() local 1158 newstate = usbvision_parse_lines_420(usbvision, ©len); in usbvision_parse_data() 1160 newstate = usbvision_parse_lines_422(usbvision, ©len); in usbvision_parse_data() 1162 newstate = usbvision_parse_compress(usbvision, ©len); in usbvision_parse_data() 1194 frame->scanlength += copylen; in usbvision_parse_data()
|