Lines Matching refs:treg
2263 int treg = BPF_REG_9; in sysctl_convert_ctx_access() local
2265 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2266 --treg; in sysctl_convert_ctx_access()
2267 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2268 --treg; in sysctl_convert_ctx_access()
2270 BPF_DW, si->dst_reg, treg, in sysctl_convert_ctx_access()
2274 treg, si->dst_reg, in sysctl_convert_ctx_access()
2278 treg, si->src_reg, in sysctl_convert_ctx_access()
2283 BPF_DW, treg, si->dst_reg, in sysctl_convert_ctx_access()
2477 int treg = BPF_REG_9; in cg_sockopt_convert_ctx_access() local
2479 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2480 --treg; in cg_sockopt_convert_ctx_access()
2481 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2482 --treg; in cg_sockopt_convert_ctx_access()
2483 *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, treg, in cg_sockopt_convert_ctx_access()
2486 treg, si->dst_reg, in cg_sockopt_convert_ctx_access()
2489 treg, treg, in cg_sockopt_convert_ctx_access()
2493 treg, si->src_reg, in cg_sockopt_convert_ctx_access()
2496 *insn++ = BPF_LDX_MEM(BPF_DW, treg, si->dst_reg, in cg_sockopt_convert_ctx_access()