Lines Matching refs:hdl_info
921 struct bofi_get_hdl_info hdl_info;
1581 hdl_info.namesize = hdl_info_32.namesize;
1582 (void) strncpy(hdl_info.name, hdl_info_32.name,
1584 hdl_info.count = hdl_info_32.count;
1585 hdl_info.hdli = (caddr_t)(uintptr_t)hdl_info_32.hdli;
1589 if (ddi_copyin((void *)arg, &hdl_info,
1590 sizeof (hdl_info), mode))
1595 if (ddi_copyin((void *)arg, &hdl_info,
1596 sizeof (hdl_info), mode))
1599 if (hdl_info.namesize > NAMESIZE)
1601 namep = kmem_zalloc(hdl_info.namesize + 1, KM_SLEEP);
1602 (void) strncpy(namep, hdl_info.name, hdl_info.namesize);
1603 req_count = hdl_info.count;
1604 count = hdl_info.count = 0; /* the actual no of handles */
1611 req_count = hdl_info.count = 0;
1625 ++(hdl_info.count) > req_count ||
1673 hdl_info_32.namesize = hdl_info.namesize;
1674 (void) strncpy(hdl_info_32.name, hdl_info.name,
1676 hdl_info_32.count = hdl_info.count;
1677 hdl_info_32.hdli = (caddr32_t)(uintptr_t)hdl_info.hdli;
1680 kmem_free(namep, hdl_info.namesize+1);
1689 if (ddi_copyout(&hdl_info, (void *)arg,
1690 sizeof (hdl_info), mode) != 0) {
1691 kmem_free(namep, hdl_info.namesize+1);
1700 if (ddi_copyout(&hdl_info, (void *)arg,
1701 sizeof (hdl_info), mode) != 0) {
1702 kmem_free(namep, hdl_info.namesize+1);
1709 if (ddi_copyout(hib, hdl_info.hdli,
1711 kmem_free(namep, hdl_info.namesize+1);
1718 kmem_free(namep, hdl_info.namesize+1);