Lines Matching refs:buffer
36 * Log buffer slots have the following layout:
39 * u8 buffer[];
41 * The two pointers are offsets within the buffer.
187 static ssize_t sof_ipc4_mtrace_dfs_read(struct file *file, char __user *buffer,
209 if (copy_to_user(buffer, &avail, sizeof(avail)))
218 /* The log data buffer starts after the two pointer in the slot */
261 ret = copy_to_user(buffer, &avail, sizeof(avail));
266 ret = copy_to_user(buffer + sizeof(avail), log_buffer, avail);
281 * Ask for a new buffer from user space for the next chunk, not
659 * messages anymore, so check the log buffer status on all