Searched refs:nla_total_size (Results 1 – 5 of 5) sorted by relevance
62 return nla_total_size(1) /* INET_DIAG_SHUTDOWN */ in inet_diag_msg_attrs_size()63 + nla_total_size(1) /* INET_DIAG_TOS */ in inet_diag_msg_attrs_size()65 + nla_total_size(1) /* INET_DIAG_TCLASS */ in inet_diag_msg_attrs_size()66 + nla_total_size(1) /* INET_DIAG_SKV6ONLY */ in inet_diag_msg_attrs_size()68 + nla_total_size(4) /* INET_DIAG_MARK */ in inet_diag_msg_attrs_size()69 + nla_total_size(4); /* INET_DIAG_CLASS_ID */ in inet_diag_msg_attrs_size()
214 len += nla_total_size(p->len); in nla_policy_len()216 len += nla_total_size(nla_attr_len[p->type]); in nla_policy_len()218 len += nla_total_size(nla_attr_minlen[p->type]); in nla_policy_len()433 nla = skb_put(skb, nla_total_size(attrlen)); in __nla_reserve()497 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_reserve()526 len = nla_total_size(attrlen); in nla_reserve_64bit()624 if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) in nla_put()651 len = nla_total_size(attrlen); in nla_put_64bit()
123 size = nla_total_size(sizeof(struct dlm_lock_data)) + in dlm_timeout_warn()124 nla_total_size(0); /* why this? */ in dlm_timeout_warn()
44 int msg_size = 4 * nla_total_size(sizeof(u32)) + in quota_send_warning()
668 static inline int nla_total_size(int payload) in nla_total_size() function679 return nla_total_size(payload) - nla_attr_size(payload); in nla_padlen()