bpf_func
prog->bpf_func = (void *)ctx->jit.buf;
ctx->jit.buf = (u8 *)ctx->prog->bpf_func;
ctx->prog->bpf_func = NULL;
BUILD_BUG_ON(offsetof(struct bpf_prog, bpf_func) >
off = offsetof(struct bpf_prog, bpf_func);
prog->bpf_func = (void *)ctx.target;
prog->bpf_func = (void *)ctx.ro_image + cfi_get_offset();
prog->bpf_func = NULL;
emit_call((const u64)p->bpf_func, ctx);
prog->bpf_func = (void *)prog->bpf_func - cfi_get_offset();
off = offsetof(struct bpf_prog, bpf_func);
ret = emit_call(ctx, (const u64)p->bpf_func);
prog->bpf_func = (void *)ctx.ro_image;
prog->bpf_func = NULL;
off = offsetof(struct bpf_prog, bpf_func);
prog->bpf_func = (void *)ctx.target;
off = offsetof(struct bpf_prog, bpf_func);
off = offsetof(struct bpf_prog, bpf_func);
off = offsetof(struct bpf_prog, bpf_func);
BUILD_BUG_ON(sizeof(bpfp.bpf_func) != 4);
off = offsetof(struct bpf_prog, bpf_func);
BUILD_BUG_ON(sizeof(bpfp.bpf_func) != 8);
prog->bpf_func = (void *)ctx->insns;
prog->bpf_func = NULL;
unsigned long bpf_func, bpf_func_end, size, offset;
bpf_func = (unsigned long)ip;
if (!bpf_address_lookup(bpf_func, &size, &offset, name)) {
pr_err("%s (0x%lx): kernel/modules are not supported\n", __func__, bpf_func);
bpf_func);
bpf_func_end = bpf_func + size;
if (!is_offset_in_branch_range((long)ip - 4 - bpf_func)) {
bpf_func);
ip = (void *)bpf_func;
fp->bpf_func = (void *)fimage;
fp->bpf_func = NULL;
(unsigned long)p->bpf_func,
EMIT(PPC_RAW_LL(_R12, _R25, offsetof(struct bpf_prog, bpf_func)));
EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_prog, bpf_func)));
offsetof(struct bpf_prog, bpf_func)));
off = offsetof(struct bpf_prog, bpf_func);
off = offsetof(struct bpf_prog, bpf_func);
ret = emit_call((const u64)p->bpf_func, true, ctx);
prog->bpf_func = (void *)ctx->ro_insns + cfi_get_offset();
prog->bpf_func = NULL;
offsetof(struct bpf_prog, bpf_func));
fp->bpf_func = (void *) jit.prg_buf;
fp->bpf_func = NULL;
EMIT6_PCREL_RILB_PTR(0xc0050000, REG_14, p->bpf_func);
fp->bpf_func = (void *)image;
execmem_free(fp->bpf_func);
prog->bpf_func = (void *)ctx.image;
prog->bpf_func = NULL;
off = offsetof(struct bpf_prog, bpf_func);
if (emit_rsb_call(&prog, p->bpf_func, image + (prog - (u8 *)rw_image)))
prog->bpf_func = NULL;
prog->bpf_func = (void *)image + cfi_get_offset();
prog->bpf_func = (void *)prog->bpf_func - cfi_get_offset();
old_addr = old ? (u8 *)old->bpf_func + poke->adj_off : NULL;
new_addr = new ? (u8 *)new->bpf_func + poke->adj_off : NULL;
offsetof(struct bpf_prog, bpf_func));
(u8 *)target->bpf_func +
offsetof(struct bpf_prog, bpf_func));
prog->bpf_func = (void *)image;
bpf_func_t bpf_func)
return bpf_func(ctx, insnsi);
static_call(bpf_dispatcher_##name##_call)(ctx, insnsi, bpf_func)
#define __BPF_DISPATCHER_CALL(name) bpf_func(ctx, insnsi)
bpf_func_t bpf_func) \
bpf_func_t bpf_func); \
unsigned int (*bpf_func)(const void *ctx,
void bpf_lsm_find_cgroup_shim(const struct bpf_prog *prog, bpf_func_t *bpf_func);
bpf_func_t *bpf_func)
unsigned int (*bpf_func)(const void *,
ret = dfunc(ctx, prog->insnsi, prog->bpf_func);
ret = dfunc(ctx, prog->insnsi, prog->bpf_func);
void *bpf_func;
.bpf_func = __bpf_trace_##template, \
*bpf_func = __cgroup_bpf_run_lsm_current;
*bpf_func = __cgroup_bpf_run_lsm_socket;
*bpf_func = __cgroup_bpf_run_lsm_sock;
*bpf_func = __cgroup_bpf_run_lsm_current;
bpf_func_t *bpf_func)
unsigned long real_start = (unsigned long)fp->bpf_func;
unsigned long real_start = (unsigned long)fp->bpf_func;
addr = (u8 *)prog->aux->func[off]->bpf_func;
jited_linfo[0] = prog->bpf_func;
jited_linfo[i] = prog->bpf_func +
fp->bpf_func = interpreters[idx];
fp->bpf_func = __bpf_prog_ret0_warn;
fp->bpf_func = __bpf_prog_ret0_warn;
if (fp->bpf_func)
.bpf_func = __bpf_prog_ret1,
prog->aux->ksym.start = (unsigned long) prog->bpf_func;
fp->aux->ksym_prefix.start = (unsigned long) fp->bpf_func - 16;
fp->aux->ksym_prefix.end = (unsigned long) fp->bpf_func;
*ipsp++ = (s64)(uintptr_t)d->progs[i].prog->bpf_func;
insn[0].imm = (u32)(long)func[subprog]->bpf_func;
insn[1].imm = ((u64)(long)func[subprog]->bpf_func) >> 32;
insn->imm = BPF_CALL_IMM(func[subprog]->bpf_func);
old_bpf_func = func[i]->bpf_func;
if (tmp != func[i] || func[i]->bpf_func != old_bpf_func) {
prog->bpf_func = func[0]->bpf_func;
prog->aux->bpf_exception_cb = (void *)func[env->exception_callback_subprog]->bpf_func;
prog->bpf_func = bpf_prog_warn_on_exec;
iter_state = &bpf_func(env, iter_reg)->stack[spi].spilled_ptr;
img = (u8 *) prog->aux->func[i]->bpf_func;
if (copy_to_user(uinsns, prog->bpf_func, ulen))
prog->aux->func[i]->bpf_func;
ksym_addr = (unsigned long) prog->bpf_func;
bpf_func_t bpf_func,
p->bpf_func = bpf_func;
bpf_func_t bpf_func)
if (p->bpf_func == bpf_func)
bpf_func_t bpf_func;
bpf_lsm_find_cgroup_shim(prog, &bpf_func);
shim_link = cgroup_shim_find(tr, bpf_func);
shim_link = cgroup_shim_alloc(prog, bpf_func, cgroup_atype, attach_type);
bpf_func_t bpf_func;
bpf_lsm_find_cgroup_shim(prog, &bpf_func);
shim_link = cgroup_shim_find(tr, bpf_func);
node->link->prog->bpf_func);
tr->extension_prog->bpf_func, NULL);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
fname = kallsyms_lookup((unsigned long)btp->bpf_func, NULL, NULL, NULL,
addr = (long) tgt_prog->bpf_func;
addr = (long) tgt_prog->aux->func[subprog]->bpf_func;
struct bpf_func_state *ptr_state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
if (!is_spi_bounds_valid(bpf_func(env, reg), spi, nr_slots))
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, key);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
struct bpf_func_state *state = bpf_func(env, reg);
(u64)(unsigned long)prog->bpf_func,
(u64)(unsigned long)subprog->bpf_func,
return tracepoint_probe_register_may_exist(tp, (void *)btp->bpf_func, link);
return tracepoint_probe_unregister(btp->tp, (void *)btp->bpf_func, link);
fp->bpf_func = NULL;