bpf_jit
static inline void reg_set_seen(struct bpf_jit *jit, u32 b1)
static s32 off_to_pcrel(struct bpf_jit *jit, u32 off)
static s64 ptr_to_pcrel(struct bpf_jit *jit, const void *ptr)
static bool bpf_is_new_addr_sane(struct bpf_jit *jit, int i)
static int bpf_set_addr(struct bpf_jit *jit, int i)
static int bpf_jit_prog(struct bpf_jit *jit, struct bpf_prog *fp,
struct bpf_jit ctx;
static struct bpf_binary_header *bpf_jit_alloc(struct bpf_jit *jit,
struct bpf_jit jit;
struct bpf_jit common;
static void load_imm64(struct bpf_jit *jit, int dst_reg, u64 val)
struct bpf_jit *jit = &tjit->common;
struct bpf_jit *jit = &tjit->common;
static void emit6_pcrel_ril(struct bpf_jit *jit, u32 op, s64 pcrel)
static void emit6_pcrel_rilb(struct bpf_jit *jit, u32 op, u8 b, s64 pcrel)
static void emit6_pcrel_rilc(struct bpf_jit *jit, u32 op, u8 mask, s64 pcrel)
static bool is_first_pass(struct bpf_jit *jit)
static bool is_codegen_pass(struct bpf_jit *jit)
static bool can_use_rel(struct bpf_jit *jit, int off)
static bool can_use_ldisp_for_lit32(struct bpf_jit *jit)
static bool can_use_ldisp_for_lit64(struct bpf_jit *jit)
static void save_regs(struct bpf_jit *jit, u32 rs, u32 re)
static void restore_regs(struct bpf_jit *jit, u32 rs, u32 re)
static void save_restore_regs(struct bpf_jit *jit, int op, u16 extra_regs)
static void bpf_skip(struct bpf_jit *jit, int size)
static void bpf_jit_prologue(struct bpf_jit *jit, struct bpf_prog *fp)
static void bpf_jit_epilogue(struct bpf_jit *jit)
static void bpf_jit_probe_emit_nop(struct bpf_jit *jit,
static void bpf_jit_probe_load_pre(struct bpf_jit *jit, struct bpf_insn *insn,
static void bpf_jit_probe_store_pre(struct bpf_jit *jit, struct bpf_insn *insn,
static void bpf_jit_probe_atomic_pre(struct bpf_jit *jit,
static int bpf_jit_probe_post(struct bpf_jit *jit, struct bpf_prog *fp,
static int sign_extend(struct bpf_jit *jit, int r, u8 size, u8 flags)
static noinline int bpf_jit_insn(struct bpf_jit *jit, struct bpf_prog *fp,