Lines Matching defs:buffer
48 struct spdk_trace_entry_buffer *buffer;
78 /* Get next entry index in the circular buffer */
87 buffer = (struct spdk_trace_entry_buffer *)next_entry;
120 * we'll only fill portion of the buffer, without touching the rest. For instance,
126 /* Current buffer is full, we need to acquire another one */
127 if (spdk_unlikely(offset == sizeof(buffer->data))) {
128 buffer = (struct spdk_trace_entry_buffer *) get_trace_entry(
131 buffer->tpoint_id = SPDK_TRACE_MAX_TPOINT_ID;
132 buffer->tsc = tsc;
137 curlen = spdk_min(sizeof(buffer->data) - offset, argument->size - argoff);
140 memcpy(&buffer->data[offset], (uint8_t *)argval + argoff,
151 buffer->data[offset - 1] = '\0';