Searched refs:msg_size (Results 1 – 6 of 6) sorted by relevance
224 msz = msg_size(msg); in tipc_msg_validate()351 unsigned int msz = msg_size(msg); in tipc_msg_bundle()360 bsz = msg_size(bmsg); in tipc_msg_bundle()405 if (unlikely(offset > (msg_size(msg) - MIN_H_SIZE))) in tipc_msg_extract()412 imsz = msg_size(buf_msg(*iskb)); in tipc_msg_extract()439 u32 msz = msg_size(msg); in tipc_msg_make_bundle()523 skb_trim(_skb, msg_size(hdr)); in tipc_msg_reverse()
186 static inline u32 msg_size(struct tipc_msg *m) in msg_size() function193 return msg_size(m) - msg_hdr_sz(m); in msg_data_sz()
703 length = msg_size(msg); in link_profile_stats()708 length = msg_size(msg_get_wrapped(msg)); in link_profile_stats()898 if (unlikely(msg_size(hdr) > mtu)) { in tipc_link_xmit()1004 msg_user(hdr), msg_type(hdr), msg_size(hdr), msg_errcode(hdr)); in link_retransmit_failure()1419 pktlen = msg_size(hdr); in tipc_link_tnl_prepare()
127 size_t msg_size; in wimax_msg_alloc() local131 msg_size = nla_total_size(size) in wimax_msg_alloc()135 skb = genlmsg_new(msg_size, gfp_flags); in wimax_msg_alloc()
556 int msg_size; in ceph_osdc_alloc_messages() local562 msg_size = CEPH_ENCODING_START_BLK_LEN + in ceph_osdc_alloc_messages()564 msg_size += 4 + 4 + 4; /* hash, osdmap_epoch, flags */ in ceph_osdc_alloc_messages()565 msg_size += CEPH_ENCODING_START_BLK_LEN + in ceph_osdc_alloc_messages()567 msg_size += sizeof(struct ceph_blkin_trace_info); /* trace */ in ceph_osdc_alloc_messages()568 msg_size += 4 + sizeof(struct ceph_timespec); /* client_inc, mtime */ in ceph_osdc_alloc_messages()569 msg_size += CEPH_ENCODING_START_BLK_LEN + in ceph_osdc_alloc_messages()571 msg_size += 4 + req->r_base_oid.name_len; /* oid */ in ceph_osdc_alloc_messages()572 msg_size += 2 + req->r_num_ops * sizeof(struct ceph_osd_op); in ceph_osdc_alloc_messages()573 msg_size += 8; /* snapid */ in ceph_osdc_alloc_messages()[all …]
1111 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt() local1113 skb = nlmsg_new(msg_size, GFP_ATOMIC); in ndisc_ra_useropt()