Lines Matching refs:smp
84 csio_set_state(void *smp, void *state)
86 ((struct csio_sm *)smp)->sm_state = (csio_sm_state_t)state;
90 csio_init_state(struct csio_sm *smp, void *state)
92 csio_set_state(smp, state);
96 csio_post_event(void *smp, uint32_t evt)
98 ((struct csio_sm *)smp)->sm_state(smp, evt);
102 csio_get_state(void *smp)
104 return ((struct csio_sm *)smp)->sm_state;
108 csio_match_state(void *smp, void *state)
110 return (csio_get_state(smp) == (csio_sm_state_t)state);