Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_fw_event_add() -> fw_event_work_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fw_work | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->event | 15,20,22-23,28-33,39,48-50,52-53,65531-65533,u16max |
| PARAM_VALUE | 0 | fw_work->ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->refcount.refcount.refs.counter | 1 |
| BUF_SIZE | 0 | fw_work | 320-s32max |
| BUF_SIZE | 0 | fw_work | 320-s32max |
| BUF_SIZE | 0 | fw_work->retries | (-1)-255 |
| CAPPED_DATA | 0 | fw_work->event | 1 |
| DATA_SOURCE | 0 | fw_work | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->combined_reply_index_count | |
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->sas_hba.nr_phys_allocated | |
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->sas_hba.num_phys | |
| LOCK2 | &ioc->fw_event_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ioc->reset_in_progress_mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->fw_event_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_fw_event_add() -> fw_event_work_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fw_work | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->event | 15,20,22-23,28-33,39,48-50,52-53,65531-65533,u16max |
| PARAM_VALUE | 0 | fw_work->ioc | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fw_work->list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | fw_work | 320-s32max |
| BUF_SIZE | 0 | fw_work | 320-s32max |
| BUF_SIZE | 0 | fw_work->retries | (-1)-255 |
| CAPPED_DATA | 0 | fw_work->event | 1 |
| DATA_SOURCE | 0 | fw_work | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->combined_reply_index_count | |
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->sas_hba.nr_phys_allocated | |
| NO_OVERFLOW_SIMPLE | 0 | fw_work->ioc->sas_hba.num_phys | |
| LOCK2 | &ioc->fw_event_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &ioc->reset_in_progress_mutex | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->fw_event_lock |
drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_fw_event_requeue() -> fw_event_work_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | fw_work | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | &ioc->fw_event_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct MPT3SAS_ADAPTER)->fw_event_lock |