Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h314 unsigned long map_ptr_state; /* pointer/poison value for maps */ member
/kernel/linux/linux-5.10/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()
5320 if (!BPF_MAP_PTR(aux->map_ptr_state)) in record_func_map()
5323 else if (BPF_MAP_PTR(aux->map_ptr_state) != meta->map_ptr) in record_func_map()
11562 .tail_call.map = BPF_MAP_PTR(aux->map_ptr_state), in fixup_bpf_calls()
11591 map_ptr = BPF_MAP_PTR(aux->map_ptr_state); in fixup_bpf_calls()
11625 map_ptr = BPF_MAP_PTR(aux->map_ptr_state); in fixup_bpf_calls()