Lines Matching refs:msg_len
86 size_t msg_len);
1588 static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) in sctp_sendmsg() argument
1616 msg, msg_len, ep); in sctp_sendmsg()
1671 msg_len, sinfo_flags); in sctp_sendmsg()
1684 if (((sinfo_flags & SCTP_EOF) && (msg_len > 0)) || in sctp_sendmsg()
1685 (!(sinfo_flags & (SCTP_EOF|SCTP_ABORT)) && (msg_len == 0))) { in sctp_sendmsg()
1752 chunk = sctp_make_abort_user(asoc, msg, msg_len); in sctp_sendmsg()
1893 if (msg_len > sk->sk_sndbuf) { in sctp_sendmsg()
1906 if (sctp_sk(sk)->disable_fragments && (msg_len > asoc->frag_point)) { in sctp_sendmsg()
1919 err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len); in sctp_sendmsg()
1976 err = msg_len; in sctp_sendmsg()
2001 if (msg_len) in sctp_sendmsg()
2002 err = msg_len; in sctp_sendmsg()
2008 if (msg_len) in sctp_sendmsg()
2009 err = msg_len; in sctp_sendmsg()
6925 size_t msg_len) in sctp_wait_for_sndbuf() argument
6933 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
6949 if (msg_len <= sctp_wspace(asoc)) in sctp_wait_for_sndbuf()