Lines Matching refs:treg
2213 int treg = BPF_REG_9; in sysctl_convert_ctx_access() local
2215 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2216 --treg; in sysctl_convert_ctx_access()
2217 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2218 --treg; in sysctl_convert_ctx_access()
2220 BPF_DW, si->dst_reg, treg, in sysctl_convert_ctx_access()
2224 treg, si->dst_reg, in sysctl_convert_ctx_access()
2227 BPF_SIZEOF(u32), treg, si->src_reg, in sysctl_convert_ctx_access()
2231 BPF_DW, treg, si->dst_reg, in sysctl_convert_ctx_access()
2418 int treg = BPF_REG_9; in cg_sockopt_convert_ctx_access() local
2420 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2421 --treg; in cg_sockopt_convert_ctx_access()
2422 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2423 --treg; in cg_sockopt_convert_ctx_access()
2424 *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, treg, in cg_sockopt_convert_ctx_access()
2427 treg, si->dst_reg, in cg_sockopt_convert_ctx_access()
2430 treg, treg, in cg_sockopt_convert_ctx_access()
2433 treg, si->src_reg, in cg_sockopt_convert_ctx_access()
2435 *insn++ = BPF_LDX_MEM(BPF_DW, treg, si->dst_reg, in cg_sockopt_convert_ctx_access()