Searched refs:NLA_ALIGN (Results 1 – 5 of 5) sorted by relevance
134 if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req)) in nlattr_add()144 req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len); in nlattr_add()
27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
188 na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); in get_family_id()477 len += NLA_ALIGN(na->nla_len); in main()523 len2 += NLA_ALIGN(na->nla_len); in main()525 NLA_ALIGN(na->nla_len)); in main()
139 prv_len = NLA_ALIGN(nla_len[cnt]) + NLA_HDRLEN; in send_cmd_mt_nla()205 len += NLA_ALIGN(na->nla_len); in get_family_id()226 group_attr_len += NLA_ALIGN(group_na->nla_len) + in get_family_id()232 NLA_ALIGN(group_na->nla_len)); in get_family_id()289 len += NLA_ALIGN(na->nla_len); in get_dev_enable_state()677 len += NLA_ALIGN(na->nla_len); in get_taginfo()