Searched refs:BPF_SIZE (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/tools/include/linux/ |
D | filter.h | 135 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 145 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \ 155 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \ 165 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 175 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
|
/linux-4.4.14/samples/bpf/ |
D | libbpf.h | 119 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 129 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \ 139 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 149 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
|
/linux-4.4.14/include/linux/ |
D | filter.h | 176 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \ 186 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \ 196 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \ 206 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \ 216 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_XADD, \ 226 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
|
/linux-4.4.14/kernel/bpf/ |
D | verifier.c | 339 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 345 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 357 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 367 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 373 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 378 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn() 741 if ((BPF_SIZE(insn->code) != BPF_W && BPF_SIZE(insn->code) != BPF_DW) || in check_xadd() 759 BPF_SIZE(insn->code), BPF_READ, -1); in check_xadd() 765 BPF_SIZE(insn->code), BPF_WRITE, -1); in check_xadd() 1297 if (BPF_SIZE(insn->code) != BPF_DW) { in check_ld_imm() [all …]
|
/linux-4.4.14/include/uapi/linux/ |
D | bpf_common.h | 16 #define BPF_SIZE(code) ((code) & 0x18) macro
|
/linux-4.4.14/arch/arm64/net/ |
D | bpf_jit_comp.c | 572 switch (BPF_SIZE(code)) { in build_insn() 597 switch (BPF_SIZE(code)) { in build_insn() 620 switch (BPF_SIZE(code)) { in build_insn() 664 switch (BPF_SIZE(code)) { in build_insn() 690 switch (BPF_SIZE(code)) { in build_insn()
|
/linux-4.4.14/arch/x86/net/ |
D | bpf_jit_comp.c | 728 EMIT(imm32, bpf_size_to_x86_bytes(BPF_SIZE(insn->code))); in do_jit()
|