Searched refs:copy_len (Results 1 – 9 of 9) sorted by relevance
/net/xfrm/ |
D | xfrm_compat.c | 398 size_t size, int copy_len, int payload) in xfrm_attr_cpy32() argument 407 if (WARN_ON_ONCE(copy_len > payload)) in xfrm_attr_cpy32() 408 copy_len = payload; in xfrm_attr_cpy32() 415 memcpy(nla, src, nla_attr_size(copy_len)); in xfrm_attr_cpy32() 417 *pos += nla_attr_size(copy_len); in xfrm_attr_cpy32() 420 memset(dst + *pos, 0, payload - copy_len); in xfrm_attr_cpy32() 421 *pos += payload - copy_len; in xfrm_attr_cpy32()
|
/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()
|
/net/netfilter/ |
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()
|
D | xt_NFLOG.c | 28 li.u.ulog.copy_len = info->len; in nflog_tg()
|
D | nfnetlink_log.c | 660 .copy_len = 0xffff, 759 (li->u.ulog.copy_len < data_len)) in nfulnl_log_packet() 760 data_len = li->u.ulog.copy_len; in nfulnl_log_packet()
|
/net/bridge/netfilter/ |
D | ebt_nflog.c | 31 li.u.ulog.copy_len = info->len; in ebt_nflog_tg()
|
/net/packet/ |
D | af_packet.c | 3463 int copy_len; in packet_recvmsg() local 3471 copy_len = msg->msg_namelen; in packet_recvmsg() 3477 copy_len = msg->msg_namelen; in packet_recvmsg() 3485 if (WARN_ON_ONCE(copy_len > max_len)) { in packet_recvmsg() 3486 copy_len = max_len; in packet_recvmsg() 3487 msg->msg_namelen = copy_len; in packet_recvmsg() 3489 memcpy(msg->msg_name, &PACKET_SKB_CB(skb)->sa, copy_len); in packet_recvmsg()
|
/net/core/ |
D | filter.c | 5131 int ret, copy_len = 0; in BPF_CALL_5() local 5136 copy_len = ret; in BPF_CALL_5() 5137 if (optlen < copy_len) { in BPF_CALL_5() 5138 copy_len = optlen; in BPF_CALL_5() 5142 memcpy(optval, start, copy_len); in BPF_CALL_5() 5146 memset(optval + copy_len, 0, optlen - copy_len); in BPF_CALL_5() 6734 u8 search_kind, search_len, copy_len, magic_len; in BPF_CALL_4() local 6786 copy_len = op[1]; in BPF_CALL_4() 6787 ret = copy_len; in BPF_CALL_4() 6788 if (copy_len > len) { in BPF_CALL_4() [all …]
|
/net/mptcp/ |
D | protocol.c | 266 size_t copy_len) in __mptcp_move_skb() argument 293 MPTCP_SKB_CB(skb)->end_seq = MPTCP_SKB_CB(skb)->map_seq + copy_len; in __mptcp_move_skb() 298 WRITE_ONCE(msk->ack_seq, msk->ack_seq + copy_len); in __mptcp_move_skb()
|