NLA_ALIGN 141 drivers/block/drbd/drbd_nl.c nlmsg_trim(skb, (char*)txt + NLA_ALIGN(txt->nla_len)); NLA_ALIGN 275 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c first_tlv_ptr = fw->data + NLA_ALIGN(mlxfw_mfa2_fingerprint_len); NLA_ALIGN 309 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c mfa2_file->cb = fw->data + NLA_ALIGN(be32_to_cpu(pd->cb_offset)); NLA_ALIGN 10 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c NLA_ALIGN(sizeof(*(tlv)) + be16_to_cpu((tlv)->len)) NLA_ALIGN 18 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c multi_len = NLA_ALIGN(sizeof(struct mlxfw_mfa2_tlv_multi)); NLA_ALIGN 34 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c tlv_len = NLA_ALIGN(tlv_len + be16_to_cpu(multi->total_len)); NLA_ALIGN 290 include/linux/genl_magic_func.h .hdrsize = NLA_ALIGN(GENL_MAGIC_FAMILY_HDRSZ), NLA_ALIGN 1047 include/net/netlink.h return NLA_ALIGN(nla_attr_size(payload)); NLA_ALIGN 1108 include/net/netlink.h unsigned int totlen = NLA_ALIGN(nla->nla_len); NLA_ALIGN 1826 include/net/netlink.h return NLA_ALIGN(nla_attr_size(payload)) NLA_ALIGN 1828 include/net/netlink.h + NLA_ALIGN(nla_attr_size(0)) NLA_ALIGN 18 include/net/rtnh.h int totlen = NLA_ALIGN(rtnh->rtnh_len); NLA_ALIGN 26 include/net/rtnh.h return (struct nlattr *) ((char *) rtnh + NLA_ALIGN(sizeof(*rtnh))); NLA_ALIGN 31 include/net/rtnh.h return rtnh->rtnh_len - NLA_ALIGN(sizeof(*rtnh)); NLA_ALIGN 232 include/uapi/linux/netlink.h #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) NLA_ALIGN 686 lib/nlattr.c return skb_put_zero(skb, NLA_ALIGN(attrlen)); NLA_ALIGN 753 lib/nlattr.c if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) NLA_ALIGN 878 lib/nlattr.c if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) NLA_ALIGN 897 lib/nlattr.c if (unlikely(skb_tailroom(skb) < NLA_ALIGN(attrlen))) NLA_ALIGN 248 net/core/drop_monitor.c nla->nla_len += NLA_ALIGN(sizeof(struct net_dm_drop_point)); NLA_ALIGN 87 net/core/gen_stats.c NLA_ALIGN(d->tail->nla_len)); NLA_ALIGN 115 net/ife/ife.c if (NLA_ALIGN(tlvlen) < tlvlen) NLA_ALIGN 118 net/ife/ife.c if (unlikely(skbdata + NLA_ALIGN(tlvlen) > ifehdr_end)) NLA_ALIGN 150 net/ife/ife.c tlvlen = NLA_ALIGN(tlvlen); NLA_ALIGN 2386 net/ipv4/ipmr.c + maxvif * NLA_ALIGN(sizeof(struct rtnexthop)) NLA_ALIGN 2385 net/ipv6/ip6mr.c + maxvif * NLA_ALIGN(sizeof(struct rtnexthop)) NLA_ALIGN 5315 net/ipv6/route.c + NLA_ALIGN(sizeof(struct rtnexthop)) NLA_ALIGN 5342 net/ipv6/route.c + NLA_ALIGN(sizeof(struct rtnexthop)) NLA_ALIGN 624 net/netfilter/nf_conntrack_proto_dccp.c NLA_ALIGN(NLA_HDRLEN + 1) + \ NLA_ALIGN 625 net/netfilter/nf_conntrack_proto_dccp.c NLA_ALIGN(NLA_HDRLEN + 1) + \ NLA_ALIGN 626 net/netfilter/nf_conntrack_proto_dccp.c NLA_ALIGN(NLA_HDRLEN + sizeof(u64)) + \ NLA_ALIGN 627 net/netfilter/nf_conntrack_proto_dccp.c NLA_ALIGN(NLA_HDRLEN + 0)) NLA_ALIGN 549 net/netfilter/nf_conntrack_proto_sctp.c NLA_ALIGN(NLA_HDRLEN + 1) + \ NLA_ALIGN 550 net/netfilter/nf_conntrack_proto_sctp.c NLA_ALIGN(NLA_HDRLEN + 4) + \ NLA_ALIGN 551 net/netfilter/nf_conntrack_proto_sctp.c NLA_ALIGN(NLA_HDRLEN + 4)) NLA_ALIGN 1234 net/netfilter/nf_conntrack_proto_tcp.c NLA_ALIGN(NLA_HDRLEN + 1) + \ NLA_ALIGN 1235 net/netfilter/nf_conntrack_proto_tcp.c NLA_ALIGN(NLA_HDRLEN + 1) + \ NLA_ALIGN 1236 net/netfilter/nf_conntrack_proto_tcp.c NLA_ALIGN(NLA_HDRLEN + sizeof(struct nf_ct_tcp_flags)) + \ NLA_ALIGN 1237 net/netfilter/nf_conntrack_proto_tcp.c NLA_ALIGN(NLA_HDRLEN + sizeof(struct nf_ct_tcp_flags))) NLA_ALIGN 1941 net/openvswitch/conntrack.c rem = NLA_ALIGN(nla_len(nla_zone_limit)); NLA_ALIGN 1967 net/openvswitch/conntrack.c rem -= NLA_ALIGN(sizeof(*zone_limit)); NLA_ALIGN 1969 net/openvswitch/conntrack.c NLA_ALIGN(sizeof(*zone_limit))); NLA_ALIGN 1985 net/openvswitch/conntrack.c rem = NLA_ALIGN(nla_len(nla_zone_limit)); NLA_ALIGN 2002 net/openvswitch/conntrack.c rem -= NLA_ALIGN(sizeof(*zone_limit)); NLA_ALIGN 2004 net/openvswitch/conntrack.c NLA_ALIGN(sizeof(*zone_limit))); NLA_ALIGN 2056 net/openvswitch/conntrack.c rem = NLA_ALIGN(nla_len(nla_zone_limit)); NLA_ALIGN 2078 net/openvswitch/conntrack.c rem -= NLA_ALIGN(sizeof(*zone_limit)); NLA_ALIGN 2080 net/openvswitch/conntrack.c NLA_ALIGN(sizeof(*zone_limit))); NLA_ALIGN 356 net/openvswitch/datapath.c size += NLA_ALIGN(upcall_info->userdata->nla_len); NLA_ALIGN 376 net/openvswitch/datapath.c size_t plen = NLA_ALIGN(skb->len) - skb->len; NLA_ALIGN 2322 net/openvswitch/flow_netlink.c size_t req_size = NLA_ALIGN(attr_len); NLA_ALIGN 2941 net/openvswitch/flow_netlink.c int totlen = NLA_ALIGN(from->nla_len); NLA_ALIGN 122 net/sched/sch_mqprio.c int nested_len = nla_len(nla) - NLA_ALIGN(len); NLA_ALIGN 126 net/sched/sch_mqprio.c nla_data(nla) + NLA_ALIGN(len), NLA_ALIGN 167 net/sched/sch_mqprio.c len = nla_len(opt) - NLA_ALIGN(sizeof(*qopt)); NLA_ALIGN 933 net/sched/sch_netem.c int nested_len = nla_len(nla) - NLA_ALIGN(len); NLA_ALIGN 942 net/sched/sch_netem.c nla_data(nla) + NLA_ALIGN(len), NLA_ALIGN 188 tools/accounting/getdelays.c na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len)); NLA_ALIGN 477 tools/accounting/getdelays.c len += NLA_ALIGN(na->nla_len); NLA_ALIGN 523 tools/accounting/getdelays.c len2 += NLA_ALIGN(na->nla_len); NLA_ALIGN 525 tools/accounting/getdelays.c NLA_ALIGN(na->nla_len)); NLA_ALIGN 232 tools/include/uapi/linux/netlink.h #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) NLA_ALIGN 177 tools/lib/bpf/netlink.c req.nh.nlmsg_len += NLA_ALIGN(nla->nla_len); NLA_ALIGN 26 tools/lib/bpf/nlattr.c int totlen = NLA_ALIGN(nla->nla_len);