Lines Matching refs:buf_file
193 FILE *buf_file; in btf_type_raw_dump() local
195 buf_file = fmemopen(buf, sizeof(buf) - 1, "w"); in btf_type_raw_dump()
196 if (!buf_file) { in btf_type_raw_dump()
201 fprintf_btf_type_raw(buf_file, btf, type_id); in btf_type_raw_dump()
202 fflush(buf_file); in btf_type_raw_dump()
203 fclose(buf_file); in btf_type_raw_dump()
234 FILE *buf_file; in btf_type_c_dump() local
239 buf_file = fmemopen(buf, sizeof(buf) - 1, "w"); in btf_type_c_dump()
240 if (!buf_file) { in btf_type_c_dump()
245 opts.ctx = buf_file; in btf_type_c_dump()
260 fflush(buf_file); in btf_type_c_dump()
261 fclose(buf_file); in btf_type_c_dump()