Lines Matching refs:max_hwcb
488 if (hwc_data.hwcb_count == hwc_data.ioctls.max_hwcb) in reuse_write_hwcb()
496 hwc_data.ioctls.max_hwcb, in reuse_write_hwcb()
497 hwc_data.ioctls.max_hwcb * PAGE_SIZE, in reuse_write_hwcb()
524 if (hwc_data.hwcb_count == hwc_data.ioctls.max_hwcb) in allocate_write_hwcb()
1980 if (ioctls->max_hwcb < 2) { in set_hwc_ioctls()
1982 tmp.max_hwcb = 2; in set_hwc_ioctls()
1986 tmp.max_hwcb = ioctls->max_hwcb; in set_hwc_ioctls()
1990 if (ioctls->kmem_hwcb > ioctls->max_hwcb) { in set_hwc_ioctls()
1992 tmp.kmem_hwcb = ioctls->max_hwcb; in set_hwc_ioctls()
2370 tmp.max_hwcb = (((obuf | 0xFFF) + 1) >> 12); in hwc_ioctl()
2372 tmp.max_hwcb = (obuf >> 12); in hwc_ioctl()
2410 if (put_user (tmp.max_hwcb, (ioctl_obuf_t *) arg)) in hwc_ioctl()