Home
last modified time | relevance | path

Searched refs:msg_len (Results 1 – 9 of 9) sorted by relevance

/net/sctp/
Dchunk.c151 size_t msg_len = iov_iter_count(from); in sctp_datamsg_from_user() local
217 msg_len > max_data) in sctp_datamsg_from_user()
225 if (msg_len >= first_len) { in sctp_datamsg_from_user()
227 if (msg_len > first_len) in sctp_datamsg_from_user()
232 first_len = msg_len; in sctp_datamsg_from_user()
236 for (remaining = msg_len; remaining; remaining -= len) { in sctp_datamsg_from_user()
239 if (remaining == msg_len) { in sctp_datamsg_from_user()
Doutqueue.c344 struct list_head *queue, int msg_len) in sctp_prsctp_prune_sent() argument
374 msg_len -= chk->skb->truesize + sizeof(struct sctp_chunk); in sctp_prsctp_prune_sent()
375 if (msg_len <= 0) in sctp_prsctp_prune_sent()
379 return msg_len; in sctp_prsctp_prune_sent()
383 struct sctp_sndrcvinfo *sinfo, int msg_len) in sctp_prsctp_prune_unsent() argument
411 msg_len -= chk->skb->truesize + sizeof(struct sctp_chunk); in sctp_prsctp_prune_unsent()
413 if (msg_len <= 0) in sctp_prsctp_prune_unsent()
419 return msg_len; in sctp_prsctp_prune_unsent()
424 struct sctp_sndrcvinfo *sinfo, int msg_len) in sctp_prsctp_prune() argument
431 msg_len = sctp_prsctp_prune_sent(asoc, sinfo, in sctp_prsctp_prune()
[all …]
Dsocket.c74 size_t msg_len);
1600 const struct msghdr *msg, size_t msg_len) in sctp_sendmsg_parse() argument
1608 if (msg_len > sk->sk_sndbuf) in sctp_sendmsg_parse()
1643 if (!sflags && msg_len) in sctp_sendmsg_parse()
1649 if (((sflags & SCTP_EOF) && msg_len > 0) || in sctp_sendmsg_parse()
1650 (!(sflags & (SCTP_EOF | SCTP_ABORT)) && msg_len == 0)) in sctp_sendmsg_parse()
1756 size_t msg_len) in sctp_sendmsg_check_sflags() argument
1778 chunk = sctp_make_abort_user(asoc, msg, msg_len); in sctp_sendmsg_check_sflags()
1784 iov_iter_revert(&msg->msg_iter, msg_len); in sctp_sendmsg_check_sflags()
1793 struct msghdr *msg, size_t msg_len, in sctp_sendmsg_to_asoc() argument
[all …]
/net/nfc/nci/
Dhci.c433 int msg_len; in nci_hci_data_received_cb() local
453 msg_len = 0; in nci_hci_data_received_cb()
455 msg_len += (frag_skb->len - in nci_hci_data_received_cb()
460 msg_len, GFP_KERNEL); in nci_hci_data_received_cb()
469 msg_len = frag_skb->len - NCI_HCI_HCP_PACKET_HEADER_LEN; in nci_hci_data_received_cb()
472 msg_len); in nci_hci_data_received_cb()
/net/nfc/hci/
Dcore.c862 int msg_len; in nfc_hci_recv_from_llc() local
875 msg_len = 0; in nfc_hci_recv_from_llc()
877 msg_len += (frag_skb->len - in nfc_hci_recv_from_llc()
882 msg_len, GFP_KERNEL); in nfc_hci_recv_from_llc()
891 msg_len = frag_skb->len - NFC_HCI_HCP_PACKET_HEADER_LEN; in nfc_hci_recv_from_llc()
894 msg_len); in nfc_hci_recv_from_llc()
/net/vmw_vsock/
Daf_vsock.c2031 ssize_t msg_len; in __vsock_seqpacket_recvmsg() local
2045 msg_len = transport->seqpacket_dequeue(vsk, msg, flags); in __vsock_seqpacket_recvmsg()
2047 if (msg_len < 0) { in __vsock_seqpacket_recvmsg()
2061 err = msg_len; in __vsock_seqpacket_recvmsg()
2068 if (msg_len > len) in __vsock_seqpacket_recvmsg()
/net/ceph/
Dauth.c285 void *msg_buf, size_t msg_len) in ceph_build_auth() argument
291 ret = build_request(ac, true, msg_buf, msg_len); in ceph_build_auth()
/net/ipv4/
Dinet_diag.c370 unsigned int msg_len; in inet_sk_diag_fill() local
373 msg_len = skb_tail_pointer(skb) - (unsigned char *)nlh; in inet_sk_diag_fill()
381 total_nla_size += msg_len; in inet_sk_diag_fill()
/net/
Dsocket.c2568 err = __put_user(err, &compat_entry->msg_len); in __sys_sendmmsg()
2576 err = put_user(err, &entry->msg_len); in __sys_sendmmsg()
2783 err = __put_user(err, &compat_entry->msg_len); in do_recvmmsg()
2792 err = put_user(err, &entry->msg_len); in do_recvmmsg()