Lines Matching refs:buf_file
219 FILE *buf_file; in btf_type_raw_dump() local
221 buf_file = fmemopen(buf, sizeof(buf) - 1, "w"); in btf_type_raw_dump()
222 if (!buf_file) { in btf_type_raw_dump()
227 fprintf_btf_type_raw(buf_file, btf, type_id); in btf_type_raw_dump()
228 fflush(buf_file); in btf_type_raw_dump()
229 fclose(buf_file); in btf_type_raw_dump()
260 FILE *buf_file; in btf_type_c_dump() local
264 buf_file = fmemopen(buf, sizeof(buf) - 1, "w"); in btf_type_c_dump()
265 if (!buf_file) { in btf_type_c_dump()
270 d = btf_dump__new(btf, btf_dump_printf, buf_file, NULL); in btf_type_c_dump()
285 fflush(buf_file); in btf_type_c_dump()
286 fclose(buf_file); in btf_type_c_dump()
290 fclose(buf_file); in btf_type_c_dump()