Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_log.c50 static uint32_t enx_debug_buf_ndx; variable
58 enx_debug_buf_ndx = 0; in eibnx_debug_init()
75 enx_debug_buf_ndx = 0; in eibnx_debug_fini()
102 if ((enx_debug_buf_ndx == 0) || 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()
105 enx_debug_buf_ndx++; in eibnx_log()
108 off = enx_debug_buf_ndx; /* current msg should go here */ in eibnx_log()
110 enx_debug_buf_ndx += msglen; /* next msg should start here */ in eibnx_log()
111 enx_debug_buf[enx_debug_buf_ndx] = 0; /* terminate current msg */ in eibnx_log()
[all …]