Searched refs:cpy_len (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/misc/mei/ |
| H A D | vsc-tp.c | 168 int ret, offset = 0, cpy_len, src_len, dst_len = sizeof(struct vsc_tp_packet_hdr); in vsc_tp_xfer_helper() local 196 cpy_len = min(src_len, dst_len); in vsc_tp_xfer_helper() 197 memcpy(dst, src, cpy_len); in vsc_tp_xfer_helper() 199 src += cpy_len; in vsc_tp_xfer_helper() 200 src_len -= cpy_len; in vsc_tp_xfer_helper() 201 dst += cpy_len; in vsc_tp_xfer_helper() 202 dst_len -= cpy_len; in vsc_tp_xfer_helper() 205 offset += cpy_len; in vsc_tp_xfer_helper() 206 crc = crc32(crc, crc_src, cpy_len); in vsc_tp_xfer_helper() 219 offset += cpy_len; in vsc_tp_xfer_helper() [all …]
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_stats.c | 53 int cpy_len = 0; in ocrdma_add_stat() local 56 cpy_len = strlen(buff); in ocrdma_add_stat() 58 if (pcur + cpy_len > start + OCRDMA_MAX_DBGFS_MEM) { in ocrdma_add_stat() 63 memcpy(pcur, buff, cpy_len); in ocrdma_add_stat() 64 return cpy_len; in ocrdma_add_stat()
|
| /linux/drivers/net/ethernet/cavium/liquidio/ |
| H A D | octeon_droq.c | 656 int cpy_len, idx = droq->read_idx; in octeon_droq_fast_process_packets() local 658 cpy_len = ((pkt_len + droq->buffer_size) in octeon_droq_fast_process_packets() 666 cpy_len, in octeon_droq_fast_process_packets() 677 pkt_len += cpy_len; in octeon_droq_fast_process_packets()
|
| /linux/drivers/net/can/usb/etas_es58x/ |
| H A D | es58x_core.c | 1308 size_t cpy_len; in es58x_handle_incomplete_cmd() local 1312 cpy_len = min_t(int, es58x_dev->param->rx_urb_cmd_max_len - in es58x_handle_incomplete_cmd() 1314 ret = es58x_copy_to_cmd_buf(es58x_dev, urb->transfer_buffer, cpy_len); in es58x_handle_incomplete_cmd()
|