nla_total_size 135 fs/dlm/netlink.c size = nla_total_size(sizeof(struct dlm_lock_data)) + nla_total_size 136 fs/dlm/netlink.c nla_total_size(0); /* why this? */ nla_total_size 950 fs/dquot.c int msg_size = 4 * nla_total_size(sizeof(u32)) + nla_total_size 951 fs/dquot.c 2 * nla_total_size(sizeof(u64)); nla_total_size 664 include/net/netlink.h return nla_total_size(payload) - nla_attr_size(payload); nla_total_size 404 kernel/taskstats.c size = nla_total_size(sizeof(struct cgroupstats)); nla_total_size 452 kernel/taskstats.c size = nla_total_size(sizeof(u32)) + nla_total_size 453 kernel/taskstats.c nla_total_size(sizeof(struct taskstats)) + nla_total_size(0); nla_total_size 527 kernel/taskstats.c size = nla_total_size(sizeof(u32)) + nla_total_size 528 kernel/taskstats.c nla_total_size(sizeof(struct taskstats)) + nla_total_size(0); nla_total_size 144 net/8021q/vlan_netlink.c return nla_total_size(sizeof(struct nlattr)) + nla_total_size 145 net/8021q/vlan_netlink.c nla_total_size(sizeof(struct ifla_vlan_qos_mapping)) * n; nla_total_size 152 net/8021q/vlan_netlink.c return nla_total_size(2) + /* IFLA_VLAN_ID */ nla_total_size 22 net/bridge/br_netlink.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ nla_total_size 23 net/bridge/br_netlink.c + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ nla_total_size 24 net/bridge/br_netlink.c + nla_total_size(4) /* IFLA_MASTER */ nla_total_size 25 net/bridge/br_netlink.c + nla_total_size(4) /* IFLA_MTU */ nla_total_size 26 net/bridge/br_netlink.c + nla_total_size(4) /* IFLA_LINK */ nla_total_size 27 net/bridge/br_netlink.c + nla_total_size(1) /* IFLA_OPERSTATE */ nla_total_size 28 net/bridge/br_netlink.c + nla_total_size(1); /* IFLA_PROTINFO */ nla_total_size 450 net/core/fib_rules.c + nla_total_size(IFNAMSIZ) /* FRA_IFNAME */ nla_total_size 451 net/core/fib_rules.c + nla_total_size(4) /* FRA_PRIORITY */ nla_total_size 452 net/core/fib_rules.c + nla_total_size(4) /* FRA_TABLE */ nla_total_size 453 net/core/fib_rules.c + nla_total_size(4) /* FRA_FWMARK */ nla_total_size 454 net/core/fib_rules.c + nla_total_size(4); /* FRA_FWMASK */ nla_total_size 2521 net/core/neighbour.c + nla_total_size(MAX_ADDR_LEN) /* NDA_DST */ nla_total_size 2522 net/core/neighbour.c + nla_total_size(MAX_ADDR_LEN) /* NDA_LLADDR */ nla_total_size 2523 net/core/neighbour.c + nla_total_size(sizeof(struct nda_cacheinfo)) nla_total_size 2524 net/core/neighbour.c + nla_total_size(4); /* NDA_PROBES */ nla_total_size 588 net/core/rtnetlink.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ nla_total_size 589 net/core/rtnetlink.c + nla_total_size(IFALIASZ) /* IFLA_IFALIAS */ nla_total_size 590 net/core/rtnetlink.c + nla_total_size(IFNAMSIZ) /* IFLA_QDISC */ nla_total_size 591 net/core/rtnetlink.c + nla_total_size(sizeof(struct rtnl_link_ifmap)) nla_total_size 592 net/core/rtnetlink.c + nla_total_size(sizeof(struct rtnl_link_stats)) nla_total_size 593 net/core/rtnetlink.c + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ nla_total_size 594 net/core/rtnetlink.c + nla_total_size(MAX_ADDR_LEN) /* IFLA_BROADCAST */ nla_total_size 595 net/core/rtnetlink.c + nla_total_size(4) /* IFLA_TXQLEN */ nla_total_size 596 net/core/rtnetlink.c + nla_total_size(4) /* IFLA_WEIGHT */ nla_total_size 597 net/core/rtnetlink.c + nla_total_size(4) /* IFLA_MTU */ nla_total_size 598 net/core/rtnetlink.c + nla_total_size(4) /* IFLA_LINK */ nla_total_size 599 net/core/rtnetlink.c + nla_total_size(4) /* IFLA_MASTER */ nla_total_size 600 net/core/rtnetlink.c + nla_total_size(1) /* IFLA_OPERSTATE */ nla_total_size 601 net/core/rtnetlink.c + nla_total_size(1) /* IFLA_LINKMODE */ nla_total_size 722 net/decnet/dn_dev.c + nla_total_size(IFNAMSIZ) /* IFA_LABEL */ nla_total_size 723 net/decnet/dn_dev.c + nla_total_size(2) /* IFA_ADDRESS */ nla_total_size 724 net/decnet/dn_dev.c + nla_total_size(2); /* IFA_LOCAL */ nla_total_size 270 net/decnet/dn_table.c + nla_total_size(4) /* RTA_TABLE */ nla_total_size 271 net/decnet/dn_table.c + nla_total_size(2) /* RTA_DST */ nla_total_size 272 net/decnet/dn_table.c + nla_total_size(4); /* RTA_PRIORITY */ nla_total_size 275 net/decnet/dn_table.c payload += nla_total_size((RTAX_MAX * nla_total_size(4))); nla_total_size 281 net/decnet/dn_table.c size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); nla_total_size 284 net/decnet/dn_table.c nhsize += nla_total_size(4); nla_total_size 287 net/decnet/dn_table.c payload += nla_total_size(fi->fib_nhs * nhsize); nla_total_size 1119 net/ipv4/devinet.c + nla_total_size(4) /* IFA_ADDRESS */ nla_total_size 1120 net/ipv4/devinet.c + nla_total_size(4) /* IFA_LOCAL */ nla_total_size 1121 net/ipv4/devinet.c + nla_total_size(4) /* IFA_BROADCAST */ nla_total_size 1122 net/ipv4/devinet.c + nla_total_size(IFNAMSIZ); /* IFA_LABEL */ nla_total_size 319 net/ipv4/fib_frontend.c return len + nla_total_size(4); nla_total_size 430 net/ipv4/fib_frontend.c mx = kzalloc(3 * nla_total_size(4), GFP_KERNEL); nla_total_size 256 net/ipv4/fib_rules.c return nla_total_size(4) /* dst */ nla_total_size 257 net/ipv4/fib_rules.c + nla_total_size(4) /* src */ nla_total_size 258 net/ipv4/fib_rules.c + nla_total_size(4); /* flow */ nla_total_size 280 net/ipv4/fib_semantics.c + nla_total_size(4) /* RTA_TABLE */ nla_total_size 281 net/ipv4/fib_semantics.c + nla_total_size(4) /* RTA_DST */ nla_total_size 282 net/ipv4/fib_semantics.c + nla_total_size(4) /* RTA_PRIORITY */ nla_total_size 283 net/ipv4/fib_semantics.c + nla_total_size(4); /* RTA_PREFSRC */ nla_total_size 286 net/ipv4/fib_semantics.c payload += nla_total_size((RTAX_MAX * nla_total_size(4))); nla_total_size 292 net/ipv4/fib_semantics.c size_t nhsize = nla_total_size(sizeof(struct rtnexthop)); nla_total_size 295 net/ipv4/fib_semantics.c nhsize += 2 * nla_total_size(4); nla_total_size 298 net/ipv4/fib_semantics.c payload += nla_total_size(fi->fib_nhs * nhsize); nla_total_size 1512 net/ipv4/ip_gre.c nla_total_size(4) + nla_total_size 1514 net/ipv4/ip_gre.c nla_total_size(2) + nla_total_size 1516 net/ipv4/ip_gre.c nla_total_size(2) + nla_total_size 1518 net/ipv4/ip_gre.c nla_total_size(4) + nla_total_size 1520 net/ipv4/ip_gre.c nla_total_size(4) + nla_total_size 1522 net/ipv4/ip_gre.c nla_total_size(4) + nla_total_size 1524 net/ipv4/ip_gre.c nla_total_size(4) + nla_total_size 1526 net/ipv4/ip_gre.c nla_total_size(1) + nla_total_size 1528 net/ipv4/ip_gre.c nla_total_size(1) + nla_total_size 1530 net/ipv4/ip_gre.c nla_total_size(1) + nla_total_size 3375 net/ipv6/addrconf.c + nla_total_size(16) /* IFA_ADDRESS */ nla_total_size 3376 net/ipv6/addrconf.c + nla_total_size(sizeof(struct ifa_cacheinfo)); nla_total_size 3699 net/ipv6/addrconf.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ nla_total_size 3700 net/ipv6/addrconf.c + nla_total_size(MAX_ADDR_LEN) /* IFLA_ADDRESS */ nla_total_size 3701 net/ipv6/addrconf.c + nla_total_size(4) /* IFLA_MTU */ nla_total_size 3702 net/ipv6/addrconf.c + nla_total_size(4) /* IFLA_LINK */ nla_total_size 3703 net/ipv6/addrconf.c + nla_total_size( /* IFLA_PROTINFO */ nla_total_size 3704 net/ipv6/addrconf.c nla_total_size(4) /* IFLA_INET6_FLAGS */ nla_total_size 3705 net/ipv6/addrconf.c + nla_total_size(sizeof(struct ifla_cacheinfo)) nla_total_size 3706 net/ipv6/addrconf.c + nla_total_size(DEVCONF_MAX * 4) /* IFLA_INET6_CONF */ nla_total_size 3707 net/ipv6/addrconf.c + nla_total_size(IPSTATS_MIB_MAX * 8) /* IFLA_INET6_STATS */ nla_total_size 3708 net/ipv6/addrconf.c + nla_total_size(ICMP6_MIB_MAX * 8) /* IFLA_INET6_ICMP6STATS */ nla_total_size 3864 net/ipv6/addrconf.c + nla_total_size(sizeof(struct in6_addr)) nla_total_size 3865 net/ipv6/addrconf.c + nla_total_size(sizeof(struct prefix_cacheinfo)); nla_total_size 532 net/ipv6/addrlabel.c + nla_total_size(16) /* IFAL_ADDRESS */ nla_total_size 533 net/ipv6/addrlabel.c + nla_total_size(4) /* IFAL_LABEL */ nla_total_size 244 net/ipv6/fib6_rules.c return nla_total_size(16) /* dst */ nla_total_size 245 net/ipv6/fib6_rules.c + nla_total_size(16); /* src */ nla_total_size 1032 net/ipv6/ndisc.c size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); nla_total_size 2120 net/ipv6/route.c + nla_total_size(16) /* RTA_SRC */ nla_total_size 2121 net/ipv6/route.c + nla_total_size(16) /* RTA_DST */ nla_total_size 2122 net/ipv6/route.c + nla_total_size(16) /* RTA_GATEWAY */ nla_total_size 2123 net/ipv6/route.c + nla_total_size(16) /* RTA_PREFSRC */ nla_total_size 2124 net/ipv6/route.c + nla_total_size(4) /* RTA_TABLE */ nla_total_size 2125 net/ipv6/route.c + nla_total_size(4) /* RTA_IIF */ nla_total_size 2126 net/ipv6/route.c + nla_total_size(4) /* RTA_OIF */ nla_total_size 2127 net/ipv6/route.c + nla_total_size(4) /* RTA_PRIORITY */ nla_total_size 2128 net/ipv6/route.c + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ nla_total_size 2129 net/ipv6/route.c + nla_total_size(sizeof(struct rta_cacheinfo)); nla_total_size 500 net/netfilter/nfnetlink_log.c if (skb_tailroom(inst->skb) < nla_total_size(data_len)) { nla_total_size 505 net/netfilter/nfnetlink_log.c nla = (struct nlattr *)skb_put(inst->skb, nla_total_size(data_len)); nla_total_size 568 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(struct nfulnl_msg_packet_hdr)) nla_total_size 569 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 570 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 572 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 573 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 575 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* mark */ nla_total_size 576 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* uid */ nla_total_size 577 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(u_int32_t)) /* gid */ nla_total_size 578 net/netfilter/nfnetlink_log.c + nla_total_size(plen) /* prefix */ nla_total_size 579 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(struct nfulnl_msg_packet_hw)) nla_total_size 580 net/netfilter/nfnetlink_log.c + nla_total_size(sizeof(struct nfulnl_msg_packet_timestamp)); nla_total_size 585 net/netfilter/nfnetlink_log.c size += nla_total_size(sizeof(u_int32_t)); nla_total_size 587 net/netfilter/nfnetlink_log.c size += nla_total_size(sizeof(u_int32_t)); nla_total_size 607 net/netfilter/nfnetlink_log.c size += nla_total_size(data_len); nla_total_size 228 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(struct nfqnl_msg_packet_hdr)) nla_total_size 229 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 230 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 232 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 233 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(u_int32_t)) /* ifindex */ nla_total_size 235 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(u_int32_t)) /* mark */ nla_total_size 236 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(struct nfqnl_msg_packet_hw)) nla_total_size 237 net/netfilter/nfnetlink_queue.c + nla_total_size(sizeof(struct nfqnl_msg_packet_timestamp)); nla_total_size 261 net/netfilter/nfnetlink_queue.c size += nla_total_size(data_len); nla_total_size 364 net/netfilter/nfnetlink_queue.c if (skb_tailroom(skb) < nla_total_size(data_len)) { nla_total_size 369 net/netfilter/nfnetlink_queue.c nla = (struct nlattr *)skb_put(skb, nla_total_size(data_len)); nla_total_size 294 net/netlink/attr.c nla = (struct nlattr *) skb_put(skb, nla_total_size(attrlen)); nla_total_size 337 net/netlink/attr.c if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) nla_total_size 409 net/netlink/attr.c if (unlikely(skb_tailroom(skb) < nla_total_size(attrlen))) nla_total_size 41 net/phonet/pn_netlink.c nla_total_size(1), GFP_KERNEL); nla_total_size 665 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrmu_spdinfo)) nla_total_size 666 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrmu_spdhinfo)); nla_total_size 724 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrmu_sadhinfo)) nla_total_size 725 net/xfrm/xfrm_user.c + nla_total_size(4); /* XFRMA_SAD_CNT */ nla_total_size 1203 net/xfrm/xfrm_user.c return nla_total_size(sizeof(struct xfrm_userpolicy_type)); nla_total_size 1416 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrm_replay_state)) nla_total_size 1417 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrm_lifetime_cur)) nla_total_size 1418 net/xfrm/xfrm_user.c + nla_total_size(4) /* XFRM_AE_RTHR */ nla_total_size 1419 net/xfrm/xfrm_user.c + nla_total_size(4); /* XFRM_AE_ETHR */ nla_total_size 1827 net/xfrm/xfrm_user.c + (with_kma ? nla_total_size(sizeof(struct xfrm_kmaddress)) : 0) nla_total_size 1828 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrm_user_migrate) * num_migrate) nla_total_size 2091 net/xfrm/xfrm_user.c l += nla_total_size(aead_len(x->aead)); nla_total_size 2093 net/xfrm/xfrm_user.c l += nla_total_size(xfrm_alg_len(x->aalg)); nla_total_size 2095 net/xfrm/xfrm_user.c l += nla_total_size(xfrm_alg_len(x->ealg)); nla_total_size 2097 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(*x->calg)); nla_total_size 2099 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(*x->encap)); nla_total_size 2101 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(struct xfrm_user_sec_ctx) + nla_total_size 2104 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(*x->coaddr)); nla_total_size 2107 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(u64)); nla_total_size 2123 net/xfrm/xfrm_user.c len += nla_total_size(headlen); nla_total_size 2194 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) nla_total_size 2195 net/xfrm/xfrm_user.c + nla_total_size(xfrm_user_sec_ctx_size(x->security)) nla_total_size 2312 net/xfrm/xfrm_user.c + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) nla_total_size 2313 net/xfrm/xfrm_user.c + nla_total_size(xfrm_user_sec_ctx_size(xp->security)) nla_total_size 2365 net/xfrm/xfrm_user.c int len = nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr); nla_total_size 2370 net/xfrm/xfrm_user.c len += nla_total_size(headlen);