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:
chao.an
2021-06-08 23:38:26 +08:00
committed by Xiang Xiao
parent e73883aba5
commit 2c51c29768
4 changed files with 115 additions and 1 deletions
+14
View File
@@ -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
*