Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/net/sched/
Dact_mirred.c420 unsigned int nest_level; in tcf_mirred_act() local
426 nest_level = __this_cpu_inc_return(mirred_nest_level); in tcf_mirred_act()
427 if (unlikely(nest_level > MIRRED_NEST_LIMIT)) { in tcf_mirred_act()
/linux-6.12.1/kernel/trace/
Dbpf_trace.c671 int nest_level, err; in BPF_CALL_5() local
675 nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5()
677 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
682 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
736 int nest_level; in bpf_event_output() local
740 nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output()
742 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
746 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
747 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1827 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
[all …]
/linux-6.12.1/include/linux/
Dnetdevice.h4508 unsigned char nest_level = 0; in netif_addr_lock() local
4511 nest_level = dev->nested_level; in netif_addr_lock()
4513 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock()
4518 unsigned char nest_level = 0; in netif_addr_lock_bh() local
4521 nest_level = dev->nested_level; in netif_addr_lock_bh()
4524 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock_bh()
/linux-6.12.1/kernel/bpf/
Dhelpers.c781 int nest_level; in try_get_buffers() local
784 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_buffers()
785 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_buffers()
790 *bufs = this_cpu_ptr(&bpf_bprintf_bufs[nest_level - 1]); in try_get_buffers()
/linux-6.12.1/drivers/net/bonding/
Dbond_main.c4557 int nest_level = 0; in bond_get_stats() local
4562 nest_level = bond_get_lowest_level_rcu(bond_dev); in bond_get_stats()
4565 spin_lock_nested(&bond->stats_lock, nest_level); in bond_get_stats()