copy_len 931 arch/powerpc/perf/hv-24x7.c size_t copy_len; copy_len 964 arch/powerpc/perf/hv-24x7.c copy_len = 4096 - offset_in_page; copy_len 965 arch/powerpc/perf/hv-24x7.c if (copy_len > count) copy_len 966 arch/powerpc/perf/hv-24x7.c copy_len = count; copy_len 968 arch/powerpc/perf/hv-24x7.c memcpy(buf, page+offset_in_page, copy_len); copy_len 969 arch/powerpc/perf/hv-24x7.c ret = copy_len; copy_len 591 crypto/testmgr.c size_t copy_len, copied; copy_len 593 crypto/testmgr.c copy_len = min(partitions[i].length, data->count); copy_len 594 crypto/testmgr.c copied = copy_from_iter(addr, copy_len, data); copy_len 595 crypto/testmgr.c if (WARN_ON(copied != copy_len)) copy_len 597 crypto/testmgr.c testmgr_poison(addr + copy_len, partitions[i].length + copy_len 598 crypto/testmgr.c TESTMGR_POISON_LEN - copy_len); copy_len 1694 drivers/gpu/drm/i915/gvt/cmd_parser.c unsigned long copy_len, offset; copy_len 1707 drivers/gpu/drm/i915/gvt/cmd_parser.c copy_len = (end_gma - gma) >= (I915_GTT_PAGE_SIZE - offset) ? copy_len 1710 drivers/gpu/drm/i915/gvt/cmd_parser.c intel_gvt_hypervisor_read_gpa(vgpu, gpa, va + len, copy_len); copy_len 1712 drivers/gpu/drm/i915/gvt/cmd_parser.c len += copy_len; copy_len 1713 drivers/gpu/drm/i915/gvt/cmd_parser.c gma += copy_len; copy_len 223 drivers/hwmon/ibmpowernv.c u32 copy_len; copy_len 233 drivers/hwmon/ibmpowernv.c copy_len = dash_pos - hash_pos - 1; copy_len 234 drivers/hwmon/ibmpowernv.c if (copy_len >= sizeof(buf)) copy_len 237 drivers/hwmon/ibmpowernv.c strncpy(buf, hash_pos + 1, copy_len); copy_len 575 drivers/infiniband/hw/cxgb3/cxio_hal.c u32 i, nr_wqe, copy_len; copy_len 634 drivers/infiniband/hw/cxgb3/cxio_hal.c copy_len = len > 96 ? 96 : len; copy_len 638 drivers/infiniband/hw/cxgb3/cxio_hal.c memcpy(wqe, copy_data, copy_len); copy_len 640 drivers/infiniband/hw/cxgb3/cxio_hal.c memset(wqe, 0, copy_len); copy_len 641 drivers/infiniband/hw/cxgb3/cxio_hal.c if (copy_len % 32) copy_len 642 drivers/infiniband/hw/cxgb3/cxio_hal.c memset(((u8 *) wqe) + copy_len, 0, copy_len 643 drivers/infiniband/hw/cxgb3/cxio_hal.c 32 - (copy_len % 32)); copy_len 117 drivers/infiniband/hw/cxgb4/mem.c int copy_len, num_wqe, i, ret = 0; copy_len 131 drivers/infiniband/hw/cxgb4/mem.c copy_len = len > C4IW_MAX_INLINE_SIZE ? C4IW_MAX_INLINE_SIZE : copy_len 134 drivers/infiniband/hw/cxgb4/mem.c roundup(copy_len, T4_ULPTX_MIN_IO), copy_len 158 drivers/infiniband/hw/cxgb4/mem.c DIV_ROUND_UP(copy_len, T4_ULPTX_MIN_IO))); copy_len 165 drivers/infiniband/hw/cxgb4/mem.c sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); copy_len 170 drivers/infiniband/hw/cxgb4/mem.c memcpy(to_dp, from_dp, copy_len); copy_len 172 drivers/infiniband/hw/cxgb4/mem.c memset(to_dp, 0, copy_len); copy_len 173 drivers/infiniband/hw/cxgb4/mem.c if (copy_len % T4_ULPTX_MIN_IO) copy_len 174 drivers/infiniband/hw/cxgb4/mem.c memset(to_dp + copy_len, 0, T4_ULPTX_MIN_IO - copy_len 175 drivers/infiniband/hw/cxgb4/mem.c (copy_len % T4_ULPTX_MIN_IO)); copy_len 4379 drivers/infiniband/hw/i40iw/i40iw_ctrl.c int copy_len = 0; copy_len 4392 drivers/infiniband/hw/i40iw/i40iw_ctrl.c copy_len = 2; copy_len 4397 drivers/infiniband/hw/i40iw/i40iw_ctrl.c copy_len += TERM_DDP_LEN_TAGGED; copy_len 4402 drivers/infiniband/hw/i40iw/i40iw_ctrl.c copy_len += TERM_DDP_LEN_UNTAGGED; copy_len 4408 drivers/infiniband/hw/i40iw/i40iw_ctrl.c copy_len += TERM_RDMA_LEN; copy_len 4545 drivers/infiniband/hw/i40iw/i40iw_ctrl.c if (copy_len) copy_len 4546 drivers/infiniband/hw/i40iw/i40iw_ctrl.c memcpy(termhdr + 1, pkt, copy_len); copy_len 4548 drivers/infiniband/hw/i40iw/i40iw_ctrl.c return sizeof(struct i40iw_terminate_hdr) + copy_len; copy_len 870 drivers/infiniband/hw/mlx4/qp.c size_t copy_len; copy_len 884 drivers/infiniband/hw/mlx4/qp.c copy_len = min(sizeof(struct mlx4_ib_create_wq), udata->inlen); copy_len 886 drivers/infiniband/hw/mlx4/qp.c if (ib_copy_from_udata(&wq, udata, copy_len)) { copy_len 1078 drivers/infiniband/hw/mlx4/qp.c size_t copy_len; copy_len 1082 drivers/infiniband/hw/mlx4/qp.c copy_len = sizeof(struct mlx4_ib_create_qp); copy_len 1084 drivers/infiniband/hw/mlx4/qp.c if (ib_copy_from_udata(&ucmd, udata, copy_len)) { copy_len 333 drivers/memstick/host/r592.c int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); copy_len 337 drivers/memstick/host/r592.c len -= copy_len; copy_len 338 drivers/memstick/host/r592.c buffer += copy_len; copy_len 340 drivers/memstick/host/r592.c copy_len = kfifo_out(&dev->pio_fifo, tmp, 4); copy_len 341 drivers/memstick/host/r592.c WARN_ON(copy_len != 4); copy_len 831 drivers/net/ethernet/atheros/atlx/atl2.c u32 offset, copy_len; copy_len 865 drivers/net/ethernet/atheros/atlx/atl2.c copy_len = adapter->txd_ring_size - offset; copy_len 866 drivers/net/ethernet/atheros/atlx/atl2.c if (copy_len >= skb->len) { copy_len 870 drivers/net/ethernet/atheros/atlx/atl2.c memcpy(((u8 *)adapter->txd_ring)+offset, skb->data, copy_len); copy_len 871 drivers/net/ethernet/atheros/atlx/atl2.c memcpy((u8 *)adapter->txd_ring, skb->data+copy_len, copy_len 872 drivers/net/ethernet/atheros/atlx/atl2.c skb->len-copy_len); copy_len 873 drivers/net/ethernet/atheros/atlx/atl2.c offset = ((u32)(skb->len-copy_len + 3) & ~3); copy_len 96 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c u32 copy_len = 0, index_reg_val = 0; copy_len 133 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c copy_len = (u32)(((addr & ~(0x3fffff)) + copy_len 136 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c copy_len = len; copy_len 141 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c copy_len); copy_len 144 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c copy_len); copy_len 147 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c len -= copy_len; copy_len 148 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c addr += copy_len; copy_len 149 drivers/net/ethernet/cavium/liquidio/octeon_mem_ops.c hostbuf += copy_len; copy_len 492 drivers/net/ethernet/cavium/liquidio/octeon_network.h int copy_len, copy_len 496 drivers/net/ethernet/cavium/liquidio/octeon_network.h copy_len); copy_len 1865 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c int copied, offset, copy_len, hdr_len = 0, tso = 0, vlan_oob = 0; copy_len 1941 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copy_len = min((int)sizeof(struct cmd_desc_type0) - offset, copy_len 1949 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c (char *)vh + 16, copy_len - 16); copy_len 1951 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copied = copy_len - VLAN_HLEN; copy_len 1959 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copy_len = min((int)sizeof(struct cmd_desc_type0) - offset, copy_len 1966 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c (char *)hwdesc + offset, copy_len); copy_len 1968 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c copied += copy_len; copy_len 376 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int copied, copy_len, descr_size; copy_len 406 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min(descr_size, (total_hdr_len - copied)); copy_len 411 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len); copy_len 412 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copied += copy_len; copy_len 464 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c int copied, offset, copy_len, size; copy_len 523 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min((int)sizeof(struct cmd_desc_type0) - copy_len 533 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len - 16); copy_len 534 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copied = copy_len - VLAN_HLEN; copy_len 541 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copy_len = min(size, (hdr_len - copied)); copy_len 546 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c offset, copy_len); copy_len 547 drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c copied += copy_len; copy_len 151 drivers/net/ethernet/sfc/falcon/tx.c unsigned int copy_len = skb->len; copy_len 156 drivers/net/ethernet/sfc/falcon/tx.c EF4_BUG_ON_PARANOID(copy_len > EF4_TX_CB_SIZE); copy_len 164 drivers/net/ethernet/sfc/falcon/tx.c rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); copy_len 166 drivers/net/ethernet/sfc/falcon/tx.c if (unlikely(copy_len < min_len)) { copy_len 167 drivers/net/ethernet/sfc/falcon/tx.c memset(copy_buffer + copy_len, 0, min_len - copy_len); copy_len 170 drivers/net/ethernet/sfc/falcon/tx.c buffer->len = copy_len; copy_len 167 drivers/net/ethernet/sfc/tx.c unsigned int copy_len = skb->len; copy_len 172 drivers/net/ethernet/sfc/tx.c EFX_WARN_ON_ONCE_PARANOID(copy_len > EFX_TX_CB_SIZE); copy_len 180 drivers/net/ethernet/sfc/tx.c rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); copy_len 182 drivers/net/ethernet/sfc/tx.c buffer->len = copy_len; copy_len 377 drivers/net/ethernet/sun/sunvnet_common.c unsigned int copy_len; copy_len 399 drivers/net/ethernet/sun/sunvnet_common.c copy_len = (len + VNET_PACKET_SKIP + 7U) & ~7U; copy_len 400 drivers/net/ethernet/sun/sunvnet_common.c skb_put(skb, copy_len); copy_len 402 drivers/net/ethernet/sun/sunvnet_common.c skb->data, copy_len, 0, copy_len 992 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c unsigned int copy_len; copy_len 1010 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = (desc_data->rx.hdr_len) ? desc_data->rx.hdr_len : len; copy_len 1011 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c copy_len = min(desc_data->rx.hdr.dma_len, copy_len); copy_len 1012 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb_copy_to_linear_data(skb, packet, copy_len); copy_len 1013 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c skb_put(skb, copy_len); copy_len 1015 drivers/net/ethernet/synopsys/dwc-xlgmac-net.c len -= copy_len; copy_len 308 drivers/net/wireless/intersil/hostap/hostap_info.c int i, result_size, copy_len, new_count; copy_len 323 drivers/net/wireless/intersil/hostap/hostap_info.c copy_len = result_size = le16_to_cpu(*pos); copy_len 329 drivers/net/wireless/intersil/hostap/hostap_info.c if (copy_len > sizeof(struct hfa384x_hostscan_result)) copy_len 330 drivers/net/wireless/intersil/hostap/hostap_info.c copy_len = sizeof(struct hfa384x_hostscan_result); copy_len 344 drivers/net/wireless/intersil/hostap/hostap_info.c memcpy(&results[i], ptr, copy_len); copy_len 35 drivers/net/wireless/marvell/libertas/cmd.c uint16_t copy_len; copy_len 37 drivers/net/wireless/marvell/libertas/cmd.c copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); copy_len 38 drivers/net/wireless/marvell/libertas/cmd.c memcpy(buf, resp, copy_len); copy_len 46 drivers/net/wireless/marvell/libertas_tf/cmd.c uint16_t copy_len; copy_len 48 drivers/net/wireless/marvell/libertas_tf/cmd.c copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); copy_len 49 drivers/net/wireless/marvell/libertas_tf/cmd.c memcpy(buf, resp, copy_len); copy_len 68 drivers/scsi/isci/probe_roms.c size_t copy_len; copy_len 72 drivers/scsi/isci/probe_roms.c copy_len = min(oem_hdr.len - sizeof(oem_hdr), copy_len 77 drivers/scsi/isci/probe_roms.c copy_len); copy_len 1413 drivers/scsi/isci/request.c int copy_len; copy_len 1429 drivers/scsi/isci/request.c copy_len = min_t(int, total_len, sg_dma_len(sg)); copy_len 1431 drivers/scsi/isci/request.c memcpy(kaddr + sg->offset, src_addr, copy_len); copy_len 1433 drivers/scsi/isci/request.c total_len -= copy_len; copy_len 1434 drivers/scsi/isci/request.c src_addr += copy_len; copy_len 482 drivers/scsi/libfc/fc_fcp.c u32 copy_len = 0; copy_len 527 drivers/scsi/libfc/fc_fcp.c copy_len = fc_copy_buffer_to_sglist(buf, len, sg, &nents, copy_len 531 drivers/scsi/libfc/fc_fcp.c copy_len = fc_copy_buffer_to_sglist(buf, len, sg, &nents, copy_len 563 drivers/scsi/libfc/fc_fcp.c fsp->xfer_contig_end += copy_len; copy_len 564 drivers/scsi/libfc/fc_fcp.c fsp->xfer_len += copy_len; copy_len 105 drivers/scsi/libfc/fc_libfc.c u32 copy_len = 0; copy_len 140 drivers/scsi/libfc/fc_libfc.c copy_len += sg_bytes; copy_len 142 drivers/scsi/libfc/fc_libfc.c return copy_len; copy_len 3113 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c int copy_len; copy_len 3129 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c copy_len = 0; copy_len 3131 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c copy_len = min_t(int, wpa_ie_len + 2, sizeof(pstat->wpa_ie)); copy_len 3133 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (copy_len > 0) copy_len 3134 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pstat->wpa_ie, wpa_ie-2, copy_len); copy_len 2623 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c int copy_len; copy_len 2626 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c copy_len = min_t(int, wpa_ie_len + 2, sizeof(psta->wpa_ie)); copy_len 2627 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; copy_len 2628 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); copy_len 1409 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c int copy_len; copy_len 1426 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c copy_len = 0; copy_len 1428 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c copy_len = ((wpa_ie_len+2) > sizeof(pstat->wpa_ie)) ? (sizeof(pstat->wpa_ie)):(wpa_ie_len+2); copy_len 1432 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (copy_len > 0) copy_len 1433 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pstat->wpa_ie, wpa_ie-2, copy_len); copy_len 3963 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c int copy_len; copy_len 3967 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c copy_len = ((wpa_ie_len+2) > sizeof(psta->wpa_ie)) ? (sizeof(psta->wpa_ie)):(wpa_ie_len+2); copy_len 3969 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c param->u.wpa_ie.len = copy_len; copy_len 3971 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c memcpy(param->u.wpa_ie.reserved, psta->wpa_ie, copy_len); copy_len 1111 drivers/target/sbp/sbp_target.c int ret, cmd_len, copy_len; copy_len 1124 drivers/target/sbp/sbp_target.c copy_len = cmd_len - sizeof(req->orb.command_block); copy_len 1130 drivers/target/sbp/sbp_target.c copy_len); copy_len 2220 fs/xfs/xfs_log.c int *copy_len, copy_len 2231 fs/xfs/xfs_log.c *copy_len = still_to_copy; copy_len 2232 fs/xfs/xfs_log.c ophdr->oh_len = cpu_to_be32(*copy_len); copy_len 2241 fs/xfs/xfs_log.c *copy_len = space_available; copy_len 2242 fs/xfs/xfs_log.c ophdr->oh_len = cpu_to_be32(*copy_len); copy_len 2246 fs/xfs/xfs_log.c *bytes_consumed += *copy_len; copy_len 2415 fs/xfs/xfs_log.c int copy_len; copy_len 2447 fs/xfs/xfs_log.c ©_off, ©_len, copy_len 2460 fs/xfs/xfs_log.c ASSERT(copy_len >= 0); copy_len 2461 fs/xfs/xfs_log.c if (copy_len > 0) { copy_len 2462 fs/xfs/xfs_log.c memcpy(ptr, reg->i_addr + copy_off, copy_len); copy_len 2464 fs/xfs/xfs_log.c copy_len); copy_len 2466 fs/xfs/xfs_log.c copy_len += start_rec_copy + sizeof(xlog_op_header_t); copy_len 2468 fs/xfs/xfs_log.c data_cnt += contwr ? copy_len : 0; copy_len 342 include/linux/string.h size_t p_len, copy_len; copy_len 348 include/linux/string.h copy_len = strnlen(q, count); copy_len 349 include/linux/string.h if (p_size < p_len + copy_len + 1) copy_len 351 include/linux/string.h __builtin_memcpy(p + p_len, q, copy_len); copy_len 352 include/linux/string.h p[p_len + copy_len] = '\0'; copy_len 27 include/net/netfilter/nf_log.h u_int32_t copy_len; copy_len 449 kernel/bpf/stackmap.c u32 init_nr, trace_nr, copy_len, elem_size, num_elem; copy_len 485 kernel/bpf/stackmap.c copy_len = trace_nr * elem_size; copy_len 490 kernel/bpf/stackmap.c memcpy(buf, ips, copy_len); copy_len 492 kernel/bpf/stackmap.c if (size > copy_len) copy_len 493 kernel/bpf/stackmap.c memset(buf + copy_len, 0, size - copy_len); copy_len 494 kernel/bpf/stackmap.c return copy_len; copy_len 31 net/bridge/netfilter/ebt_nflog.c li.u.ulog.copy_len = info->len; copy_len 665 net/netfilter/nfnetlink_log.c .copy_len = 0xffff, copy_len 764 net/netfilter/nfnetlink_log.c (li->u.ulog.copy_len < data_len)) copy_len 765 net/netfilter/nfnetlink_log.c data_len = li->u.ulog.copy_len; copy_len 186 net/netfilter/nft_log.c li->u.ulog.copy_len = copy_len 251 net/netfilter/nft_log.c htonl(li->u.ulog.copy_len))) copy_len 28 net/netfilter/xt_NFLOG.c li.u.ulog.copy_len = info->len; copy_len 3393 net/packet/af_packet.c int copy_len; copy_len 3401 net/packet/af_packet.c copy_len = msg->msg_namelen; copy_len 3407 net/packet/af_packet.c copy_len = msg->msg_namelen; copy_len 3415 net/packet/af_packet.c memcpy(msg->msg_name, &PACKET_SKB_CB(skb)->sa, copy_len); copy_len 938 net/sunrpc/xprtrdma/rpc_rdma.c rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) copy_len 956 net/sunrpc/xprtrdma/rpc_rdma.c if (curlen > copy_len) copy_len 957 net/sunrpc/xprtrdma/rpc_rdma.c curlen = copy_len; copy_len 958 net/sunrpc/xprtrdma/rpc_rdma.c trace_xprtrdma_fixup(rqst, copy_len, curlen); copy_len 960 net/sunrpc/xprtrdma/rpc_rdma.c copy_len -= curlen; copy_len 966 net/sunrpc/xprtrdma/rpc_rdma.c if (copy_len && rqst->rq_rcv_buf.page_len) { copy_len 970 net/sunrpc/xprtrdma/rpc_rdma.c if (pagelist_len > copy_len) copy_len 971 net/sunrpc/xprtrdma/rpc_rdma.c pagelist_len = copy_len; copy_len 979 net/sunrpc/xprtrdma/rpc_rdma.c copy_len, curlen); copy_len 985 net/sunrpc/xprtrdma/rpc_rdma.c copy_len -= curlen; copy_len 1006 net/sunrpc/xprtrdma/rpc_rdma.c if (copy_len || pad) {