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
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()
433 msg_len); in sctp_prsctp_prune()
434 if (msg_len <= 0) in sctp_prsctp_prune()
439 msg_len = sctp_prsctp_prune_sent(asoc, sinfo, in sctp_prsctp_prune()
441 msg_len); in sctp_prsctp_prune()
442 if (msg_len <= 0) in sctp_prsctp_prune()
446 sctp_prsctp_prune_unsent(asoc, sinfo, msg_len); in sctp_prsctp_prune()