Lines Matching refs:treg
2232 int treg = BPF_REG_9; in sysctl_convert_ctx_access() local
2234 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2235 --treg; in sysctl_convert_ctx_access()
2236 if (si->src_reg == treg || si->dst_reg == treg) in sysctl_convert_ctx_access()
2237 --treg; in sysctl_convert_ctx_access()
2239 BPF_DW, si->dst_reg, treg, in sysctl_convert_ctx_access()
2243 treg, si->dst_reg, in sysctl_convert_ctx_access()
2247 treg, si->src_reg, in sysctl_convert_ctx_access()
2252 BPF_DW, treg, si->dst_reg, in sysctl_convert_ctx_access()
2446 int treg = BPF_REG_9; in cg_sockopt_convert_ctx_access() local
2448 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2449 --treg; in cg_sockopt_convert_ctx_access()
2450 if (si->src_reg == treg || si->dst_reg == treg) in cg_sockopt_convert_ctx_access()
2451 --treg; in cg_sockopt_convert_ctx_access()
2452 *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, treg, in cg_sockopt_convert_ctx_access()
2455 treg, si->dst_reg, in cg_sockopt_convert_ctx_access()
2458 treg, treg, in cg_sockopt_convert_ctx_access()
2462 treg, si->src_reg, in cg_sockopt_convert_ctx_access()
2465 *insn++ = BPF_LDX_MEM(BPF_DW, treg, si->dst_reg, in cg_sockopt_convert_ctx_access()