Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4v/io/
H A Dqcn.c87 static qcn_t *qcn_state; variable
200 qcn_state = kmem_zalloc(sizeof (qcn_t), KM_SLEEP); in _init()
201 qcn_state->qcn_ring = contig_mem_alloc(RINGSIZE); in _init()
202 if (qcn_state->qcn_ring == NULL) in _init()
207 contig_mem_free(qcn_state->qcn_ring, RINGSIZE); in _init()
208 kmem_free(qcn_state, sizeof (qcn_t)); in _init()
218 qcn_state->cons_write_buffer = in _init()
220 if (qcn_state->cons_write_buffer != NULL) { in _init()
221 qcn_state->cons_write_buf_ra = in _init()
222 va_to_pa(qcn_state->cons_write_buffer); in _init()
[all …]