/openbmc/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 51 type: nest 65 type: nest 87 type: nest 101 type: nest 109 type: nest 117 type: nest 121 type: nest 132 type: nest 136 type: nest 144 type: nest [all …]
|
H A D | ovs_flow.yaml | 378 type: nest 385 type: nest 425 type: nest 467 type: nest 528 type: nest 577 type: nest 608 type: nest 612 type: nest 626 type: nest 653 type: nest [all …]
|
H A D | devlink.yaml | 86 type: nest 91 type: nest 96 type: nest 149 type: nest 154 type: nest 158 type: nest 169 type: nest 173 type: nest 178 type: nest 202 type: nest [all …]
|
H A D | rt_link.yaml | 785 type: nest 798 type: nest 806 type: nest 810 type: nest 814 type: nest 866 type: nest 894 type: nest 939 type: nest 944 type: nest 949 type: nest [all …]
|
/openbmc/linux/net/ethtool/ |
H A D | cabletest.c | 130 phydev->nest = nla_nest_start(phydev->skb, in ethnl_cable_test_alloc() 132 if (!phydev->nest) { in ethnl_cable_test_alloc() 155 nla_nest_end(phydev->skb, phydev->nest); in ethnl_cable_test_finished() 165 struct nlattr *nest; in ethnl_cable_test_result() local 168 nest = nla_nest_start(phydev->skb, ETHTOOL_A_CABLE_NEST_RESULT); in ethnl_cable_test_result() 169 if (!nest) in ethnl_cable_test_result() 177 nla_nest_end(phydev->skb, nest); in ethnl_cable_test_result() 181 nla_nest_cancel(phydev->skb, nest); in ethnl_cable_test_result() 188 struct nlattr *nest; in ethnl_cable_test_fault_length() local 191 nest = nla_nest_start(phydev->skb, in ethnl_cable_test_fault_length() [all …]
|
H A D | strset.c | 160 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() argument 166 ret = nla_parse_nested(tb, ARRAY_SIZE(get_stringset_policy) - 1, nest, in strset_get_id() 170 if (NL_REQ_ATTR_CHECK(extack, nest, tb, ETHTOOL_A_STRINGSET_ID)) in strset_get_id() 186 struct nlattr *nest = tb[ETHTOOL_A_STRSET_STRINGSETS]; in strset_parse_request() local 190 if (!nest) in strset_parse_request() 192 ret = nla_validate_nested(nest, in strset_parse_request() 199 nla_for_each_nested(attr, nest, rem) { in strset_parse_request() 323 /* calculate size of ETHTOOL_A_STRSET_STRINGSET nest for one string set */ 337 /* ETHTOOL_A_STRING_INDEX, ETHTOOL_A_STRING_VALUE, nest */ in strset_set_size() 442 struct nlattr *nest; in strset_fill_reply() local [all …]
|
H A D | stats.c | 209 struct nlattr *nest; in stat_put() local 217 * of ETHTOOL_A_STATS_GRP_STAT. Since we're one nest away from the in stat_put() 227 nest = nla_nest_start(skb, ETHTOOL_A_STATS_GRP_STAT); in stat_put() 228 if (!nest) in stat_put() 233 nla_nest_cancel(skb, nest); in stat_put() 237 nla_nest_end(skb, nest); in stat_put() 317 struct nlattr *nest; in stats_put_rmon_hist() local 329 nest = nla_nest_start(skb, attr); in stats_put_rmon_hist() 330 if (!nest) in stats_put_rmon_hist() 341 nla_nest_end(skb, nest); in stats_put_rmon_hist() [all …]
|
H A D | bitset.c | 205 /* bit nest */ in ethnl_bitset32_size() 208 /* bits nest */ in ethnl_bitset32_size() 212 /* outermost nest */ in ethnl_bitset32_size() 217 * ethnl_put_bitset32() - Put a bitset nest into a message 219 * @attrtype: attribute type for the bitset nest 236 struct nlattr *nest; in ethnl_put_bitset32() local 239 nest = nla_nest_start(skb, attrtype); in ethnl_put_bitset32() 240 if (!nest) in ethnl_put_bitset32() 297 nla_nest_end(skb, nest); in ethnl_put_bitset32() 301 nla_nest_cancel(skb, nest); in ethnl_put_bitset32() [all …]
|
H A D | pause.c | 121 struct nlattr *nest; in pause_put_stats() local 126 nest = nla_nest_start(skb, ETHTOOL_A_PAUSE_STATS); in pause_put_stats() 127 if (!nest) in pause_put_stats() 136 nla_nest_end(skb, nest); in pause_put_stats() 140 nla_nest_cancel(skb, nest); in pause_put_stats()
|
/openbmc/linux/include/uapi/linux/ |
H A D | ethtool_netlink.h | 157 ETHTOOL_A_BITSET_BITS_BIT, /* nest - _A_BITSET_BIT_* */ 168 ETHTOOL_A_BITSET_BITS, /* nest - _A_BITSET_BITS_* */ 191 ETHTOOL_A_STRINGS_STRING, /* nest - _A_STRINGS_* */ 202 ETHTOOL_A_STRINGSET_STRINGS, /* nest - _A_STRINGS_* */ 211 ETHTOOL_A_STRINGSETS_STRINGSET, /* nest - _A_STRINGSET_* */ 222 ETHTOOL_A_STRSET_HEADER, /* nest - _A_HEADER_* */ 223 ETHTOOL_A_STRSET_STRINGSETS, /* nest - _A_STRINGSETS_* */ 235 ETHTOOL_A_LINKINFO_HEADER, /* nest - _A_HEADER_* */ 251 ETHTOOL_A_LINKMODES_HEADER, /* nest - _A_HEADER_* */ 271 ETHTOOL_A_LINKSTATE_HEADER, /* nest - _A_HEADER_* */ [all …]
|
H A D | tipc_netlink.h | 77 TIPC_NLA_BEARER, /* nest */ 78 TIPC_NLA_SOCK, /* nest */ 79 TIPC_NLA_PUBL, /* nest */ 80 TIPC_NLA_LINK, /* nest */ 81 TIPC_NLA_MEDIA, /* nest */ 82 TIPC_NLA_NODE, /* nest */ 83 TIPC_NLA_NET, /* nest */ 84 TIPC_NLA_NAME_TABLE, /* nest */ 85 TIPC_NLA_MON, /* nest */ 86 TIPC_NLA_MON_PEER, /* nest */ [all …]
|
H A D | smc.h | 70 SMC_GEN_SYS_INFO, /* nest */ 71 SMC_GEN_LGR_SMCR, /* nest */ 72 SMC_GEN_LINK_SMCR, /* nest */ 73 SMC_GEN_LGR_SMCD, /* nest */ 74 SMC_GEN_DEV_SMCD, /* nest */ 75 SMC_GEN_DEV_SMCR, /* nest */ 76 SMC_GEN_STATS, /* nest */ 77 SMC_GEN_FBACK_STATS, /* nest */ 125 SMC_NLA_LGR_R_V2_COMMON, /* nest */ 126 SMC_NLA_LGR_R_V2, /* nest */ [all …]
|
H A D | if_team.h | 35 TEAM_ATTR_LIST_OPTION, /* nest */ 36 TEAM_ATTR_LIST_PORT, /* nest */ 60 TEAM_ATTR_ITEM_OPTION, /* nest */ 82 TEAM_ATTR_ITEM_PORT, /* nest */
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink_hook.c | 63 struct nlattr *nest = nla_nest_start(nlskb, NFNLA_HOOK_CHAIN_INFO); in nfnl_start_info_type() local 66 if (!nest) in nfnl_start_info_type() 71 return nest; in nfnl_start_info_type() 73 nla_nest_cancel(nlskb, nest); in nfnl_start_info_type() 82 struct nlattr *nest, *nest2; in nfnl_hook_put_bpf_prog_info() local 91 nest = nfnl_start_info_type(nlskb, NFNL_HOOK_TYPE_BPF); in nfnl_hook_put_bpf_prog_info() 92 if (!nest) in nfnl_hook_put_bpf_prog_info() 104 nla_nest_end(nlskb, nest); in nfnl_hook_put_bpf_prog_info() 108 nla_nest_cancel(nlskb, nest); in nfnl_hook_put_bpf_prog_info() 118 struct nlattr *nest, *nest2; in nfnl_hook_put_nft_chain_info() local [all …]
|
H A D | nft_tunnel.c | 539 struct nlattr *nest; in nft_tunnel_ip_dump() local 542 nest = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_IP6); in nft_tunnel_ip_dump() 543 if (!nest) in nft_tunnel_ip_dump() 552 nla_nest_cancel(skb, nest); in nft_tunnel_ip_dump() 556 nla_nest_end(skb, nest); in nft_tunnel_ip_dump() 558 nest = nla_nest_start_noflag(skb, NFTA_TUNNEL_KEY_IP); in nft_tunnel_ip_dump() 559 if (!nest) in nft_tunnel_ip_dump() 566 nla_nest_cancel(skb, nest); in nft_tunnel_ip_dump() 570 nla_nest_end(skb, nest); in nft_tunnel_ip_dump() 580 struct nlattr *nest, *inner; in nft_tunnel_opts_dump() local [all …]
|
/openbmc/linux/drivers/crypto/nx/ |
H A D | Kconfig | 10 Support for PowerPC Nest (NX) encryption acceleration. This 21 Support for PowerPC Nest (NX) compression acceleration. This 35 Support for PowerPC Nest (NX) compression acceleration. This 46 Support for PowerPC Nest (NX) compression acceleration. This
|
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 76 struct nlattr *nest, *port_nest; in br_rports_fill_info() local 82 nest = nla_nest_start_noflag(skb, MDBA_ROUTER); in br_rports_fill_info() 83 if (nest == NULL) in br_rports_fill_info() 128 nla_nest_end(skb, nest); in br_rports_fill_info() 131 nla_nest_cancel(skb, nest); in br_rports_fill_info() 178 struct nlattr *nest, *nest_ent; in __mdb_fill_srcs() local 183 nest = nla_nest_start(skb, MDBA_MDB_EATTR_SRC_LIST); in __mdb_fill_srcs() 184 if (!nest) in __mdb_fill_srcs() 221 nla_nest_end(skb, nest); in __mdb_fill_srcs() 226 nla_nest_cancel(skb, nest); in __mdb_fill_srcs() [all …]
|
/openbmc/linux/net/8021q/ |
H A D | vlan_netlink.c | 228 struct nlattr *nest; in vlan_fill_info() local 241 nest = nla_nest_start_noflag(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info() 242 if (nest == NULL) in vlan_fill_info() 255 nla_nest_end(skb, nest); in vlan_fill_info() 259 nest = nla_nest_start_noflag(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info() 260 if (nest == NULL) in vlan_fill_info() 276 nla_nest_end(skb, nest); in vlan_fill_info()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | 734 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() local 737 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_GENEVE); in ip_tun_fill_encap_opts_geneve() 738 if (!nest) in ip_tun_fill_encap_opts_geneve() 748 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_geneve() 754 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_geneve() 762 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() local 764 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_VXLAN); in ip_tun_fill_encap_opts_vxlan() 765 if (!nest) in ip_tun_fill_encap_opts_vxlan() 770 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_vxlan() 774 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_vxlan() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_nest_pervasive.c | 2 * QEMU PowerPC nest pervasive common chiplet model 24 * "nest chiplets" (with everything else). Each chiplet has an attachment 26 * All nest chiplets have a common basic set of registers. 29 * nest unit (PB Chiplet, PCI Chiplets, MC Chiplet, PAU Chiplets) 188 dc->desc = "PowerNV nest pervasive chiplet"; in pnv_nest_pervasive_class_init()
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | ethtool-user.c | 208 …[ETHTOOL_A_CABLE_NEST_RESULT] = { .name = "result", .type = YNL_PT_NEST, .nest = ðtool_cable_re… 209 …[ETHTOOL_A_CABLE_NEST_FAULT_LENGTH] = { .name = "fault-length", .type = YNL_PT_NEST, .nest = ðt… 218 …[ETHTOOL_A_BITSET_BITS_BIT] = { .name = "bit", .type = YNL_PT_NEST, .nest = ðtool_bitset_bit_ne… 227 …[ETHTOOL_A_STRINGS_STRING] = { .name = "string", .type = YNL_PT_NEST, .nest = ðtool_string_nest… 238 …[ETHTOOL_A_BITSET_BITS] = { .name = "bits", .type = YNL_PT_NEST, .nest = ðtool_bitset_bits_nest… 249 …[ETHTOOL_A_STRINGSET_STRINGS] = { .name = "strings", .type = YNL_PT_NEST, .nest = ðtool_strings… 259 …[ETHTOOL_A_TUNNEL_UDP_TABLE_TYPES] = { .name = "types", .type = YNL_PT_NEST, .nest = ðtool_bits… 260 …[ETHTOOL_A_TUNNEL_UDP_TABLE_ENTRY] = { .name = "entry", .type = YNL_PT_NEST, .nest = ðtool_tunn… 269 …[ETHTOOL_A_STRINGSETS_STRINGSET] = { .name = "stringset", .type = YNL_PT_NEST, .nest = ðtool_st… 278 …[ETHTOOL_A_TUNNEL_UDP_TABLE] = { .name = "table", .type = YNL_PT_NEST, .nest = ðtool_tunnel_udp… [all …]
|
/openbmc/linux/net/sched/ |
H A D | act_api.c | 513 struct nlattr *nest; in tcf_dump_walker() local 537 nest = nla_nest_start_noflag(skb, n_i); in tcf_dump_walker() 538 if (!nest) { in tcf_dump_walker() 547 nlmsg_trim(skb, nest); in tcf_dump_walker() 550 nla_nest_end(skb, nest); in tcf_dump_walker() 568 nla_nest_cancel(skb, nest); in tcf_dump_walker() 590 struct nlattr *nest; in tcf_del_walker() local 598 nest = nla_nest_start_noflag(skb, 0); in tcf_del_walker() 599 if (nest == NULL) in tcf_del_walker() 627 nla_nest_end(skb, nest); in tcf_del_walker() [all …]
|
H A D | cls_cgroup.c | 176 struct nlattr *nest; in cls_cgroup_dump() local 180 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in cls_cgroup_dump() 181 if (nest == NULL) in cls_cgroup_dump() 188 nla_nest_end(skb, nest); in cls_cgroup_dump() 196 nla_nest_cancel(skb, nest); in cls_cgroup_dump()
|
/openbmc/linux/kernel/events/ |
H A D | ring_buffer.c | 46 (*(volatile unsigned int *)&rb->nest)++; in perf_output_get_handle() 54 unsigned int nest; in perf_output_put_handle() local 60 nest = READ_ONCE(rb->nest); in perf_output_put_handle() 61 if (nest > 1) { in perf_output_put_handle() 62 WRITE_ONCE(rb->nest, nest - 1); in perf_output_put_handle() 70 * incremented @rb->nest. in perf_output_put_handle() 113 * We must publish the head before decrementing the nest count, in perf_output_put_handle() 118 WRITE_ONCE(rb->nest, 0); in perf_output_put_handle() 121 * Ensure we decrement @rb->nest before we validate the @rb->head. in perf_output_put_handle() 126 WRITE_ONCE(rb->nest, 1); in perf_output_put_handle() [all …]
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | netlink.c | 400 size = nla_total_size(0); /* nest IFLA_CAN_TDC */ in can_tdc_get_size() 426 return nla_total_size(0) + /* nest IFLA_CAN_CTRLMODE_EXT */ in can_ctrlmode_ext_get_size() 469 struct nlattr *nest; in can_tdc_fill_info() local 477 nest = nla_nest_start(skb, IFLA_CAN_TDC); in can_tdc_fill_info() 478 if (!nest) in can_tdc_fill_info() 512 nla_nest_end(skb, nest); in can_tdc_fill_info() 516 nla_nest_cancel(skb, nest); in can_tdc_fill_info() 523 struct nlattr *nest; in can_ctrlmode_ext_fill_info() local 525 nest = nla_nest_start(skb, IFLA_CAN_CTRLMODE_EXT); in can_ctrlmode_ext_fill_info() 526 if (!nest) in can_ctrlmode_ext_fill_info() [all …]
|