Home
last modified time | relevance | path

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

/freebsd/sys/dev/ocs_fc/
H A Docs_utils.c2289 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()
[all …]