Lines Matching refs:req_count
928 int req_count, count, err; in bofi_ioctl() local
1495 req_count = get_handles.count; in bofi_ioctl()
1496 bufptr = buffer = kmem_zalloc(req_count, KM_SLEEP); in bofi_ioctl()
1497 endbuf = bufptr + req_count; in bofi_ioctl()
1556 err = ddi_copyout(buffer, get_handles.buffer, req_count, mode); in bofi_ioctl()
1558 kmem_free(buffer, req_count); in bofi_ioctl()
1603 req_count = hdl_info.count; in bofi_ioctl()
1605 if (req_count > 0) { in bofi_ioctl()
1607 kmem_zalloc(req_count * sizeof (struct handle_info), in bofi_ioctl()
1611 req_count = hdl_info.count = 0; in bofi_ioctl()
1625 ++(hdl_info.count) > req_count || in bofi_ioctl()
1626 count == req_count) in bofi_ioctl()
1681 if (req_count > 0) in bofi_ioctl()
1683 req_count * sizeof (*hib)); in bofi_ioctl()
1692 if (req_count > 0) in bofi_ioctl()
1694 req_count * sizeof (*hib)); in bofi_ioctl()
1703 if (req_count > 0) in bofi_ioctl()
1704 kmem_free(hib, req_count * sizeof (*hib)); in bofi_ioctl()
1712 if (req_count > 0) in bofi_ioctl()
1714 req_count * sizeof (*hib)); in bofi_ioctl()
1719 if (req_count > 0) in bofi_ioctl()
1720 kmem_free(hib, req_count * sizeof (*hib)); in bofi_ioctl()