Lines Matching refs:hdl_info

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