Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/storage/ene_ub6250.c ms_lib_scan_logicalblocknumber() -> ms_lib_erase_phyblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 0 | us->current_urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra->MS_Lib.BytesPerSector | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Log2PhyMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfLogBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfPhyBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.PagesPerBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Phy2LogMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.SectorsPerCylinder | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkext | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkpag | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blockSize | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.cardType | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.flags | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.wrtblk | u16max |
| PARAM_VALUE | 0 | us->iobuf | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf->DataTransferLength | 0-4294967295 |
| PARAM_VALUE | 0 | us->iobuf->Flags | 0,128 |
| PARAM_VALUE | 0 | us->iobuf->Length | 0 |
| PARAM_VALUE | 0 | us->iobuf->Lun | 0 |
| PARAM_VALUE | 0 | us->iobuf->Signature | 1128420181 |
| PARAM_VALUE | 0 | us->iobuf->Status | 0 |
| PARAM_VALUE | 0 | us->iobuf->Tag | 0 |
| PARAM_VALUE | 0 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->pusb_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Log2PhyMap | 0-u16max |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Phy2LogMap | 0-u16max |
| PARAM_VALUE | 0 | *us->pusb_dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |
drivers/usb/storage/ene_ub6250.c ms_lib_scan_logicalblocknumber() -> ms_lib_erase_phyblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 0 | us->current_urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra->MS_Lib.BytesPerSector | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Log2PhyMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfLogBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfPhyBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.PagesPerBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Phy2LogMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.SectorsPerCylinder | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkext | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkpag | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blockSize | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.cardType | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.flags | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.wrtblk | u16max |
| PARAM_VALUE | 0 | us->iobuf | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf->DataTransferLength | 0-4294967295 |
| PARAM_VALUE | 0 | us->iobuf->Flags | 0,128 |
| PARAM_VALUE | 0 | us->iobuf->Length | 0 |
| PARAM_VALUE | 0 | us->iobuf->Lun | 0 |
| PARAM_VALUE | 0 | us->iobuf->Signature | 1128420181 |
| PARAM_VALUE | 0 | us->iobuf->Status | 0 |
| PARAM_VALUE | 0 | us->iobuf->Tag | 0 |
| PARAM_VALUE | 0 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->pusb_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Log2PhyMap | 0-u16max |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Phy2LogMap | 0-u16max |
| PARAM_VALUE | 0 | *us->pusb_dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |
drivers/usb/storage/ene_ub6250.c ms_lib_scan_logicalblocknumber() -> ms_lib_erase_phyblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->complete | 3979899265946660864 |
| PARAM_VALUE | 0 | us->current_urb->context | 0,5570596329219252224 |
| PARAM_VALUE | 0 | us->current_urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 0 | us->current_urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra->MS_Lib.BytesPerSector | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Log2PhyMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfLogBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfPhyBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.PagesPerBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Phy2LogMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.SectorsPerCylinder | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkext | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkpag | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blockSize | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.cardType | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.flags | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.wrtblk | u16max |
| PARAM_VALUE | 0 | us->iobuf | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf->DataTransferLength | 4 |
| PARAM_VALUE | 0 | us->iobuf->Flags | 128 |
| PARAM_VALUE | 0 | us->iobuf->Length | 0 |
| PARAM_VALUE | 0 | us->iobuf->Lun | 0 |
| PARAM_VALUE | 0 | us->iobuf->Signature | 1128420181 |
| PARAM_VALUE | 0 | us->iobuf->Status | 0 |
| PARAM_VALUE | 0 | us->iobuf->Tag | 0 |
| PARAM_VALUE | 0 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->pusb_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Log2PhyMap | 0-u16max |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Phy2LogMap | 0-u16max |
| PARAM_VALUE | 0 | *us->pusb_dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| MEM_ZERO | 0 | us->iobuf | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |
drivers/usb/storage/ene_ub6250.c ms_lib_scan_logicalblocknumber() -> ms_lib_erase_phyblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->complete | 3979899265946660864 |
| PARAM_VALUE | 0 | us->current_urb->context | 0,5570596329219252224 |
| PARAM_VALUE | 0 | us->current_urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->dev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | us->current_urb->ep->urb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bmAttributes | 0-255 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 0 | us->current_urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra->MS_Lib.BytesPerSector | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Log2PhyMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfLogBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.NumberOfPhyBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.PagesPerBlock | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.Phy2LogMap | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.SectorsPerCylinder | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkext | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blkpag | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.blockSize | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.cardType | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.flags | 0 |
| PARAM_VALUE | 0 | us->extra->MS_Lib.wrtblk | u16max |
| PARAM_VALUE | 0 | us->iobuf | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf->DataTransferLength | 4 |
| PARAM_VALUE | 0 | us->iobuf->Flags | 128 |
| PARAM_VALUE | 0 | us->iobuf->Length | 0 |
| PARAM_VALUE | 0 | us->iobuf->Lun | 0 |
| PARAM_VALUE | 0 | us->iobuf->Signature | 1128420181 |
| PARAM_VALUE | 0 | us->iobuf->Status | 0 |
| PARAM_VALUE | 0 | us->iobuf->Tag | 0 |
| PARAM_VALUE | 0 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->pusb_dev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Log2PhyMap | 0-u16max |
| PARAM_VALUE | 0 | *us->extra->MS_Lib.Phy2LogMap | 0-u16max |
| PARAM_VALUE | 0 | *us->pusb_dev->toggle | 0-4294967295 |
| PARAM_VALUE | 1 | phyblk | 0-65534 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| FUZZY_MAX | 1 | phyblk | 65534 |
| MEM_ZERO | 0 | us->iobuf | |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |
drivers/usb/storage/ene_ub6250.c ms_libsearch_block_from_physical() -> ms_lib_erase_phyblock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | us | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->complete | 3979899265946660864 |
| PARAM_VALUE | 0 | us->current_urb->context | 0,5570596329219252224 |
| PARAM_VALUE | 0 | us->current_urb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->bDeviceProtocol | 1 |
| PARAM_VALUE | 0 | us->current_urb->transfer_buffer->memcg_data | 0 |
| PARAM_VALUE | 0 | us->current_urb->urb_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->extra | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf | 4096-ptr_max |
| PARAM_VALUE | 0 | us->iobuf->DataTransferLength | 4 |
| PARAM_VALUE | 0 | us->iobuf->Flags | 128 |
| PARAM_VALUE | 0 | us->iobuf->Length | 0 |
| PARAM_VALUE | 0 | us->iobuf->Lun | 0 |
| PARAM_VALUE | 0 | us->iobuf->Signature | 1128420181 |
| PARAM_VALUE | 0 | us->iobuf->Tag | 0 |
| PARAM_VALUE | 0 | us->pusb_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | us->pusb_dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | us->pusb_intf->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | *us->pusb_dev->toggle | 0-4294967295 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| BUF_SIZE | 0 | us | (-1),64,128,280,1024 |
| CAPPED_DATA | 0 | us->current_urb | 1 |
| DATA_SOURCE | 0 | us | $0 |
| MEM_ZERO | 0 | us->iobuf | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.count | |
| NO_OVERFLOW_SIMPLE | 0 | us->current_sg.entries | |
| HALF_LOCKED2 | 0 | &us->dev_mutex |