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:
chao.an
2021-02-26 20:27:35 +08:00
parent 63829c6895
commit af341ee4fc
12 changed files with 23 additions and 23 deletions
+4 -4
View File
@@ -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 */
/****************************************************************************