Home
last modified time | relevance | path

Searched refs:g_xge_os_tracebuf (Results 1 – 4 of 4) sorted by relevance

/titanic_41/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-driver.c59 if (g_xge_os_tracebuf == NULL) { in xge_hal_driver_tracebuf_dump()
64 if (g_xge_os_tracebuf->wrapped_once) { in xge_hal_driver_tracebuf_dump()
65 for (i = 0; i < g_xge_os_tracebuf->size - in xge_hal_driver_tracebuf_dump()
66 g_xge_os_tracebuf->offset; i += off) { in xge_hal_driver_tracebuf_dump()
72 for (i = 0; i < g_xge_os_tracebuf->offset; i += off) { in xge_hal_driver_tracebuf_dump()
89 if (g_xge_os_tracebuf == NULL) { in xge_hal_driver_tracebuf_read()
93 if (g_xge_os_tracebuf->wrapped_once) { in xge_hal_driver_tracebuf_read()
94 for (i = 0; i < g_xge_os_tracebuf->size - in xge_hal_driver_tracebuf_read()
95 g_xge_os_tracebuf->offset; i += off) { in xge_hal_driver_tracebuf_read()
106 for (i = 0; i < g_xge_os_tracebuf->offset; i += off) { in xge_hal_driver_tracebuf_read()
[all …]
H A Dxgehal-mgmt.c738 if ((g_xge_os_tracebuf == NULL) || in xge_hal_mgmt_trace_read()
739 (g_xge_os_tracebuf->offset == g_xge_os_tracebuf->size - 2)) { in xge_hal_mgmt_trace_read()
743 data_offset = g_xge_os_tracebuf->offset + 1; in xge_hal_mgmt_trace_read()
745 if (*offset >= (unsigned)xge_os_strlen(g_xge_os_tracebuf->data + in xge_hal_mgmt_trace_read()
754 *read_length = xge_os_strlen(g_xge_os_tracebuf->data + in xge_hal_mgmt_trace_read()
761 xge_os_memcpy(buffer, g_xge_os_tracebuf->data + start_offset, in xge_hal_mgmt_trace_read()
/titanic_41/usr/src/uts/common/io/xge/hal/include/
H A Dxge-os-pal.h60 extern xge_os_tracebuf_t *g_xge_os_tracebuf;
63 extern xge_os_tracebuf_t *g_xge_os_tracebuf;
H A Dxge-debug.h127 #define xge_trace_aux(fmt) xge_os_vatrace(g_xge_os_tracebuf, fmt)
153 #define xge_trace_aux(fmt...) xge_os_trace(g_xge_os_tracebuf, fmt)