Home
last modified time | relevance | path

Searched refs:max_hwcb (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/s390/char/
Dhwc_rw.h58 ioctl_obuf_t max_hwcb; member
76 #define TIOCHWCSOBUF _IOW(HWC_IOCTL_LETTER, 5, _hwc_ioctls.max_hwcb)
92 #define TIOCHWCGOBUF _IOR(HWC_IOCTL_LETTER, 15, _hwc_ioctls.max_hwcb)
100 #define TIOCHWCGKBUF _IOR(HWC_IOCTL_LETTER, 20, _hwc_ioctls.max_hwcb)
Dhwc_rw.c488 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()
[all …]