Home
last modified time | relevance | path

Searched refs:BPF_REG_X (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/include/linux/
Dfilter.h24 #define BPF_REG_X BPF_REG_7 macro
/kernel/linux/linux-5.10/net/core/
Dfilter.c426 *insn++ = BPF_MOV64_REG(BPF_REG_ARG3, BPF_REG_X); in convert_bpf_extensions()
450 *insn = BPF_ALU32_REG(BPF_XOR, BPF_REG_A, BPF_REG_X); in convert_bpf_extensions()
509 *insn++ = BPF_MOV64_REG(BPF_REG_ARG4, BPF_REG_X); in convert_bpf_ld_abs()
589 *new_insn++ = BPF_ALU32_REG(BPF_XOR, BPF_REG_X, BPF_REG_X); in bpf_convert_filter()
667 *insn++ = BPF_MOV32_REG(BPF_REG_X, BPF_REG_X); in bpf_convert_filter()
671 *insn++ = BPF_JMP_IMM(BPF_JNE, BPF_REG_X, 0, 2); in bpf_convert_filter()
676 *insn = BPF_RAW_INSN(fp->code, BPF_REG_A, BPF_REG_X, 0, fp->k); in bpf_convert_filter()
729 insn->src_reg = bpf_src == BPF_X ? BPF_REG_X : 0; in bpf_convert_filter()
782 *insn++ = BPF_MOV64_REG(BPF_REG_X, BPF_REG_A); in bpf_convert_filter()
791 *insn++ = BPF_MOV64_REG(BPF_REG_TMP, BPF_REG_X); in bpf_convert_filter()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfilter.h56 #define BPF_REG_X BPF_REG_7 macro