Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dbpf_gen_internal.h34 void *insn_cur; member
Dgen_loader.c52 size_t off = gen->insn_cur - gen->insn_start; in realloc_insn_buf()
69 gen->insn_cur = insn_start + off; in realloc_insn_buf()
100 memcpy(gen->insn_cur, &insn, sizeof(insn)); in emit()
101 gen->insn_cur += sizeof(insn); in emit()
142 gen->cleanup_label = gen->insn_cur - gen->insn_start; in bpf_gen__init()
284 __s64 off = -(gen->insn_cur - gen->insn_start - gen->cleanup_label) / 8 - 1; in emit_check_err()
401 opts->insns_sz = gen->insn_cur - gen->insn_start; in bpf_gen__finish()