Lines Matching refs:msg_len
86 size_t msg_len);
1585 static int sctp_sendmsg(struct sock *sk, struct msghdr *msg, size_t msg_len) in sctp_sendmsg() argument
1613 msg, msg_len, ep); in sctp_sendmsg()
1668 msg_len, sinfo_flags); in sctp_sendmsg()
1681 if (((sinfo_flags & SCTP_EOF) && (msg_len > 0)) || in sctp_sendmsg()
1682 (!(sinfo_flags & (SCTP_EOF|SCTP_ABORT)) && (msg_len == 0))) { in sctp_sendmsg()
1749 chunk = sctp_make_abort_user(asoc, msg, msg_len); in sctp_sendmsg()
1890 if (msg_len > sk->sk_sndbuf) { in sctp_sendmsg()
1903 if (sctp_sk(sk)->disable_fragments && (msg_len > asoc->frag_point)) { in sctp_sendmsg()
1916 err = sctp_wait_for_sndbuf(asoc, &timeo, msg_len); in sctp_sendmsg()
1977 err = msg_len; in sctp_sendmsg()
2002 if (msg_len) in sctp_sendmsg()
2003 err = msg_len; in sctp_sendmsg()
2009 if (msg_len) in sctp_sendmsg()
2010 err = msg_len; in sctp_sendmsg()
6934 size_t msg_len) in sctp_wait_for_sndbuf() argument
6942 *timeo_p, msg_len); in sctp_wait_for_sndbuf()
6958 if (msg_len <= sctp_wspace(asoc)) in sctp_wait_for_sndbuf()