Lines Matching refs:code
316 /* Assemble the body code between the prologue & epilogue */
326 /* Start of epilogue code - will only be valid 2nd pass onwards */
330 u32 code = insn[i].code;
343 * the start of the body code.
363 switch (code) {
399 if (BPF_CLASS(code) == BPF_ALU)
410 if (BPF_CLASS(code) == BPF_ALU)
420 if (BPF_OP(code) == BPF_MOD) {
430 if (BPF_OP(code) == BPF_MOD) {
445 if (BPF_OP(code) == BPF_DIV) {
454 switch (BPF_CLASS(code)) {
456 if (BPF_OP(code) == BPF_MOD) {
470 if (BPF_OP(code) == BPF_MOD) {
513 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) {
530 if (imm < 0 && BPF_CLASS(code) == BPF_ALU64) {
615 if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext)
625 if (BPF_SRC(code) == BPF_FROM_BE)
628 if (BPF_SRC(code) == BPF_FROM_LE)
727 if (BPF_CLASS(code) == BPF_ST) {
735 if (BPF_CLASS(code) == BPF_ST) {
743 if (BPF_CLASS(code) == BPF_ST) {
751 if (BPF_CLASS(code) == BPF_ST) {
923 switch (code) {
937 if (BPF_CLASS(code) == BPF_JMP32)
951 if (BPF_CLASS(code) == BPF_JMP32)
958 if (BPF_CLASS(code) == BPF_JMP) {
982 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32;
1015 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32;
1047 if (BPF_CLASS(code) == BPF_JMP) {
1079 code, i);
1084 /* Set end-of-body-code address for exit. */
1110 if (insn[i].code == (BPF_JMP | BPF_CALL) &&
1273 /* Now build the prologue, body code & epilogue for real. */