Searched refs:NLA_ALIGN (Results 1 – 9 of 9) sorted by relevance
37 NLA_ALIGN(sizeof(*(tlv)) + be16_to_cpu((tlv)->len))45 multi_len = NLA_ALIGN(sizeof(struct mlxfw_mfa2_tlv_multi)); in mlxfw_mfa2_tlv_multi_child()63 tlv_len = NLA_ALIGN(tlv_len + be16_to_cpu(multi->total_len)); in mlxfw_mfa2_tlv_next()
38 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
303 first_tlv_ptr = (const u8 *) fw->data + NLA_ALIGN(mlxfw_mfa2_fingerprint_len); in mlxfw_mfa2_file_init()337 mfa2_file->cb = (const u8 *) fw->data + NLA_ALIGN(be32_to_cpu(pd->cb_offset)); in mlxfw_mfa2_file_init()
49 #define NLA_ALIGN(_len) _roundup2(_len, NLA_ALIGN_SIZE) macro60 #define NLA_NEXT(_attr) (struct nlattr *)((char *)_attr + NLA_ALIGN(_attr->nla_len))66 _attr = (_len -= NLA_ALIGN(_attr->nla_len), NLA_NEXT(_attr)))
263 #define NLA_ALIGN(_len) NL_ITEM_ALIGN(_len) macro
213 #define nlmsg_reserve_attr(_ns, _at, _t) ((_t *)_nlmsg_reserve_attr(_ns, _at, NLA_ALIGN(sizeof(_t))))
366 required_len = NLA_ALIGN(attr_len + sizeof(struct nlattr)); in nlattr_add()
62 #define NLA_NEXT(_attr) (struct nlattr *)(void *)((char *)_attr + NLA_ALIGN(_attr->nla_len))1130 int required_len = NLA_ALIGN(attr_len + sizeof(struct nlattr)); in snl_add_msg_attr()
265 nla = (struct nlattr *)((char *)nla + NLA_ALIGN(nla->nla_len))) { in nla_RTA_DST()