mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
mm/iob: rename the iob_free_queue() to iob_destroy_queue()
make the semantics more precise Change-Id: Ie3ac87d6a478cdd65e9129e708afc833f0a124b0 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -428,16 +428,16 @@ FAR struct iob_s *iob_peek_queue(FAR struct iob_queue_s *iobq);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: iob_free_queue
|
||||
* Name: iob_destroy_queue
|
||||
*
|
||||
* Description:
|
||||
* Free an entire queue of I/O buffer chains.
|
||||
* Destroy all I/O buffer chains from the iob queue.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_IOB_NCHAINS > 0
|
||||
void iob_free_queue(FAR struct iob_queue_s *qhead,
|
||||
enum iob_user_e producerid);
|
||||
void iob_destroy_queue(FAR struct iob_queue_s *qhead,
|
||||
enum iob_user_e producerid);
|
||||
#endif /* CONFIG_IOB_NCHAINS > 0 */
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user