Searched refs:to_copy (Results 1 – 9 of 9) sorted by relevance
| /net/rds/ |
| A D | tcp_recv.c | 78 to_copy = min(to_copy, skb->len - skb_off); in rds_tcp_inc_copy_to_user() 84 ret += to_copy; in rds_tcp_inc_copy_to_user() 135 to_copy); in rds_tcp_cong_recv() 138 skb_off += to_copy; in rds_tcp_cong_recv() 139 map_off += to_copy; in rds_tcp_cong_recv() 163 size_t left = len, to_copy; in rds_tcp_data_recv() local 202 to_copy); in rds_tcp_data_recv() 204 left -= to_copy; in rds_tcp_data_recv() 205 offset += to_copy; in rds_tcp_data_recv() 233 left -= to_copy; in rds_tcp_data_recv() [all …]
|
| A D | message.c | 422 unsigned long to_copy, nbytes; in rds_message_copy_from_user() local 451 to_copy, from); in rds_message_copy_from_user() 452 if (nbytes != to_copy) in rds_message_copy_from_user() 455 sg_off += to_copy; in rds_message_copy_from_user() 468 unsigned long to_copy; in rds_message_inc_copy_to_user() local 484 to_copy = min_t(unsigned long, to_copy, len - copied); in rds_message_inc_copy_to_user() 486 rds_stats_add(s_copy_to_user, to_copy); in rds_message_inc_copy_to_user() 488 to_copy, to); in rds_message_inc_copy_to_user() 489 if (ret != to_copy) in rds_message_inc_copy_to_user() 492 vec_off += to_copy; in rds_message_inc_copy_to_user() [all …]
|
| A D | ib_recv.c | 538 unsigned long to_copy; in rds_ib_inc_copy_to_user() local 556 to_copy = min_t(unsigned long, to_copy, len - copied); in rds_ib_inc_copy_to_user() 562 to_copy, in rds_ib_inc_copy_to_user() 564 if (ret != to_copy) in rds_ib_inc_copy_to_user() 567 frag_off += to_copy; in rds_ib_inc_copy_to_user() 568 copied += to_copy; in rds_ib_inc_copy_to_user() 792 unsigned long to_copy; in rds_ib_cong_recv() local 821 for (k = 0; k < to_copy; k += 8) { in rds_ib_cong_recv() 829 copied += to_copy; in rds_ib_cong_recv() 831 map_off += to_copy; in rds_ib_cong_recv() [all …]
|
| /net/batman-adv/ |
| A D | tp_meter.c | 539 size_t to_copy; in batadv_tp_fill_prerandom() local 551 to_copy = min(nbytes, bytes_inbuf); in batadv_tp_fill_prerandom() 553 memcpy(&buf[pos], &batadv_tp_prerandom[local_offset], to_copy); in batadv_tp_fill_prerandom() 554 pos += to_copy; in batadv_tp_fill_prerandom() 555 nbytes -= to_copy; in batadv_tp_fill_prerandom()
|
| /net/xfrm/ |
| A D | xfrm_iptfs.c | 1990 u32 to_copy = skb->len - mtu; in iptfs_copy_create_frags() local 2000 to_copy = skb->len - offset; in iptfs_copy_create_frags() 2001 while (to_copy) { in iptfs_copy_create_frags() 2003 trace_iptfs_first_fragmenting(nskb, mtu, to_copy, NULL); in iptfs_copy_create_frags() 2010 copy_len = min(to_copy, mtu); in iptfs_copy_create_frags() 2019 iptfs_output_prepare_skb(nskb, to_copy); in iptfs_copy_create_frags() 2021 to_copy -= copy_len; in iptfs_copy_create_frags() 2022 blkoff = to_copy; in iptfs_copy_create_frags()
|
| /net/xdp/ |
| A D | xsk.c | 1543 void *to_copy; in xsk_getsockopt() local 1572 to_copy = &off; in xsk_getsockopt() 1580 to_copy = &off_v1; in xsk_getsockopt() 1583 if (copy_to_user(optval, to_copy, len)) in xsk_getsockopt()
|
| /net/ceph/ |
| A D | osdmap.c | 1202 u32 to_copy; in osdmap_set_max_osd() local 1219 to_copy = min(map->max_osd, max); in osdmap_set_max_osd() 1221 memcpy(state, map->osd_state, to_copy * sizeof(*state)); in osdmap_set_max_osd() 1222 memcpy(weight, map->osd_weight, to_copy * sizeof(*weight)); in osdmap_set_max_osd() 1223 memcpy(addr, map->osd_addr, to_copy * sizeof(*addr)); in osdmap_set_max_osd() 1247 to_copy * sizeof(*affinity)); in osdmap_set_max_osd()
|
| /net/vmw_vsock/ |
| A D | virtio_transport_common.c | 145 size_t to_copy; in virtio_transport_copy_nonlinear_skb() local 154 to_copy = min_t(size_t, len, skb->len); in virtio_transport_copy_nonlinear_skb() 157 &iov_iter, to_copy); in virtio_transport_copy_nonlinear_skb()
|
| /net/core/ |
| A D | skbuff.c | 6910 int to_copy, gfp_t gfp) in pskb_extract() argument 6918 pskb_trim(clone, to_copy)) { in pskb_extract()
|
Completed in 38 milliseconds