Lines Matching defs:state_p
6295 ddi_soft_state_init(void **state_p, size_t size, size_t n_items)
6299 if (state_p == NULL || size == 0)
6320 *state_p = ss;
6514 ddi_soft_state_fini(void **state_p)
6520 if (state_p == NULL ||
6521 (ss = (i_ddi_soft_state *)(*state_p)) == NULL) {
6551 *state_p = NULL;
6559 ddi_soft_state_bystr_init(ddi_soft_state_bystr **state_p, size_t size,
6565 ASSERT(state_p && size && n_items);
6566 if ((state_p == NULL) || (size == 0) || (n_items == 0))
6581 *state_p = (ddi_soft_state_bystr *)sss;
6642 ddi_soft_state_bystr_fini(ddi_soft_state_bystr **state_p)
6646 ASSERT(state_p);
6647 if (state_p == NULL)
6650 sss = (i_ddi_soft_state_bystr *)(*state_p);
6661 *state_p = NULL;