Lines Matching refs:msg_len
344 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
408 msg_len -= chk->skb->truesize + sizeof(struct sctp_chunk); in sctp_prsctp_prune_unsent()
410 if (msg_len <= 0) in sctp_prsctp_prune_unsent()
416 return msg_len; in sctp_prsctp_prune_unsent()
421 struct sctp_sndrcvinfo *sinfo, int msg_len) in sctp_prsctp_prune() argument
428 msg_len = sctp_prsctp_prune_sent(asoc, sinfo, in sctp_prsctp_prune()
430 msg_len); in sctp_prsctp_prune()
431 if (msg_len <= 0) in sctp_prsctp_prune()
436 msg_len = sctp_prsctp_prune_sent(asoc, sinfo, in sctp_prsctp_prune()
438 msg_len); in sctp_prsctp_prune()
439 if (msg_len <= 0) in sctp_prsctp_prune()
443 sctp_prsctp_prune_unsent(asoc, sinfo, msg_len); in sctp_prsctp_prune()