Home
last modified time | relevance | path

Searched refs:reg2hex (Results 1 – 2 of 2) sorted by relevance

/linux/arch/s390/net/
H A Dbpf_jit_comp.c86 static const int reg2hex[] = { variable
113 return reg2hex[dst_reg] << 4 | reg2hex[src_reg]; in reg()
118 return reg2hex[reg] << 4; in reg_high()
123 u32 r1 = reg2hex[b1]; in reg_set_seen()
753 probe->reg = reg2hex[insn->dst_reg]; in bpf_jit_probe_load_pre()
791 probe->reg = reg2hex[load_reg]; in bpf_jit_probe_atomic_pre()
2817 reg2hex[arg] << 12); in __arch_prepare_bpf_trampoline()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c211 static const int reg2hex[] = {
316 return byte + reg2hex[dst_reg];
322 return byte + reg2hex[dst_reg] + (reg2hex[src_reg] << 3);
739 int reg = reg2hex[bpf_reg];
779 int reg = reg2hex[bpf_reg]; in emit_bpf_tail_call_indirect()
1139 return reg2hex[reg] == 5; in emit_ldx()
2027 u8 vvvv = reg2hex[src_reg2]; in do_jit()
2029 /* reg2hex gives only the lower 3 bit of vvvv */ in do_jit()
183 static const int reg2hex[] = { global() variable