Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/megaraid/megaraid_mm.c ioctl_done() -> mraid_mm_dealloc_kioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adp | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->cmdbuf | 4096-18446744073709547520 |
| PARAM_VALUE | 1 | kioc->status | s32min-(-62),(-60)-s32max |
| PARAM_VALUE | 1 | kioc->timedout | 0 |
| CAPPED_DATA | 0 | &adp->list | 1 |
| DATA_SOURCE | 1 | kioc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adapter->pend_list_lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/megaraid/megaraid_mm.c mraid_mm_ioctl() -> mraid_mm_dealloc_kioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adp | 4096-ptr_max |
| PARAM_VALUE | 0 | adp->kioc_pool_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->up | 0 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner | (-1) |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | adp->quiescent | 1-u32max |
| PARAM_VALUE | 1 | kioc | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->free_buf | 0-1 |
| PARAM_VALUE | 1 | kioc->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->pool_index | (-1)-4 |
| PARAM_VALUE | 1 | kioc->timedout | 0 |
| PARAM_VALUE | 1 | kioc->user_pthru | 0,4096-ptr_max |
| DATA_SOURCE | 0 | adp | r mraid_mm_get_adapter |
| DATA_SOURCE | 1 | kioc | r mraid_mm_alloc_kioc |
| PARAM_COMPARE | 0 | &adp->kioc_pool | != $0->kioc_pool.next |
| NOCHECK_CALL | |||
| USER_DATA | 1 | kioc->pthru32->cdblen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->channel | 0-255 |
| USER_DATA | 1 | kioc->pthru32->dataxferaddr | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->dataxferlen | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->logdrv | 0-255 |
| USER_DATA | 1 | kioc->pthru32->numsge | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queueaction | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queuetag | 0-255 |
| USER_DATA | 1 | kioc->pthru32->reqsenselen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->scsistatus | 0-255 |
| USER_DATA | 1 | kioc->pthru32->target | 0-255 |
| USER_DATA | 1 | kioc->user_data_len | 0-u32max |
| USER_DATA | 1 | *kioc->buf_vaddr | 0-255 |
| USER_DATA | 1 | *kioc->pthru32->cdb | 0-255 |
| USER_DATA | 1 | *kioc->pthru32->reqsensearea | 0-255 |
| USER_PTR | 1 | kioc->buf_vaddr | |
| USER_PTR | 1 | kioc->pthru32 | |
| USER_PTR | 1 | kioc->pthru32->cdb | |
| USER_PTR | 1 | kioc->pthru32->reqsensearea | |
| LOCK2 | global &mraid_mm_mutex | ||
| LOCK2 | 0 | &adp->kioc_semaphore | |
| TYPE_LOCK | (struct mraid_mmadp)->kioc_semaphore |
drivers/scsi/megaraid/megaraid_mm.c mraid_mm_ioctl() -> mraid_mm_dealloc_kioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adp | 4096-ptr_max |
| PARAM_VALUE | 0 | adp->drvr_data->being_detached.counter | s32min-s32max |
| PARAM_VALUE | 0 | adp->drvr_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->outstanding_cmds | s32min-s32max |
| PARAM_VALUE | 0 | adp->drvr_data->pend_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->quiescent | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mailbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox->cmdid | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox64->xferaddr_hi | 0-4294967295 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox64->xferaddr_lo | 0-4294967295 |
| PARAM_VALUE | 0 | adp->drvr_data->uscb_pool_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->issue_uioc | 4096-ptr_max |
| PARAM_VALUE | 0 | adp->kioc_pool_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->up | 0 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner | (-1) |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | kioc | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->adapno | 0-u16max |
| PARAM_VALUE | 1 | kioc->app_type | 0 |
| PARAM_VALUE | 1 | kioc->buf_vaddr->pci_slot | 0-31 |
| PARAM_VALUE | 1 | kioc->done | 6278444276419825664 |
| PARAM_VALUE | 1 | kioc->free_buf | 0-1 |
| PARAM_VALUE | 1 | kioc->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->mb_type | 0 |
| PARAM_VALUE | 1 | kioc->opcode | 0,196608 |
| PARAM_VALUE | 1 | kioc->pool_index | 0-4 |
| PARAM_VALUE | 1 | kioc->status | (-62)-(-61),(-22),(-16),0 |
| PARAM_VALUE | 1 | kioc->timedout | 0 |
| PARAM_VALUE | 1 | kioc->user_pthru | 0,4096-ptr_max |
| DATA_SOURCE | 0 | adp | r mraid_mm_get_adapter |
| DATA_SOURCE | 1 | kioc | r mraid_mm_alloc_kioc |
| PARAM_COMPARE | 0 | &adp->kioc_pool | != $0->kioc_pool.next |
| NOCHECK_CALL | |||
| USER_DATA | 1 | kioc->pthru32->cdblen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->channel | 0-255 |
| USER_DATA | 1 | kioc->pthru32->dataxferaddr | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->dataxferlen | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->logdrv | 0-255 |
| USER_DATA | 1 | kioc->pthru32->numsge | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queueaction | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queuetag | 0-255 |
| USER_DATA | 1 | kioc->pthru32->reqsenselen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->scsistatus | 0-255 |
| USER_DATA | 1 | kioc->pthru32->target | 0-255 |
| USER_DATA | 1 | kioc->user_data_len | 0-u32max |
| USER_DATA | 1 | *kioc->pthru32->cdb | 0-255 |
| USER_DATA | 1 | *kioc->pthru32->reqsensearea | 0-255 |
| USER_PTR | 1 | kioc->pthru32 | |
| USER_PTR | 1 | kioc->pthru32->cdb | |
| USER_PTR | 1 | kioc->pthru32->reqsensearea | |
| LOCK2 | global &mraid_mm_mutex | ||
| LOCK2 | 0 | &adp->kioc_semaphore | |
| TYPE_LOCK | (struct mraid_mmadp)->kioc_semaphore |
drivers/scsi/megaraid/megaraid_mm.c mraid_mm_ioctl() -> mraid_mm_dealloc_kioc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adp | 4096-ptr_max |
| PARAM_VALUE | 0 | adp->drvr_data->being_detached.counter | 0 |
| PARAM_VALUE | 0 | adp->drvr_data->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->outstanding_cmds | s32min-s32max |
| PARAM_VALUE | 0 | adp->drvr_data->pend_list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->quiescent | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mailbox_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox->busy | 1 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox->cmdid | 0-255 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox64->xferaddr_hi | 0-4294967295 |
| PARAM_VALUE | 0 | adp->drvr_data->raid_device->mbox64->xferaddr_lo | 0-4294967295 |
| PARAM_VALUE | 0 | adp->drvr_data->uscb_pool_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->issue_uioc | 4096-ptr_max |
| PARAM_VALUE | 0 | adp->kioc_pool_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.first_waiter->up | 0 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner | (-1) |
| PARAM_VALUE | 0 | adp->kioc_semaphore.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | kioc | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->adapno | 0-u16max |
| PARAM_VALUE | 1 | kioc->app_type | 0 |
| PARAM_VALUE | 1 | kioc->buf_vaddr->pci_slot | 0-31 |
| PARAM_VALUE | 1 | kioc->done | 6278444276419825664 |
| PARAM_VALUE | 1 | kioc->free_buf | 0-1 |
| PARAM_VALUE | 1 | kioc->list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | kioc->mb_type | 0 |
| PARAM_VALUE | 1 | kioc->opcode | 0,196608 |
| PARAM_VALUE | 1 | kioc->pool_index | 0-4 |
| PARAM_VALUE | 1 | kioc->status | (-22),0 |
| PARAM_VALUE | 1 | kioc->timedout | 0 |
| PARAM_VALUE | 1 | kioc->user_pthru | 0,4096-ptr_max |
| DATA_SOURCE | 0 | adp | r mraid_mm_get_adapter |
| DATA_SOURCE | 1 | kioc | r mraid_mm_alloc_kioc |
| PARAM_COMPARE | 0 | &adp->kioc_pool | != $0->kioc_pool.next |
| NOCHECK_CALL | |||
| USER_DATA | 1 | kioc->pthru32->cdblen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->channel | 0-255 |
| USER_DATA | 1 | kioc->pthru32->dataxferaddr | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->dataxferlen | 0-u32max |
| USER_DATA | 1 | kioc->pthru32->logdrv | 0-255 |
| USER_DATA | 1 | kioc->pthru32->numsge | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queueaction | 0-255 |
| USER_DATA | 1 | kioc->pthru32->queuetag | 0-255 |
| USER_DATA | 1 | kioc->pthru32->reqsenselen | 0-255 |
| USER_DATA | 1 | kioc->pthru32->scsistatus | 0-255 |
| USER_DATA | 1 | kioc->pthru32->target | 0-255 |
| USER_DATA | 1 | kioc->user_data_len | 0-u32max |
| USER_DATA | 1 | *kioc->pthru32->cdb | 0-255 |
| USER_DATA | 1 | *kioc->pthru32->reqsensearea | 0-255 |
| USER_PTR | 1 | kioc->pthru32 | |
| USER_PTR | 1 | kioc->pthru32->cdb | |
| USER_PTR | 1 | kioc->pthru32->reqsensearea | |
| LOCK2 | global &mraid_mm_mutex | ||
| LOCK2 | 0 | &adp->kioc_semaphore | |
| TYPE_LOCK | (struct mraid_mmadp)->kioc_semaphore |