Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libipd/common/
H A Dlibipd.c131 ipd_ioc_list_t ipil; in ipd_status_read() local
135 bzero(&ipil, sizeof (ipil)); in ipd_status_read()
136 if (ioctl(fd, IPDIOC_LIST, &ipil) != 0) { in ipd_status_read()
142 if ((rzones = ipil.ipil_nzones) == 0) in ipd_status_read()
145 ipil.ipil_info = in ipd_status_read()
146 malloc(sizeof (ipd_ioc_info_t) * ipil.ipil_nzones); in ipd_status_read()
147 if (ipil.ipil_info == NULL) in ipd_status_read()
150 if (ioctl(fd, IPDIOC_LIST, &ipil) != 0) { in ipd_status_read()
151 free(ipil.ipil_info); in ipd_status_read()
157 if (ipil.ipil_nzones <= rzones) in ipd_status_read()
[all …]