)
+ emit(ARM_MOV_R(ARM_R0, rm), ctx);
ctx->seen |= SEEN_CALL;
emit_mov_i(ARM_R3, (u32)jit_udiv, ctx);
Acked-by: Mircea Gherzan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majo
func = (void *)ctx.target;
> out:
> kfree(ctx.offsets);
> +
> + *out_ctx = ctx;
> return;
> }
>
> +void bpf_jit_compile(struct sk_filter *fp)
> +{
> + struct jit_ctx ctx;
> +
> + memset(&ctx, 0, sizeof(ctx));
> + ctx.prog_len
k_run_filter) {
> + work = (struct work_struct *)fp->bpf_func;
> +
> + INIT_WORK(work, bpf_jit_free_worker);
> + schedule_work(work);
> + }
> +}
> +#endif
> --
> 1.7.10.4
>
Acked-by: Mircea Gherzan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
ave to take the slow path
> */
> emit_mov_i(r_off, k, ctx);
> --
> 1.7.7.6
Acked-by: Mircea Gherzan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
R_S(r_dst, ARM_R1, r_src, SRTYPE_LSR, 8), ctx);
> +
> + /*
> + * we need to mask out the bits set in r_dst[23:16] due to
> + * the first shift instruction.
> + *
> + * note that 0x8ff is the encoded immediate 0x00ff0000.
> + */
> + emit(ARM_BIC
(SCRATCH_SP_OFFSET + (k))
> +#define SCRATCH_OFF(k) (SCRATCH_SP_OFFSET + 4 * (k))
>
> #define SEEN_MEM ((1 << BPF_MEMWORDS) - 1)
> #define SEEN_MEM_WORD(k) (1 << (k))
Acked-by: Mircea Gherzan
--
To unsubscribe from this list: send the line
ctx.imm_count);
> + ctx.imms = kzalloc(4 * ctx.imm_count, GFP_KERNEL);
> if (ctx.imms == NULL)
> goto out;
> }
Acked-by: Mircea Gherzan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
7 matches
Mail list logo