Home
last modified time | relevance | path

Searched refs:SUBBUF_SIZE (Results 1 – 1 of 1) sorted by relevance

/external/igt-gpu-tools/tools/
Dintel_guc_logger.c53 #define SUBBUF_SIZE (19*PAGE_SIZE) macro
122 ret = read(relay_fd, read_buffer, SUBBUF_SIZE); in pull_leftover_data()
127 igt_assert_f(ret == SUBBUF_SIZE, "invalid read from relay file\n"); in pull_leftover_data()
132 ret = write(outfile_fd, read_buffer, SUBBUF_SIZE); in pull_leftover_data()
133 igt_assert_f(ret == SUBBUF_SIZE, "couldn't dump the logs in a file\n"); in pull_leftover_data()
162 ptr = read_buffer + (produced % num_buffers) * SUBBUF_SIZE; in pull_data()
165 ret = read(relay_fd, ptr, SUBBUF_SIZE); in pull_data()
167 igt_assert_f(!ret || ret == SUBBUF_SIZE, "invalid read from relay file\n"); in pull_data()
207 ptr = read_buffer + (consumed % num_buffers) * SUBBUF_SIZE; in flusher()
209 ret = write(outfile_fd, ptr, SUBBUF_SIZE); in flusher()
[all …]