Lines Matching refs:data_start
75 size_t off = gen->data_cur - gen->data_start; in realloc_data_buf()
76 void *data_start; in realloc_data_buf() local
84 data_start = realloc(gen->data_start, off + size); in realloc_data_buf()
85 if (!data_start) { in realloc_data_buf()
87 free(gen->data_start); in realloc_data_buf()
88 gen->data_start = NULL; in realloc_data_buf()
91 gen->data_start = data_start; in realloc_data_buf()
92 gen->data_cur = data_start + off; in realloc_data_buf()
175 return prev - gen->data_start; in add_data()
410 opts->data = gen->data_start; in bpf_gen__finish()
411 opts->data_sz = gen->data_cur - gen->data_start; in bpf_gen__finish()
429 free(gen->data_start); in bpf_gen__free()
462 libbpf_sha256(gen->data_start, gen->data_cur - gen->data_start, (__u8 *)sha); in compute_sha_update_offsets()
1017 struct bpf_func_info *fi = gen->data_start + func_info; in info_blob_bswap()
1018 struct bpf_line_info *li = gen->data_start + line_info; in info_blob_bswap()
1019 struct bpf_core_relo *cr = gen->data_start + core_relos; in info_blob_bswap()
1057 struct bpf_insn *insn = gen->data_start + insns_off; in bpf_gen__prog_load()