Lines Matching refs:func
106 void *ip = tr->func.addr; in unregister_fentry()
109 if (tr->func.ftrace_managed) in unregister_fentry()
118 void *ip = tr->func.addr; in modify_fentry()
121 if (tr->func.ftrace_managed) in modify_fentry()
131 void *ip = tr->func.addr; in register_fentry()
137 tr->func.ftrace_managed = ret; in register_fentry()
139 if (tr->func.ftrace_managed) in register_fentry()
334 &tr->func.model, flags, tprogs, in bpf_trampoline_update()
335 tr->func.addr); in bpf_trampoline_update()
406 err = bpf_arch_text_poke(tr->func.addr, BPF_MOD_JUMP, NULL, in bpf_trampoline_link_prog()
441 err = bpf_arch_text_poke(tr->func.addr, BPF_MOD_JUMP, in bpf_trampoline_unlink_prog()
464 if (tr->func.addr) in bpf_trampoline_get()
467 memcpy(&tr->func.model, &tgt_info->fmodel, sizeof(tgt_info->fmodel)); in bpf_trampoline_get()
468 tr->func.addr = (void *)tgt_info->tgt_addr; in bpf_trampoline_get()