Lines Matching refs:max_size
69 scontrol->max_size); in sof_ipc4_set_get_kcontrol_data()
444 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc4_bytes_put()
447 scontrol->max_size); in sof_ipc4_bytes_put()
452 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc4_bytes_put()
455 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc4_bytes_put()
477 if (scontrol->max_size > sizeof(ucontrol->value.bytes.data)) { in sof_ipc4_bytes_get()
479 scontrol->max_size); in sof_ipc4_bytes_get()
483 if (data->size > scontrol->max_size - sizeof(*data)) { in sof_ipc4_bytes_get()
486 data->size, scontrol->max_size - sizeof(*data)); in sof_ipc4_bytes_get()
527 if (header.length > scontrol->max_size) { in sof_ipc4_bytes_ext_put()
530 header.length, scontrol->max_size); in sof_ipc4_bytes_ext_put()
544 if (abi_hdr.size > scontrol->max_size - sizeof(abi_hdr)) { in sof_ipc4_bytes_ext_put()
547 abi_hdr.size, scontrol->max_size - sizeof(abi_hdr)); in sof_ipc4_bytes_ext_put()
554 scontrol->max_size, GFP_KERNEL); in sof_ipc4_bytes_ext_put()
562 scontrol->max_size); in sof_ipc4_bytes_ext_put()
603 if (data->size > scontrol->max_size - sizeof(*data)) { in _sof_ipc4_bytes_ext_get()
606 data->size, scontrol->max_size - sizeof(*data)); in _sof_ipc4_bytes_ext_get()