Lines Matching defs:code
280 /* Assemble the body code between the prologue & epilogue */
288 /* Start of epilogue code - will only be valid 2nd pass onwards */
292 u32 code = insn[i].code;
293 u32 prevcode = i ? insn[i - 1].code : 0;
302 u32 size = BPF_SIZE(code);
312 if (i && (BPF_CLASS(code) == BPF_ALU64 || BPF_CLASS(code) == BPF_ALU) &&
323 * the start of the body code.
348 switch (code) {
394 if (imm >= 0 || (BPF_OP(code) == BPF_SUB && imm == 0x80000000))
895 pr_err_ratelimited("eBPF filter atomic op code %02x (@%d) unsupported\n",
896 code, i);
933 if (BPF_MODE(code) == BPF_PROBE_MEM) {
980 if (BPF_MODE(code) == BPF_PROBE_MEM) {
1131 switch (code) {
1289 pr_err_ratelimited("eBPF filter opcode %04x (@%d) unsupported\n", code, i);
1292 if (BPF_CLASS(code) == BPF_ALU && !fp->aux->verifier_zext &&
1293 !insn_is_zext(&insn[i + 1]) && !(BPF_OP(code) == BPF_END && imm == 64))
1297 /* Set end-of-body-code address for exit. */