Lines Matching refs:textbufs
2291 ocs_textbuf_t *textbufs; member
2325 …ramlog->textbufs = ocs_malloc(ocs, sizeof(*ramlog->textbufs)*buffer_count, OCS_M_ZERO | OCS_M_NOWA… in ocs_ramlog_init()
2326 if (ramlog->textbufs == NULL) { in ocs_ramlog_init()
2333 rc = ocs_textbuf_alloc(ocs, &ramlog->textbufs[i], buffer_len); in ocs_ramlog_init()
2343 ramlog->cur_textbuf = &ramlog->textbufs[0]; in ocs_ramlog_init()
2367 if (ramlog->textbufs) { in ocs_ramlog_free()
2369 ocs_textbuf_free(ocs, &ramlog->textbufs[i]); in ocs_ramlog_free()
2372 ocs_free(ocs, ramlog->textbufs, ramlog->textbuf_count*sizeof(*ramlog->textbufs)); in ocs_ramlog_free()
2373 ramlog->textbufs = NULL; in ocs_ramlog_free()
2399 ocs_textbuf_reset(&ramlog->textbufs[i]); in ocs_ramlog_clear()
2404 ocs_textbuf_reset(&ramlog->textbufs[0]); in ocs_ramlog_clear()
2466 ramlog->cur_textbuf = &ramlog->textbufs[ramlog->cur_textbuf_idx]; in ocs_ramlog_vprintf()
2517 if ((ramlog == NULL) || (ramlog->textbufs == NULL)) { in ocs_ddump_ramlog()
2527 rltextbuf = &ramlog->textbufs[0]; in ocs_ddump_ramlog()
2539 rltextbuf = &ramlog->textbufs[idx]; in ocs_ddump_ramlog()