Lines Matching defs:insns
31 * blob - bpf_attr-s, strings, insns, map data.
136 /* 6 insns for emit_sys_close_blob,
137 * 6 insns for debug_regs in emit_sys_close_blob
347 /* 2 is the number of the following insns
348 * * 6 is additional insns in debug_regs
400 opts->insns = gen->insn_start;
867 static void emit_relo(struct bpf_gen *gen, struct ksym_relo_desc *relo, int insns)
873 insn = insns + sizeof(struct bpf_insn) * relo->insn_idx;
885 static void emit_relos(struct bpf_gen *gen, int insns)
890 emit_relo(gen, gen->relos + i, insns);
902 static void cleanup_relos(struct bpf_gen *gen, int insns)
936 const char *license, struct bpf_insn *insns, size_t insn_cnt,
948 /* add insns to blob of bytes */
949 insns_off = add_data(gen, insns, insn_cnt * sizeof(struct bpf_insn));
981 emit_rel_store(gen, attr_field(prog_load_attr, insns), insns_off);