Searched refs:hdls (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/uts/intel/io/ |
H A D | devfm_machdep.c | 53 cmi_hdl_t *hdls; /* allocated array to save the handles */ member 100 wp->hdls = kmem_alloc(sizeof (cmi_hdl_t) * INIT_HDLS, KM_SLEEP); in walk_init() 110 kmem_free(wp->hdls, sizeof (cmi_hdl_t) * wp->nhdl_max); in walk_fini() 138 bcopy(wp->hdls, newarray, sz); in select_cmi_hdl() 139 kmem_free(wp->hdls, sz); in select_cmi_hdl() 140 wp->hdls = newarray; in select_cmi_hdl() 145 wp->hdls[wp->nhdl++] = hdl; in select_cmi_hdl() 242 populate_cpu(cpus + i, wk.hdls[i]); in fm_ioctl_physcpu_info() 243 cmi_hdl_rele(wk.hdls[i]); in fm_ioctl_physcpu_info() 468 if ((ret = fm_populate_cache(walk.hdls[i], nvl, i)) != 0) { in fm_ioctl_cache_info() [all …]
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgfru.c | 450 frup_info_t hdls; in sgfru_getchildhandles() local 456 if (sgfru_copyin_frup(iargp, &hdls) != 0) { in sgfru_getchildhandles() 459 PR_HANDLE("sgfru:%s: handle %lx\n", f, hdls.fru_hdl); in sgfru_getchildhandles() 462 max_cnt = hdls.fru_cnt; in sgfru_getchildhandles() 472 ret = sgfru_mbox(iargp->cmd, datap, size, &hdls.fru_info); in sgfru_getchildhandles() 489 if (sgfru_copyout_handles(iargp, &hdls, (fru_hdl_t *)tdatap) != 0) { in sgfru_getchildhandles() 1160 fru_hdl_t hdls[2] = {0, 0}; in sgfru_mbox() local 1259 resp->msg_len = sizeof (hdls); in sgfru_mbox() 1260 resp->msg_buf = (caddr_t)&hdls; in sgfru_mbox() 1268 resp->msg_len = sizeof (hdls); in sgfru_mbox() [all …]
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1746 struct handle_info *hdls, *hdl; in test_driver() local 1792 if (get_hinfo(fd, name, &hdls, &cnt, in test_driver() 1833 for (i = 0, inst = -1, hdl = hdls; i < cnt; in test_driver() 1850 for (i = 0, cdp = cdefs, hdl = hdls, nchildren = 0; in test_driver() 2266 struct handle_info *hdls, *hp; in main() local 2273 if ((err = get_hinfo(fd, errdef.name, &hdls, &cnt, in main() 2289 instance = hdls->instance; in main() 2290 for (i = 0, hp = hdls; i < cnt; i++, hp++) { in main() 2301 for (i = 0, hp = hdls; i < cnt; i++, hp++) in main() 2375 free(hdls); in main()
|