Home
last modified time | relevance | path

Searched refs:msg_size (Results 1 – 5 of 5) sorted by relevance

/net/tipc/
Dmsg.c233 mlen = msg_size(hdr); in tipc_msg_append()
287 msz = msg_size(hdr); in tipc_msg_validate()
323 dsz = msg_size(buf_msg(skb)); in tipc_msg_fragment()
490 msz = msg_size(msg); in tipc_msg_bundle()
491 bsz = msg_size(bmsg); in tipc_msg_bundle()
534 if (mss <= INT_H_SIZE + msg_size(msg)) in tipc_msg_try_bundle()
548 tsz = msg_size(buf_msg(tskb)); in tipc_msg_try_bundle()
549 if (unlikely(mss < BUF_ALIGN(INT_H_SIZE + tsz) + msg_size(msg))) in tipc_msg_try_bundle()
595 imsz = msg_size(ihdr); in tipc_msg_extract()
Dmsg.h267 static inline u32 msg_size(struct tipc_msg *m) in msg_size() function
274 return (msg_size(m) / 1024) + 1; in msg_blocks()
279 return msg_size(m) - msg_hdr_sz(m); in msg_data_sz()
Dlink.c802 length = msg_size(msg); in link_profile_stats()
807 length = msg_size(msg_inner_hdr(msg)); in link_profile_stats()
1058 if (unlikely(msg_size(hdr) > mtu)) { in tipc_link_xmit()
1061 msg_type(hdr), msg_size(hdr), mtu); in tipc_link_xmit()
1242 msg_user(hdr), msg_type(hdr), msg_size(hdr), msg_errcode(hdr)); in link_retransmit_failure()
2045 pktlen = msg_size(hdr); in tipc_link_tnl_prepare()
2075 msg_type(hdr), msg_size(hdr)); in tipc_link_tnl_prepare()
/net/ceph/
Dosd_client.c610 int msg_size; in __ceph_osdc_alloc_messages() local
617 msg_size = CEPH_ENCODING_START_BLK_LEN + in __ceph_osdc_alloc_messages()
619 msg_size += 4 + 4 + 4; /* hash, osdmap_epoch, flags */ in __ceph_osdc_alloc_messages()
620 msg_size += CEPH_ENCODING_START_BLK_LEN + in __ceph_osdc_alloc_messages()
622 msg_size += sizeof(struct ceph_blkin_trace_info); /* trace */ in __ceph_osdc_alloc_messages()
623 msg_size += 4 + sizeof(struct ceph_timespec); /* client_inc, mtime */ in __ceph_osdc_alloc_messages()
624 msg_size += CEPH_ENCODING_START_BLK_LEN + in __ceph_osdc_alloc_messages()
626 msg_size += 4 + req->r_base_oid.name_len; /* oid */ in __ceph_osdc_alloc_messages()
627 msg_size += 2 + req->r_num_ops * sizeof(struct ceph_osd_op); in __ceph_osdc_alloc_messages()
628 msg_size += 8; /* snapid */ in __ceph_osdc_alloc_messages()
[all …]
/net/ipv6/
Dndisc.c1198 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt() local
1200 skb = nlmsg_new(msg_size, GFP_ATOMIC); in ndisc_ra_useropt()