/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_mem_ops.c | 97 u32 copy_len = 0, index_reg_val = 0; in __octeon_pci_rw_core_mem() local 134 copy_len = (u32)(((addr & ~(0x3fffff)) + in __octeon_pci_rw_core_mem() 137 copy_len = len; in __octeon_pci_rw_core_mem() 142 copy_len); in __octeon_pci_rw_core_mem() 145 copy_len); in __octeon_pci_rw_core_mem() 148 len -= copy_len; in __octeon_pci_rw_core_mem() 149 addr += copy_len; in __octeon_pci_rw_core_mem() 150 hostbuf += copy_len; in __octeon_pci_rw_core_mem()
|
D | octeon_network.h | 492 int copy_len, in octeon_fast_packet_next() argument 496 copy_len); in octeon_fast_packet_next()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | tx.c | 151 unsigned int copy_len = skb->len; in ef4_enqueue_skb_copy() local 156 EF4_BUG_ON_PARANOID(copy_len > EF4_TX_CB_SIZE); in ef4_enqueue_skb_copy() 164 rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); in ef4_enqueue_skb_copy() 166 if (unlikely(copy_len < min_len)) { in ef4_enqueue_skb_copy() 167 memset(copy_buffer + copy_len, 0, min_len - copy_len); in ef4_enqueue_skb_copy() 170 buffer->len = copy_len; in ef4_enqueue_skb_copy()
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | probe_roms.c | 68 size_t copy_len; in isci_request_oprom() local 72 copy_len = min(oem_hdr.len - sizeof(oem_hdr), in isci_request_oprom() 77 copy_len); in isci_request_oprom()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
D | hostap_info.c | 308 int i, result_size, copy_len, new_count; in prism2_info_hostscanresults() local 323 copy_len = result_size = le16_to_cpu(*pos); in prism2_info_hostscanresults() 329 if (copy_len > sizeof(struct hfa384x_hostscan_result)) in prism2_info_hostscanresults() 330 copy_len = sizeof(struct hfa384x_hostscan_result); in prism2_info_hostscanresults() 344 memcpy(&results[i], ptr, copy_len); in prism2_info_hostscanresults()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_compat.c | 399 size_t size, int copy_len, int payload) in xfrm_attr_cpy32() argument 408 if (WARN_ON_ONCE(copy_len > payload)) in xfrm_attr_cpy32() 409 copy_len = payload; in xfrm_attr_cpy32() 416 memcpy(nla, src, nla_attr_size(copy_len)); in xfrm_attr_cpy32() 418 *pos += nla_attr_size(copy_len); in xfrm_attr_cpy32() 421 memset(dst + *pos, 0, payload - copy_len); in xfrm_attr_cpy32() 422 *pos += payload - copy_len; in xfrm_attr_cpy32()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 117 int copy_len, num_wqe, i, ret = 0; in _c4iw_write_mem_inline() local 131 copy_len = len > C4IW_MAX_INLINE_SIZE ? C4IW_MAX_INLINE_SIZE : in _c4iw_write_mem_inline() 134 roundup(copy_len, T4_ULPTX_MIN_IO), in _c4iw_write_mem_inline() 158 DIV_ROUND_UP(copy_len, T4_ULPTX_MIN_IO))); in _c4iw_write_mem_inline() 165 sc->len = cpu_to_be32(roundup(copy_len, T4_ULPTX_MIN_IO)); in _c4iw_write_mem_inline() 170 memcpy(to_dp, from_dp, copy_len); in _c4iw_write_mem_inline() 172 memset(to_dp, 0, copy_len); in _c4iw_write_mem_inline() 173 if (copy_len % T4_ULPTX_MIN_IO) in _c4iw_write_mem_inline() 174 memset(to_dp + copy_len, 0, T4_ULPTX_MIN_IO - in _c4iw_write_mem_inline() 175 (copy_len % T4_ULPTX_MIN_IO)); in _c4iw_write_mem_inline()
|
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
D | fc_libfc.c | 105 u32 copy_len = 0; in fc_copy_buffer_to_sglist() local 140 copy_len += sg_bytes; in fc_copy_buffer_to_sglist() 142 return copy_len; in fc_copy_buffer_to_sglist()
|
/kernel/linux/linux-5.10/include/linux/ |
D | string.h | 363 size_t p_len, copy_len; in strncat() local 369 copy_len = strnlen(q, count); in strncat() 370 if (p_size < p_len + copy_len + 1) in strncat() 372 __underlying_memcpy(p + p_len, q, copy_len); in strncat() 373 p[p_len + copy_len] = '\0'; in strncat()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | stackmap.c | 582 u32 init_nr, trace_nr, copy_len, elem_size, num_elem; in __bpf_get_stack() local 629 copy_len = trace_nr * elem_size; in __bpf_get_stack() 634 memcpy(buf, ips, copy_len); in __bpf_get_stack() 636 if (size > copy_len) in __bpf_get_stack() 637 memset(buf + copy_len, 0, size - copy_len); in __bpf_get_stack() 638 return copy_len; in __bpf_get_stack()
|
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 1056 rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) in rpcrdma_inline_fixup() argument 1074 if (curlen > copy_len) in rpcrdma_inline_fixup() 1075 curlen = copy_len; in rpcrdma_inline_fixup() 1077 copy_len -= curlen; in rpcrdma_inline_fixup() 1083 if (copy_len && rqst->rq_rcv_buf.page_len) { in rpcrdma_inline_fixup() 1087 if (pagelist_len > copy_len) in rpcrdma_inline_fixup() 1088 pagelist_len = copy_len; in rpcrdma_inline_fixup() 1100 copy_len -= curlen; in rpcrdma_inline_fixup() 1121 if (copy_len || pad) { in rpcrdma_inline_fixup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | tx.c | 102 unsigned int copy_len = skb->len; in efx_enqueue_skb_copy() local 107 EFX_WARN_ON_ONCE_PARANOID(copy_len > EFX_TX_CB_SIZE); in efx_enqueue_skb_copy() 115 rc = skb_copy_bits(skb, 0, copy_buffer, copy_len); in efx_enqueue_skb_copy() 117 buffer->len = copy_len; in efx_enqueue_skb_copy()
|
/kernel/linux/linux-5.10/drivers/memstick/host/ |
D | r592.c | 333 int copy_len = kfifo_in(&dev->pio_fifo, buffer, len); in r592_write_fifo_pio() local 337 len -= copy_len; in r592_write_fifo_pio() 338 buffer += copy_len; in r592_write_fifo_pio() 340 copy_len = kfifo_out(&dev->pio_fifo, tmp, 4); in r592_write_fifo_pio() 341 WARN_ON(copy_len != 4); in r592_write_fifo_pio()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | ibmpowernv.c | 223 u32 copy_len; in get_sensor_index_attr() local 233 copy_len = dash_pos - hash_pos - 1; in get_sensor_index_attr() 234 if (copy_len >= sizeof(buf)) in get_sensor_index_attr() 237 strncpy(buf, hash_pos + 1, copy_len); in get_sensor_index_attr()
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
D | ebt_nflog.c | 31 li.u.ulog.copy_len = info->len; in ebt_nflog_tg()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_log.c | 2169 int *copy_len, in xlog_write_setup_copy() argument 2180 *copy_len = still_to_copy; in xlog_write_setup_copy() 2181 ophdr->oh_len = cpu_to_be32(*copy_len); in xlog_write_setup_copy() 2190 *copy_len = space_available; in xlog_write_setup_copy() 2191 ophdr->oh_len = cpu_to_be32(*copy_len); in xlog_write_setup_copy() 2195 *bytes_consumed += *copy_len; in xlog_write_setup_copy() 2362 int copy_len; in xlog_write() local 2398 ©_off, ©_len, in xlog_write() 2411 ASSERT(copy_len >= 0); in xlog_write() 2412 if (copy_len > 0) { in xlog_write() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-net.c | 992 unsigned int copy_len; in xlgmac_create_skb() local 1010 copy_len = (desc_data->rx.hdr_len) ? desc_data->rx.hdr_len : len; in xlgmac_create_skb() 1011 copy_len = min(desc_data->rx.hdr.dma_len, copy_len); in xlgmac_create_skb() 1012 skb_copy_to_linear_data(skb, packet, copy_len); in xlgmac_create_skb() 1013 skb_put(skb, copy_len); in xlgmac_create_skb() 1015 len -= copy_len; in xlgmac_create_skb()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_NFLOG.c | 28 li.u.ulog.copy_len = info->len; in nflog_tg()
|
D | nft_log.c | 186 li->u.ulog.copy_len = in nft_log_init() 251 htonl(li->u.ulog.copy_len))) in nft_log_dump()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | uverbs_std_types_device.c | 277 size_t copy_len; in copy_gid_entries_to_user() local 288 copy_len = min_t(size_t, user_entry_size, sizeof(*entries)); in copy_gid_entries_to_user() 295 if (copy_to_user(user_entries, entries, copy_len)) in copy_gid_entries_to_user()
|
/kernel/linux/linux-5.10/arch/powerpc/perf/ |
D | hv-24x7.c | 1017 size_t copy_len; in catalog_read() local 1050 copy_len = 4096 - offset_in_page; in catalog_read() 1051 if (copy_len > count) in catalog_read() 1052 copy_len = count; in catalog_read() 1054 memcpy(buf, page+offset_in_page, copy_len); in catalog_read() 1055 ret = copy_len; in catalog_read()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_io.c | 375 int copied, copy_len, descr_size; in qlcnic_tx_encap_pkt() local 405 copy_len = min(descr_size, (total_hdr_len - copied)); in qlcnic_tx_encap_pkt() 410 copy_len); in qlcnic_tx_encap_pkt() 411 copied += copy_len; in qlcnic_tx_encap_pkt() 463 int copied, offset, copy_len, size; in qlcnic_tx_pkt() local 522 copy_len = min((int)sizeof(struct cmd_desc_type0) - in qlcnic_tx_pkt() 532 copy_len - 16); in qlcnic_tx_pkt() 533 copied = copy_len - VLAN_HLEN; in qlcnic_tx_pkt() 540 copy_len = min(size, (hdr_len - copied)); in qlcnic_tx_pkt() 545 offset, copy_len); in qlcnic_tx_pkt() [all …]
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_log.h | 27 u_int32_t copy_len; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 46 uint16_t copy_len; in lbtf_cmd_copyback() local 48 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbtf_cmd_copyback() 49 memcpy(buf, resp, copy_len); in lbtf_cmd_copyback()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 825 u32 offset, copy_len; in atl2_xmit_frame() local 859 copy_len = adapter->txd_ring_size - offset; in atl2_xmit_frame() 860 if (copy_len >= skb->len) { in atl2_xmit_frame() 864 memcpy(((u8 *)adapter->txd_ring)+offset, skb->data, copy_len); in atl2_xmit_frame() 865 memcpy((u8 *)adapter->txd_ring, skb->data+copy_len, in atl2_xmit_frame() 866 skb->len-copy_len); in atl2_xmit_frame() 867 offset = ((u32)(skb->len-copy_len + 3) & ~3); in atl2_xmit_frame()
|