Lines Matching full:memory
8 * 2006-05-27 Bernard implement memory pool
35 * This function will set a hook function, which will be invoked when a memory
36 * block is allocated from memory pool.
46 * This function will set a hook function, which will be invoked when a memory
47 * block is released to memory pool.
66 * This function will initialize a memory pool object, normally which is used
69 * @param mp the memory pool object
70 * @param name the name of memory pool
71 * @param start the star address of memory pool
72 * @param size the total size of memory pool
92 /* initialize memory pool */ in rt_mp_init()
126 * This function will detach a memory pool from system object management.
128 * @param mp the memory pool object
176 * This function will create a mempool object and allocate the memory pool from
179 * @param name the name of memory pool
180 * @param block_count the count of blocks in memory pool
201 /* initialize memory pool */ in rt_mp_create()
206 /* allocate memory */ in rt_mp_create()
211 /* no memory, delete memory pool object */ in rt_mp_create()
242 * This function will delete a memory pool and release the object memory.
244 * @param mp the memory pool object
297 * This function will allocate a block from memory pool
299 * @param mp the memory pool object
302 * @return the allocated memory block or RT_NULL on allocated failed
319 /* memory block is unavailable. */ in rt_mp_alloc()
370 /* memory block is available. decrease the free block counter */ in rt_mp_alloc()
380 /* point to memory pool */ in rt_mp_alloc()
394 * This function will release a memory block
396 * @param block the address of memory block to be released