Home
last modified time | relevance | path

Searched refs:BPF_REG_CTX (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Dbpf-prologue.c257 err = gen_ldx_reg_from_ctx(pos, BPF_REG_CTX, reg, in gen_prologue_slowpath()
448 ins(BPF_MOV64_REG(BPF_REG_CTX, BPF_REG_ARG1), &pos); in bpf__gen_prologue()
493 ins(BPF_MOV64_REG(BPF_REG_ARG1, BPF_REG_CTX), &pos); in bpf__gen_prologue()
/kernel/linux/linux-5.10/tools/include/linux/
Dfilter.h19 #define BPF_REG_CTX BPF_REG_6 macro
/kernel/linux/linux-5.10/net/core/
Dfilter.c347 *insn++ = BPF_LDX_MEM(BPF_H, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
354 cnt = convert_skb_access(SKF_AD_PKTTYPE, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
364 BPF_REG_TMP, BPF_REG_CTX, in convert_bpf_extensions()
378 cnt = convert_skb_access(SKF_AD_MARK, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
385 *insn = BPF_LDX_MEM(BPF_W, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
390 cnt = convert_skb_access(SKF_AD_QUEUE, BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
396 BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
402 BPF_REG_A, BPF_REG_CTX, insn); in convert_bpf_extensions()
410 *insn++ = BPF_LDX_MEM(BPF_H, BPF_REG_A, BPF_REG_CTX, in convert_bpf_extensions()
422 *insn++ = BPF_MOV64_REG(BPF_REG_ARG1, BPF_REG_CTX); in convert_bpf_extensions()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dfilter.h51 #define BPF_REG_CTX BPF_REG_6 macro
/kernel/linux/linux-5.10/kernel/bpf/
Dcore.c59 #define CTX regs[BPF_REG_CTX]