Lines Matching refs:msz
256 int msz, hsz; in tipc_msg_validate() local
283 msz = msg_size(hdr); in tipc_msg_validate()
284 if (unlikely(msz < hsz)) in tipc_msg_validate()
286 if (unlikely((msz - hsz) > TIPC_MAX_USER_MSG_SIZE)) in tipc_msg_validate()
288 if (unlikely(skb->len < msz)) in tipc_msg_validate()
373 int msz = mhsz + dsz; in tipc_msg_build() local
382 msg_set_size(mhdr, msz); in tipc_msg_build()
385 if (likely(msz <= pktmax)) { in tipc_msg_build()
386 skb = tipc_buf_acquire(msz, GFP_KERNEL); in tipc_msg_build()
484 u32 msz, bsz, offset, pad; in tipc_msg_bundle() local
486 msz = msg_size(msg); in tipc_msg_bundle()
491 if (unlikely(skb_tailroom(bskb) < (pad + msz))) in tipc_msg_bundle()
493 if (unlikely(max < (offset + msz))) in tipc_msg_bundle()
496 skb_put(bskb, pad + msz); in tipc_msg_bundle()
497 skb_copy_to_linear_data_offset(bskb, offset, msg, msz); in tipc_msg_bundle()
498 msg_set_size(bmsg, offset + msz); in tipc_msg_bundle()