/linux-6.3-rc2/net/ethtool/ |
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 …]
|
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 …]
|
A D | stats.c | 210 struct nlattr *nest; in stat_put() local 229 if (!nest) in stat_put() 238 nla_nest_end(skb, nest); in stat_put() 318 struct nlattr *nest; in stats_put_rmon_hist() local 331 if (!nest) in stats_put_rmon_hist() 342 nla_nest_end(skb, nest); in stats_put_rmon_hist() 348 nla_nest_cancel(skb, nest); in stats_put_rmon_hist() 380 struct nlattr *nest; in stats_put_stats() local 383 if (!nest) in stats_put_stats() 393 nla_nest_end(skb, nest); in stats_put_stats() [all …]
|
A D | pause.c | 122 struct nlattr *nest; in pause_put_stats() local 127 nest = nla_nest_start(skb, ETHTOOL_A_PAUSE_STATS); in pause_put_stats() 128 if (!nest) in pause_put_stats() 137 nla_nest_end(skb, nest); in pause_put_stats() 141 nla_nest_cancel(skb, nest); in pause_put_stats()
|
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()
|
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()
|
A D | fec.c | 169 struct nlattr *nest; in fec_put_stats() local 171 nest = nla_nest_start(skb, ETHTOOL_A_FEC_STATS); in fec_put_stats() 172 if (!nest) in fec_put_stats() 186 nla_nest_end(skb, nest); in fec_put_stats() 190 nla_nest_cancel(skb, nest); in fec_put_stats()
|
/linux-6.3-rc2/Documentation/netlink/specs/ |
A D | ethtool.yaml | 40 type: nest 53 type: nest 70 type: nest 84 type: nest 92 type: nest 100 type: nest 104 type: nest 115 type: nest 119 type: nest 127 type: nest [all …]
|
/linux-6.3-rc2/net/8021q/ |
A D | vlan_netlink.c | 224 struct nlattr *nest; in vlan_fill_info() local 237 nest = nla_nest_start_noflag(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info() 238 if (nest == NULL) in vlan_fill_info() 251 nla_nest_end(skb, nest); in vlan_fill_info() 255 nest = nla_nest_start_noflag(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info() 256 if (nest == NULL) in vlan_fill_info() 272 nla_nest_end(skb, nest); in vlan_fill_info()
|
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/ |
A D | pm_nl_ctl.c | 747 struct rtattr *rta, *nest; in add_addr() local 765 nest = (void *)(data + off); in add_addr() 767 nest->rta_len = RTA_LENGTH(0); in add_addr() 878 struct rtattr *rta, *nest; in del_addr() local 900 nest = (void *)(data + off); in del_addr() 1069 struct rtattr *rta, *nest; in get_addr() local 1087 nest = (void *)(data + off); in get_addr() 1279 struct rtattr *rta, *nest; in set_flags() local 1301 nest = (void *)(data + off); in set_flags() 1303 nest->rta_len = RTA_LENGTH(0); in set_flags() [all …]
|
/linux-6.3-rc2/kernel/events/ |
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() 370 unsigned int nest; in perf_aux_output_begin() local 401 nest = READ_ONCE(rb->aux_nest); in perf_aux_output_begin() 406 if (WARN_ON_ONCE(nest)) in perf_aux_output_begin() [all …]
|
/linux-6.3-rc2/net/sched/ |
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() 1167 struct nlattr *nest; in tcf_action_dump_1() local 1193 if (nest == NULL) in tcf_action_dump_1() 1212 struct nlattr *nest; in tcf_action_dump() local 1217 if (nest == NULL) in tcf_action_dump() 1593 if (!nest) in tca_get_fill() 1724 if (!nest) { in tca_action_flush() [all …]
|
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()
|
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 …]
|
A D | sch_ingress.c | 110 struct nlattr *nest; in ingress_dump() local 112 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ingress_dump() 113 if (nest == NULL) in ingress_dump() 116 return nla_nest_end(skb, nest); in ingress_dump() 119 nla_nest_cancel(skb, nest); in ingress_dump()
|
/linux-6.3-rc2/net/ipv4/ |
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 …]
|
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()
|
/linux-6.3-rc2/net/netfilter/ |
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 …]
|
/linux-6.3-rc2/net/bridge/ |
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() 480 if (nest == NULL) in nlmsg_populate_mdb_fill() 490 nla_nest_end(skb, nest); in nlmsg_populate_mdb_fill() 495 nla_nest_end(skb, nest); in nlmsg_populate_mdb_fill() 600 if (!nest) in nlmsg_populate_rtr_fill() [all …]
|
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() 336 struct nlattr *nest; in br_vlan_global_opts_fill() local 338 nest = nla_nest_start(skb, BRIDGE_VLANDB_GLOBAL_OPTIONS); in br_vlan_global_opts_fill() 339 if (!nest) in br_vlan_global_opts_fill() 416 nla_nest_end(skb, nest); in br_vlan_global_opts_fill() 421 nla_nest_cancel(skb, nest); in br_vlan_global_opts_fill()
|
/linux-6.3-rc2/scripts/kconfig/ |
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() 457 int nest = 0; in expand_dollar_with_args() local 473 nest++; in expand_dollar_with_args() 475 if (nest-- == 0) in expand_dollar_with_args()
|
/linux-6.3-rc2/drivers/net/can/dev/ |
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()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | locking.c | 128 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock() argument 135 down_read_nested(&eb->lock, nest); in __btrfs_tree_read_lock() 189 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock() argument 197 down_write_nested(&eb->lock, nest); in __btrfs_tree_lock()
|
/linux-6.3-rc2/net/core/ |
A D | lwtunnel.c | 239 struct nlattr *nest; in lwtunnel_fill_encap() local 249 nest = nla_nest_start_noflag(skb, encap_attr); in lwtunnel_fill_encap() 250 if (!nest) in lwtunnel_fill_encap() 262 nla_nest_end(skb, nest); in lwtunnel_fill_encap() 270 nla_nest_cancel(skb, nest); in lwtunnel_fill_encap()
|
/linux-6.3-rc2/lib/ |
A D | rhashtable.c | 57 if (unlikely(tbl->nest)) in lockdep_rht_bucket_is_held() 96 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free() 97 unsigned int len = 1 << tbl->nest; in nested_bucket_table_free() 111 if (tbl->nest) in bucket_table_free() 170 tbl->nest = (ilog2(nbuckets) - 1) % shift + 1; in nested_bucket_table_alloc() 236 if (new_tbl->nest) in rhashtable_rehash_one() 426 else if (tbl->nest) in rht_deferred_worker() 1183 unsigned int size = tbl->size >> tbl->nest; in __rht_bucket_nested() 1189 subhash >>= tbl->nest; in __rht_bucket_nested() 1223 unsigned int size = tbl->size >> tbl->nest; in rht_bucket_nested_insert() [all …]
|