Lines Matching refs:max_size
69 scontrol->max_size); in sof_ipc4_set_get_kcontrol_data()
243 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc4_bytes_put()
246 scontrol->max_size); in sof_ipc4_bytes_put()
251 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc4_bytes_put()
254 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc4_bytes_put()
276 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc4_bytes_get()
278 scontrol->max_size); in sof_ipc4_bytes_get()
282 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc4_bytes_get()
285 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc4_bytes_get()
326 if (header.length > scontrol->max_size) { in sof_ipc4_bytes_ext_put()
329 header.length, scontrol->max_size); in sof_ipc4_bytes_ext_put()
343 if (abi_hdr.size > scontrol->max_size - sizeof(abi_hdr)) { in sof_ipc4_bytes_ext_put()
346 abi_hdr.size, scontrol->max_size - sizeof(abi_hdr)); in sof_ipc4_bytes_ext_put()
353 scontrol->max_size, GFP_KERNEL); in sof_ipc4_bytes_ext_put()
361 scontrol->max_size); in sof_ipc4_bytes_ext_put()
402 if (data->size > scontrol->max_size - sizeof(*data)) { in _sof_ipc4_bytes_ext_get()
405 data->size, scontrol->max_size - sizeof(*data)); in _sof_ipc4_bytes_ext_get()