Home
last modified time | relevance | path

Searched refs:nest_level (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan.c130 int nest_level, err = 0; in mlx5e_tc_act_vlan_add_pop_action() local
132 nest_level = attr->parse_attr->filter_dev->lower_level - in mlx5e_tc_act_vlan_add_pop_action()
134 while (nest_level--) { in mlx5e_tc_act_vlan_add_pop_action()
/Linux-v6.6/net/sched/
Dact_mirred.c236 unsigned int nest_level; in tcf_mirred_act() local
247 nest_level = __this_cpu_inc_return(mirred_nest_level); in tcf_mirred_act()
248 if (unlikely(nest_level > MIRRED_NEST_LIMIT)) { in tcf_mirred_act()
/Linux-v6.6/kernel/trace/
Dbpf_trace.c665 int nest_level, err; in BPF_CALL_5() local
669 nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5()
671 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
676 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
730 int nest_level; in bpf_event_output() local
734 nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output()
736 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
740 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
741 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1828 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
[all …]
/Linux-v6.6/kernel/bpf/
Dhelpers.c776 int nest_level; in try_get_buffers() local
779 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_buffers()
780 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_buffers()
785 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]); in try_get_buffers()
/Linux-v6.6/include/linux/
Dnetdevice.h4489 unsigned char nest_level = 0; in netif_addr_lock() local
4492 nest_level = dev->nested_level; in netif_addr_lock()
4494 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock()
4499 unsigned char nest_level = 0; in netif_addr_lock_bh() local
4502 nest_level = dev->nested_level; in netif_addr_lock_bh()
4505 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock_bh()
/Linux-v6.6/drivers/net/bonding/
Dbond_main.c4420 int nest_level = 0; in bond_get_stats() local
4425 nest_level = bond_get_lowest_level_rcu(bond_dev); in bond_get_stats()
4428 spin_lock_nested(&bond->stats_lock, nest_level); in bond_get_stats()