arch/powerpc/net/bpf_jit.h
102
EMIT(PPC_RAW_SLDI(d, d, 32)); \
arch/powerpc/net/bpf_jit.h
104
EMIT(PPC_RAW_ORIS(d, d, \
arch/powerpc/net/bpf_jit.h
107
EMIT(PPC_RAW_ORI(d, d, (uintptr_t)(i) & \
arch/powerpc/net/bpf_jit.h
115
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)))
arch/powerpc/net/bpf_jit.h
135
EMIT(PPC_RAW_NOP()); \
arch/powerpc/net/bpf_jit.h
41
EMIT(PPC_RAW_BRANCH(offset)); \
arch/powerpc/net/bpf_jit.h
52
EMIT(PPC_INST_BRANCH_COND | (((cond) & 0x3ff) << 16) | (offset & 0xfffc)); \
arch/powerpc/net/bpf_jit.h
59
EMIT(PPC_INST_BRANCH_COND | (((cond) & 0x3ff) << 16) | (offset & 0xfffc)); \
arch/powerpc/net/bpf_jit.h
74
EMIT(PPC_RAW_LI(d, i)); \
arch/powerpc/net/bpf_jit.h
76
EMIT(PPC_RAW_LIS(d, IMM_H(i))); \
arch/powerpc/net/bpf_jit.h
78
EMIT(PPC_RAW_ORI(d, d, IMM_L(i))); \
arch/powerpc/net/bpf_jit.h
94
EMIT(PPC_RAW_LI(d, ((uintptr_t)(i) >> 32) & \
arch/powerpc/net/bpf_jit.h
97
EMIT(PPC_RAW_LIS(d, ((uintptr_t)(i) >> 48))); \
arch/powerpc/net/bpf_jit.h
99
EMIT(PPC_RAW_ORI(d, d, \
arch/powerpc/net/bpf_jit_comp.c
1014
EMIT(PPC_RAW_LL(_R3, _R1, retval_off));
arch/powerpc/net/bpf_jit_comp.c
1017
EMIT(PPC_RAW_LL(_R26, _R1, nvr_off + SZL));
arch/powerpc/net/bpf_jit_comp.c
1018
EMIT(PPC_RAW_LL(_R25, _R1, nvr_off));
arch/powerpc/net/bpf_jit_comp.c
1022
EMIT(PPC_RAW_LD(_R2, _R1, 24));
arch/powerpc/net/bpf_jit_comp.c
1025
EMIT(PPC_RAW_ADDI(_R1, _R1, bpf_frame_size));
arch/powerpc/net/bpf_jit_comp.c
1026
EMIT(PPC_RAW_LL(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp.c
1027
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp.c
1028
EMIT(PPC_RAW_BLR());
arch/powerpc/net/bpf_jit_comp.c
1031
EMIT(PPC_RAW_LL(_R0, _R1, alt_lr_off));
arch/powerpc/net/bpf_jit_comp.c
1032
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp.c
1033
EMIT(PPC_RAW_ADDI(_R1, _R1, bpf_frame_size));
arch/powerpc/net/bpf_jit_comp.c
1034
EMIT(PPC_RAW_LL(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp.c
1035
EMIT(PPC_RAW_BLR());
arch/powerpc/net/bpf_jit_comp.c
1037
EMIT(PPC_RAW_LL(_R0, _R1, retaddr_off));
arch/powerpc/net/bpf_jit_comp.c
1038
EMIT(PPC_RAW_MTCTR(_R0));
arch/powerpc/net/bpf_jit_comp.c
1039
EMIT(PPC_RAW_ADDI(_R1, _R1, bpf_frame_size));
arch/powerpc/net/bpf_jit_comp.c
1040
EMIT(PPC_RAW_LL(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp.c
1041
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp.c
1042
EMIT(PPC_RAW_BCTR());
arch/powerpc/net/bpf_jit_comp.c
526
EMIT(PPC_RAW_STD(_R3, _R1, run_ctx_off + offsetof(struct bpf_tramp_run_ctx,
arch/powerpc/net/bpf_jit_comp.c
531
EMIT(PPC_RAW_STW(_R3, _R1,
arch/powerpc/net/bpf_jit_comp.c
533
EMIT(PPC_RAW_STW(_R4, _R1,
arch/powerpc/net/bpf_jit_comp.c
539
EMIT(PPC_RAW_MR(_R25, _R3));
arch/powerpc/net/bpf_jit_comp.c
540
EMIT(PPC_RAW_ADDI(_R4, _R1, run_ctx_off));
arch/powerpc/net/bpf_jit_comp.c
547
EMIT(PPC_RAW_MR(_R26, _R3));
arch/powerpc/net/bpf_jit_comp.c
555
EMIT(PPC_RAW_CMPLI(_R3, 0));
arch/powerpc/net/bpf_jit_comp.c
557
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp.c
560
EMIT(PPC_RAW_ADDI(_R3, _R1, regs_off));
arch/powerpc/net/bpf_jit_comp.c
570
EMIT(PPC_RAW_LL(_R12, _R25, offsetof(struct bpf_prog, bpf_func)));
arch/powerpc/net/bpf_jit_comp.c
571
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp.c
572
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp.c
576
EMIT(PPC_RAW_STL(_R3, _R1, retval_off));
arch/powerpc/net/bpf_jit_comp.c
587
EMIT(PPC_RAW_MR(_R3, _R25));
arch/powerpc/net/bpf_jit_comp.c
588
EMIT(PPC_RAW_MR(_R4, _R26));
arch/powerpc/net/bpf_jit_comp.c
589
EMIT(PPC_RAW_ADDI(_R5, _R1, run_ctx_off));
arch/powerpc/net/bpf_jit_comp.c
606
EMIT(PPC_RAW_LI(_R3, 0));
arch/powerpc/net/bpf_jit_comp.c
607
EMIT(PPC_RAW_STL(_R3, _R1, retval_off));
arch/powerpc/net/bpf_jit_comp.c
618
EMIT(PPC_RAW_LL(_R3, _R1, retval_off));
arch/powerpc/net/bpf_jit_comp.c
619
EMIT(PPC_RAW_CMPLI(_R3, 0));
arch/powerpc/net/bpf_jit_comp.c
627
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp.c
64
EMIT(PPC_RAW_MFLR(_R0));
arch/powerpc/net/bpf_jit_comp.c
644
EMIT(PPC_RAW_LD(_R4, _R1, bpf_frame_size));
arch/powerpc/net/bpf_jit_comp.c
646
EMIT(PPC_RAW_LD(_R3, _R4, -BPF_PPC_TAILCALL));
arch/powerpc/net/bpf_jit_comp.c
65
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp.c
652
EMIT(PPC_RAW_CMPLWI(_R3, MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp.c
654
EMIT(PPC_RAW_ADDI(_R3, _R4, -BPF_PPC_TAILCALL));
arch/powerpc/net/bpf_jit_comp.c
661
EMIT(PPC_RAW_STL(_R3, _R1, bpf_frame_size - BPF_PPC_TAILCALL));
arch/powerpc/net/bpf_jit_comp.c
664
EMIT(PPC_RAW_LL(_R4, _R1, r4_off));
arch/powerpc/net/bpf_jit_comp.c
67
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp.c
676
EMIT(PPC_RAW_STL(_R4, _R1, r4_off));
arch/powerpc/net/bpf_jit_comp.c
69
EMIT(PPC_RAW_BRANCH(4 - (long)ctx->idx * 4));
arch/powerpc/net/bpf_jit_comp.c
690
EMIT(PPC_RAW_STL(_R3 + i, _R1, regs_off + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
692
EMIT(PPC_RAW_LL(_R3, _R1, param_save_area_offset + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
693
EMIT(PPC_RAW_STL(_R3, _R1, regs_off + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
703
EMIT(PPC_RAW_LL(_R3 + i, _R1, regs_off + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
716
EMIT(PPC_RAW_LL(_R3, _R1, param_save_area_offset + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
717
EMIT(PPC_RAW_STL(_R3, _R1, STACK_FRAME_MIN_SIZE + i * SZL));
arch/powerpc/net/bpf_jit_comp.c
857
EMIT(PPC_RAW_STL(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp.c
86
EMIT(PPC_RAW_MFLR(_R11));
arch/powerpc/net/bpf_jit_comp.c
860
EMIT(PPC_RAW_STLU(_R1, _R1, -bpf_frame_size));
arch/powerpc/net/bpf_jit_comp.c
864
EMIT(PPC_RAW_STD(_R2, _R1, 24));
arch/powerpc/net/bpf_jit_comp.c
87
EMIT(PPC_RAW_BCL4());
arch/powerpc/net/bpf_jit_comp.c
870
EMIT(PPC_RAW_STL(_R4, _R1, r4_off));
arch/powerpc/net/bpf_jit_comp.c
875
EMIT(PPC_RAW_MFLR(_R3));
arch/powerpc/net/bpf_jit_comp.c
877
EMIT(PPC_RAW_STL(_R3, _R1, alt_lr_off));
arch/powerpc/net/bpf_jit_comp.c
879
EMIT(PPC_RAW_STL(_R3, _R1, retaddr_off));
arch/powerpc/net/bpf_jit_comp.c
88
EMIT(PPC_RAW_MFLR(_R12));
arch/powerpc/net/bpf_jit_comp.c
89
EMIT(PPC_RAW_LL(_R12, _R12, -8-SZL));
arch/powerpc/net/bpf_jit_comp.c
896
EMIT(PPC_RAW_LWZ(_R4, _R3, 4));
arch/powerpc/net/bpf_jit_comp.c
897
EMIT(PPC_RAW_SLWI(_R4, _R4, 6));
arch/powerpc/net/bpf_jit_comp.c
898
EMIT(PPC_RAW_SRAWI(_R4, _R4, 6));
arch/powerpc/net/bpf_jit_comp.c
899
EMIT(PPC_RAW_ADD(_R3, _R3, _R4));
arch/powerpc/net/bpf_jit_comp.c
90
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp.c
903
EMIT(PPC_RAW_STL(_R3, _R1, ip_off));
arch/powerpc/net/bpf_jit_comp.c
907
EMIT(PPC_RAW_ADDI(_R3, _R3, 4));
arch/powerpc/net/bpf_jit_comp.c
908
EMIT(PPC_RAW_STL(_R3, _R1, retaddr_off));
arch/powerpc/net/bpf_jit_comp.c
91
EMIT(PPC_RAW_MTLR(_R11));
arch/powerpc/net/bpf_jit_comp.c
912
EMIT(PPC_RAW_LI(_R3, nr_regs));
arch/powerpc/net/bpf_jit_comp.c
913
EMIT(PPC_RAW_STL(_R3, _R1, nregs_off));
arch/powerpc/net/bpf_jit_comp.c
916
EMIT(PPC_RAW_STL(_R25, _R1, nvr_off));
arch/powerpc/net/bpf_jit_comp.c
917
EMIT(PPC_RAW_STL(_R26, _R1, nvr_off + SZL));
arch/powerpc/net/bpf_jit_comp.c
92
EMIT(PPC_RAW_BCTR());
arch/powerpc/net/bpf_jit_comp.c
951
EMIT(PPC_RAW_LL(_R3, _R1, retaddr_off));
arch/powerpc/net/bpf_jit_comp.c
952
EMIT(PPC_RAW_MTCTR(_R3));
arch/powerpc/net/bpf_jit_comp.c
963
EMIT(PPC_RAW_LD(_R2, _R1, 24));
arch/powerpc/net/bpf_jit_comp.c
964
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp.c
969
EMIT(PPC_RAW_STL(_R3, _R1, retval_off));
arch/powerpc/net/bpf_jit_comp.c
978
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp32.c
1006
EMIT(PPC_RAW_CMPLW(src_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1008
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
1018
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
1020
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp32.c
1036
EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1037
EMIT(PPC_RAW_EXTSB(dst_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp32.c
1040
EMIT(PPC_RAW_LHA(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1043
EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1047
EMIT(PPC_RAW_SRAWI(dst_reg_h, dst_reg, 31));
arch/powerpc/net/bpf_jit_comp32.c
1052
EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1055
EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1058
EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1061
EMIT(PPC_RAW_LWZ(dst_reg_h, src_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
1062
EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off + 4));
arch/powerpc/net/bpf_jit_comp32.c
1066
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
1136
EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5) - 1, _R1, 8));
arch/powerpc/net/bpf_jit_comp32.c
1137
EMIT(PPC_RAW_STW(bpf_to_ppc(BPF_REG_5), _R1, 12));
arch/powerpc/net/bpf_jit_comp32.c
1144
EMIT(PPC_RAW_MR(bpf_to_ppc(BPF_REG_0) - 1, _R3));
arch/powerpc/net/bpf_jit_comp32.c
1145
EMIT(PPC_RAW_MR(bpf_to_ppc(BPF_REG_0), _R4));
arch/powerpc/net/bpf_jit_comp32.c
1226
EMIT(PPC_RAW_CMPLW(dst_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
1228
EMIT(PPC_RAW_CMPLW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1237
EMIT(PPC_RAW_CMPLW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1244
EMIT(PPC_RAW_CMPW(dst_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
1246
EMIT(PPC_RAW_CMPLW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1253
EMIT(PPC_RAW_CMPW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1256
EMIT(PPC_RAW_AND_DOT(_R0, dst_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
1258
EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1261
EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
1274
EMIT(PPC_RAW_CMPLWI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
1276
EMIT(PPC_RAW_CMPLWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
1280
EMIT(PPC_RAW_CMPLW(dst_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1283
EMIT(PPC_RAW_CMPLW(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1293
EMIT(PPC_RAW_CMPLWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
1296
EMIT(PPC_RAW_CMPLW(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1305
EMIT(PPC_RAW_CMPWI(dst_reg_h, imm < 0 ? -1 : 0));
arch/powerpc/net/bpf_jit_comp32.c
1307
EMIT(PPC_RAW_CMPLWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
131
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp32.c
1310
EMIT(PPC_RAW_CMPWI(dst_reg_h, imm < 0 ? -1 : 0));
arch/powerpc/net/bpf_jit_comp32.c
1313
EMIT(PPC_RAW_CMPLW(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1325
EMIT(PPC_RAW_CMPWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
1329
EMIT(PPC_RAW_CMPW(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
1336
EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
1340
EMIT(PPC_RAW_CMPWI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
1343
EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
135
EMIT(PPC_RAW_LI(_R4, 0));
arch/powerpc/net/bpf_jit_comp32.c
1350
EMIT(PPC_RAW_ANDI(_R0, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
1353
EMIT(PPC_RAW_AND_DOT(_R0, dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
137
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp32.c
1381
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
142
EMIT(PPC_RAW_STWU(_R1, _R1, -BPF_PPC_STACKFRAME(ctx)));
arch/powerpc/net/bpf_jit_comp32.c
145
EMIT(PPC_RAW_STW(_R4, _R1, bpf_jit_stack_offsetof(ctx, BPF_PPC_TC)));
arch/powerpc/net/bpf_jit_comp32.c
148
EMIT(PPC_RAW_MR(bpf_to_ppc(BPF_REG_1), _R3));
arch/powerpc/net/bpf_jit_comp32.c
149
EMIT(PPC_RAW_LI(bpf_to_ppc(BPF_REG_1) - 1, 0));
arch/powerpc/net/bpf_jit_comp32.c
156
EMIT(PPC_RAW_MFLR(_R0));
arch/powerpc/net/bpf_jit_comp32.c
163
EMIT(PPC_RAW_STW(i, _R1, bpf_jit_stack_offsetof(ctx, i)));
arch/powerpc/net/bpf_jit_comp32.c
167
EMIT(PPC_RAW_LI(bpf_to_ppc(BPF_REG_FP) - 1, 0));
arch/powerpc/net/bpf_jit_comp32.c
168
EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1,
arch/powerpc/net/bpf_jit_comp32.c
173
EMIT(PPC_RAW_STW(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp32.c
183
EMIT(PPC_RAW_LWZ(i, _R1, bpf_jit_stack_offsetof(ctx, i)));
arch/powerpc/net/bpf_jit_comp32.c
186
EMIT(PPC_RAW_LWZ(_R0, _R1, BPF_PPC_STACKFRAME(ctx) + PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp32.c
190
EMIT(PPC_RAW_ADDI(_R1, _R1, BPF_PPC_STACKFRAME(ctx)));
arch/powerpc/net/bpf_jit_comp32.c
193
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp32.c
199
EMIT(PPC_RAW_MR(_R3, bpf_to_ppc(BPF_REG_0)));
arch/powerpc/net/bpf_jit_comp32.c
203
EMIT(PPC_RAW_BLR());
arch/powerpc/net/bpf_jit_comp32.c
214
EMIT(PPC_RAW_BL(rel));
arch/powerpc/net/bpf_jit_comp32.c
217
EMIT(PPC_RAW_LIS(_R0, IMM_H(func)));
arch/powerpc/net/bpf_jit_comp32.c
218
EMIT(PPC_RAW_ORI(_R0, _R0, IMM_L(func)));
arch/powerpc/net/bpf_jit_comp32.c
219
EMIT(PPC_RAW_MTCTR(_R0));
arch/powerpc/net/bpf_jit_comp32.c
220
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp32.c
241
EMIT(PPC_RAW_LWZ(_R0, b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
arch/powerpc/net/bpf_jit_comp32.c
242
EMIT(PPC_RAW_CMPLW(b2p_index, _R0));
arch/powerpc/net/bpf_jit_comp32.c
243
EMIT(PPC_RAW_LWZ(_R0, _R1, bpf_jit_stack_offsetof(ctx, BPF_PPC_TC)));
arch/powerpc/net/bpf_jit_comp32.c
250
EMIT(PPC_RAW_CMPLWI(_R0, MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp32.c
252
EMIT(PPC_RAW_ADDIC(_R0, _R0, 1));
arch/powerpc/net/bpf_jit_comp32.c
256
EMIT(PPC_RAW_RLWINM(_R3, b2p_index, 2, 0, 29));
arch/powerpc/net/bpf_jit_comp32.c
257
EMIT(PPC_RAW_ADD(_R3, _R3, b2p_bpf_array));
arch/powerpc/net/bpf_jit_comp32.c
258
EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_array, ptrs)));
arch/powerpc/net/bpf_jit_comp32.c
264
EMIT(PPC_RAW_CMPLWI(_R3, 0));
arch/powerpc/net/bpf_jit_comp32.c
268
EMIT(PPC_RAW_LWZ(_R3, _R3, offsetof(struct bpf_prog, bpf_func)));
arch/powerpc/net/bpf_jit_comp32.c
269
EMIT(PPC_RAW_ADDIC(_R3, _R3, BPF_TAILCALL_PROLOGUE_SIZE));
arch/powerpc/net/bpf_jit_comp32.c
270
EMIT(PPC_RAW_MTCTR(_R3));
arch/powerpc/net/bpf_jit_comp32.c
272
EMIT(PPC_RAW_MR(_R3, bpf_to_ppc(BPF_REG_1)));
arch/powerpc/net/bpf_jit_comp32.c
275
EMIT(PPC_RAW_MR(_R4, _R0));
arch/powerpc/net/bpf_jit_comp32.c
280
EMIT(PPC_RAW_BCTR());
arch/powerpc/net/bpf_jit_comp32.c
358
EMIT(PPC_RAW_ADD(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
36
#define PPC_EX32(r, i) EMIT(PPC_RAW_LI((r), (i) < 0 ? -1 : 0))
arch/powerpc/net/bpf_jit_comp32.c
361
EMIT(PPC_RAW_ADDC(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
362
EMIT(PPC_RAW_ADDE(dst_reg_h, src2_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
365
EMIT(PPC_RAW_SUB(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
368
EMIT(PPC_RAW_SUBFC(dst_reg, src_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
369
EMIT(PPC_RAW_SUBFE(dst_reg_h, src_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
376
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
378
EMIT(PPC_RAW_ADDIS(dst_reg, src2_reg, IMM_HA(imm)));
arch/powerpc/net/bpf_jit_comp32.c
382
EMIT(PPC_RAW_ADDI(dst_reg, src2_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp32.c
389
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
390
EMIT(PPC_RAW_MR(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
394
EMIT(PPC_RAW_ADDIC(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
397
EMIT(PPC_RAW_ADDC(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
400
EMIT(PPC_RAW_ADDZE(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
402
EMIT(PPC_RAW_ADDME(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
406
EMIT(PPC_RAW_MULW(_R0, src2_reg, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
407
EMIT(PPC_RAW_MULW(dst_reg_h, src2_reg_h, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
408
EMIT(PPC_RAW_MULHWU(tmp_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
409
EMIT(PPC_RAW_MULW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
410
EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
411
EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
414
EMIT(PPC_RAW_MULW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
418
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
420
EMIT(PPC_RAW_SUBFIC(dst_reg, src2_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
422
EMIT(PPC_RAW_SLWI(dst_reg, src2_reg, ilog2(imm)));
arch/powerpc/net/bpf_jit_comp32.c
424
EMIT(PPC_RAW_MULI(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
427
EMIT(PPC_RAW_MULW(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
435
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
436
EMIT(PPC_RAW_MR(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
438
EMIT(PPC_RAW_SUBFIC(dst_reg, src2_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
439
EMIT(PPC_RAW_SUBFZE(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
442
EMIT(PPC_RAW_RLWINM(dst_reg_h, src2_reg_h, imm, 0, 31 - imm));
arch/powerpc/net/bpf_jit_comp32.c
443
EMIT(PPC_RAW_RLWIMI(dst_reg_h, dst_reg, imm, 32 - imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
444
EMIT(PPC_RAW_SLWI(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
448
EMIT(PPC_RAW_MULW(dst_reg_h, src2_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
450
EMIT(PPC_RAW_SUB(dst_reg_h, dst_reg_h, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
451
EMIT(PPC_RAW_MULHWU(_R0, src2_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
452
EMIT(PPC_RAW_MULW(dst_reg, src2_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
453
EMIT(PPC_RAW_ADD(dst_reg_h, dst_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
458
EMIT(PPC_RAW_DIVW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
460
EMIT(PPC_RAW_DIVWU(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
464
EMIT(PPC_RAW_DIVW(_R0, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
466
EMIT(PPC_RAW_DIVWU(_R0, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
467
EMIT(PPC_RAW_MULW(_R0, src_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
468
EMIT(PPC_RAW_SUB(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
478
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
481
EMIT(PPC_RAW_SRAWI(dst_reg, src2_reg, ilog2(imm)));
arch/powerpc/net/bpf_jit_comp32.c
483
EMIT(PPC_RAW_SRWI(dst_reg, src2_reg, ilog2(imm)));
arch/powerpc/net/bpf_jit_comp32.c
487
EMIT(PPC_RAW_DIVW(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
489
EMIT(PPC_RAW_DIVWU(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
500
EMIT(PPC_RAW_DIVW(_R0, src2_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
502
EMIT(PPC_RAW_DIVWU(_R0, src2_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
503
EMIT(PPC_RAW_MULW(_R0, tmp_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
504
EMIT(PPC_RAW_SUB(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
506
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
508
EMIT(PPC_RAW_SRAWI(_R0, src2_reg, ilog2(imm)));
arch/powerpc/net/bpf_jit_comp32.c
509
EMIT(PPC_RAW_ADDZE(_R0, _R0));
arch/powerpc/net/bpf_jit_comp32.c
510
EMIT(PPC_RAW_SLWI(_R0, _R0, ilog2(imm)));
arch/powerpc/net/bpf_jit_comp32.c
511
EMIT(PPC_RAW_SUB(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
514
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 0, 32 - imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
525
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
526
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
528
EMIT(PPC_RAW_SRAWI(dst_reg_h, src2_reg_h, 31));
arch/powerpc/net/bpf_jit_comp32.c
529
EMIT(PPC_RAW_XOR(dst_reg, src2_reg, dst_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
530
EMIT(PPC_RAW_SUBFC(dst_reg, dst_reg_h, dst_reg));
arch/powerpc/net/bpf_jit_comp32.c
531
EMIT(PPC_RAW_RLWINM(dst_reg, dst_reg, 0, 32 - ilog2(imm), 31));
arch/powerpc/net/bpf_jit_comp32.c
532
EMIT(PPC_RAW_XOR(dst_reg, dst_reg, dst_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
533
EMIT(PPC_RAW_SUBFC(dst_reg, dst_reg_h, dst_reg));
arch/powerpc/net/bpf_jit_comp32.c
534
EMIT(PPC_RAW_SUBFE(dst_reg_h, dst_reg_h, dst_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
536
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 0, 32 - ilog2(imm), 31));
arch/powerpc/net/bpf_jit_comp32.c
537
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
547
EMIT(PPC_RAW_SUBFIC(dst_reg, src2_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
548
EMIT(PPC_RAW_SUBFZE(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
553
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
554
EMIT(PPC_RAW_MR(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
557
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 32 - imm, imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
558
EMIT(PPC_RAW_RLWIMI(dst_reg, src2_reg_h, 32 - imm, 0, imm - 1));
arch/powerpc/net/bpf_jit_comp32.c
559
EMIT(PPC_RAW_SRAWI(dst_reg_h, src2_reg_h, imm));
arch/powerpc/net/bpf_jit_comp32.c
563
EMIT(PPC_RAW_NEG(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
566
EMIT(PPC_RAW_SUBFIC(dst_reg, src2_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
567
EMIT(PPC_RAW_SUBFZE(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
574
EMIT(PPC_RAW_AND(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
575
EMIT(PPC_RAW_AND(dst_reg_h, src2_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
578
EMIT(PPC_RAW_AND(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
582
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
586
EMIT(PPC_RAW_ANDI(dst_reg, src2_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp32.c
588
EMIT(PPC_RAW_ANDIS(dst_reg, src2_reg, IMM_H(imm)));
arch/powerpc/net/bpf_jit_comp32.c
590
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 0,
arch/powerpc/net/bpf_jit_comp32.c
594
EMIT(PPC_RAW_AND(dst_reg, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
598
EMIT(PPC_RAW_OR(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
599
EMIT(PPC_RAW_OR(dst_reg_h, src2_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
602
EMIT(PPC_RAW_OR(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
607
EMIT(PPC_RAW_LI(dst_reg_h, -1));
arch/powerpc/net/bpf_jit_comp32.c
611
EMIT(PPC_RAW_ORI(dst_reg, src2_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp32.c
615
EMIT(PPC_RAW_ORIS(dst_reg, src2_reg, IMM_H(imm)));
arch/powerpc/net/bpf_jit_comp32.c
619
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
620
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
622
EMIT(PPC_RAW_XOR(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
623
EMIT(PPC_RAW_XOR(dst_reg_h, src2_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
628
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
630
EMIT(PPC_RAW_XOR(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
634
EMIT(PPC_RAW_NOR(dst_reg_h, src2_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
638
EMIT(PPC_RAW_XORI(dst_reg, src2_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp32.c
642
EMIT(PPC_RAW_XORIS(dst_reg, src2_reg, IMM_H(imm)));
arch/powerpc/net/bpf_jit_comp32.c
645
EMIT(PPC_RAW_SLW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
649
EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
650
EMIT(PPC_RAW_SLW(dst_reg_h, src2_reg_h, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
651
EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
652
EMIT(PPC_RAW_SRW(_R0, src2_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
653
EMIT(PPC_RAW_SLW(tmp_reg, src2_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
654
EMIT(PPC_RAW_OR(dst_reg_h, dst_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
655
EMIT(PPC_RAW_SLW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
656
EMIT(PPC_RAW_OR(dst_reg_h, dst_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
660
EMIT(PPC_RAW_SLWI(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
662
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
668
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
670
EMIT(PPC_RAW_RLWINM(dst_reg_h, src2_reg_h, imm, 0, 31 - imm));
arch/powerpc/net/bpf_jit_comp32.c
671
EMIT(PPC_RAW_RLWIMI(dst_reg_h, src2_reg, imm, 32 - imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
672
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, imm, 0, 31 - imm));
arch/powerpc/net/bpf_jit_comp32.c
674
EMIT(PPC_RAW_RLWINM(dst_reg_h, src2_reg, imm, 0, 31 - imm));
arch/powerpc/net/bpf_jit_comp32.c
675
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
677
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
678
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
682
EMIT(PPC_RAW_SRW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
686
EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
687
EMIT(PPC_RAW_SRW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
688
EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
689
EMIT(PPC_RAW_SLW(_R0, src2_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
690
EMIT(PPC_RAW_SRW(tmp_reg, dst_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
691
EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
692
EMIT(PPC_RAW_SRW(dst_reg_h, src2_reg_h, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
693
EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
697
EMIT(PPC_RAW_SRWI(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
699
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
705
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
706
EMIT(PPC_RAW_MR(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
708
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 32 - imm, imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
709
EMIT(PPC_RAW_RLWIMI(dst_reg, src2_reg_h, 32 - imm, 0, imm - 1));
arch/powerpc/net/bpf_jit_comp32.c
710
EMIT(PPC_RAW_RLWINM(dst_reg_h, src2_reg_h, 32 - imm, imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
712
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg_h, 64 - imm, imm - 32, 31));
arch/powerpc/net/bpf_jit_comp32.c
713
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
715
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
716
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
720
EMIT(PPC_RAW_SRAW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
724
EMIT(PPC_RAW_SUBFIC(_R0, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
725
EMIT(PPC_RAW_SRW(dst_reg, src2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
726
EMIT(PPC_RAW_SLW(_R0, src2_reg_h, _R0));
arch/powerpc/net/bpf_jit_comp32.c
727
EMIT(PPC_RAW_ADDI(tmp_reg, src_reg, 32));
arch/powerpc/net/bpf_jit_comp32.c
728
EMIT(PPC_RAW_OR(dst_reg, dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
729
EMIT(PPC_RAW_RLWINM(_R0, tmp_reg, 0, 26, 26));
arch/powerpc/net/bpf_jit_comp32.c
730
EMIT(PPC_RAW_SRAW(tmp_reg, src2_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
731
EMIT(PPC_RAW_SRAW(dst_reg_h, src2_reg_h, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
732
EMIT(PPC_RAW_SLW(tmp_reg, tmp_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
733
EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
737
EMIT(PPC_RAW_SRAWI(dst_reg, src2_reg, imm));
arch/powerpc/net/bpf_jit_comp32.c
739
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
745
EMIT(PPC_RAW_MR(dst_reg, src2_reg));
arch/powerpc/net/bpf_jit_comp32.c
746
EMIT(PPC_RAW_MR(dst_reg_h, src2_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
748
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 32 - imm, imm, 31));
arch/powerpc/net/bpf_jit_comp32.c
749
EMIT(PPC_RAW_RLWIMI(dst_reg, src2_reg_h, 32 - imm, 0, imm - 1));
arch/powerpc/net/bpf_jit_comp32.c
750
EMIT(PPC_RAW_SRAWI(dst_reg_h, src2_reg_h, imm));
arch/powerpc/net/bpf_jit_comp32.c
752
EMIT(PPC_RAW_SRAWI(dst_reg, src2_reg_h, imm - 32));
arch/powerpc/net/bpf_jit_comp32.c
753
EMIT(PPC_RAW_SRAWI(dst_reg_h, src2_reg_h, 31));
arch/powerpc/net/bpf_jit_comp32.c
755
EMIT(PPC_RAW_SRAWI(dst_reg, src2_reg_h, 31));
arch/powerpc/net/bpf_jit_comp32.c
756
EMIT(PPC_RAW_SRAWI(dst_reg_h, src2_reg_h, 31));
arch/powerpc/net/bpf_jit_comp32.c
765
EMIT(PPC_RAW_EXTSB(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
766
EMIT(PPC_RAW_SRAWI(dst_reg_h, dst_reg, 31));
arch/powerpc/net/bpf_jit_comp32.c
768
EMIT(PPC_RAW_EXTSH(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
769
EMIT(PPC_RAW_SRAWI(dst_reg_h, dst_reg, 31));
arch/powerpc/net/bpf_jit_comp32.c
771
EMIT(PPC_RAW_SRAWI(dst_reg_h, src_reg, 31));
arch/powerpc/net/bpf_jit_comp32.c
773
EMIT(PPC_RAW_MR(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
774
EMIT(PPC_RAW_SRAWI(dst_reg_h, src_reg, 31));
arch/powerpc/net/bpf_jit_comp32.c
776
EMIT(PPC_RAW_MR(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
777
EMIT(PPC_RAW_MR(dst_reg_h, src_reg_h));
arch/powerpc/net/bpf_jit_comp32.c
783
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
785
EMIT(PPC_RAW_EXTSB(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
787
EMIT(PPC_RAW_EXTSH(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
789
EMIT(PPC_RAW_MR(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
807
EMIT(PPC_RAW_RLWIMI(dst_reg, src2_reg, 16, 0, 15));
arch/powerpc/net/bpf_jit_comp32.c
809
EMIT(PPC_RAW_RLWINM(dst_reg, dst_reg, 24, 16, 31));
arch/powerpc/net/bpf_jit_comp32.c
817
EMIT(PPC_RAW_RLWINM(_R0, src2_reg, 8, 0, 31));
arch/powerpc/net/bpf_jit_comp32.c
819
EMIT(PPC_RAW_RLWIMI(_R0, src2_reg, 24, 0, 7));
arch/powerpc/net/bpf_jit_comp32.c
821
EMIT(PPC_RAW_RLWIMI(_R0, src2_reg, 24, 16, 23));
arch/powerpc/net/bpf_jit_comp32.c
822
EMIT(PPC_RAW_MR(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
826
EMIT(PPC_RAW_RLWINM(tmp_reg, src2_reg, 8, 0, 31));
arch/powerpc/net/bpf_jit_comp32.c
827
EMIT(PPC_RAW_RLWINM(_R0, src2_reg_h, 8, 0, 31));
arch/powerpc/net/bpf_jit_comp32.c
829
EMIT(PPC_RAW_RLWIMI(tmp_reg, src2_reg, 24, 0, 7));
arch/powerpc/net/bpf_jit_comp32.c
830
EMIT(PPC_RAW_RLWIMI(_R0, src2_reg_h, 24, 0, 7));
arch/powerpc/net/bpf_jit_comp32.c
832
EMIT(PPC_RAW_RLWIMI(tmp_reg, src2_reg, 24, 16, 23));
arch/powerpc/net/bpf_jit_comp32.c
833
EMIT(PPC_RAW_RLWIMI(_R0, src2_reg_h, 24, 16, 23));
arch/powerpc/net/bpf_jit_comp32.c
834
EMIT(PPC_RAW_MR(dst_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
835
EMIT(PPC_RAW_MR(dst_reg_h, tmp_reg));
arch/powerpc/net/bpf_jit_comp32.c
839
EMIT(PPC_RAW_LI(dst_reg_h, 0));
arch/powerpc/net/bpf_jit_comp32.c
845
EMIT(PPC_RAW_RLWINM(dst_reg, src2_reg, 0, 16, 31));
arch/powerpc/net/bpf_jit_comp32.c
864
EMIT(PPC_RAW_STB(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
868
EMIT(PPC_RAW_STB(_R0, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
871
EMIT(PPC_RAW_STH(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
875
EMIT(PPC_RAW_STH(_R0, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
878
EMIT(PPC_RAW_STW(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
882
EMIT(PPC_RAW_STW(_R0, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
885
EMIT(PPC_RAW_STW(src_reg_h, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
886
EMIT(PPC_RAW_STW(src_reg, dst_reg, off + 4));
arch/powerpc/net/bpf_jit_comp32.c
890
EMIT(PPC_RAW_STW(_R0, dst_reg, off + 4));
arch/powerpc/net/bpf_jit_comp32.c
892
EMIT(PPC_RAW_STW(_R0, dst_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
906
EMIT(PPC_RAW_LI(tmp_reg, off));
arch/powerpc/net/bpf_jit_comp32.c
915
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp32.c
918
EMIT(PPC_RAW_LWARX(_R0, tmp_reg, dst_reg, 0));
arch/powerpc/net/bpf_jit_comp32.c
922
EMIT(PPC_RAW_MR(ax_reg, _R0));
arch/powerpc/net/bpf_jit_comp32.c
927
EMIT(PPC_RAW_ADD(_R0, _R0, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
931
EMIT(PPC_RAW_AND(_R0, _R0, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
935
EMIT(PPC_RAW_OR(_R0, _R0, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
939
EMIT(PPC_RAW_XOR(_R0, _R0, src_reg));
arch/powerpc/net/bpf_jit_comp32.c
949
EMIT(PPC_RAW_CMPW(bpf_to_ppc(BPF_REG_0), _R0));
arch/powerpc/net/bpf_jit_comp32.c
963
EMIT(PPC_RAW_STWCX(save_reg, tmp_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp32.c
971
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp32.c
972
EMIT(PPC_RAW_MR(ret_reg, ax_reg));
arch/powerpc/net/bpf_jit_comp32.c
974
EMIT(PPC_RAW_LI(ret_reg - 1, 0)); /* higher 32-bit */
arch/powerpc/net/bpf_jit_comp64.c
1000
EMIT(PPC_RAW_MULI(dst_reg, dst_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1004
EMIT(PPC_RAW_MULW(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1006
EMIT(PPC_RAW_MULD(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1013
EMIT(PPC_RAW_DIVW(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1015
EMIT(PPC_RAW_DIVWU(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1017
EMIT(PPC_RAW_MULW(tmp1_reg, src_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1018
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1021
EMIT(PPC_RAW_DIVW(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1023
EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1029
EMIT(PPC_RAW_DIVD(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1031
EMIT(PPC_RAW_DIVDU(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1032
EMIT(PPC_RAW_MULD(tmp1_reg, src_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1033
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1036
EMIT(PPC_RAW_DIVD(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1038
EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1050
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp64.c
1060
EMIT(PPC_RAW_DIVW(tmp2_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1062
EMIT(PPC_RAW_DIVWU(tmp2_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1063
EMIT(PPC_RAW_MULW(tmp1_reg, tmp1_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1064
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1067
EMIT(PPC_RAW_DIVW(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1069
EMIT(PPC_RAW_DIVWU(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1074
EMIT(PPC_RAW_DIVD(tmp2_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1076
EMIT(PPC_RAW_DIVDU(tmp2_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1077
EMIT(PPC_RAW_MULD(tmp1_reg, tmp1_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1078
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1081
EMIT(PPC_RAW_DIVD(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1083
EMIT(PPC_RAW_DIVDU(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1089
EMIT(PPC_RAW_NEG(dst_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp64.c
1097
EMIT(PPC_RAW_AND(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1102
EMIT(PPC_RAW_ANDI(dst_reg, dst_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1106
EMIT(PPC_RAW_AND(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1111
EMIT(PPC_RAW_OR(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1118
EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1121
EMIT(PPC_RAW_ORI(dst_reg, dst_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1123
EMIT(PPC_RAW_ORIS(dst_reg, dst_reg, IMM_H(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1128
EMIT(PPC_RAW_XOR(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1135
EMIT(PPC_RAW_XOR(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1138
EMIT(PPC_RAW_XORI(dst_reg, dst_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1140
EMIT(PPC_RAW_XORIS(dst_reg, dst_reg, IMM_H(imm)));
arch/powerpc/net/bpf_jit_comp64.c
1145
EMIT(PPC_RAW_SLW(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1151
EMIT(PPC_RAW_SLD(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1155
EMIT(PPC_RAW_SLWI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1161
EMIT(PPC_RAW_SLDI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1164
EMIT(PPC_RAW_SRW(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1169
EMIT(PPC_RAW_SRD(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1172
EMIT(PPC_RAW_SRWI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1178
EMIT(PPC_RAW_SRDI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1181
EMIT(PPC_RAW_SRAW(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1184
EMIT(PPC_RAW_SRAD(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1187
EMIT(PPC_RAW_SRAWI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1191
EMIT(PPC_RAW_SRADI(dst_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1202
EMIT(PPC_RAW_LD(tmp1_reg, _R13, offsetof(struct paca_struct, data_offset)));
arch/powerpc/net/bpf_jit_comp64.c
1203
EMIT(PPC_RAW_ADD(dst_reg, src_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1205
EMIT(PPC_RAW_MR(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1211
EMIT(PPC_RAW_RLDICL_DOT(tmp1_reg, src_reg, 0, 32));
arch/powerpc/net/bpf_jit_comp64.c
1214
EMIT(PPC_RAW_OR(tmp1_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1215
EMIT(PPC_RAW_MR(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1221
EMIT(PPC_RAW_RLWINM(dst_reg, dst_reg, 0, 0, 31));
arch/powerpc/net/bpf_jit_comp64.c
1227
EMIT(PPC_RAW_MR(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1246
EMIT(PPC_RAW_RLWINM(dst_reg, dst_reg, 0, 0, 31));
arch/powerpc/net/bpf_jit_comp64.c
1265
EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 16, 23));
arch/powerpc/net/bpf_jit_comp64.c
1267
EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 24, 31));
arch/powerpc/net/bpf_jit_comp64.c
1269
EMIT(PPC_RAW_MR(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1277
EMIT(PPC_RAW_RLWINM(tmp1_reg, dst_reg, 8, 0, 31));
arch/powerpc/net/bpf_jit_comp64.c
1279
EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 0, 7));
arch/powerpc/net/bpf_jit_comp64.c
1281
EMIT(PPC_RAW_RLWIMI(tmp1_reg, dst_reg, 24, 16, 23));
arch/powerpc/net/bpf_jit_comp64.c
1282
EMIT(PPC_RAW_MR(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1286
EMIT(PPC_RAW_STD(dst_reg, _R1, bpf_jit_stack_local(ctx)));
arch/powerpc/net/bpf_jit_comp64.c
1287
EMIT(PPC_RAW_ADDI(tmp1_reg, _R1, bpf_jit_stack_local(ctx)));
arch/powerpc/net/bpf_jit_comp64.c
1289
EMIT(PPC_RAW_LDBRX(dst_reg, 0, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1291
EMIT(PPC_RAW_LWBRX(dst_reg, 0, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1293
EMIT(PPC_RAW_SLDI(dst_reg, dst_reg, 32));
arch/powerpc/net/bpf_jit_comp64.c
1294
EMIT(PPC_RAW_LI(tmp2_reg, 4));
arch/powerpc/net/bpf_jit_comp64.c
1295
EMIT(PPC_RAW_LWBRX(tmp2_reg, tmp2_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1297
EMIT(PPC_RAW_SLDI(tmp2_reg, tmp2_reg, 32));
arch/powerpc/net/bpf_jit_comp64.c
1298
EMIT(PPC_RAW_OR(dst_reg, dst_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1308
EMIT(PPC_RAW_RLDICL(dst_reg, dst_reg, 0, 48));
arch/powerpc/net/bpf_jit_comp64.c
1315
EMIT(PPC_RAW_RLDICL(dst_reg, dst_reg, 0, 32));
arch/powerpc/net/bpf_jit_comp64.c
1340
EMIT(PPC_RAW_ISYNC());
arch/powerpc/net/bpf_jit_comp64.c
1341
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp64.c
1347
EMIT(PPC_RAW_EIEIO() | 0x02000000);
arch/powerpc/net/bpf_jit_comp64.c
1351
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp64.c
1352
EMIT(PPC_RAW_LD(tmp1_reg, _R13, 0));
arch/powerpc/net/bpf_jit_comp64.c
1353
EMIT(PPC_RAW_ORI(_R31, _R31, 0));
arch/powerpc/net/bpf_jit_comp64.c
1359
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp64.c
1360
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp64.c
1369
EMIT(PPC_RAW_ORI(_R31, _R31, 0));
arch/powerpc/net/bpf_jit_comp64.c
1378
EMIT(PPC_RAW_LI(tmp1_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1381
EMIT(PPC_RAW_STB(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1386
EMIT(PPC_RAW_LI(tmp1_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1389
EMIT(PPC_RAW_STH(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1397
EMIT(PPC_RAW_STW(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1406
EMIT(PPC_RAW_LI(tmp2_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1407
EMIT(PPC_RAW_STDX(src_reg, dst_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1409
EMIT(PPC_RAW_STD(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1418
EMIT(PPC_RAW_ADD(tmp1_reg, dst_reg, bpf_to_ppc(ARENA_VM_START)));
arch/powerpc/net/bpf_jit_comp64.c
1436
EMIT(PPC_RAW_ADD(tmp1_reg, dst_reg, bpf_to_ppc(ARENA_VM_START)));
arch/powerpc/net/bpf_jit_comp64.c
1442
EMIT(PPC_RAW_LI(tmp2_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1462
EMIT(PPC_RAW_ADD(dst_reg, dst_reg, bpf_to_ppc(ARENA_VM_START)));
arch/powerpc/net/bpf_jit_comp64.c
1480
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, bpf_to_ppc(ARENA_VM_START)));
arch/powerpc/net/bpf_jit_comp64.c
1545
EMIT(PPC_RAW_ADDI(tmp1_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1550
EMIT(PPC_RAW_CMPLD(tmp1_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1552
EMIT(PPC_RAW_LI(dst_reg, 0));
arch/powerpc/net/bpf_jit_comp64.c
1569
EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1570
EMIT(PPC_RAW_EXTSB(dst_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp64.c
1573
EMIT(PPC_RAW_LHA(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1576
EMIT(PPC_RAW_LWA(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1582
EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1585
EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1588
EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1592
EMIT(PPC_RAW_LI(tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1593
EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1595
EMIT(PPC_RAW_LD(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1618
EMIT(PPC_RAW_ADD(tmp1_reg, src_reg, bpf_to_ppc(ARENA_VM_START)));
arch/powerpc/net/bpf_jit_comp64.c
1622
EMIT(PPC_RAW_LBZ(dst_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1625
EMIT(PPC_RAW_LHZ(dst_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1628
EMIT(PPC_RAW_LWZ(dst_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1632
EMIT(PPC_RAW_LI(tmp2_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1633
EMIT(PPC_RAW_LDX(dst_reg, tmp1_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
1635
EMIT(PPC_RAW_LD(dst_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
1686
EMIT(PPC_RAW_LHZ(src_reg, _R13, offsetof(struct paca_struct, paca_index)));
arch/powerpc/net/bpf_jit_comp64.c
1690
EMIT(PPC_RAW_LD(src_reg, _R13, offsetof(struct paca_struct, __current)));
arch/powerpc/net/bpf_jit_comp64.c
1711
EMIT(PPC_RAW_MR(bpf_to_ppc(BPF_REG_0), _R3));
arch/powerpc/net/bpf_jit_comp64.c
1799
EMIT(PPC_RAW_CMPLW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1801
EMIT(PPC_RAW_CMPLD(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1813
EMIT(PPC_RAW_CMPW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1815
EMIT(PPC_RAW_CMPD(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1820
EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1822
EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
1823
EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg, 0, 0, 31));
arch/powerpc/net/bpf_jit_comp64.c
1847
EMIT(PPC_RAW_CMPLWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1849
EMIT(PPC_RAW_CMPLDI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1855
EMIT(PPC_RAW_CMPLW(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1857
EMIT(PPC_RAW_CMPLD(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1878
EMIT(PPC_RAW_CMPWI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1880
EMIT(PPC_RAW_CMPDI(dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1884
EMIT(PPC_RAW_CMPW(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1886
EMIT(PPC_RAW_CMPD(dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1895
EMIT(PPC_RAW_ANDI(tmp1_reg, dst_reg, imm));
arch/powerpc/net/bpf_jit_comp64.c
1899
EMIT(PPC_RAW_AND_DOT(tmp1_reg, dst_reg,
arch/powerpc/net/bpf_jit_comp64.c
1902
EMIT(PPC_RAW_AND(tmp1_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
1903
EMIT(PPC_RAW_RLWINM_DOT(tmp1_reg, tmp1_reg,
arch/powerpc/net/bpf_jit_comp64.c
202
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp64.c
206
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)));
arch/powerpc/net/bpf_jit_comp64.c
219
EMIT(PPC_RAW_LI(bpf_to_ppc(TMP_REG_1), 0));
arch/powerpc/net/bpf_jit_comp64.c
221
EMIT(PPC_RAW_STD(bpf_to_ppc(TMP_REG_1), _R1, -(BPF_PPC_TAILCALL)));
arch/powerpc/net/bpf_jit_comp64.c
234
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_2), _R1, 0));
arch/powerpc/net/bpf_jit_comp64.c
235
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_2), -(BPF_PPC_TAILCALL)));
arch/powerpc/net/bpf_jit_comp64.c
236
EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_1), MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp64.c
238
EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_2),
arch/powerpc/net/bpf_jit_comp64.c
240
EMIT(PPC_RAW_STD(bpf_to_ppc(TMP_REG_1), _R1, -(BPF_PPC_TAILCALL)));
arch/powerpc/net/bpf_jit_comp64.c
249
EMIT(PPC_RAW_MFLR(_R0));
arch/powerpc/net/bpf_jit_comp64.c
250
EMIT(PPC_RAW_STD(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp64.c
253
EMIT(PPC_RAW_STDU(_R1, _R1,
arch/powerpc/net/bpf_jit_comp64.c
265
EMIT(PPC_RAW_STD(i, _R1, bpf_jit_stack_offsetof(ctx, i)));
arch/powerpc/net/bpf_jit_comp64.c
276
EMIT(PPC_RAW_STD(bpf_to_ppc(i), _R1,
arch/powerpc/net/bpf_jit_comp64.c
280
EMIT(PPC_RAW_STD(bpf_to_ppc(ARENA_VM_START), _R1,
arch/powerpc/net/bpf_jit_comp64.c
287
EMIT(PPC_RAW_MR(_R1, _R5));
arch/powerpc/net/bpf_jit_comp64.c
296
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), _R5, 0));
arch/powerpc/net/bpf_jit_comp64.c
297
EMIT(PPC_RAW_SUB(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_1), _R1));
arch/powerpc/net/bpf_jit_comp64.c
298
EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_2),
arch/powerpc/net/bpf_jit_comp64.c
300
EMIT(PPC_RAW_CMPLDI(bpf_to_ppc(TMP_REG_2), ctx->stack_size));
arch/powerpc/net/bpf_jit_comp64.c
302
EMIT(PPC_RAW_MR(_R1, bpf_to_ppc(TMP_REG_1)));
arch/powerpc/net/bpf_jit_comp64.c
303
EMIT(PPC_RAW_STDU(_R1, _R1, -(BPF_PPC_EXC_STACKFRAME + ctx->stack_size)));
arch/powerpc/net/bpf_jit_comp64.c
311
EMIT(PPC_RAW_ADDI(bpf_to_ppc(BPF_REG_FP), _R1,
arch/powerpc/net/bpf_jit_comp64.c
325
EMIT(PPC_RAW_LD(bpf_to_ppc(i), _R1, bpf_jit_stack_offsetof(ctx, bpf_to_ppc(i))));
arch/powerpc/net/bpf_jit_comp64.c
328
EMIT(PPC_RAW_LD(bpf_to_ppc(ARENA_VM_START), _R1,
arch/powerpc/net/bpf_jit_comp64.c
337
EMIT(PPC_RAW_LD(i, _R1, bpf_jit_stack_offsetof(ctx, i)));
arch/powerpc/net/bpf_jit_comp64.c
342
EMIT(PPC_RAW_ADDI(_R1, _R1, bpf_jit_stack_size(ctx) + ctx->stack_size));
arch/powerpc/net/bpf_jit_comp64.c
345
EMIT(PPC_RAW_LD(_R0, _R1, PPC_LR_STKOFF));
arch/powerpc/net/bpf_jit_comp64.c
346
EMIT(PPC_RAW_MTLR(_R0));
arch/powerpc/net/bpf_jit_comp64.c
356
EMIT(PPC_RAW_MR(_R3, bpf_to_ppc(BPF_REG_0)));
arch/powerpc/net/bpf_jit_comp64.c
358
EMIT(PPC_RAW_BLR());
arch/powerpc/net/bpf_jit_comp64.c
412
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp64.c
415
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp64.c
416
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp64.c
417
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp64.c
432
EMIT(PPC_RAW_LD(_R12, _R13, offsetof(struct paca_struct, kernelbase)));
arch/powerpc/net/bpf_jit_comp64.c
435
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp64.c
437
EMIT(PPC_PREFIX_MLS | __PPC_PRFX_R(0) | IMM_H18(reladdr));
arch/powerpc/net/bpf_jit_comp64.c
438
EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | ___PPC_RA(_R12) | IMM_L(reladdr));
arch/powerpc/net/bpf_jit_comp64.c
447
EMIT(PPC_RAW_NOP());
arch/powerpc/net/bpf_jit_comp64.c
449
EMIT(PPC_PREFIX_MLS | __PPC_PRFX_R(1) | IMM_H18(reladdr));
arch/powerpc/net/bpf_jit_comp64.c
450
EMIT(PPC_INST_PADDI | ___PPC_RT(_R12) | IMM_L(reladdr));
arch/powerpc/net/bpf_jit_comp64.c
456
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp64.c
457
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp64.c
466
EMIT(PPC_RAW_ADDIS(_R12, _R2, PPC_HA(reladdr)));
arch/powerpc/net/bpf_jit_comp64.c
467
EMIT(PPC_RAW_ADDI(_R12, _R12, PPC_LO(reladdr)));
arch/powerpc/net/bpf_jit_comp64.c
468
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp64.c
469
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp64.c
475
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_2), 0));
arch/powerpc/net/bpf_jit_comp64.c
477
EMIT(PPC_RAW_MTCTR(bpf_to_ppc(TMP_REG_1)));
arch/powerpc/net/bpf_jit_comp64.c
484
EMIT(PPC_RAW_LD(_R2, bpf_to_ppc(TMP_REG_2), 8));
arch/powerpc/net/bpf_jit_comp64.c
487
EMIT(PPC_RAW_MTCTR(_R12));
arch/powerpc/net/bpf_jit_comp64.c
489
EMIT(PPC_RAW_BCTRL());
arch/powerpc/net/bpf_jit_comp64.c
495
EMIT(PPC_RAW_LD(_R2, _R13, offsetof(struct paca_struct, kernel_toc)));
arch/powerpc/net/bpf_jit_comp64.c
507
EMIT(PPC_RAW_RLDICL(dst_reg, src_reg, 0, 56));
arch/powerpc/net/bpf_jit_comp64.c
511
EMIT(PPC_RAW_RLDICL(dst_reg, src_reg, 0, 48));
arch/powerpc/net/bpf_jit_comp64.c
515
EMIT(PPC_RAW_RLDICL(dst_reg, src_reg, 0, 32));
arch/powerpc/net/bpf_jit_comp64.c
530
EMIT(PPC_RAW_EXTSB(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
534
EMIT(PPC_RAW_EXTSH(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
538
EMIT(PPC_RAW_EXTSW(dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
598
EMIT(PPC_RAW_LWZ(bpf_to_ppc(TMP_REG_1), b2p_bpf_array, offsetof(struct bpf_array, map.max_entries)));
arch/powerpc/net/bpf_jit_comp64.c
599
EMIT(PPC_RAW_RLWINM(b2p_index, b2p_index, 0, 0, 31));
arch/powerpc/net/bpf_jit_comp64.c
600
EMIT(PPC_RAW_CMPLW(b2p_index, bpf_to_ppc(TMP_REG_1)));
arch/powerpc/net/bpf_jit_comp64.c
603
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), _R1, bpf_jit_stack_tailcallinfo_offset(ctx)));
arch/powerpc/net/bpf_jit_comp64.c
604
EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_1), MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp64.c
608
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), 0));
arch/powerpc/net/bpf_jit_comp64.c
614
EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_1), MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp64.c
621
EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_1), 1));
arch/powerpc/net/bpf_jit_comp64.c
624
EMIT(PPC_RAW_MULI(bpf_to_ppc(TMP_REG_2), b2p_index, 8));
arch/powerpc/net/bpf_jit_comp64.c
625
EMIT(PPC_RAW_ADD(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_2), b2p_bpf_array));
arch/powerpc/net/bpf_jit_comp64.c
626
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_2),
arch/powerpc/net/bpf_jit_comp64.c
633
EMIT(PPC_RAW_CMPLDI(bpf_to_ppc(TMP_REG_2), 0));
arch/powerpc/net/bpf_jit_comp64.c
637
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_2),
arch/powerpc/net/bpf_jit_comp64.c
639
EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_2), bpf_to_ppc(TMP_REG_2),
arch/powerpc/net/bpf_jit_comp64.c
641
EMIT(PPC_RAW_MTCTR(bpf_to_ppc(TMP_REG_2)));
arch/powerpc/net/bpf_jit_comp64.c
648
EMIT(PPC_RAW_LD(bpf_to_ppc(TMP_REG_2), _R1, bpf_jit_stack_tailcallinfo_offset(ctx)));
arch/powerpc/net/bpf_jit_comp64.c
649
EMIT(PPC_RAW_CMPLWI(bpf_to_ppc(TMP_REG_2), MAX_TAIL_CALL_CNT));
arch/powerpc/net/bpf_jit_comp64.c
653
EMIT(PPC_RAW_ADDI(bpf_to_ppc(TMP_REG_2), _R1, bpf_jit_stack_tailcallinfo_offset(ctx)));
arch/powerpc/net/bpf_jit_comp64.c
655
EMIT(PPC_RAW_STD(bpf_to_ppc(TMP_REG_1), bpf_to_ppc(TMP_REG_2), 0));
arch/powerpc/net/bpf_jit_comp64.c
660
EMIT(PPC_RAW_BCTR());
arch/powerpc/net/bpf_jit_comp64.c
721
EMIT(PPC_RAW_LI(tmp1_reg, insn->off));
arch/powerpc/net/bpf_jit_comp64.c
730
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp64.c
736
EMIT(PPC_RAW_LDARX(tmp2_reg, tmp1_reg, dst_reg, 0));
arch/powerpc/net/bpf_jit_comp64.c
738
EMIT(PPC_RAW_LWARX(tmp2_reg, tmp1_reg, dst_reg, 0));
arch/powerpc/net/bpf_jit_comp64.c
741
EMIT(PPC_RAW_MR(_R0, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
746
EMIT(PPC_RAW_ADD(tmp2_reg, tmp2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
750
EMIT(PPC_RAW_AND(tmp2_reg, tmp2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
754
EMIT(PPC_RAW_OR(tmp2_reg, tmp2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
758
EMIT(PPC_RAW_XOR(tmp2_reg, tmp2_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
769
EMIT(PPC_RAW_CMPD(bpf_to_ppc(BPF_REG_0), tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
771
EMIT(PPC_RAW_CMPW(bpf_to_ppc(BPF_REG_0), tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
784
EMIT(PPC_RAW_STDCX(save_reg, tmp1_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp64.c
786
EMIT(PPC_RAW_STWCX(save_reg, tmp1_reg, dst_reg));
arch/powerpc/net/bpf_jit_comp64.c
794
EMIT(PPC_RAW_SYNC());
arch/powerpc/net/bpf_jit_comp64.c
795
EMIT(PPC_RAW_MR(ret_reg, _R0));
arch/powerpc/net/bpf_jit_comp64.c
818
EMIT(PPC_RAW_STB(src_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
821
EMIT(PPC_RAW_STH(src_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
824
EMIT(PPC_RAW_STW(src_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
828
EMIT(PPC_RAW_LI(tmp2_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
829
EMIT(PPC_RAW_STDX(src_reg, tmp1_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
831
EMIT(PPC_RAW_STD(src_reg, tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
855
EMIT(PPC_RAW_LBZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
858
EMIT(PPC_RAW_LHZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
861
EMIT(PPC_RAW_LWZ(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
865
EMIT(PPC_RAW_LI(tmp1_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
866
EMIT(PPC_RAW_LDX(dst_reg, src_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
868
EMIT(PPC_RAW_LD(dst_reg, src_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
872
EMIT(PPC_RAW_LWSYNC());
arch/powerpc/net/bpf_jit_comp64.c
875
EMIT(PPC_RAW_LWSYNC());
arch/powerpc/net/bpf_jit_comp64.c
878
EMIT(PPC_RAW_STB(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
881
EMIT(PPC_RAW_STH(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
884
EMIT(PPC_RAW_STW(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
888
EMIT(PPC_RAW_LI(tmp2_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
889
EMIT(PPC_RAW_STDX(src_reg, dst_reg, tmp2_reg));
arch/powerpc/net/bpf_jit_comp64.c
891
EMIT(PPC_RAW_STD(src_reg, dst_reg, off));
arch/powerpc/net/bpf_jit_comp64.c
962
EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
966
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
973
EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(imm)));
arch/powerpc/net/bpf_jit_comp64.c
976
EMIT(PPC_RAW_ADD(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
984
EMIT(PPC_RAW_ADDI(dst_reg, dst_reg, IMM_L(-imm)));
arch/powerpc/net/bpf_jit_comp64.c
987
EMIT(PPC_RAW_SUB(dst_reg, dst_reg, tmp1_reg));
arch/powerpc/net/bpf_jit_comp64.c
993
EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg));
arch/powerpc/net/bpf_jit_comp64.c
995
EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg));
arch/x86/net/bpf_jit_comp.c
1285
EMIT(imm, bpf_size_to_x86_bytes(size));
arch/x86/net/bpf_jit_comp.c
1592
EMIT((u32)(unsigned long)&this_cpu_off, 4);
arch/x86/net/bpf_jit_comp.c
1794
EMIT((u32)(unsigned long)&this_cpu_off, 4);
arch/x86/net/bpf_jit_comp.c
2139
EMIT(imm32, bpf_size_to_x86_bytes(BPF_SIZE(insn->code)));
arch/x86/net/bpf_jit_comp.c
2839
EMIT(0, 4);
arch/x86/net/bpf_jit_comp.c
41
#define EMIT1(b1) EMIT(b1, 1)
arch/x86/net/bpf_jit_comp.c
42
#define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2)
arch/x86/net/bpf_jit_comp.c
43
#define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3)
arch/x86/net/bpf_jit_comp.c
44
#define EMIT4(b1, b2, b3, b4) EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4)
arch/x86/net/bpf_jit_comp.c
49
do { EMIT1(b1); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp.c
51
do { EMIT2(b1, b2); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp.c
53
do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp.c
55
do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp.c
58
#define EMIT_ENDBR() EMIT(gen_endbr(), 4)
arch/x86/net/bpf_jit_comp.c
59
#define EMIT_ENDBR_POISON() EMIT(gen_endbr_poison(), 4)
arch/x86/net/bpf_jit_comp.c
968
EMIT(imm32_lo, 4);
arch/x86/net/bpf_jit_comp.c
969
EMIT(imm32_hi, 4);
arch/x86/net/bpf_jit_comp32.c
1926
EMIT(0xC6, 1); break;
arch/x86/net/bpf_jit_comp32.c
1931
EMIT(0xC7, 1); break;
arch/x86/net/bpf_jit_comp32.c
1939
EMIT(imm32, bpf_size_to_x86_bytes(BPF_SIZE(code)));
arch/x86/net/bpf_jit_comp32.c
1947
EMIT(hi, 4);
arch/x86/net/bpf_jit_comp32.c
1974
EMIT(0x88, 1); break;
arch/x86/net/bpf_jit_comp32.c
1979
EMIT(0x89, 1); break;
arch/x86/net/bpf_jit_comp32.c
2007
EMIT(insn->off + 4, 4);
arch/x86/net/bpf_jit_comp32.c
2032
EMIT(0x8B, 1); break;
arch/x86/net/bpf_jit_comp32.c
2058
EMIT(0x0, 4);
arch/x86/net/bpf_jit_comp32.c
67
#define EMIT1(b1) EMIT(b1, 1)
arch/x86/net/bpf_jit_comp32.c
68
#define EMIT2(b1, b2) EMIT((b1) + ((b2) << 8), 2)
arch/x86/net/bpf_jit_comp32.c
69
#define EMIT3(b1, b2, b3) EMIT((b1) + ((b2) << 8) + ((b3) << 16), 3)
arch/x86/net/bpf_jit_comp32.c
71
EMIT((b1) + ((b2) << 8) + ((b3) << 16) + ((b4) << 24), 4)
arch/x86/net/bpf_jit_comp32.c
74
do { EMIT1(b1); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp32.c
76
do { EMIT2(b1, b2); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp32.c
78
do { EMIT3(b1, b2, b3); EMIT(off, 4); } while (0)
arch/x86/net/bpf_jit_comp32.c
80
do { EMIT4(b1, b2, b3, b4); EMIT(off, 4); } while (0)