Lines Matching defs:code
38 /* for bpf JIT code internal usage */
363 /* Assemble the body code between the prologue & epilogue */
372 /* Start of epilogue code - will only be valid 2nd pass onwards */
376 u32 code = insn[i].code;
379 u32 size = BPF_SIZE(code);
394 * the start of the body code.
414 switch (code) {
450 if (BPF_CLASS(code) == BPF_ALU)
461 if (BPF_CLASS(code) == BPF_ALU)
469 if (BPF_OP(code) == BPF_MOD) {
478 if (BPF_OP(code) == BPF_MOD) {
492 if (BPF_OP(code) == BPF_DIV) {
501 switch (BPF_CLASS(code)) {
503 if (BPF_OP(code) == BPF_MOD) {
511 if (BPF_OP(code) == BPF_MOD) {
548 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) {
565 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) {
650 if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext)
660 if (BPF_SRC(code) == BPF_FROM_BE)
663 if (BPF_SRC(code) == BPF_FROM_LE)
760 if (BPF_CLASS(code) == BPF_ST) {
768 if (BPF_CLASS(code) == BPF_ST) {
776 if (BPF_CLASS(code) == BPF_ST) {
784 if (BPF_CLASS(code) == BPF_ST) {
854 "eBPF filter atomic op code %02x (@%d) unsupported\n",
855 code, i);
900 if (BPF_MODE(code) == BPF_PROBE_MEM) {
913 if (BPF_SIZE(code) == BPF_DW && (off & 3))
942 if (BPF_MODE(code) == BPF_PROBE_MEM) {
1074 switch (code) {
1088 if (BPF_CLASS(code) == BPF_JMP32)
1102 if (BPF_CLASS(code) == BPF_JMP32)
1109 if (BPF_CLASS(code) == BPF_JMP) {
1129 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32;
1160 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32;
1188 if (BPF_CLASS(code) == BPF_JMP) {
1219 code, i);
1224 /* Set end-of-body-code address for exit. */