Home
last modified time | relevance | path

Searched refs:poke (Results 1 – 3 of 3) sorted by relevance

/kernel/bpf/
Darraymap.c960 void __weak bpf_arch_poke_desc_update(struct bpf_jit_poke_descriptor *poke, in bpf_arch_poke_desc_update() argument
977 struct bpf_jit_poke_descriptor *poke; in prog_array_map_poke_run() local
981 poke = &elem->aux->poke_tab[i]; in prog_array_map_poke_run()
1002 if (!READ_ONCE(poke->tailcall_target_stable)) in prog_array_map_poke_run()
1004 if (poke->reason != BPF_POKE_REASON_TAIL_CALL) in prog_array_map_poke_run()
1006 if (poke->tail_call.map != map || in prog_array_map_poke_run()
1007 poke->tail_call.key != key) in prog_array_map_poke_run()
1010 bpf_arch_poke_desc_update(poke, new, old); in prog_array_map_poke_run()
Dcore.c784 struct bpf_jit_poke_descriptor *poke) in bpf_jit_add_poke_descriptor() argument
793 if (poke->tailcall_target || poke->tailcall_target_stable || in bpf_jit_add_poke_descriptor()
794 poke->tailcall_bypass || poke->adj_off || poke->bypass_addr) in bpf_jit_add_poke_descriptor()
797 switch (poke->reason) { in bpf_jit_add_poke_descriptor()
799 if (!poke->tail_call.map) in bpf_jit_add_poke_descriptor()
806 tab = krealloc(tab, size * sizeof(*poke), GFP_KERNEL); in bpf_jit_add_poke_descriptor()
810 memcpy(&tab[slot], poke, sizeof(*poke)); in bpf_jit_add_poke_descriptor()
Dverifier.c12671 struct bpf_jit_poke_descriptor *poke; in jit_subprogs() local
12673 poke = &prog->aux->poke_tab[j]; in jit_subprogs()
12674 if (poke->insn_idx < subprog_end && in jit_subprogs()
12675 poke->insn_idx >= subprog_start) in jit_subprogs()
12676 poke->aux = func[i]->aux; in jit_subprogs()