Lines Matching refs:addrs
38 u32 *addrs; /* Array with relative instruction addresses */ member
251 int rel = (addrs[(i) + (off) + 1] - jit->prg) / 2; \
678 u32 *addrs = jit->addrs; in bpf_jit_insn() local
1555 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn()
1558 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1562 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1573 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn()
1585 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1591 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn()
1603 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1608 can_use_rel(jit, addrs[i + off + 1])) { in bpf_jit_insn()
1611 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1615 mask >> 12, addrs[i + off + 1]); in bpf_jit_insn()
1654 return jit->addrs[i] == jit->prg; in bpf_is_new_addr_sane()
1657 return jit->addrs[i] >= jit->prg; in bpf_is_new_addr_sane()
1668 delta = jit->prg - jit->addrs[i]; in bpf_set_addr()
1674 jit->addrs[i] = jit->prg; in bpf_set_addr()
1795 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1804 jit.addrs = kvcalloc(fp->len + 1, sizeof(*jit.addrs), GFP_KERNEL); in bpf_int_jit_compile()
1805 if (jit.addrs == NULL) { in bpf_int_jit_compile()
1850 bpf_prog_fill_jited_linfo(fp, jit.addrs + 1); in bpf_int_jit_compile()
1852 kvfree(jit.addrs); in bpf_int_jit_compile()