Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
sound/usb/midi2.c find_matching_ep_partner() -> create_midi2_ump()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umidi | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | umidi->chip->dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | umidi->chip->dev->state | 0-7,9-u32max |
| PARAM_VALUE | 0 | umidi->ep_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif->desc.bNumEndpoints | 1-255 |
| PARAM_VALUE | 0 | umidi->hostif->extralen | 7-s32max |
| PARAM_VALUE | 0 | umidi->iface | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->altsetting | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->num_altsetting | 2-u32max |
| PARAM_VALUE | 0 | umidi->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *umidi->chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | ep_in | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_in->direction | 1 |
| PARAM_VALUE | 1 | ep_in->ms_ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_in->ms_ep->bNumGrpTrmBlock | 1-255 |
| PARAM_VALUE | 1 | ep_in->ms_ep->baAssoGrpTrmBlkID | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->direction | 0 |
| PARAM_VALUE | 2 | ep_out->ms_ep | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->ms_ep->bNumGrpTrmBlock | 1-255 |
| PARAM_VALUE | 2 | ep_out->ms_ep->baAssoGrpTrmBlkID | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->pair | 0 |
| PARAM_VALUE | 3 | blk_id | 0-255 |
| BUF_SIZE | 0 | umidi | 88 |
| CAPPED_DATA | 0 | umidi->chip->dev | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bAlternateSetting | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bInterfaceNumber | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bNumEndpoints | 1 |
| CAPPED_DATA | 0 | &umidi->ep_list | 1 |
| CAPPED_DATA | 2 | &ep_out->list | 1 |
| CAPPED_DATA | 3 | blk_id | 1 |
| DATA_SOURCE | 0 | umidi | $0 |
| DATA_SOURCE | 1 | ep_in | $1 |
| DATA_SOURCE | 3 | blk_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | umidi->chip->quirk_flags | 0-u32max |
| HALF_LOCKED2 | _T->lock |
sound/usb/midi2.c parse_midi_2_0() -> create_midi2_ump()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umidi | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | umidi->chip->dev->state | 0-7,9-u32max |
| PARAM_VALUE | 0 | umidi->ep_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif->desc.bNumEndpoints | 1-255 |
| PARAM_VALUE | 0 | umidi->hostif->extralen | 7-s32max |
| PARAM_VALUE | 0 | umidi->iface | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->altsetting | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->num_altsetting | 2-u32max |
| PARAM_VALUE | 0 | umidi->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *umidi->chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 0 | *umidi->chip->dev->tt->hcpriv | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | ep_in | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_in->direction | 1 |
| PARAM_VALUE | 1 | ep_in->ms_ep | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_in->ms_ep->bNumGrpTrmBlock | 1-255 |
| PARAM_VALUE | 1 | ep_in->ms_ep->baAssoGrpTrmBlkID | 4096-ptr_max |
| PARAM_VALUE | 1 | ep_in->rmidi | 0 |
| PARAM_VALUE | 2 | ep_out | 0 |
| PARAM_VALUE | 3 | blk_id | 0-255 |
| BUF_SIZE | 0 | umidi | 88 |
| CAPPED_DATA | 0 | umidi->chip->dev | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bAlternateSetting | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bInterfaceNumber | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bNumEndpoints | 1 |
| CAPPED_DATA | 0 | &umidi->ep_list | 1 |
| CAPPED_DATA | 1 | &ep_in->list | 1 |
| DATA_SOURCE | 0 | umidi | $0 |
| PARAM_COMPARE | 0 | &umidi->ep_list | != $0->ep_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | umidi->chip->quirk_flags | 0-u32max |
| HALF_LOCKED2 | _T->lock |
sound/usb/midi2.c parse_midi_2_0() -> create_midi2_ump()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | umidi | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->chip->dev->actconfig->desc.bNumInterfaces | 1-255 |
| PARAM_VALUE | 0 | umidi->chip->dev->state | 0-7,9-u32max |
| PARAM_VALUE | 0 | umidi->ep_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->ep_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->hostif->desc.bNumEndpoints | 1-255 |
| PARAM_VALUE | 0 | umidi->hostif->extralen | 7-s32max |
| PARAM_VALUE | 0 | umidi->iface | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->altsetting | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->iface->num_altsetting | 2-u32max |
| PARAM_VALUE | 0 | umidi->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | umidi->rawmidi_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | *umidi->chip->dev->toggle | 0-4294967295 |
| PARAM_VALUE | 0 | *umidi->chip->dev->tt->hcpriv | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | ep_in | 0 |
| PARAM_VALUE | 2 | ep_out | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->direction | s32min-0,2-s32max |
| PARAM_VALUE | 2 | ep_out->ms_ep | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->ms_ep->bNumGrpTrmBlock | 1-255 |
| PARAM_VALUE | 2 | ep_out->ms_ep->baAssoGrpTrmBlkID | 4096-ptr_max |
| PARAM_VALUE | 2 | ep_out->rmidi | 0 |
| PARAM_VALUE | 3 | blk_id | 0-255 |
| BUF_SIZE | 0 | umidi | 88 |
| CAPPED_DATA | 0 | umidi->chip->dev | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bAlternateSetting | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bInterfaceNumber | 1 |
| CAPPED_DATA | 0 | umidi->hostif->desc.bNumEndpoints | 1 |
| CAPPED_DATA | 0 | &umidi->ep_list | 1 |
| CAPPED_DATA | 2 | &ep_out->list | 1 |
| DATA_SOURCE | 0 | umidi | $0 |
| PARAM_COMPARE | 0 | &umidi->ep_list | != $0->ep_list.next |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | umidi->chip->quirk_flags | 0-u32max |
| HALF_LOCKED2 | _T->lock |