Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/trace/
Dbpf_trace.c920 int nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5() local
930 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
935 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
973 int nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output() local
992 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
996 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
997 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1601 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
1603 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) { in get_bpf_raw_tp_regs()
1608 return &tp_regs->regs[nest_level - 1]; in get_bpf_raw_tp_regs()
/kernel/linux/linux-5.10/net/sched/
Dact_mirred.c235 unsigned int nest_level; in tcf_mirred_act() local
246 nest_level = __this_cpu_inc_return(mirred_nest_level); in tcf_mirred_act()
247 if (unlikely(nest_level > MIRRED_NEST_LIMIT)) { in tcf_mirred_act()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h4400 unsigned char nest_level = 0; in netif_addr_lock() local
4403 nest_level = dev->nested_level; in netif_addr_lock()
4405 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock()
4410 unsigned char nest_level = 0; in netif_addr_lock_bh() local
4413 nest_level = dev->nested_level; in netif_addr_lock_bh()
4416 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock_bh()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_main.c3901 int nest_level = 0; in bond_get_stats() local
3906 nest_level = bond_get_lowest_level_rcu(bond_dev); in bond_get_stats()
3909 spin_lock_nested(&bond->stats_lock, nest_level); in bond_get_stats()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c4102 int nest_level, err = 0; in add_vlan_pop_action() local
4104 nest_level = attr->parse_attr->filter_dev->lower_level - in add_vlan_pop_action()
4106 while (nest_level--) { in add_vlan_pop_action()