Lines Matching refs:state
145 aggr_ioc_info_state_t *state = arg;
148 if (state->bytes_left < sizeof (grp))
161 if (ddi_copyout(&grp, state->where, sizeof (grp), state->mode) != 0)
164 state->where += sizeof (grp);
165 state->bytes_left -= sizeof (grp);
174 aggr_ioc_info_state_t *state = arg;
177 if (state->bytes_left < sizeof (port))
185 if (ddi_copyout(&port, state->where, sizeof (port), state->mode) != 0)
188 state->where += sizeof (port);
189 state->bytes_left -= sizeof (port);
199 aggr_ioc_info_state_t state;
201 state.bytes_left = info_argp->li_bufsize - sizeof (laioc_info_t);
202 state.where = (uchar_t *)arg + sizeof (laioc_info_t);
203 state.mode = mode;
205 return (aggr_grp_info(info_argp->li_group_linkid, &state,