Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dinet_diag.h62 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()
/linux-4.19.296/lib/
Dnlattr.c214 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()
/linux-4.19.296/fs/dlm/
Dnetlink.c123 size = nla_total_size(sizeof(struct dlm_lock_data)) + in dlm_timeout_warn()
124 nla_total_size(0); /* why this? */ in dlm_timeout_warn()
/linux-4.19.296/fs/quota/
Dnetlink.c44 int msg_size = 4 * nla_total_size(sizeof(u32)) + in quota_send_warning()
/linux-4.19.296/include/net/
Dnetlink.h668 static inline int nla_total_size(int payload) in nla_total_size() function
679 return nla_total_size(payload) - nla_attr_size(payload); in nla_padlen()