Lines Matching refs:textbufs
2289 ocs_textbuf_t *textbufs; member
2323 …ramlog->textbufs = ocs_malloc(ocs, sizeof(*ramlog->textbufs)*buffer_count, OCS_M_ZERO | OCS_M_NOWA… in ocs_ramlog_init()
2324 if (ramlog->textbufs == NULL) { in ocs_ramlog_init()
2331 rc = ocs_textbuf_alloc(ocs, &ramlog->textbufs[i], buffer_len); in ocs_ramlog_init()
2341 ramlog->cur_textbuf = &ramlog->textbufs[0]; in ocs_ramlog_init()
2365 if (ramlog->textbufs) { in ocs_ramlog_free()
2367 ocs_textbuf_free(ocs, &ramlog->textbufs[i]); in ocs_ramlog_free()
2370 ocs_free(ocs, ramlog->textbufs, ramlog->textbuf_count*sizeof(*ramlog->textbufs)); in ocs_ramlog_free()
2371 ramlog->textbufs = NULL; in ocs_ramlog_free()
2397 ocs_textbuf_reset(&ramlog->textbufs[i]); in ocs_ramlog_clear()
2402 ocs_textbuf_reset(&ramlog->textbufs[0]); in ocs_ramlog_clear()
2464 ramlog->cur_textbuf = &ramlog->textbufs[ramlog->cur_textbuf_idx]; in ocs_ramlog_vprintf()
2515 if ((ramlog == NULL) || (ramlog->textbufs == NULL)) { in ocs_ddump_ramlog()
2525 rltextbuf = &ramlog->textbufs[0]; in ocs_ddump_ramlog()
2537 rltextbuf = &ramlog->textbufs[idx]; in ocs_ddump_ramlog()