mirror of
https://github.com/apache/nuttx.git
synced 2026-09-22 06:04:28 +08:00
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:
+11
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user