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_get_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 list 4096-ptr_max
PARAM_VALUE 2 vport_wwpn 1-u64max
PARAM_VALUE 3 target_wwpn 1-u64max
BUF_SIZE 2 vport_wwpn 8
BUF_SIZE 3 target_wwpn 8
DATA_SOURCE 0 phba $0
DATA_SOURCE 2 vport_wwpn $1
DATA_SOURCE 3 target_wwpn $2
DATA_SOURCE 4 lun $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
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_enable_oas_lun() -> __lpfc_get_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 list 4096-ptr_max
PARAM_VALUE 2 vport_wwpn 1-u64max
PARAM_VALUE 3 target_wwpn 1-u64max
BUF_SIZE 2 vport_wwpn 8
BUF_SIZE 3 target_wwpn 8
DATA_SOURCE 0 phba $0
DATA_SOURCE 2 vport_wwpn $1
DATA_SOURCE 3 target_wwpn $2
DATA_SOURCE 4 lun $3
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
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_init() -> __lpfc_get_device_data()

Type Parameter Key Value
PARAM_VALUE 0 phba 4096-ptr_max
PARAM_VALUE 0 phba->cfg_fof 1-u32max
PARAM_VALUE 1 list 4096-ptr_max
PARAM_VALUE 2 vport_wwpn 4096-ptr_max
PARAM_VALUE 3 target_wwpn 3063681124751667200
PARAM_VALUE 4 lun 0-18446744073709551614
NOSPEC 4 lun
NOSPEC 4 lun
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
USER_DATA 4 lun 0-18446744073709551614[c]
UNITS 0 phba 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