宏ut_mem_block_t

 

/** This struct is placed first in every allocated memory block */
typedef struct ut_mem_block_struct ut_mem_block_t;

/** Dynamically allocated memory block */
struct ut_mem_block_struct{
    UT_LIST_NODE_T(ut_mem_block_t) mem_block_list;
            /*!< mem block list node */
    ulint    size;    /*!< size of allocated memory */
    ulint    magic_n;/*!< magic number (UT_MEM_MAGIC_N) */
};
/** List of all memory blocks allocated from the operating system
with malloc.  Protected by ut_list_mutex. */
static UT_LIST_BASE_NODE_T(ut_mem_block_t)   ut_mem_block_list;

 

你可能感兴趣的:(宏ut_mem_block_t)