Searched refs:buf_sz (Results 1 – 3 of 3) sorted by relevance
100 size_t read_sz = 0, buf_sz = 0; in read_from_pipe() local114 if (buf_sz - read_sz < READ_SIZE + 1) { in read_from_pipe()117 buf_sz = read_sz + READ_SIZE + 1; in read_from_pipe()118 new_buf = realloc(buf, buf_sz); in read_from_pipe()131 if (buf_sz - read_sz < 1) { in read_from_pipe()
54 void *buf, size_t buf_sz,
1223 void *buf, size_t buf_sz, in perf_session__peek_event() argument1243 if (buf_sz < hdr_sz) in perf_session__peek_event()1255 if (event->header.size < hdr_sz || event->header.size > buf_sz) in perf_session__peek_event()