Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-driver.c84 int off = 0, retbuf_off = 0; in xge_hal_driver_tracebuf_read() local
97 xge_os_snprintf((retbuf + retbuf_off), (bufsize - retbuf_off), in xge_hal_driver_tracebuf_read()
99 retbuf_off += xge_os_strlen(dmesg_start + i) + 1; in xge_hal_driver_tracebuf_read()
100 if (retbuf_off > bufsize) in xge_hal_driver_tracebuf_read()
108 xge_os_snprintf((retbuf + retbuf_off), (bufsize - retbuf_off), in xge_hal_driver_tracebuf_read()
110 retbuf_off += xge_os_strlen(dmesg + i) + 1; in xge_hal_driver_tracebuf_read()
111 if (retbuf_off > bufsize) in xge_hal_driver_tracebuf_read()
117 *retsize = retbuf_off; in xge_hal_driver_tracebuf_read()
118 *(retbuf + retbuf_off + 1) = 0; in xge_hal_driver_tracebuf_read()