Searched refs:BPF_OP (Results 1 – 11 of 11) sorted by relevance
/linux-4.4.14/samples/bpf/ |
D | libbpf.h | 28 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 36 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 46 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 54 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 159 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \ 169 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
|
/linux-4.4.14/tools/include/linux/ |
D | filter.h | 35 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 43 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 53 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 61 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 185 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \ 195 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
|
/linux-4.4.14/include/linux/ |
D | filter.h | 54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 62 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 72 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 80 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 236 .code = BPF_JMP | BPF_OP(OP) | BPF_X, \ 246 .code = BPF_JMP | BPF_OP(OP) | BPF_K, \
|
/linux-4.4.14/include/uapi/linux/ |
D | bpf_common.h | 29 #define BPF_OP(code) ((code) & 0xf0) macro
|
/linux-4.4.14/arch/x86/net/ |
D | bpf_jit_comp.c | 378 switch (BPF_OP(insn->code)) { in do_jit() 429 switch (BPF_OP(insn->code)) { in do_jit() 535 if (BPF_OP(insn->code) == BPF_MOD) in do_jit() 595 switch (BPF_OP(insn->code)) { in do_jit() 630 switch (BPF_OP(insn->code)) { in do_jit() 887 switch (BPF_OP(insn->code)) { in do_jit()
|
/linux-4.4.14/kernel/bpf/ |
D | verifier.c | 325 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() 332 bpf_alu_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() 388 u8 opcode = BPF_OP(insn->code); in print_bpf_insn() 400 bpf_jmp_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() 405 bpf_jmp_string[BPF_OP(insn->code) >> 4], in print_bpf_insn() 1018 u8 opcode = BPF_OP(insn->code); in check_alu_op() 1180 u8 opcode = BPF_OP(insn->code); in check_cond_jmp_op() 1518 u8 opcode = BPF_OP(insns[t].code); in check_cfg() 1877 u8 opcode = BPF_OP(insn->code); in do_check() 2092 BPF_OP(insn->code) == BPF_CALL || in adjust_branches() [all …]
|
/linux-4.4.14/arch/s390/net/ |
D | bpf_jit_comp.c | 615 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn() 635 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn() 655 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn() 658 if (BPF_OP(insn->code) == BPF_MOD) in bpf_jit_insn() 677 int rc_reg = BPF_OP(insn->code) == BPF_DIV ? REG_W1 : REG_W0; in bpf_jit_insn() 680 if (BPF_OP(insn->code) == BPF_MOD) in bpf_jit_insn()
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit_comp.c | 319 switch (BPF_OP(code)) { in build_insn() 475 switch (BPF_OP(code)) { in build_insn()
|
/linux-4.4.14/net/core/ |
D | filter.c | 484 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter() 491 if (fp->jt == 0 && BPF_OP(fp->code) == BPF_JEQ) { in bpf_convert_filter() 500 insn->code = BPF_JMP | BPF_OP(fp->code) | bpf_src; in bpf_convert_filter()
|
/linux-4.4.14/tools/net/ |
D | bpf_dbg.c | 431 if ((BPF_CLASS(f.code) == BPF_JMP && BPF_OP(f.code) != BPF_JA)) in bpf_disasm()
|
/linux-4.4.14/Documentation/networking/ |
D | filter.txt | 881 If BPF_CLASS(code) == BPF_ALU or BPF_ALU64 [ in eBPF ], BPF_OP(code) is one of: 898 If BPF_CLASS(code) == BPF_JMP, BPF_OP(code) is one of:
|