Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_log.c49 static uint8_t *enx_debug_buf; variable
60 enx_debug_buf = kmem_zalloc(enx_debug_buf_sz, KM_SLEEP); in eibnx_debug_init()
70 if (enx_debug_buf && enx_debug_buf_sz) { in eibnx_debug_fini()
71 kmem_free(enx_debug_buf, enx_debug_buf_sz); in eibnx_debug_fini()
72 enx_debug_buf = NULL; in eibnx_debug_fini()
85 if (enx_debug_buf == NULL) in eibnx_log()
103 (enx_debug_buf[enx_debug_buf_ndx-1] != '\n')) { in eibnx_log()
104 enx_debug_buf[enx_debug_buf_ndx] = '\n'; in eibnx_log()
111 enx_debug_buf[enx_debug_buf_ndx] = 0; /* terminate current msg */ in eibnx_log()
118 bcopy(msgbuf, enx_debug_buf+off, msglen); /* no lock needed */ in eibnx_log()