b2p 42 arch/powerpc/net/bpf_jit64.h static const int b2p[] = { b2p 73 arch/powerpc/net/bpf_jit64.h PPC_LI(b2p[TMP_REG_2], (i)); \ b2p 74 arch/powerpc/net/bpf_jit64.h PPC_LDX(r, base, b2p[TMP_REG_2]); \ b2p 80 arch/powerpc/net/bpf_jit64.h PPC_LI(b2p[TMP_REG_2], (i)); \ b2p 81 arch/powerpc/net/bpf_jit64.h PPC_STDX(r, base, b2p[TMP_REG_2]); \ b2p 34 arch/powerpc/net/bpf_jit_comp64.c return (ctx->seen & (1 << (31 - b2p[i]))); b2p 39 arch/powerpc/net/bpf_jit_comp64.c ctx->seen |= (1 << (31 - b2p[i])); b2p 98 arch/powerpc/net/bpf_jit_comp64.c PPC_LI(b2p[TMP_REG_1], 0); b2p 100 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STL(b2p[TMP_REG_1], 1, -(BPF_PPC_STACK_SAVE + 8)); b2p 128 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STL(b2p[i], 1, bpf_jit_stack_offsetof(ctx, b2p[i])); b2p 132 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[BPF_REG_FP], 1, b2p 143 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(b2p[i], 1, bpf_jit_stack_offsetof(ctx, b2p[i])); b2p 160 arch/powerpc/net/bpf_jit_comp64.c PPC_MR(3, b2p[BPF_REG_0]); b2p 170 arch/powerpc/net/bpf_jit_comp64.c PPC_LI64(b2p[TMP_REG_2], func); b2p 172 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_2], 0); b2p 174 arch/powerpc/net/bpf_jit_comp64.c PPC_MTLR(b2p[TMP_REG_1]); b2p 181 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(2, b2p[TMP_REG_2], 8); b2p 235 arch/powerpc/net/bpf_jit_comp64.c int b2p_bpf_array = b2p[BPF_REG_2]; b2p 236 arch/powerpc/net/bpf_jit_comp64.c int b2p_index = b2p[BPF_REG_3]; b2p 242 arch/powerpc/net/bpf_jit_comp64.c PPC_LWZ(b2p[TMP_REG_1], b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)); b2p 244 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPLW(b2p_index, b2p[TMP_REG_1]); b2p 251 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(b2p[TMP_REG_1], 1, bpf_jit_stack_tailcallcnt(ctx)); b2p 252 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPLWI(b2p[TMP_REG_1], MAX_TAIL_CALL_CNT); b2p 258 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], 1); b2p 259 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STL(b2p[TMP_REG_1], 1, bpf_jit_stack_tailcallcnt(ctx)); b2p 262 arch/powerpc/net/bpf_jit_comp64.c PPC_MULI(b2p[TMP_REG_1], b2p_index, 8); b2p 263 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(b2p[TMP_REG_1], b2p[TMP_REG_1], b2p_bpf_array); b2p 264 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_1], offsetof(struct bpf_array, ptrs)); b2p 270 arch/powerpc/net/bpf_jit_comp64.c PPC_CMPLDI(b2p[TMP_REG_1], 0); b2p 274 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LL(b2p[TMP_REG_1], b2p[TMP_REG_1], offsetof(struct bpf_prog, bpf_func)); b2p 277 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], b2p 280 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], b2p[TMP_REG_1], BPF_TAILCALL_PROLOGUE_SIZE); b2p 282 arch/powerpc/net/bpf_jit_comp64.c PPC_MTCTR(b2p[TMP_REG_1]); b2p 305 arch/powerpc/net/bpf_jit_comp64.c u32 dst_reg = b2p[insn[i].dst_reg]; b2p 306 arch/powerpc/net/bpf_jit_comp64.c u32 src_reg = b2p[insn[i].src_reg]; b2p 359 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 360 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 376 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 379 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 382 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 388 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVWU(b2p[TMP_REG_1], dst_reg, src_reg); b2p 389 arch/powerpc/net/bpf_jit_comp64.c PPC_MULW(b2p[TMP_REG_1], src_reg, b2p 390 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 391 arch/powerpc/net/bpf_jit_comp64.c PPC_SUB(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 398 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVDU(b2p[TMP_REG_1], dst_reg, src_reg); b2p 399 arch/powerpc/net/bpf_jit_comp64.c PPC_MULD(b2p[TMP_REG_1], src_reg, b2p 400 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 401 arch/powerpc/net/bpf_jit_comp64.c PPC_SUB(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 414 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 418 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVWU(b2p[TMP_REG_2], dst_reg, b2p 419 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 420 arch/powerpc/net/bpf_jit_comp64.c PPC_MULW(b2p[TMP_REG_1], b2p 421 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1], b2p 422 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_2]); b2p 424 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 427 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 431 arch/powerpc/net/bpf_jit_comp64.c PPC_DIVDU(b2p[TMP_REG_2], dst_reg, b2p 432 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 433 arch/powerpc/net/bpf_jit_comp64.c PPC_MULD(b2p[TMP_REG_1], b2p 434 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1], b2p 435 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_2]); b2p 437 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 440 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 462 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 463 arch/powerpc/net/bpf_jit_comp64.c PPC_AND(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 474 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 475 arch/powerpc/net/bpf_jit_comp64.c PPC_OR(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 491 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 492 arch/powerpc/net/bpf_jit_comp64.c PPC_XOR(dst_reg, dst_reg, b2p[TMP_REG_1]); b2p 593 arch/powerpc/net/bpf_jit_comp64.c PPC_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 16, 23); b2p 595 arch/powerpc/net/bpf_jit_comp64.c PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 24, 31); b2p 597 arch/powerpc/net/bpf_jit_comp64.c PPC_MR(dst_reg, b2p[TMP_REG_1]); b2p 605 arch/powerpc/net/bpf_jit_comp64.c PPC_RLWINM(b2p[TMP_REG_1], dst_reg, 8, 0, 31); b2p 607 arch/powerpc/net/bpf_jit_comp64.c PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 0, 7); b2p 609 arch/powerpc/net/bpf_jit_comp64.c PPC_RLWIMI(b2p[TMP_REG_1], dst_reg, 24, 16, 23); b2p 610 arch/powerpc/net/bpf_jit_comp64.c PPC_MR(dst_reg, b2p[TMP_REG_1]); b2p 622 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], 1, bpf_jit_stack_local(ctx)); b2p 623 arch/powerpc/net/bpf_jit_comp64.c PPC_LDBRX(dst_reg, 0, b2p[TMP_REG_1]); b2p 653 arch/powerpc/net/bpf_jit_comp64.c PPC_LI(b2p[TMP_REG_1], imm); b2p 654 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; b2p 661 arch/powerpc/net/bpf_jit_comp64.c PPC_LI(b2p[TMP_REG_1], imm); b2p 662 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; b2p 669 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 670 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; b2p 677 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 678 arch/powerpc/net/bpf_jit_comp64.c src_reg = b2p[TMP_REG_1]; b2p 689 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], dst_reg, off); b2p 692 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LWARX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1], 0); b2p 694 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); b2p 696 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STWCX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1]); b2p 702 arch/powerpc/net/bpf_jit_comp64.c PPC_ADDI(b2p[TMP_REG_1], dst_reg, off); b2p 704 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_LDARX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1], 0); b2p 705 arch/powerpc/net/bpf_jit_comp64.c PPC_ADD(b2p[TMP_REG_2], b2p[TMP_REG_2], src_reg); b2p 706 arch/powerpc/net/bpf_jit_comp64.c PPC_BPF_STDCX(b2p[TMP_REG_2], 0, b2p[TMP_REG_1]); b2p 778 arch/powerpc/net/bpf_jit_comp64.c PPC_MR(b2p[BPF_REG_0], 3); b2p 884 arch/powerpc/net/bpf_jit_comp64.c PPC_AND_DOT(b2p[TMP_REG_1], dst_reg, b2p 887 arch/powerpc/net/bpf_jit_comp64.c int tmp_reg = b2p[TMP_REG_1]; b2p 920 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 924 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 927 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 952 arch/powerpc/net/bpf_jit_comp64.c PPC_LI32(b2p[TMP_REG_1], imm); b2p 955 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 958 arch/powerpc/net/bpf_jit_comp64.c b2p[TMP_REG_1]); b2p 967 arch/powerpc/net/bpf_jit_comp64.c PPC_ANDI(b2p[TMP_REG_1], dst_reg, imm); b2p 969 arch/powerpc/net/bpf_jit_comp64.c int tmp_reg = b2p[TMP_REG_1];