Home
last modified time | relevance | path

Searched refs:nest (Results 26 – 50 of 145) sorted by relevance

123456

/openbmc/linux/net/ethtool/
H A Dfec.c169 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()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_mdb.c121 struct nlattr *nest; in vxlan_mdb_entry_info_fill_srcs() local
127 if (!nest) in vxlan_mdb_entry_info_fill_srcs()
145 nla_nest_end(skb, nest); in vxlan_mdb_entry_info_fill_srcs()
161 struct nlattr *nest; in vxlan_mdb_entry_info_fill() local
164 if (!nest) in vxlan_mdb_entry_info_fill()
201 nla_nest_end(skb, nest); in vxlan_mdb_entry_info_fill()
217 struct nlattr *nest; in vxlan_mdb_entry_fill() local
221 if (!nest) in vxlan_mdb_entry_fill()
236 nla_nest_end(skb, nest); in vxlan_mdb_entry_fill()
245 struct nlattr *nest; in vxlan_mdb_fill() local
[all …]
/openbmc/linux/fs/btrfs/
H A Dlocking.c129 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_read_lock() argument
136 down_read_nested(&eb->lock, nest); in __btrfs_tree_read_lock()
190 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest) in __btrfs_tree_lock() argument
198 down_write_nested(&eb->lock, nest); in __btrfs_tree_lock()
H A Dlocking.h162 void __btrfs_tree_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
166 void __btrfs_tree_read_lock(struct extent_buffer *eb, enum btrfs_lock_nesting nest);
/openbmc/linux/net/sched/
H A Dsch_ingress.c136 struct nlattr *nest; in ingress_dump() local
138 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in ingress_dump()
139 if (nest == NULL) in ingress_dump()
142 return nla_nest_end(skb, nest); in ingress_dump()
145 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()
H A Dcls_matchall.c331 struct nlattr *nest; in mall_dump() local
342 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in mall_dump()
343 if (!nest) in mall_dump()
367 nla_nest_end(skb, nest); in mall_dump()
375 nla_nest_cancel(skb, nest); in mall_dump()
H A Dcls_flower.c3007 struct nlattr *nest; in fl_dump_key_geneve_opt() local
3011 if (!nest) in fl_dump_key_geneve_opt()
3041 struct nlattr *nest; in fl_dump_key_vxlan_opt() local
3044 if (!nest) in fl_dump_key_vxlan_opt()
3063 struct nlattr *nest; in fl_dump_key_erspan_opt() local
3066 if (!nest) in fl_dump_key_erspan_opt()
3100 if (!nest) in fl_dump_key_gtp_opt()
3201 if (!nest) in fl_dump_key_options()
3507 if (!nest) in fl_dump()
3564 if (!nest) in fl_terse_dump()
[all …]
H A Dsch_mqprio.c491 struct nlattr *nest; in dump_rates() local
495 nest = nla_nest_start_noflag(skb, TCA_MQPRIO_MIN_RATE64); in dump_rates()
496 if (!nest) in dump_rates()
505 nla_nest_end(skb, nest); in dump_rates()
509 nest = nla_nest_start_noflag(skb, TCA_MQPRIO_MAX_RATE64); in dump_rates()
510 if (!nest) in dump_rates()
519 nla_nest_end(skb, nest); in dump_rates()
524 nla_nest_cancel(skb, nest); in dump_rates()
H A Dsch_etf.c464 struct nlattr *nest; in etf_dump() local
466 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in etf_dump()
467 if (!nest) in etf_dump()
484 return nla_nest_end(skb, nest); in etf_dump()
487 nla_nest_cancel(skb, nest); in etf_dump()
H A Dcls_fw.c373 struct nlattr *nest; in fw_dump() local
383 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in fw_dump()
384 if (nest == NULL) in fw_dump()
403 nla_nest_end(skb, nest); in fw_dump()
411 nla_nest_cancel(skb, nest); in fw_dump()
H A Dsch_drr.c239 struct nlattr *nest; in drr_dump_class() local
245 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in drr_dump_class()
246 if (nest == NULL) in drr_dump_class()
250 return nla_nest_end(skb, nest); in drr_dump_class()
253 nla_nest_cancel(skb, nest); in drr_dump_class()
H A Dsch_cbs.c456 struct nlattr *nest; in cbs_dump() local
458 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in cbs_dump()
459 if (!nest) in cbs_dump()
471 return nla_nest_end(skb, nest); in cbs_dump()
474 nla_nest_cancel(skb, nest); in cbs_dump()
H A Dsch_tbf.c506 struct nlattr *nest; in tbf_dump() local
514 nest = nla_nest_start_noflag(skb, TCA_OPTIONS); in tbf_dump()
515 if (nest == NULL) in tbf_dump()
538 return nla_nest_end(skb, nest); in tbf_dump()
541 nla_nest_cancel(skb, nest); in tbf_dump()
/openbmc/linux/net/core/
H A Dlwtunnel.c239 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()
/openbmc/linux/lib/
H A Drhashtable.c57 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 …]
H A Dtest_fprobe.c20 static u32 (*target_nest)(u32 value, u32 (*nest)(u32));
36 static noinline u32 fprobe_selftest_nest_target(u32 value, u32 (*nest)(u32)) in fprobe_selftest_nest_target()
38 return nest(value + 2); in fprobe_selftest_nest_target()
/openbmc/linux/net/bridge/
H A Dbr_mst.c267 struct nlattr *nest; in br_mst_fill_info() local
274 nest = nla_nest_start_noflag(skb, IFLA_BRIDGE_MST_ENTRY); in br_mst_fill_info()
275 if (!nest || in br_mst_fill_info()
281 nla_nest_end(skb, nest); in br_mst_fill_info()
/openbmc/linux/drivers/net/bonding/
H A Dbond_netlink.c794 struct nlattr *nest; in bond_fill_info() local
796 nest = nla_nest_start_noflag(skb, IFLA_BOND_AD_INFO); in bond_fill_info()
797 if (!nest) in bond_fill_info()
817 nla_nest_end(skb, nest); in bond_fill_info()
846 struct nlattr *nest, *nest2; in bond_fill_linkxstats() local
863 nest = nla_nest_start_noflag(skb, LINK_XSTATS_TYPE_BOND); in bond_fill_linkxstats()
864 if (!nest) in bond_fill_linkxstats()
876 nla_nest_end(skb, nest); in bond_fill_linkxstats()
882 nla_nest_end(skb, nest); in bond_fill_linkxstats()
887 nla_nest_end(skb, nest); in bond_fill_linkxstats()
/openbmc/linux/Documentation/netlink/specs/
H A Drt_link.yaml785 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/include/linux/
H A Dnetlink.h190 #define NL_SET_ERR_ATTR_MISS(extack, nest, type) do { \ argument
194 __extack->miss_nest = (nest); \
199 #define NL_REQ_ATTR_CHECK(extack, nest, tb, type) ({ \ argument
206 NL_SET_ERR_ATTR_MISS((extack), (nest), __attr); \
/openbmc/linux/net/netlink/
H A Dgenetlink.c1110 struct nlattr *nest; in ctrl_fill_info() local
1118 if (nest == NULL) in ctrl_fill_info()
1125 nla_nest_end(skb, nest); in ctrl_fill_info()
1140 struct nlattr *nest; in ctrl_fill_info() local
1146 if (nest == NULL) in ctrl_fill_info()
1175 struct nlattr *nest; in ctrl_fill_mcgrp_info() local
1190 if (nest == NULL) in ctrl_fill_mcgrp_info()
1198 nla_nest_end(skb, nest); in ctrl_fill_mcgrp_info()
1591 struct nlattr *nest; in ctrl_dumppolicy() local
1598 if (!nest) in ctrl_dumppolicy()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c104 static void coroutine_fn nest(void *opaque) in nest() function
113 child = qemu_coroutine_create(nest, nd); in nest()
129 root = qemu_coroutine_create(nest, &nd); in test_nesting()
548 root = qemu_coroutine_create(nest, &nd); in perf_nesting()
/openbmc/linux/net/dcb/
H A Ddcbnl.c274 if (!nest) in dcbnl_getpfccfg()
288 nla_nest_cancel(skb, nest); in dcbnl_getpfccfg()
292 nla_nest_end(skb, nest); in dcbnl_getpfccfg()
333 if (!nest) in dcbnl_getcap()
346 nla_nest_cancel(skb, nest); in dcbnl_getcap()
351 nla_nest_end(skb, nest); in dcbnl_getcap()
378 if (!nest) in dcbnl_getnumtcs()
392 nla_nest_cancel(skb, nest); in dcbnl_getnumtcs()
398 nla_nest_end(skb, nest); in dcbnl_getnumtcs()
1798 if (!nest) in dcbnl_getfeatcfg()
[all …]
/openbmc/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst35 array-nest
38 ``array-nest`` creates the following structure::
68 Where the first level of nest has the policy index as it's attribute
69 type, it contains a single nest which has the attribute index as its
70 type. Inside the attr-index nest are the policy attributes. Modern

123456