Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/scsi/lpfc/lpfc_vmid.c lpfc_vmid_assign_cs_ctl() -> lpfc_get_vmid_from_hashtable()

Type Parameter Key Value
PARAM_VALUE 0 vport 4096-ptr_max
PARAM_VALUE 0 vport->vmid_flag 32-255
PARAM_VALUE 1 hash 0-255
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 256
DATA_SOURCE 1 hash r lpfc_vmid_hash_fn
BIT_INFO 0 vport->vmid_flag 0x20,0xff
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vport unit_array_size
LOCK2 &vport->vmid_lock
TYPE_LOCK (struct lpfc_vport)->vmid_lock

drivers/scsi/lpfc/lpfc_vmid.c lpfc_vmid_get_appid() -> lpfc_get_vmid_from_hashtable()

Type Parameter Key Value
PARAM_VALUE 0 vport 4096-ptr_max
PARAM_VALUE 0 vport->phba 4096-ptr_max
PARAM_VALUE 0 vport->vmid_lock.dep_map->name 0-255
PARAM_VALUE 1 hash 0-255
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 129
BUF_SIZE 2 buf 129
DATA_SOURCE 0 vport $0
DATA_SOURCE 1 hash r lpfc_vmid_hash_fn
DATA_SOURCE 2 buf $1
STR_LEN 0 vport 0-128
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &vport->vmid_lock
TYPE_LOCK (struct lpfc_vport)->vmid_lock

drivers/scsi/lpfc/lpfc_vmid.c lpfc_vmid_get_appid() -> lpfc_get_vmid_from_hashtable()

Type Parameter Key Value
PARAM_VALUE 0 vport 4096-ptr_max
PARAM_VALUE 0 vport->phba 4096-ptr_max
PARAM_VALUE 0 vport->vmid_lock.dep_map->name 0-255
PARAM_VALUE 0 vport->vmid_lock.owner_cpu 0
PARAM_VALUE 0 vport->vmid_lock.raw_lock.cnts.counter 0-s32max
PARAM_VALUE 1 hash 0-255
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 129
BUF_SIZE 2 buf 129
DATA_SOURCE 0 vport $0
DATA_SOURCE 1 hash r lpfc_vmid_hash_fn
DATA_SOURCE 2 buf $1
STR_LEN 0 vport 0-128
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &vport->vmid_lock
TYPE_LOCK (struct lpfc_vport)->vmid_lock

drivers/scsi/lpfc/lpfc_ct.c lpfc_cmpl_ct_cmd_vmid() -> lpfc_get_vmid_from_hashtable()

Type Parameter Key Value
PARAM_VALUE 0 vport 4096-ptr_max
PARAM_VALUE 1 hash 0-255
BUF_SIZE 2 buf 255
DATA_SOURCE 1 hash r lpfc_vmid_hash_fn
RX_PATH
TASK_NOT_RUNNING
UNITS 0 vport unit_array_size