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/lpfc/lpfc_scsi.c lpfc_disable_oas_lun() -> lpfc_delete_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phba | 4096-ptr_max |
| PARAM_VALUE | 0 | phba->cfg_fof | 1-u32max |
| PARAM_VALUE | 0 | phba->pport | 0,4096-ptr_max |
| PARAM_VALUE | 1 | lun_info | 4096-ptr_max |
| PARAM_VALUE | 1 | lun_info->available | 0 |
| PARAM_VALUE | 1 | lun_info->oas_enabled | 0 |
| CAPPED_DATA | 0 | &phba->luns | 1 |
| CAPPED_DATA | 1 | lun_info->device_id.lun | 1 |
| DATA_SOURCE | 0 | phba | $0 |
| DATA_SOURCE | 1 | lun_info | r __lpfc_get_device_data |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | phba | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &phba->devicelock | |
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct lpfc_hba)->devicelock |
drivers/scsi/lpfc/lpfc_scsi.c lpfc_sdev_destroy() -> lpfc_delete_device_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phba | 4096-ptr_max |
| PARAM_VALUE | 0 | phba->cfg_fof | 1-u32max |
| PARAM_VALUE | 1 | lun_info | 4096-ptr_max |
| PARAM_VALUE | 1 | lun_info->available | 0 |
| PARAM_VALUE | 1 | lun_info->oas_enabled | 0 |
| BUF_SIZE | 1 | lun_info | 12,16,18,24,32,272,280,520,2064 |
| BUF_SIZE | 1 | lun_info | 12,16,18,24,32,272,280,520,2064 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | phba | unit_byte |
| UNITS | 1 | lun_info | unit_byte |
| LOCK2 | &shost->scan_mutex | ||
| LOCK2 | flags | ||
| LOCK2 | 0 | &phba->devicelock | |
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex | ||
| TYPE_LOCK | (struct lpfc_hba)->devicelock |