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_enable_oas_lun() -> lpfc_create_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 vport_wwpn 1-u64max
PARAM_VALUE 2 target_wwpn 1-u64max
PARAM_VALUE 5 atomic_create 1
BUF_SIZE 1 vport_wwpn 8
BUF_SIZE 2 target_wwpn 8
CAPPED_DATA 0 &phba->luns 1
DATA_SOURCE 0 phba $0
DATA_SOURCE 1 vport_wwpn $1
DATA_SOURCE 2 target_wwpn $2
DATA_SOURCE 3 lun $3
DATA_SOURCE 4 pri $4
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_create_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->devicelock.rlock.dep_map->name 0-255
PARAM_VALUE 1 vport_wwpn 4096-ptr_max
PARAM_VALUE 2 target_wwpn 3063681124751667200
PARAM_VALUE 3 lun 0-18446744073709551614
PARAM_VALUE 5 atomic_create 1
CAPPED_DATA 0 &phba->luns 1
CAPPED_DATA 3 lun 1
CAPPED_DATA 3 lun 1
NOSPEC 3 lun
NOSPEC 3 lun
RX_PATH
TASK_NOT_RUNNING
USER_DATA 3 lun 0-18446744073709551614[c]
UNITS 0 phba unit_byte
LOCK2 &shost->scan_mutex
TYPE_LOCK (struct Scsi_Host)->scan_mutex