Home
last modified time | relevance | path

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

/linux-6.1.9/tools/include/linux/ !
Dfilter.h25 #define BPF_REG_TMP BPF_REG_8 macro
/linux-6.1.9/net/core/ !
Dfilter.c368 BPF_REG_TMP, BPF_REG_CTX, in convert_bpf_extensions()
371 *insn++ = BPF_JMP_IMM(BPF_JNE, BPF_REG_TMP, 0, 1); in convert_bpf_extensions()
374 *insn = BPF_LDX_MEM(BPF_W, BPF_REG_A, BPF_REG_TMP, in convert_bpf_extensions()
377 *insn = BPF_LDX_MEM(BPF_H, BPF_REG_A, BPF_REG_TMP, in convert_bpf_extensions()
488 *insn++ = BPF_MOV64_REG(BPF_REG_TMP, BPF_REG_H); in convert_bpf_ld_abs()
490 *insn++ = BPF_ALU64_IMM(BPF_SUB, BPF_REG_TMP, offset); in convert_bpf_ld_abs()
491 *insn++ = BPF_JMP_IMM(BPF_JSLT, BPF_REG_TMP, in convert_bpf_ld_abs()
497 *insn++ = BPF_MOV64_REG(BPF_REG_TMP, BPF_REG_D); in convert_bpf_ld_abs()
498 *insn++ = BPF_ALU64_IMM(BPF_ADD, BPF_REG_TMP, offset); in convert_bpf_ld_abs()
500 BPF_REG_TMP, 0); in convert_bpf_ld_abs()
[all …]
/linux-6.1.9/include/linux/ !
Dfilter.h56 #define BPF_REG_TMP BPF_REG_2 /* scratch reg */ macro