Lines Matching refs:R

86     u32 R[2];          // Register values.  member
171 APF_TRACE_HOOK(ctx->pc, ctx->R, ctx->program, ctx->program_len, in do_apf_run()
182 #define REG (ctx->R[reg_num]) in do_apf_run()
183 #define OTHER_REG (ctx->R[reg_num ^ 1]) in do_apf_run()
200 #define ARITH_REG (ctx->R[reg_num & ctx->v6]) in do_apf_run()
201 arith_imm = (ctx->v6) ? (len_field ? imm : OTHER_REG) : (reg_num ? ctx->R[1] : imm); in do_apf_run()
202 … = (ctx->v6) ? (len_field ? signed_imm : (s32)OTHER_REG) : (reg_num ? (s32)ctx->R[1] : signed_imm); in do_apf_run()
222 if (opcode >= LDBX_OPCODE) offs += ctx->R[1]; in do_apf_run()
270 cmp_imm = ctx->R[1]; in do_apf_run()
275 case JEQ_OPCODE: if ( ctx->R[0] == cmp_imm ) ctx->pc += imm; break; in do_apf_run()
276 case JNE_OPCODE: if ( ctx->R[0] != cmp_imm ) ctx->pc += imm; break; in do_apf_run()
277 case JGT_OPCODE: if ( ctx->R[0] > cmp_imm ) ctx->pc += imm; break; in do_apf_run()
278 case JLT_OPCODE: if ( ctx->R[0] < cmp_imm ) ctx->pc += imm; break; in do_apf_run()
279 case JSET_OPCODE: if ( ctx->R[0] & cmp_imm ) ctx->pc += imm; break; in do_apf_run()
280 case JNSET_OPCODE: if (!(ctx->R[0] & cmp_imm)) ctx->pc += imm; break; in do_apf_run()
290 const u32 last_packet_offs = ctx->R[0] + len - 1; in do_apf_run()
299 ASSERT_IN_PACKET_BOUNDS(ctx->R[0]); in do_apf_run()
301 ASSERT_RETURN(last_packet_offs >= ctx->R[0]); in do_apf_run()
304 matched |= !memcmp(ctx->program + ctx->pc, ctx->packet + ctx->R[0], len); in do_apf_run()
404 pktcopy_src_offset = ctx->R[0]; in do_apf_run()
408 u32 copy_len = ctx->R[1]; in do_apf_run()
438 u32 udp_payload_offset = ctx->R[0]; in do_apf_run()