Lines Matching refs:data
110 * @mbuf_priv MSU buffer's private data, if @mbuf
115 * @single_sz: amount of data in single mode
383 * msc_oldest_window() - locate the window with oldest data
389 * Return: the oldest window with valid data
409 * Return: index of the block with the oldest data
423 * oldest data for this window.
490 * start with the block with oldest data; if data has wrapped
539 /* copied newest data from the wrapped block */
545 /* copied newest data for the window */
562 * msc_buffer_iterate() - go through multiblock buffer's data
564 * @size: amount of data to scan
565 * @data: callback's private data
569 * the oldest data) and work its way to the current window, calling @fn
570 * for each chunk of data as it goes.
575 * Return: amount of data actually scanned.
578 msc_buffer_iterate(struct msc_iter *iter, size_t size, void *data,
603 * data in this window.
606 * the oldest data, which is in the range
610 * containing data in the range of [MSC_BDESC..data_bytes].
628 remaining = fn(data, src, tocopy);
1427 * struct msc_win_to_user_struct - data for copy_to_user() callback
1428 * @buf: userspace buffer to copy data to
1437 * msc_win_to_user() - iterator for msc_buffer_iterate() to copy data to user
1438 * @data: callback's private data
1440 * @len: amount of data to copy from the source buffer
1442 static unsigned long msc_win_to_user(void *data, void *src, size_t len)
1444 struct msc_win_to_user_struct *u = data;