mm: Fix some typos

This commit is contained in:
Nathan Hartman 2023-11-24 10:56:47 -05:00 committed by Xiang Xiao
parent 20eb1831b1
commit 3ed629274e
6 changed files with 12 additions and 12 deletions

View File

@ -220,11 +220,11 @@ config MM_HEAP_MEMPOOL_EXPAND_SIZE
pool with insufficient memory in the multi-level memory pool.
config MM_HEAP_MEMPOOL_DICTIONARY_EXPAND_SIZE
int "The expand size for multiple mempool's dictonary"
int "The expand size for multiple mempool's dictionary"
default MM_HEAP_MEMPOOL_EXPAND_SIZE
depends on MM_HEAP_MEMPOOL_THRESHOLD != 0
---help---
This size describes the multiple mempool dictonary expend.
This size describes the multiple mempool dictionary expand.
config MM_HEAP_MEMPOOL_CHUNK_SIZE
int "The multiples pool chunk size"

View File

@ -276,7 +276,7 @@ bool circbuf_is_full(FAR struct circbuf_s *circ)
* Name: circbuf_peekat
*
* Description:
* Get data speicified position from the circular buffer without removing
* Get data specified position from the circular buffer without removing
*
* Note :
* That with only one concurrent reader and one concurrent writer,

View File

@ -84,7 +84,7 @@ void mm_map_unlock(void)
* Name: mm_map_initialize
*
* Description:
* Allocates a task group specific mm_map stucture. Called when the group
* Allocates a task group specific mm_map structure. Called when the group
* is initialized
*
****************************************************************************/
@ -119,7 +119,7 @@ void mm_map_initialize(FAR struct mm_map_s *mm, bool kernel)
* Name: mm_map_destroy
*
* Description:
* De-allocates a task group specific mm_map stucture and the mm_map_mutex
* De-allocates a task group specific mm_map structure and the mm_map_mutex
*
****************************************************************************/

View File

@ -293,7 +293,7 @@ out_with_lock:
* Name: mempool_free
*
* Description:
* Release an memory block to the pool.
* Release a memory block to the pool.
*
* Input Parameters:
* pool - Address of the memory pool to be used.

View File

@ -254,7 +254,7 @@ static FAR void *mempool_multiple_alloc_callback(FAR struct mempool_s *pool,
row = mpool->dict_used >> mpool->dict_col_num_log2;
/* There is no new pointer address to store the dictionarys */
/* There is no new pointer address to store the dictionaries */
DEBUGASSERT(mpool->dict_row_num > row);
@ -358,10 +358,10 @@ mempool_multiple_get_dict(FAR struct mempool_multiple_s *mpool,
* alloc - The alloc memory function for multiples pool.
* alloc_size - Get the address size of the alloc function.
* free - The free memory function for multiples pool.
* arg - The alloc & free memory fuctions used arg.
* arg - The alloc & free memory functions used arg.
* chunksize - The multiples pool chunk size.
* expandsize - The expend mempry for all pools in multiples pool.
* dict_expendsize - The expend size for multiple dictnoary.
* expandsize - The expand memory for all pools in multiples pool.
* dict_expendsize - The expand size for multiple dictionaries.
* Returned Value:
* Return an initialized multiple pool pointer on success,
* otherwise NULL is returned.
@ -584,7 +584,7 @@ FAR void *mempool_multiple_realloc(FAR struct mempool_multiple_s *mpool,
* Name: mempool_multiple_free
*
* Description:
* Release an memory block to the multiple mempry pool. The blk must have
* Release a memory block to the multiple memory pool. The blk must have
* been returned by a previous call to mempool_multiple_alloc.
*
* Input Parameters:

View File

@ -209,7 +209,7 @@ static_assert(MM_SIZEOF_ALLOCNODE <= MM_MIN_CHUNK,
static_assert(MM_ALIGN >= sizeof(uintptr_t) &&
(MM_ALIGN & MM_GRAN_MASK) == 0,
"Error memory aligment\n");
"Error memory alignment\n");
struct mm_delaynode_s
{