Lines Matching refs:max_size
111 scontrol->max_size); in sof_ipc3_set_get_kcontrol_data()
311 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc3_bytes_get()
313 scontrol->max_size); in sof_ipc3_bytes_get()
318 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc3_bytes_get()
321 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc3_bytes_get()
341 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc3_bytes_put()
343 scontrol->max_size); in sof_ipc3_bytes_put()
348 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc3_bytes_put()
350 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc3_bytes_put()
392 if (header.length > scontrol->max_size) { in sof_ipc3_bytes_ext_put()
394 header.length, scontrol->max_size); in sof_ipc3_bytes_ext_put()
408 scontrol->max_size, GFP_KERNEL); in sof_ipc3_bytes_ext_put()
430 if (cdata->data->size > scontrol->max_size - sizeof(struct sof_abi_hdr)) { in sof_ipc3_bytes_ext_put()
446 memcpy(cdata->data, scontrol->old_ipc_control_data, scontrol->max_size); in sof_ipc3_bytes_ext_put()
485 if (cdata->data->size > scontrol->max_size - sizeof(struct sof_abi_hdr)) { in _sof_ipc3_bytes_ext_get()
488 scontrol->max_size - sizeof(struct sof_abi_hdr)); in _sof_ipc3_bytes_ext_get()