Lines Matching refs:data_start
76 size_t off = gen->data_cur - gen->data_start; in realloc_data_buf()
77 void *data_start; in realloc_data_buf() local
85 data_start = realloc(gen->data_start, off + size); in realloc_data_buf()
86 if (!data_start) { in realloc_data_buf()
88 free(gen->data_start); in realloc_data_buf()
89 gen->data_start = NULL; in realloc_data_buf()
92 gen->data_start = data_start; in realloc_data_buf()
93 gen->data_cur = data_start + off; in realloc_data_buf()
173 return prev - gen->data_start; in add_data()
403 opts->data = gen->data_start; in bpf_gen__finish()
404 opts->data_sz = gen->data_cur - gen->data_start; in bpf_gen__finish()
422 free(gen->data_start); in bpf_gen__free()
972 struct bpf_func_info *fi = gen->data_start + func_info; in info_blob_bswap()
973 struct bpf_line_info *li = gen->data_start + line_info; in info_blob_bswap()
974 struct bpf_core_relo *cr = gen->data_start + core_relos; in info_blob_bswap()
1012 struct bpf_insn *insn = gen->data_start + insns_off; in bpf_gen__prog_load()