Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsghsc.c1735 sghsc_rb_setup(sghsc_rb_head_t *rb_head) in sghsc_rb_setup() argument
1737 if (rb_head->buf == NULL) { in sghsc_rb_setup()
1738 rb_head->put_idx = 0; in sghsc_rb_setup()
1739 rb_head->get_idx = 0; in sghsc_rb_setup()
1740 rb_head->size = SGHSC_RING_BUFFER_SZ; in sghsc_rb_setup()
1741 rb_head->state = SGHSC_RB_EMPTY; in sghsc_rb_setup()
1746 rb_head->buf = (sghsc_event_t *)kmem_zalloc( in sghsc_rb_setup()
1747 sizeof (sghsc_event_t) * rb_head->size, KM_SLEEP); in sghsc_rb_setup()
1756 sghsc_rb_teardown(sghsc_rb_head_t *rb_head) in sghsc_rb_teardown() argument
1758 if (rb_head->buf != NULL) { in sghsc_rb_teardown()
[all …]