Lines Matching refs:code
104 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
115 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
128 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
138 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
150 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
160 .code = BPF_ALU64 | BPF_END | BPF_SRC(BPF_TO_LE), \
170 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
178 .code = BPF_ALU | BPF_MOV | BPF_X, \
192 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
200 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && insn->off == BPF_ADDR_PERCPU; in insn_is_mov_percpu_addr()
207 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
215 .code = BPF_ALU | BPF_MOV | BPF_K, \
225 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
233 .code = BPF_ALU | BPF_MOV | BPF_X, \
242 .code = BPF_ALU | BPF_MOV | BPF_X, \
250 return insn->code == (BPF_ALU | BPF_MOV | BPF_X) && insn->imm == 1; in insn_is_zext()
258 return insn->code == (BPF_ALU64 | BPF_MOV | BPF_X) && in insn_is_cast_user()
269 .code = BPF_LD | BPF_DW | BPF_IMM, \
275 .code = 0, /* zero is reserved opcode */ \
289 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
297 .code = BPF_ALU | BPF_MOV | BPF_SRC(TYPE), \
307 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
317 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
327 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
337 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEMSX, \
347 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
373 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_ATOMIC, \
386 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
396 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \
406 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
416 .code = BPF_JMP32 | BPF_OP(OP) | BPF_X, \
426 .code = BPF_JMP32 | BPF_OP(OP) | BPF_K, \
436 .code = BPF_JMP | BPF_JA, \
446 .code = BPF_JMP32 | BPF_JA, \
456 .code = BPF_JMP | BPF_CALL, \
468 .code = BPF_JMP | BPF_CALL, \
478 .code = BPF_JMP | BPF_CALL, \
488 .code = CODE, \
498 .code = BPF_JMP | BPF_EXIT, \
508 .code = BPF_ST | BPF_NOSPEC, \
570 const int __size = bpf_size_to_bytes(BPF_SIZE((insn)->code)); \
1085 bool bpf_opcode_in_insntable(u8 code);
1448 switch (first->code) { in bpf_needs_clear_a()
1467 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()
1469 switch (ftest->code) { in bpf_anc_helper()
1495 return ftest->code; in bpf_anc_helper()