Home
last modified time | relevance | path

Searched full:nest (Results 1 – 25 of 194) sorted by relevance

12345678

/linux/include/uapi/linux/
H A Dtipc_netlink.h77 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 Dsmc.h70 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 …]
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_dump_flush.c24 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v4() local
26 nest = mnl_attr_nest_start(nlh, type); in build_cta_tuple_v4()
27 if (!nest) in build_cta_tuple_v4()
45 mnl_attr_nest_end(nlh, nest); in build_cta_tuple_v4()
54 struct nlattr *nest, *nest_ip, *nest_proto; in build_cta_tuple_v6() local
56 nest = mnl_attr_nest_start(nlh, type); in build_cta_tuple_v6()
57 if (!nest) in build_cta_tuple_v6()
75 mnl_attr_nest_end(nlh, nest); in build_cta_tuple_v6()
82 struct nlattr *nest, *nest_proto; in build_cta_proto() local
84 nest = mnl_attr_nest_start(nlh, CTA_PROTOINFO); in build_cta_proto()
[all …]
/linux/drivers/crypto/nx/
H A DKconfig10 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
/linux/net/8021q/
H A Dvlan_netlink.c227 struct nlattr *nest; in vlan_fill_info() local
240 nest = nla_nest_start_noflag(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info()
241 if (nest == NULL) in vlan_fill_info()
254 nla_nest_end(skb, nest); in vlan_fill_info()
258 nest = nla_nest_start_noflag(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info()
259 if (nest == NULL) in vlan_fill_info()
273 nla_nest_end(skb, nest); in vlan_fill_info()
/linux/net/sched/
H A Dact_api.c511 struct nlattr *nest; in tcf_action_dump_1() local
537 nest = nla_nest_start_noflag(skb, TCA_ACT_OPTIONS); in tcf_action_dump_1()
538 if (nest == NULL) in tcf_action_dump_1()
542 nla_nest_end(skb, nest); in tcf_action_dump_1()
557 struct nlattr *nest; in tcf_dump_walker() local
581 nest = nla_nest_start_noflag(skb, n_i); in tcf_dump_walker()
582 if (!nest) { in tcf_dump_walker()
591 nlmsg_trim(skb, nest); in tcf_dump_walker()
594 nla_nest_end(skb, nest); in tcf_dump_walker()
612 nla_nest_cancel(skb, nest); in tcf_dump_walker()
[all …]
H A Dcls_cgroup.c176 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 Dsch_ets.c313 struct nlattr *nest; in ets_class_dump() local
319 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ets_class_dump()
320 if (!nest) in ets_class_dump()
326 return nla_nest_end(skb, nest); in ets_class_dump()
329 nla_nest_cancel(skb, nest); in ets_class_dump()
749 struct nlattr *nest; in ets_qdisc_dump() local
772 nest = nla_nest_start(skb, TCA_ETS_QUANTA); in ets_qdisc_dump()
773 if (!nest) in ets_qdisc_dump()
782 nla_nest_end(skb, nest); in ets_qdisc_dump()
785 nest = nla_nest_start(skb, TCA_ETS_PRIOMAP); in ets_qdisc_dump()
[all …]
H A Dcls_flower.c3162 struct nlattr *nest; in fl_dump_key_geneve_opt()
3165 nest = nla_nest_start_noflag(skb, TCA_FLOWER_KEY_ENC_OPTS_GENEVE); in fl_dump_key_geneve_opt()
3166 if (!nest) in fl_dump_key_geneve_opt() local
3184 nla_nest_end(skb, nest); in fl_dump_key_geneve_opt()
3188 nla_nest_cancel(skb, nest); in fl_dump_key_geneve_opt()
3196 struct nlattr *nest; in fl_dump_key_vxlan_opt()
3198 nest = nla_nest_start_noflag(skb, TCA_FLOWER_KEY_ENC_OPTS_VXLAN); in fl_dump_key_vxlan_opt()
3199 if (!nest) in fl_dump_key_vxlan_opt()
3206 nla_nest_end(skb, nest); in fl_dump_key_vxlan_opt()
3210 nla_nest_cancel(skb, nest); in fl_dump_key_vxlan_opt()
3200 struct nlattr *nest; fl_dump_key_vxlan_opt() local
3222 struct nlattr *nest; fl_dump_key_erspan_opt() local
3256 struct nlattr *nest; fl_dump_key_gtp_opt() local
3283 struct nlattr *nest; fl_dump_key_pfcp_opt() local
3379 struct nlattr *nest; fl_dump_key_options() local
3692 struct nlattr *nest; fl_dump() local
3750 struct nlattr *nest; fl_terse_dump() local
3792 struct nlattr *nest; fl_tmplt_dump() local
[all...]
H A Dsch_ingress.c137 struct nlattr *nest; in ingress_dump() local
139 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ingress_dump()
140 if (nest == NULL) in ingress_dump()
143 return nla_nest_end(skb, nest); in ingress_dump()
146 nla_nest_cancel(skb, nest); in ingress_dump()
H A Dcls_basic.c274 struct nlattr *nest; in basic_dump() local
282 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in basic_dump()
283 if (nest == NULL) in basic_dump()
306 nla_nest_end(skb, nest); in basic_dump()
314 nla_nest_cancel(skb, nest); in basic_dump()
/linux/net/ipv4/
H A Dip_tunnel_core.c764 struct nlattr *nest; in ip_tun_fill_encap_opts_geneve() local
767 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_GENEVE); in ip_tun_fill_encap_opts_geneve()
768 if (!nest) in ip_tun_fill_encap_opts_geneve()
778 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_geneve()
784 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_geneve()
792 struct nlattr *nest; in ip_tun_fill_encap_opts_vxlan() local
794 nest = nla_nest_start_noflag(skb, LWTUNNEL_IP_OPTS_VXLAN); in ip_tun_fill_encap_opts_vxlan()
795 if (!nest) in ip_tun_fill_encap_opts_vxlan()
800 nla_nest_cancel(skb, nest); in ip_tun_fill_encap_opts_vxlan()
804 nla_nest_end(skb, nest); in ip_tun_fill_encap_opts_vxlan()
[all …]
/linux/kernel/events/
H A Dring_buffer.c50 (*(volatile unsigned int *)&rb->nest)++; in perf_output_get_handle()
58 unsigned int nest; in perf_output_put_handle() local
64 nest = READ_ONCE(rb->nest); in perf_output_put_handle()
65 if (nest > 1) { in perf_output_put_handle()
66 WRITE_ONCE(rb->nest, nest - 1); in perf_output_put_handle()
74 * incremented @rb->nest. in perf_output_put_handle()
117 * We must publish the head before decrementing the nest count, in perf_output_put_handle()
122 WRITE_ONCE(rb->nest, 0); in perf_output_put_handle()
125 * Ensure we decrement @rb->nest before we validate the @rb->head. in perf_output_put_handle()
130 WRITE_ONCE(rb->nest, 1); in perf_output_put_handle()
[all …]
/linux/net/core/
H A Dpage_pool_user.c119 struct nlattr *nest; in page_pool_nl_stats_fill() local
129 nest = nla_nest_start(rsp, NETDEV_A_PAGE_POOL_STATS_INFO); in page_pool_nl_stats_fill()
137 nla_nest_end(rsp, nest); in page_pool_nl_stats_fill()
167 nla_nest_cancel(rsp, nest); in page_pool_nl_stats_fill()
181 struct nlattr *nest; in netdev_nl_page_pool_stats_get_doit() local
188 nest = info->attrs[NETDEV_A_PAGE_POOL_STATS_INFO]; in netdev_nl_page_pool_stats_get_doit()
189 err = nla_parse_nested(tb, ARRAY_SIZE(tb) - 1, nest, in netdev_nl_page_pool_stats_get_doit()
195 if (NL_REQ_ATTR_CHECK(info->extack, nest, tb, NETDEV_A_PAGE_POOL_ID)) in netdev_nl_page_pool_stats_get_doit()
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c776 struct rtattr *rta, *nest; in add_addr() local
794 nest = (void *)(data + off); in add_addr()
795 nest->rta_type = NLA_F_NESTED | MPTCP_PM_ATTR_ADDR; in add_addr()
796 nest->rta_len = RTA_LENGTH(0); in add_addr()
797 off += NLMSG_ALIGN(nest->rta_len); in add_addr()
900 nest->rta_len = off - nest_start; in add_addr()
911 struct rtattr *rta, *nest; in del_addr() local
933 nest = (void *)(data + off); in del_addr()
934 nest->rta_type = NLA_F_NESTED | MPTCP_PM_ATTR_ADDR; in del_addr()
935 nest->rta_len = RTA_LENGTH(0); in del_addr()
[all …]
/linux/net/bridge/
H A Dbr_mdb.c76 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()
180 struct nlattr *nest, *nest_ent; in __mdb_fill_srcs() local
185 nest = nla_nest_start(skb, MDBA_MDB_EATTR_SRC_LIST); in __mdb_fill_srcs()
186 if (!nest) in __mdb_fill_srcs()
223 nla_nest_end(skb, nest); in __mdb_fill_srcs()
228 nla_nest_cancel(skb, nest); in __mdb_fill_srcs()
[all …]
H A Dbr_vlan_options.c15 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()
374 struct nlattr *nest; in br_vlan_global_opts_fill() local
376 nest = nla_nest_start(skb, BRIDGE_VLANDB_GLOBAL_OPTIONS); in br_vlan_global_opts_fill()
377 if (!nest) in br_vlan_global_opts_fill()
454 nla_nest_end(skb, nest); in br_vlan_global_opts_fill()
459 nla_nest_cancel(skb, nest); in br_vlan_global_opts_fill()
/linux/drivers/net/can/dev/
H A Dnetlink.c732 size = nla_total_size(0); /* nest IFLA_CAN_TDC */ in can_tdc_get_size()
774 return nla_total_size(0) + /* nest IFLA_CAN_CTRLMODE_EXT */ in can_ctrlmode_ext_get_size()
786 size = nla_total_size(0); /* nest IFLA_CAN_PWM */ in can_pwm_get_size()
872 struct nlattr *nest; in can_tdc_fill_info() local
890 nest = nla_nest_start(skb, ifla_can_tdc); in can_tdc_fill_info()
891 if (!nest) in can_tdc_fill_info()
925 nla_nest_end(skb, nest); in can_tdc_fill_info()
929 nla_nest_cancel(skb, nest); in can_tdc_fill_info()
937 struct nlattr *nest; in can_pwm_fill_info() local
942 nest = nla_nest_start(skb, IFLA_CAN_XL_PWM); in can_pwm_fill_info()
[all …]
/linux/Documentation/netlink/specs/
H A Dnlctrl.yaml69 sub-type: nest
74 sub-type: nest
78 type: nest-type-value
83 type: nest-type-value
/linux/net/psp/
H A Dpsp_nl.c360 struct nlattr *nest = info->attrs[attr]; in psp_nl_parse_key() local
365 err = nla_parse_nested(tb, ARRAY_SIZE(tb) - 1, nest, in psp_nl_parse_key()
370 if (NL_REQ_ATTR_CHECK(info->extack, nest, tb, PSP_A_KEYS_KEY) || in psp_nl_parse_key()
371 NL_REQ_ATTR_CHECK(info->extack, nest, tb, PSP_A_KEYS_SPI)) in psp_nl_parse_key()
398 void *nest; in psp_nl_put_key() local
400 nest = nla_nest_start(skb, attr); in psp_nl_put_key()
404 nla_nest_cancel(skb, nest); in psp_nl_put_key()
408 nla_nest_end(skb, nest); in psp_nl_put_key()
/linux/drivers/dpll/
H A Ddpll_netlink.c461 struct nlattr *nest; in dpll_msg_add_pin_freq() local
475 nest = nla_nest_start(msg, DPLL_A_PIN_FREQUENCY_SUPPORTED); in dpll_msg_add_pin_freq()
476 if (!nest) in dpll_msg_add_pin_freq()
481 nla_nest_cancel(msg, nest); in dpll_msg_add_pin_freq()
487 nla_nest_cancel(msg, nest); in dpll_msg_add_pin_freq()
490 nla_nest_end(msg, nest); in dpll_msg_add_pin_freq()
503 struct nlattr *nest; in dpll_msg_add_pin_esync() local
520 nest = nla_nest_start(msg, in dpll_msg_add_pin_esync()
522 if (!nest) in dpll_msg_add_pin_esync()
532 nla_nest_end(msg, nest); in dpll_msg_add_pin_esync()
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst56 A ``sub-type`` is needed to describe what type in the ``ENTRY``. A ``nest``
57 ``sub-type`` means there are nest arrays in the ``ENTRY``, with the structure
92 Where the first level of nest has the policy index as it's attribute
93 type, it contains a single nest which has the attribute index as its
94 type. Inside the attr-index nest are the policy attributes. Modern
/linux/drivers/net/vxlan/
H A Dvxlan_mdb.c129 struct nlattr *nest; in vxlan_mdb_entry_info_fill_srcs() local
134 nest = nla_nest_start(skb, MDBA_MDB_EATTR_SRC_LIST); in vxlan_mdb_entry_info_fill_srcs()
135 if (!nest) in vxlan_mdb_entry_info_fill_srcs()
153 nla_nest_end(skb, nest); in vxlan_mdb_entry_info_fill_srcs()
158 nla_nest_cancel(skb, nest); in vxlan_mdb_entry_info_fill_srcs()
169 struct nlattr *nest; in vxlan_mdb_entry_info_fill() local
171 nest = nla_nest_start_noflag(skb, MDBA_MDB_ENTRY_INFO); in vxlan_mdb_entry_info_fill()
172 if (!nest) in vxlan_mdb_entry_info_fill()
209 nla_nest_end(skb, nest); in vxlan_mdb_entry_info_fill()
214 nla_nest_cancel(skb, nest); in vxlan_mdb_entry_info_fill()
[all …]
/linux/lib/
H A Drhashtable.c57 if (unlikely(tbl->nest)) in lockdep_rht_bucket_is_held()
70 * because it's set at the same time as tbl->nest. in nested_table_top()
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()
172 tbl->nest = (ilog2(nbuckets) - 1) % shift + 1; in nested_bucket_table_alloc()
240 if (new_tbl->nest) in rhashtable_rehash_one()
432 else if (tbl->nest) in rht_deferred_worker()
1219 unsigned int index = hash & ((1 << tbl->nest) - 1); in __rht_bucket_nested()
1220 unsigned int size = tbl->size >> tbl->nest; in __rht_bucket_nested()
[all …]
/linux/scripts/kconfig/
H A Dpreprocess.c355 int nest = 0; in eval_clause() local
389 if (nest == 0 && *p == ',') { in eval_clause()
396 nest++; in eval_clause()
398 nest--; in eval_clause()
464 int nest = 0; in expand_dollar_with_args() local
480 nest++; in expand_dollar_with_args()
482 if (nest-- == 0) in expand_dollar_with_args()

12345678