Searched refs:block (Results 1 – 2 of 2) sorted by relevance
28 static void (*rt_mp_alloc_hook)(struct rt_mempool *mp, void *block);29 static void (*rt_mp_free_hook)(struct rt_mempool *mp, void *block);43 void rt_mp_alloc_sethook(void (*hook)(struct rt_mempool *mp, void *block)) in rt_mp_alloc_sethook() argument54 void rt_mp_free_sethook(void (*hook)(struct rt_mempool *mp, void *block)) in rt_mp_free_sethook() argument372 void rt_mp_free(void *block) in rt_mp_free() argument379 if (block == RT_NULL) return; in rt_mp_free()382 block_ptr = (rt_uint8_t **)((rt_uint8_t *)block - sizeof(rt_uint8_t *)); in rt_mp_free()385 RT_OBJECT_HOOK_CALL(rt_mp_free_hook, (mp, block)); in rt_mp_free()
323 … As long as the memory block size meets the requirements, the search ends immediately.329 … The search does not end until the memory block of the most appropriate size is found375 to dump memory block information.377 to check memory block to avoid memory overwritten.380 to check memory block to find which thread has wrongly modified
Completed in 3 milliseconds