Home
last modified time | relevance | path

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

/linux/kernel/trace/
A Dbpf_trace.c658 int nest_level = this_cpu_inc_return(bpf_trace_nest_level); in BPF_CALL_5() local
668 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(sds->sds))) { in BPF_CALL_5()
673 sd = &sds->sds[nest_level - 1]; in BPF_CALL_5()
711 int nest_level = this_cpu_inc_return(bpf_event_output_nest_level); in bpf_event_output() local
730 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(bpf_misc_sds.sds))) { in bpf_event_output()
734 sd = this_cpu_ptr(&bpf_misc_sds.sds[nest_level - 1]); in bpf_event_output()
735 regs = this_cpu_ptr(&bpf_pt_regs.regs[nest_level - 1]); in bpf_event_output()
1476 int nest_level = this_cpu_inc_return(bpf_raw_tp_nest_level); in get_bpf_raw_tp_regs() local
1478 if (WARN_ON_ONCE(nest_level > ARRAY_SIZE(tp_regs->regs))) { in get_bpf_raw_tp_regs()
1483 return &tp_regs->regs[nest_level - 1]; in get_bpf_raw_tp_regs()
/linux/kernel/bpf/
A Dhelpers.c726 int nest_level; in try_get_fmt_tmp_buf() local
729 nest_level = this_cpu_inc_return(bpf_bprintf_nest_level); in try_get_fmt_tmp_buf()
730 if (WARN_ON_ONCE(nest_level > MAX_BPRINTF_NEST_LEVEL)) { in try_get_fmt_tmp_buf()
736 *tmp_buf = bufs->tmp_bufs[nest_level - 1]; in try_get_fmt_tmp_buf()
/linux/include/linux/
A Dnetdevice.h4568 unsigned char nest_level = 0; in netif_addr_lock() local
4571 nest_level = dev->nested_level; in netif_addr_lock()
4573 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock()
4578 unsigned char nest_level = 0; in netif_addr_lock_bh() local
4581 nest_level = dev->nested_level; in netif_addr_lock_bh()
4584 spin_lock_nested(&dev->addr_list_lock, nest_level); in netif_addr_lock_bh()
/linux/drivers/net/bonding/
A Dbond_main.c4064 int nest_level = 0; in bond_get_stats() local
4069 nest_level = bond_get_lowest_level_rcu(bond_dev); in bond_get_stats()
4072 spin_lock_nested(&bond->stats_lock, nest_level); in bond_get_stats()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c3784 int nest_level, err = 0; in add_vlan_pop_action() local
3786 nest_level = attr->parse_attr->filter_dev->lower_level - in add_vlan_pop_action()
3788 while (nest_level--) { in add_vlan_pop_action()

Completed in 60 milliseconds