Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/asihpi/
Dhpioctl.c101 u16 res_max_size; in asihpi_hpi_ioctl() local
144 if (get_user(res_max_size, (u16 __user *)puhr)) { in asihpi_hpi_ioctl()
149 if (res_max_size < sizeof(struct hpi_response_header)) { in asihpi_hpi_ioctl()
150 HPI_DEBUG_LOG(WARNING, "small res size %d\n", res_max_size); in asihpi_hpi_ioctl()
155 res_max_size = min_t(size_t, res_max_size, sizeof(*hr)); in asihpi_hpi_ioctl()
172 hr->h.size = res_max_size; in asihpi_hpi_ioctl()
288 if (hr->h.size > res_max_size) { in asihpi_hpi_ioctl()
290 res_max_size); in asihpi_hpi_ioctl()