Searched refs:buffer_size (Results 1 – 10 of 10) sorted by relevance
/tools/lib/traceevent/ |
D | trace-seq.c | 47 s->buffer_size = TRACE_SEQ_BUF_SIZE; in trace_seq_init() 48 s->buffer = malloc(s->buffer_size); in trace_seq_init() 87 buf = realloc(s->buffer, s->buffer_size + TRACE_SEQ_BUF_SIZE); in expand_buffer() 94 s->buffer_size += TRACE_SEQ_BUF_SIZE; in expand_buffer() 122 len = (s->buffer_size - 1) - s->len; in trace_seq_printf() 163 len = (s->buffer_size - 1) - s->len; in trace_seq_vprintf() 196 while (len > ((s->buffer_size - 1) - s->len)) in trace_seq_puts() 211 while (s->len >= (s->buffer_size - 1)) in trace_seq_putc()
|
D | trace-seq.h | 32 unsigned int buffer_size; member
|
/tools/testing/selftests/filesystems/incfs/ |
D | incfs_perf.c | 277 size_t buffer_size; in measure_read_throughput_internal() local 284 buffer_size = 1 << (block + 12); in measure_read_throughput_internal() 285 buffer = malloc(buffer_size); in measure_read_throughput_internal() 292 size_t offsets_size = options->size / buffer_size; in measure_read_throughput_internal() 303 offsets[i] = i * buffer_size; in measure_read_throughput_internal() 333 if (pread(fd, buffer, buffer_size, in measure_read_throughput_internal() 334 offsets[i]) != buffer_size) { in measure_read_throughput_internal()
|
/tools/testing/ktest/examples/bootconfigs/ |
D | tracing.bconf | 4 buffer_size = 1M;
|
D | boottrace.bconf | 39 buffer_size = 512KB
|
/tools/wmi/ |
D | dell-smbios-example.c | 143 static int query_buffer_size(__u64 *buffer_size) in query_buffer_size() argument 150 fread(buffer_size, sizeof(__u64), 1, f); in query_buffer_size()
|
/tools/testing/selftests/wireguard/qemu/ |
D | init.c | 62 int buffer_size; in seed_rng() member 66 .buffer_size = sizeof(entropy.buffer), in seed_rng()
|
/tools/bootconfig/scripts/ |
D | bconf2ftrace.sh | 267 if xbc_has_key ${instance}.buffer_size; then 268 size=`xbc_get_val ${instance}.buffer_size 1`
|
/tools/include/uapi/sound/ |
D | asound.h | 769 size_t buffer_size; /* queue size in bytes */ member
|
/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 2663 self.buffer_size = 16 * 1024 * 1024 2664 self.buffer = Array(c_char, self.buffer_size, lock=False)
|