Home
last modified time | relevance | path

Searched refs:BPF_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/samples/bpf/
Dlibbpf.h108 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
118 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
128 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
138 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/linux-4.1.27/include/linux/
Dfilter.h174 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_ABS, \
184 .code = BPF_LD | BPF_SIZE(SIZE) | BPF_IND, \
194 .code = BPF_LDX | BPF_SIZE(SIZE) | BPF_MEM, \
204 .code = BPF_STX | BPF_SIZE(SIZE) | BPF_MEM, \
214 .code = BPF_ST | BPF_SIZE(SIZE) | BPF_MEM, \
/linux-4.1.27/kernel/bpf/
Dverifier.c338 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
344 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
356 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
366 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
372 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
377 bpf_ldst_string[BPF_SIZE(insn->code) >> 3], in print_bpf_insn()
692 if ((BPF_SIZE(insn->code) != BPF_W && BPF_SIZE(insn->code) != BPF_DW) || in check_xadd()
710 BPF_SIZE(insn->code), BPF_READ, -1); in check_xadd()
716 BPF_SIZE(insn->code), BPF_WRITE, -1); in check_xadd()
1165 if (BPF_SIZE(insn->code) != BPF_DW) { in check_ld_imm()
[all …]
/linux-4.1.27/include/uapi/linux/
Dbpf_common.h16 #define BPF_SIZE(code) ((code) & 0x18) macro
/linux-4.1.27/arch/arm64/net/
Dbpf_jit_comp.c539 switch (BPF_SIZE(code)) { in build_insn()
569 switch (BPF_SIZE(code)) { in build_insn()
613 switch (BPF_SIZE(code)) { in build_insn()
639 switch (BPF_SIZE(code)) { in build_insn()
/linux-4.1.27/arch/x86/net/
Dbpf_jit_comp.c637 EMIT(imm32, bpf_size_to_x86_bytes(BPF_SIZE(insn->code))); in do_jit()