/linux-master/include/keys/ |
H A D | trusted_tpm.h | 43 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce);
|
/linux-master/net/sched/ |
H A D | ematch.c | 309 struct nlattr *tb[TCA_EMATCH_TREE_MAX + 1]; local 318 err = nla_parse_nested_deprecated(tb, TCA_EMATCH_TREE_MAX, nla, 324 rt_hdr = tb[TCA_EMATCH_TREE_HDR]; 325 rt_list = tb[TCA_EMATCH_TREE_LIST]; 343 * for a tb buffer which would serve no purpose at all.
|
H A D | act_connmark.c | 105 struct nlattr *tb[TCA_CONNMARK_MAX + 1]; local 116 ret = nla_parse_nested_deprecated(tb, TCA_CONNMARK_MAX, nla, 121 if (!tb[TCA_CONNMARK_PARMS]) 128 parm = nla_data(tb[TCA_CONNMARK_PARMS]);
|
/linux-master/arch/um/kernel/ |
H A D | uml.lds.S | 100 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
H A D | dyn.lds.S | 47 .rel.tbss : { *(.rel.tbss .rel.tbss.* .rel.gnu.linkonce.tb.*) } 48 .rela.tbss : { *(.rela.tbss .rela.tbss.* .rela.gnu.linkonce.tb.*) } 127 .tbss : { *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) }
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_private.h | 234 int vxlan_mdb_add(struct net_device *dev, struct nlattr *tb[], u16 nlmsg_flags, 236 int vxlan_mdb_del(struct net_device *dev, struct nlattr *tb[], 238 int vxlan_mdb_del_bulk(struct net_device *dev, struct nlattr *tb[], 240 int vxlan_mdb_get(struct net_device *dev, struct nlattr *tb[], u32 portid,
|
/linux-master/net/ethtool/ |
H A D | features.c | 221 struct nlattr **tb = info->attrs; local 226 if (!tb[ETHTOOL_A_FEATURES_WANTED]) 229 tb[ETHTOOL_A_FEATURES_HEADER], 243 tb[ETHTOOL_A_FEATURES_WANTED],
|
H A D | netlink.c | 92 struct nlattr *tb[ARRAY_SIZE(ethnl_header_policy)]; local 107 ret = nla_parse_nested(tb, ARRAY_SIZE(ethnl_header_policy) - 1, header, 111 if (tb[ETHTOOL_A_HEADER_FLAGS]) 112 flags = nla_get_u32(tb[ETHTOOL_A_HEADER_FLAGS]); 114 devname_attr = tb[ETHTOOL_A_HEADER_DEV_NAME]; 115 if (tb[ETHTOOL_A_HEADER_DEV_INDEX]) { 116 u32 ifindex = nla_get_u32(tb[ETHTOOL_A_HEADER_DEV_INDEX]); 122 tb[ETHTOOL_A_HEADER_DEV_INDEX], 333 struct nlattr **tb = info->attrs; local 336 ret = ethnl_parse_header_dev_get(req_info, tb[request_op [all...] |
/linux-master/drivers/dpll/ |
H A D | dpll_netlink.c | 940 struct nlattr *tb[DPLL_A_PIN_MAX + 1]; local 948 nla_parse_nested(tb, DPLL_A_PIN_MAX, parent_nest, 950 if (!tb[DPLL_A_PIN_PARENT_ID]) { 954 pdpll_idx = nla_get_u32(tb[DPLL_A_PIN_PARENT_ID]); 965 if (tb[DPLL_A_PIN_STATE]) { 966 state = nla_get_u32(tb[DPLL_A_PIN_STATE]); 971 if (tb[DPLL_A_PIN_PRIO]) { 972 prio = nla_get_u32(tb[DPLL_A_PIN_PRIO]); 977 if (tb[DPLL_A_PIN_DIRECTION]) { 978 direction = nla_get_u32(tb[DPLL_A_PIN_DIRECTIO 990 struct nlattr *tb[DPLL_A_PIN_MAX + 1]; local [all...] |
/linux-master/include/net/ |
H A D | genetlink.h | 370 * @tb: destination array with maxtype+1 elements 377 struct nlattr *tb[], int maxtype, 381 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, 389 * @tb: destination array with maxtype+1 elements 396 struct nlattr *tb[], int maxtype, 400 return __nlmsg_parse(nlh, family->hdrsize + GENL_HDRLEN, tb, maxtype, 375 genlmsg_parse_deprecated(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument 394 genlmsg_parse(const struct nlmsghdr *nlh, const struct genl_family *family, struct nlattr *tb[], int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack) argument
|
/linux-master/drivers/net/can/ |
H A D | vxcan.c | 176 struct nlattr *tb[], struct nlattr *data[], 183 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp = tb; 239 if (tb[IFLA_IFNAME]) 240 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); 175 vxcan_newlink(struct net *net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
|
/linux-master/net/ipv4/netfilter/ |
H A D | nft_fib_ipv4.c | 177 const struct nlattr * const tb[]) 181 if (!tb[NFTA_FIB_RESULT]) 184 result = ntohl(nla_get_be32(tb[NFTA_FIB_RESULT])); 176 nft_fib4_select_ops(const struct nft_ctx *ctx, const struct nlattr * const tb[]) argument
|
/linux-master/crypto/ |
H A D | xcbc.c | 184 static int xcbc_create(struct crypto_template *tmpl, struct rtattr **tb) argument 192 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SHASH, &mask); 202 crypto_attr_alg_name(tb[1]), 0, mask);
|
H A D | gcm.c | 575 struct rtattr **tb, 586 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_AEAD, &mask); 654 static int crypto_gcm_create(struct crypto_template *tmpl, struct rtattr **tb) argument 659 cipher_name = crypto_attr_alg_name(tb[1]); 667 return crypto_gcm_create_common(tmpl, tb, ctr_name, "ghash"); 671 struct rtattr **tb) 676 ctr_name = crypto_attr_alg_name(tb[1]); 680 ghash_name = crypto_attr_alg_name(tb[2]); 684 return crypto_gcm_create_common(tmpl, tb, ctr_name, ghash_name); 824 struct rtattr **tb) 574 crypto_gcm_create_common(struct crypto_template *tmpl, struct rtattr **tb, const char *ctr_name, const char *ghash_name) argument 670 crypto_gcm_base_create(struct crypto_template *tmpl, struct rtattr **tb) argument 823 crypto_rfc4106_create(struct crypto_template *tmpl, struct rtattr **tb) argument 1038 crypto_rfc4543_create(struct crypto_template *tmpl, struct rtattr **tb) argument [all...] |
H A D | ctr.c | 127 static int crypto_ctr_create(struct crypto_template *tmpl, struct rtattr **tb) argument 133 inst = skcipher_alloc_instance_simple(tmpl, tb); 258 struct rtattr **tb) 266 err = crypto_check_attr_type(tb, CRYPTO_ALG_TYPE_SKCIPHER, &mask); 277 crypto_attr_alg_name(tb[1]), 0, mask); 257 crypto_rfc3686_create(struct crypto_template *tmpl, struct rtattr **tb) argument
|
H A D | pcrypt.c | 236 static int pcrypt_create_aead(struct crypto_template *tmpl, struct rtattr **tb, argument 261 crypto_attr_alg_name(tb[1]), 0, mask); 295 static int pcrypt_create(struct crypto_template *tmpl, struct rtattr **tb) argument 299 algt = crypto_get_attr_type(tb); 305 return pcrypt_create_aead(tmpl, tb, algt);
|
/linux-master/include/crypto/ |
H A D | algapi.h | 96 int (*create)(struct crypto_template *tmpl, struct rtattr **tb); 165 struct crypto_attr_type *crypto_get_attr_type(struct rtattr **tb); 166 int crypto_check_attr_type(struct rtattr **tb, u32 type, u32 *mask_ret);
|
/linux-master/net/ipv4/ |
H A D | inet_timewait_sock.c | 33 struct inet_bind_bucket *tb = tw->tw_tb; local 35 if (!tb) 42 inet_bind_bucket_destroy(hashinfo->bind_bucket_cachep, tb);
|
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_config.c | 121 struct nlattr *tb[], struct nlattr *data[], 132 if (!tb[IFLA_LINK]) { 137 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); 277 static int rmnet_rtnl_validate(struct nlattr *tb[], struct nlattr *data[], argument 296 static int rmnet_changelink(struct net_device *dev, struct nlattr *tb[], argument 120 rmnet_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_proto_sctp.c | 603 struct nlattr *tb[CTA_PROTOINFO_SCTP_MAX+1]; local 610 err = nla_parse_nested_deprecated(tb, CTA_PROTOINFO_SCTP_MAX, attr, 615 if (!tb[CTA_PROTOINFO_SCTP_STATE] || 616 !tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL] || 617 !tb[CTA_PROTOINFO_SCTP_VTAG_REPLY]) 621 ct->proto.sctp.state = nla_get_u8(tb[CTA_PROTOINFO_SCTP_STATE]); 623 nla_get_be32(tb[CTA_PROTOINFO_SCTP_VTAG_ORIGINAL]); 625 nla_get_be32(tb[CTA_PROTOINFO_SCTP_VTAG_REPLY]); 637 static int sctp_timeout_nlattr_to_obj(struct nlattr *tb[], argument 653 if (tb[ [all...] |
H A D | nfnetlink_cttimeout.c | 74 struct nlattr **tb; local 77 tb = kcalloc(l4proto->ctnl_timeout.nlattr_max + 1, sizeof(*tb), 80 if (!tb) 83 ret = nla_parse_nested_deprecated(tb, 91 ret = l4proto->ctnl_timeout.nlattr_to_obj(tb, net, timeout); 94 kfree(tb);
|
/linux-master/drivers/net/ |
H A D | netkit.c | 268 static int netkit_check_policy(int policy, struct nlattr *tb, argument 276 NL_SET_ERR_MSG_ATTR(extack, tb, 282 static int netkit_check_mode(int mode, struct nlattr *tb, argument 290 NL_SET_ERR_MSG_ATTR(extack, tb, 296 static int netkit_validate(struct nlattr *tb[], struct nlattr *data[], argument 299 struct nlattr *attr = tb[IFLA_ADDRESS]; 311 struct nlattr *tb[], struct nlattr *data[], 314 struct nlattr *peer_tb[IFLA_MAX + 1], **tbp = tb, *attr; 407 if (tb[IFLA_IFNAME]) 408 nla_strscpy(dev->name, tb[IFLA_IFNAM 310 netkit_new_link(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument 832 netkit_change_link(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument [all...] |
/linux-master/net/mpls/ |
H A D | af_mpls.c | 1214 struct nlattr **tb, 1227 tb, NETCONFA_MAX, 1231 tb, NETCONFA_MAX, 1237 if (!tb[i]) 1257 struct nlattr *tb[NETCONFA_MAX + 1]; local 1264 err = mpls_netconf_valid_get_req(in_skb, nlh, tb, extack); 1269 if (!tb[NETCONFA_IFINDEX]) 1272 ifindex = nla_get_s32(tb[NETCONFA_IFINDEX]); 1813 struct nlattr *tb[RTA_MAX+1]; local 1817 err = nlmsg_parse_deprecated(nlh, sizeof(*rtm), tb, RTA_MA 1212 mpls_netconf_valid_get_req(struct sk_buff *skb, const struct nlmsghdr *nlh, struct nlattr **tb, struct netlink_ext_ack *extack) argument 2112 struct nlattr *tb[RTA_MAX + 1]; local 2302 mpls_valid_getroute_req(struct sk_buff *skb, const struct nlmsghdr *nlh, struct nlattr **tb, struct netlink_ext_ack *extack) argument 2366 struct nlattr *tb[RTA_MAX + 1]; local [all...] |
/linux-master/net/core/ |
H A D | neighbour.c | 1966 struct nlattr *tb[NDA_MAX+1]; local 1976 err = nlmsg_parse_deprecated(nlh, sizeof(*ndm), tb, NDA_MAX, 1982 if (!tb[NDA_DST]) { 1989 if (tb[NDA_FLAGS_EXT]) { 1990 u32 ext = nla_get_u32(tb[NDA_FLAGS_EXT]); 2004 if (tb[NDA_LLADDR] && nla_len(tb[NDA_LLADDR]) < dev->addr_len) { 2014 if (nla_len(tb[NDA_DST]) < (int)tbl->key_len) { 2019 dst = nla_data(tb[NDA_DST]); 2020 lladdr = tb[NDA_LLADD 2317 struct nlattr *tb[NDTA_MAX+1]; local 2801 struct nlattr *tb[NDA_MAX + 1]; local 2908 struct nlattr *tb[NDA_MAX + 1]; local [all...] |
/linux-master/net/ipv6/ |
H A D | seg6_local.c | 1894 struct nlattr *tb[SEG6_LOCAL_BPF_PROG_MAX + 1]; local 1899 ret = nla_parse_nested_deprecated(tb, SEG6_LOCAL_BPF_PROG_MAX, 1905 if (!tb[SEG6_LOCAL_BPF_PROG] || !tb[SEG6_LOCAL_BPF_PROG_NAME]) 1908 slwt->bpf.name = nla_memdup(tb[SEG6_LOCAL_BPF_PROG_NAME], GFP_KERNEL); 1912 fd = nla_get_u32(tb[SEG6_LOCAL_BPF_PROG]); 1974 struct nlattr *tb[SEG6_LOCAL_CNT_MAX + 1]; local 1977 ret = nla_parse_nested_deprecated(tb, SEG6_LOCAL_CNT_MAX, 1986 if (!tb[SEG6_LOCAL_CNT_PACKETS] || !tb[SEG6_LOCAL_CNT_BYTE 2102 seg6_parse_nla_next_csid_cfg(struct nlattr **tb, struct seg6_flavors_info *finfo, struct netlink_ext_ack *extack) argument 2133 struct nlattr *tb[SEG6_LOCAL_FLV_MAX + 1]; local 2498 struct nlattr *tb[SEG6_LOCAL_MAX + 1]; local [all...] |