Home
last modified time | relevance | path

Searched refs:map_ptr_state (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/include/linux/
Dbpf_verifier.h337 unsigned long map_ptr_state; /* pointer/poison value for maps */ member
/Linux-v5.15/kernel/bpf/
Dverifier.c191 return BPF_MAP_PTR(aux->map_ptr_state) == BPF_MAP_PTR_POISON; in bpf_map_ptr_poisoned()
196 return aux->map_ptr_state & BPF_MAP_PTR_UNPRIV; in bpf_map_ptr_unpriv()
204 aux->map_ptr_state = (unsigned long)map | in bpf_map_ptr_store()
5889 map = BPF_MAP_PTR(insn_aux->map_ptr_state); in set_map_elem_callback_state()
6049 if (!BPF_MAP_PTR(aux->map_ptr_state)) in record_func_map()
6052 else if (BPF_MAP_PTR(aux->map_ptr_state) != meta->map_ptr) in record_func_map()
12813 .tail_call.map = BPF_MAP_PTR(aux->map_ptr_state), in do_misc_fixups()
12842 map_ptr = BPF_MAP_PTR(aux->map_ptr_state); in do_misc_fixups()
12910 map_ptr = BPF_MAP_PTR(aux->map_ptr_state); in do_misc_fixups()