mm/iob: iob_navail() was returning the number of free IOB chain queue entries, not the number of free IOBs. Completely misnamed.

This commit is contained in:
Gregory Nutt
2018-09-12 06:40:18 -06:00
parent a680553f35
commit 76eec53e4f
5 changed files with 68 additions and 7 deletions
+11 -1
View File
@@ -195,7 +195,17 @@ FAR struct iob_s *iob_tryalloc(bool throttled);
*
****************************************************************************/
int iob_navail(void);
int iob_navail(bool throttled);
/****************************************************************************
* Name: iob_quentry_navail
*
* Description:
* Return the number of available IOB chains.
*
****************************************************************************/
int iob_quentry_navail(void);
/****************************************************************************
* Name: iob_free