Lines Matching refs:off
154 fn insn(opc: u8, dst: i64, src: i64, off: i64, imm: i64) -> Result<Insn, String> { in insn()
161 if !(-32768..32768).contains(&off) { in insn()
171 off: off as i16, in insn()
195 (LoadReg, Register(dst), Memory(src, off), Nil) in encode()
196 | (StoreReg, Memory(dst, off), Register(src), Nil) => insn(opc, dst, src, off, 0), in encode()
197 (StoreImm, Memory(dst, off), Integer(imm), Nil) => insn(opc, dst, 0, off, imm), in encode()
199 (JumpUnconditional, Integer(off), Nil, Nil) => insn(opc, 0, 0, off, 0), in encode()
200 (JumpConditional, Register(dst), Register(src), Integer(off)) => { in encode()
201 insn(opc | ebpf::BPF_X, dst, src, off, 0) in encode()
203 (JumpConditional, Register(dst), Integer(imm), Integer(off)) => { in encode()
204 insn(opc | ebpf::BPF_K, dst, 0, off, imm) in encode()