Lines Matching refs:target
168 /* Compute the 28-bit jump target address from a BPF program location */
172 unsigned long pc = (unsigned long)&ctx->target[ctx->jit_index];
173 unsigned long addr = (unsigned long)&ctx->target[index];
175 if (!ctx->target)
580 int target = ctx->bpf_index + bpf_off + 1;
583 offset = (INDEX(ctx->descriptors[target]) -
687 int target = get_target(ctx, ctx->bpf_index + bpf_off + 1);
689 if (target < 0)
691 emit(ctx, j, target);
828 int target = get_target(ctx, ctx->bpf_index + off + 1);
830 if (target < 0)
832 emit(ctx, j, target);
840 int target = get_target(ctx, ctx->program->len);
842 if (target < 0)
844 emit(ctx, j, target);
865 if (ctx->target == NULL) {
877 if (ctx->target == NULL)
998 ctx.target = (u32 *)image_ptr;
1017 (unsigned long)&ctx.target[ctx.jit_index]);
1020 bpf_jit_dump(prog->len, image_size, 2, ctx.target);
1022 prog->bpf_func = (void *)ctx.target;