/openbmc/linux/net/ethtool/ |
H A D | cabletest.c | 132 if (!phydev->nest) { in ethnl_cable_test_alloc() 165 struct nlattr *nest; in ethnl_cable_test_result() local 169 if (!nest) in ethnl_cable_test_result() 188 struct nlattr *nest; in ethnl_cable_test_fault_length() local 193 if (!nest) in ethnl_cable_test_fault_length() 240 if (!nest) in ethnl_act_cable_test_tdr_cfg() 363 struct nlattr *nest; in ethnl_cable_test_amplitude() local 368 if (!nest) in ethnl_cable_test_amplitude() 387 struct nlattr *nest; in ethnl_cable_test_pulse() local 391 if (!nest) in ethnl_cable_test_pulse() [all …]
|
H A D | strset.c | 160 static int strset_get_id(const struct nlattr *nest, u32 *val, in strset_get_id() argument 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() 442 struct nlattr *nest; in strset_fill_reply() local 446 nest = nla_nest_start(skb, ETHTOOL_A_STRSET_STRINGSETS); in strset_fill_reply() 447 if (!nest) in strset_fill_reply() 459 nla_nest_end(skb, nest); in strset_fill_reply() [all …]
|
H A D | stats.c | 209 struct nlattr *nest; in stat_put() local 228 if (!nest) in stat_put() 237 nla_nest_end(skb, nest); in stat_put() 317 struct nlattr *nest; in stats_put_rmon_hist() local 330 if (!nest) in stats_put_rmon_hist() 341 nla_nest_end(skb, nest); in stats_put_rmon_hist() 347 nla_nest_cancel(skb, nest); in stats_put_rmon_hist() 379 struct nlattr *nest; in stats_put_stats() local 382 if (!nest) in stats_put_stats() 392 nla_nest_end(skb, nest); in stats_put_stats() [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()
|
H A D | mm.c | 96 struct nlattr *nest; in mm_put_stats() local 98 nest = nla_nest_start(skb, ETHTOOL_A_MM_STATS); in mm_put_stats() 99 if (!nest) in mm_put_stats() 116 nla_nest_end(skb, nest); in mm_put_stats() 120 nla_nest_cancel(skb, nest); in mm_put_stats()
|
H A D | bitset.c | 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() 481 const struct nlattr *nest, in ethnl_compact_sanity_checks() argument 495 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks() 500 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks() 505 NL_SET_ERR_MSG_ATTR(extack, nest, in ethnl_compact_sanity_checks()
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | ethtool.yaml | 51 type: nest 65 type: nest 82 type: nest 96 type: nest 104 type: nest 112 type: nest 116 type: nest 127 type: nest 131 type: nest 139 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 | 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 …]
|
/openbmc/linux/net/netfilter/ |
H A D | nfnetlink_hook.c | 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 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 128 if (!nest) in nfnl_hook_put_nft_chain_info() 148 nla_nest_end(nlskb, nest); in nfnl_hook_put_nft_chain_info() [all …]
|
H A D | nft_tunnel.c | 539 struct nlattr *nest; in nft_tunnel_ip_dump() local 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() 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 583 if (!nest) in nft_tunnel_opts_dump() 636 nla_nest_end(skb, nest); in nft_tunnel_opts_dump() [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/tools/testing/selftests/net/mptcp/ |
H A D | pm_nl_ctl.c | 758 struct rtattr *rta, *nest; in add_addr() local 776 nest = (void *)(data + off); in add_addr() 778 nest->rta_len = RTA_LENGTH(0); in add_addr() 889 struct rtattr *rta, *nest; in del_addr() local 911 nest = (void *)(data + off); in del_addr() 1080 struct rtattr *rta, *nest; in get_addr() local 1098 nest = (void *)(data + off); in get_addr() 1290 struct rtattr *rta, *nest; in set_flags() local 1312 nest = (void *)(data + off); in set_flags() 1314 nest->rta_len = RTA_LENGTH(0); in set_flags() [all …]
|
/openbmc/linux/net/bridge/ |
H A D | br_mdb.c | 83 if (nest == NULL) in br_rports_fill_info() 128 nla_nest_end(skb, nest); in br_rports_fill_info() 184 if (!nest) in __mdb_fill_srcs() 221 nla_nest_end(skb, nest); in __mdb_fill_srcs() 330 if (nest == NULL) in br_mdb_fill_info() 379 nla_nest_end(skb, nest); in br_mdb_fill_info() 435 if (nest == NULL) in nlmsg_populate_mdb_fill() 445 nla_nest_end(skb, nest); in nlmsg_populate_mdb_fill() 450 nla_nest_end(skb, nest); in nlmsg_populate_mdb_fill() 555 if (!nest) in nlmsg_populate_rtr_fill() [all …]
|
H A D | br_vlan_options.c | 15 struct nlattr *nest; in __vlan_tun_put() local 20 nest = nla_nest_start(skb, BRIDGE_VLANDB_ENTRY_TUNNEL_INFO); in __vlan_tun_put() 21 if (!nest) in __vlan_tun_put() 24 nla_nest_cancel(skb, nest); in __vlan_tun_put() 27 nla_nest_end(skb, nest); in __vlan_tun_put() 354 struct nlattr *nest; in br_vlan_global_opts_fill() local 356 nest = nla_nest_start(skb, BRIDGE_VLANDB_GLOBAL_OPTIONS); in br_vlan_global_opts_fill() 357 if (!nest) in br_vlan_global_opts_fill() 434 nla_nest_end(skb, nest); in br_vlan_global_opts_fill() 439 nla_nest_cancel(skb, nest); in br_vlan_global_opts_fill()
|
/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() 118 WRITE_ONCE(rb->nest, 0); in perf_output_put_handle() 126 WRITE_ONCE(rb->nest, 1); in perf_output_put_handle() 373 unsigned int nest; in perf_aux_output_begin() local 404 nest = READ_ONCE(rb->aux_nest); in perf_aux_output_begin() 409 if (WARN_ON_ONCE(nest)) in perf_aux_output_begin() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | 734 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() local 738 if (!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 765 if (!nest) in ip_tun_fill_encap_opts_vxlan() 774 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_vxlan() 782 struct nlattr *nest; in ip_tun_fill_encap_opts_erspan() local 785 if (!nest) in ip_tun_fill_encap_opts_erspan() 802 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_erspan() 812 struct nlattr *nest; in ip_tun_fill_encap_opts() local [all …]
|
H A D | tcp_diag.c | 88 struct nlattr *nest; in tcp_diag_put_ulp() local 91 nest = nla_nest_start_noflag(skb, INET_DIAG_ULP_INFO); in tcp_diag_put_ulp() 92 if (!nest) in tcp_diag_put_ulp() 104 nla_nest_end(skb, nest); in tcp_diag_put_ulp() 108 nla_nest_cancel(skb, nest); in tcp_diag_put_ulp()
|
/openbmc/linux/net/sched/ |
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()
|
H A D | act_api.c | 513 struct nlattr *nest; in tcf_dump_walker() local 538 if (!nest) { in tcf_dump_walker() 590 struct nlattr *nest; in tcf_del_walker() local 599 if (nest == NULL) in tcf_del_walker() 1187 struct nlattr *nest; in tcf_action_dump_1() local 1213 if (nest == NULL) in tcf_action_dump_1() 1232 struct nlattr *nest; in tcf_action_dump() local 1237 if (nest == NULL) in tcf_action_dump() 1638 if (!nest) in tca_get_fill() 1765 if (!nest) { in tca_action_flush() [all …]
|
H A D | sch_ets.c | 302 struct nlattr *nest; in ets_class_dump() local 309 if (!nest) in ets_class_dump() 315 return nla_nest_end(skb, nest); in ets_class_dump() 318 nla_nest_cancel(skb, nest); in ets_class_dump() 735 struct nlattr *nest; in ets_qdisc_dump() local 756 nest = nla_nest_start(skb, TCA_ETS_QUANTA); in ets_qdisc_dump() 757 if (!nest) in ets_qdisc_dump() 766 nla_nest_end(skb, nest); in ets_qdisc_dump() 769 nest = nla_nest_start(skb, TCA_ETS_PRIOMAP); in ets_qdisc_dump() 770 if (!nest) in ets_qdisc_dump() [all …]
|
/openbmc/qemu/tests/qapi-schema/ |
H A D | event-nest-struct.err | 1 event-nest-struct.json: In event 'EVENT_A': 2 event-nest-struct.json:1: 'data' member 'a' should be a type name or array
|
/openbmc/linux/scripts/kconfig/ |
H A D | preprocess.c | 351 int nest = 0; in eval_clause() local 385 if (nest == 0 && *p == ',') { in eval_clause() 392 nest++; in eval_clause() 394 nest--; in eval_clause() 460 int nest = 0; in expand_dollar_with_args() local 476 nest++; in expand_dollar_with_args() 478 if (nest-- == 0) in expand_dollar_with_args()
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | netlink.c | 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() 531 nla_nest_cancel(skb, nest); in can_ctrlmode_ext_fill_info() 535 nla_nest_end(skb, nest); in can_ctrlmode_ext_fill_info()
|
/openbmc/linux/tools/net/ynl/generated/ |
H A D | ethtool-user.c | 678 struct nlattr *nest; in ethtool_header_put() local 735 struct nlattr *nest; in ethtool_pause_stat_put() local 786 struct nlattr *nest; in ethtool_fec_stat_put() local 960 struct nlattr *nest; in ethtool_bitset_bit_put() local 1046 struct nlattr *nest; in ethtool_string_put() local 1143 struct nlattr *nest; in ethtool_bitset_bits_put() local 1205 struct nlattr *nest; in ethtool_strings_put() local 1263 struct nlattr *nest; in ethtool_bitset_put() local 1325 struct nlattr *nest; in ethtool_stringset_put() local 1465 struct nlattr *nest; in ethtool_stringsets_put() local [all …]
|