Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/net/
Dbpf_jit_comp.c2053 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in arch_prepare_bpf_trampoline() local
2158 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2159 branches = kcalloc(fmod_ret->nr_links, sizeof(u8 *), in arch_prepare_bpf_trampoline()
2164 if (invoke_bpf_mod_ret(m, &prog, fmod_ret, regs_off, in arch_prepare_bpf_trampoline()
2191 if (fmod_ret->nr_links) { in arch_prepare_bpf_trampoline()
2201 for (i = 0; i < fmod_ret->nr_links; i++) in arch_prepare_bpf_trampoline()
/linux-6.1.9/arch/arm64/net/
Dbpf_jit_comp.c1785 struct bpf_tramp_links *fmod_ret = &tlinks[BPF_TRAMP_MODIFY_RETURN]; in prepare_trampoline() local
1894 if (fmod_ret->nr_links) { in prepare_trampoline()
1895 branches = kcalloc(fmod_ret->nr_links, sizeof(__le32 *), in prepare_trampoline()
1900 invoke_bpf_mod_ret(ctx, fmod_ret, args_off, retval_off, in prepare_trampoline()
1917 for (i = 0; i < fmod_ret->nr_links && ctx->image != NULL; i++) { in prepare_trampoline()