H A D | bpf_jit_32.c | 116 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) _emit() function 132 _emit(ARM_COND_AL, inst, ctx); emit() 325 _emit(cond, ARM_LDRB_I(ARM_R3, r_addr, 1), ctx); emit_load_be32() 326 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); emit_load_be32() 327 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 3), ctx); emit_load_be32() 328 _emit(cond, ARM_LSL_I(ARM_R3, ARM_R3, 16), ctx); emit_load_be32() 329 _emit(cond, ARM_LDRB_I(ARM_R0, r_addr, 2), ctx); emit_load_be32() 330 _emit(cond, ARM_ORR_S(ARM_R3, ARM_R3, ARM_R1, SRTYPE_LSL, 24), ctx); emit_load_be32() 331 _emit(cond, ARM_ORR_R(ARM_R3, ARM_R3, ARM_R2), ctx); emit_load_be32() 332 _emit(cond, ARM_ORR_S(r_res, ARM_R3, ARM_R0, SRTYPE_LSL, 8), ctx); emit_load_be32() 337 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); emit_load_be16() 338 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 1), ctx); emit_load_be16() 339 _emit(cond, ARM_ORR_S(r_res, ARM_R2, ARM_R1, SRTYPE_LSL, 8), ctx); emit_load_be16() 361 _emit(cond, ARM_LDR_I(r_res, r_addr, 0), ctx); emit_load_be32() 363 _emit(cond, ARM_REV(r_res, r_res), ctx); emit_load_be32() 369 _emit(cond, ARM_LDRH_I(r_res, r_addr, 0), ctx); emit_load_be16() 371 _emit(cond, ARM_REV16(r_res, r_res), ctx); emit_load_be16() 417 _emit(cond, ARM_B(b_imm(ctx->ret0_fp_idx, ctx)), ctx); emit_err_ret() 421 _emit(cond, ARM_MOV_I(ARM_R0, 0), ctx); emit_err_ret() 422 _emit(cond, ARM_B(b_imm(ctx->skf->len, ctx)), ctx); emit_err_ret() 542 _emit(condt, ARM_ADD_R(r_scratch, r_off, r_skb_data), build_body() 546 _emit(condt, ARM_LDRB_I(r_A, r_scratch, 0), build_body() 553 _emit(condt, ARM_B(b_imm(i + 1, ctx)), ctx); build_body() 600 _emit(ARM_COND_HI, ARM_LDRB_R(ARM_R0, r_skb_data, build_body() 606 _emit(ARM_COND_HI, ARM_B(b_imm(i + 1, ctx) - 2), ctx); build_body() 738 _emit(condt, ARM_B(b_imm(i + inst->jt + 1, build_body() 741 _emit(condt ^ 1, ARM_B(b_imm(i + inst->jf + 1, build_body()
|