Home
last modified time | relevance | path

Searched refs:g_malloc_arr (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/io/xge/hal/include/
H A Dxge-defs.h78 extern xge_os_malloc_t g_malloc_arr[XGE_OS_MALLOC_CNT_MAX];
85 if (g_malloc_arr[index_mem_chk].ptr == NULL) { \
96 g_malloc_arr[index_mem_chk].ptr = _vaddr; \
97 g_malloc_arr[index_mem_chk].size = _size; \
98 g_malloc_arr[index_mem_chk].file = _file; \
99 g_malloc_arr[index_mem_chk].line = _line; \
109 if (g_malloc_arr[index_mem_chk].ptr == _vaddr) { \
110 g_malloc_arr[index_mem_chk].ptr = NULL; \
111 if(_check_size && g_malloc_arr[index].size!=_check_size) { \
115 g_malloc_arr[index_mem_chk].file, \
[all …]
/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-driver.c32 xge_os_malloc_t g_malloc_arr[XGE_OS_MALLOC_CNT_MAX]; variable
271 if (g_malloc_arr[i].ptr != NULL) { in xge_hal_driver_terminate()
274 g_malloc_arr[i].file, in xge_hal_driver_terminate()
275 g_malloc_arr[i].line, in xge_hal_driver_terminate()
277 g_malloc_arr[i].ptr, in xge_hal_driver_terminate()
278 g_malloc_arr[i].size); in xge_hal_driver_terminate()