mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
mm/iob: add an interface to support dequeue an iob from the queue
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -425,6 +425,20 @@ void iob_free_queue(FAR struct iob_queue_s *qhead,
|
||||
enum iob_user_e producerid);
|
||||
#endif /* CONFIG_IOB_NCHAINS > 0 */
|
||||
|
||||
/****************************************************************************
|
||||
* Name: iob_free_queue_qentry
|
||||
*
|
||||
* Description:
|
||||
* Free an iob entire queue of I/O buffer chains.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_IOB_NCHAINS > 0
|
||||
void iob_free_queue_qentry(FAR struct iob_s *iob,
|
||||
FAR struct iob_queue_s *iobq,
|
||||
enum iob_user_e producerid);
|
||||
#endif /* CONFIG_IOB_NCHAINS > 0 */
|
||||
|
||||
/****************************************************************************
|
||||
* Name: iob_copyin
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user