Home
last modified time | relevance | path

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

/tools/lib/traceevent/
Dtrace-seq.c47 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()
Dtrace-seq.h32 unsigned int buffer_size; member
/tools/testing/selftests/filesystems/incfs/
Dincfs_perf.c277 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/
Dtracing.bconf4 buffer_size = 1M;
Dboottrace.bconf39 buffer_size = 512KB
/tools/wmi/
Ddell-smbios-example.c143 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/
Dinit.c62 int buffer_size; in seed_rng() member
66 .buffer_size = sizeof(entropy.buffer), in seed_rng()
/tools/bootconfig/scripts/
Dbconf2ftrace.sh267 if xbc_has_key ${instance}.buffer_size; then
268 size=`xbc_get_val ${instance}.buffer_size 1`
/tools/include/uapi/sound/
Dasound.h769 size_t buffer_size; /* queue size in bytes */ member
/tools/perf/scripts/python/
Dexported-sql-viewer.py2663 self.buffer_size = 16 * 1024 * 1024
2664 self.buffer = Array(c_char, self.buffer_size, lock=False)