Home
last modified time | relevance | path

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

/net/tipc/
Dmsg.c218 msz = msg_size(msg); in tipc_msg_validate()
345 unsigned int msz = msg_size(msg); in tipc_msg_bundle()
354 bsz = msg_size(bmsg); in tipc_msg_bundle()
399 if (unlikely(offset > (msg_size(msg) - MIN_H_SIZE))) in tipc_msg_extract()
406 imsz = msg_size(buf_msg(*iskb)); in tipc_msg_extract()
433 u32 msz = msg_size(msg); in tipc_msg_make_bundle()
512 skb_trim(_skb, msg_size(hdr)); in tipc_msg_reverse()
Dlink.c528 length = msg_size(msg); in link_profile_stats()
533 length = msg_size(msg_get_wrapped(msg)); in link_profile_stats()
730 if (unlikely(msg_size(hdr) > mtu)) in tipc_link_xmit()
810 msg_user(hdr), msg_type(hdr), msg_size(hdr), msg_errcode(hdr)); in link_retransmit_failure()
1135 skb = tipc_buf_acquire(msg_size(hdr)); in tipc_link_build_proto_msg()
1138 skb_copy_to_linear_data(skb, hdr, msg_size(hdr)); in tipc_link_build_proto_msg()
1185 pktlen = msg_size(hdr); in tipc_link_tnl_prepare()
Dmsg.h199 static inline u32 msg_size(struct tipc_msg *m) in msg_size() function
206 return msg_size(m) - msg_hdr_sz(m); in msg_data_sz()
/net/wimax/
Dop-msg.c127 size_t msg_size; in wimax_msg_alloc() local
131 msg_size = nla_total_size(size) in wimax_msg_alloc()
135 skb = genlmsg_new(msg_size, gfp_flags); in wimax_msg_alloc()
/net/ceph/
Dosd_client.c370 size_t msg_size; in ceph_osdc_alloc_request() local
375 msg_size = 4 + 4 + 8 + 8 + 4+8; in ceph_osdc_alloc_request()
376 msg_size += 2 + 4 + 8 + 4 + 4; /* oloc */ in ceph_osdc_alloc_request()
377 msg_size += 1 + 8 + 4 + 4; /* pg_t */ in ceph_osdc_alloc_request()
378 msg_size += 4 + CEPH_MAX_OID_NAME_LEN; /* oid */ in ceph_osdc_alloc_request()
379 msg_size += 2 + num_ops*sizeof(struct ceph_osd_op); in ceph_osdc_alloc_request()
380 msg_size += 8; /* snapid */ in ceph_osdc_alloc_request()
381 msg_size += 8; /* snap_seq */ in ceph_osdc_alloc_request()
382 msg_size += 8 * (snapc ? snapc->num_snaps : 0); /* snaps */ in ceph_osdc_alloc_request()
383 msg_size += 4; in ceph_osdc_alloc_request()
[all …]
/net/ipv6/
Dndisc.c1046 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt() local
1048 skb = nlmsg_new(msg_size, GFP_ATOMIC); in ndisc_ra_useropt()