Lines Matching refs:dst_reg
323 insn->dst_reg, in print_bpf_insn()
330 insn->dst_reg, in print_bpf_insn()
339 insn->dst_reg, in print_bpf_insn()
345 insn->dst_reg, insn->off, in print_bpf_insn()
357 insn->dst_reg, in print_bpf_insn()
365 insn->code, insn->dst_reg, in print_bpf_insn()
381 insn->code, insn->dst_reg, insn->imm); in print_bpf_insn()
398 insn->code, insn->dst_reg, in print_bpf_insn()
403 insn->code, insn->dst_reg, in print_bpf_insn()
704 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in check_xadd()
709 err = check_mem_access(env, insn->dst_reg, insn->off, in check_xadd()
715 return check_mem_access(env, insn->dst_reg, insn->off, in check_xadd()
936 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in check_alu_op()
941 err = check_reg_arg(regs, insn->dst_reg, DST_OP); in check_alu_op()
965 err = check_reg_arg(regs, insn->dst_reg, DST_OP); in check_alu_op()
974 regs[insn->dst_reg] = regs[insn->src_reg]; in check_alu_op()
976 regs[insn->dst_reg].type = UNKNOWN_VALUE; in check_alu_op()
977 regs[insn->dst_reg].map_ptr = NULL; in check_alu_op()
983 regs[insn->dst_reg].type = CONST_IMM; in check_alu_op()
984 regs[insn->dst_reg].imm = insn->imm; in check_alu_op()
1012 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in check_alu_op()
1034 regs[insn->dst_reg].type == FRAME_PTR && in check_alu_op()
1039 err = check_reg_arg(regs, insn->dst_reg, DST_OP); in check_alu_op()
1044 regs[insn->dst_reg].type = PTR_TO_STACK; in check_alu_op()
1045 regs[insn->dst_reg].imm = insn->imm; in check_alu_op()
1083 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in check_cond_jmp_op()
1090 regs[insn->dst_reg].type == CONST_IMM && in check_cond_jmp_op()
1091 regs[insn->dst_reg].imm == insn->imm) { in check_cond_jmp_op()
1115 regs[insn->dst_reg].type == PTR_TO_MAP_VALUE_OR_NULL) { in check_cond_jmp_op()
1120 regs[insn->dst_reg].type = PTR_TO_MAP_VALUE; in check_cond_jmp_op()
1122 other_branch->regs[insn->dst_reg].type = CONST_IMM; in check_cond_jmp_op()
1123 other_branch->regs[insn->dst_reg].imm = 0; in check_cond_jmp_op()
1125 other_branch->regs[insn->dst_reg].type = PTR_TO_MAP_VALUE; in check_cond_jmp_op()
1126 regs[insn->dst_reg].type = CONST_IMM; in check_cond_jmp_op()
1127 regs[insn->dst_reg].imm = 0; in check_cond_jmp_op()
1136 other_branch->regs[insn->dst_reg].type = CONST_IMM; in check_cond_jmp_op()
1137 other_branch->regs[insn->dst_reg].imm = insn->imm; in check_cond_jmp_op()
1142 regs[insn->dst_reg].type = CONST_IMM; in check_cond_jmp_op()
1143 regs[insn->dst_reg].imm = insn->imm; in check_cond_jmp_op()
1174 err = check_reg_arg(regs, insn->dst_reg, DST_OP); in check_ld_imm()
1185 regs[insn->dst_reg].type = CONST_PTR_TO_MAP; in check_ld_imm()
1186 regs[insn->dst_reg].map_ptr = ld_imm64_to_map_ptr(insn); in check_ld_imm()
1229 if (insn->dst_reg != BPF_REG_0 || insn->off != 0 || in check_ld_abs()
1646 err = check_reg_arg(regs, insn->dst_reg, DST_OP_NO_MARK); in do_check()
1657 insn->dst_reg); in do_check()
1706 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in do_check()
1711 err = check_mem_access(env, insn->dst_reg, insn->off, in do_check()
1724 err = check_reg_arg(regs, insn->dst_reg, SRC_OP); in do_check()
1729 err = check_mem_access(env, insn->dst_reg, insn->off, in do_check()
1742 insn->dst_reg != BPF_REG_0) { in do_check()
1755 insn->dst_reg != BPF_REG_0) { in do_check()
1767 insn->dst_reg != BPF_REG_0) { in do_check()
1846 insn[1].dst_reg != 0 || insn[1].src_reg != 0 || in replace_map_fd_with_map_ptr()
1978 convert_ctx_access(insn->dst_reg, insn->src_reg, in convert_ctx_accesses()