Lines Matching refs:status
232 * Common status routines
247 info->status.ctst_detail = detail;
250 info->status.ctst_nbytes = status_nbytes;
251 info->status.ctst_buffer = status_buffer;
253 error = ioctl(fd, CT_SSTATUS, &info->status);
257 if (info->status.ctst_nbytes <= status_nbytes)
262 status_nbytes = info->status.ctst_nbytes;
267 if ((errno = nvlist_unpack(info->status.ctst_buffer,
268 info->status.ctst_nbytes, &info->nvl, 0)) != 0)
275 info->status.ctst_nbytes = 0;
277 if (ioctl(fd, CT_SSTATUS, &info->status) == -1)
299 assert(info->status.ctst_detail != CTD_COMMON);
310 return (info->status.ctst_id);
317 return (info->status.ctst_zoneid);
324 return (types[info->status.ctst_type].type_name);
331 return (info->status.ctst_holder);
338 return (info->status.ctst_state);
345 return (info->status.ctst_nevents);
352 return (info->status.ctst_ntime);
359 return (info->status.ctst_qtime);
366 return (info->status.ctst_nevid);
373 return (info->status.ctst_informative);
380 return (info->status.ctst_critical);
387 return (info->status.ctst_cookie);