Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/scsi/qla2xxx/qla_dfs.c qla_dfs_rport_set() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
DATA_SOURCE 1 dev_loss_tmo $2
USER_DATA 1 dev_loss_tmo 0-u32max
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/scsi/qla2xxx/qla_attr.c qla2x00_set_rport_loss_tmo() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 0 portptr 1-u64max
PARAM_VALUE 1 dev_loss_tmo 1-u32max
FUZZY_MAX 1 dev_loss_tmo 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 shost->host_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/qla2xxx/qla_nvme.c qla_nvme_register_remote() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 0 portptr 4096-ptr_max
PARAM_VALUE 0 portptr->dev_loss_tmo 60
PARAM_VALUE 0 portptr->port_num 0-4294967295
PARAM_VALUE 0 portptr->port_state 2
NOCHECK_CALL

drivers/scsi/qla2xxx/qla_nvme.c qla_nvme_unregister_remote_port() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 1 dev_loss_tmo 0
NOCHECK_CALL

drivers/scsi/lpfc/lpfc_attr.c lpfc_set_rport_loss_tmo() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 0 portptr 1-u64max
PARAM_VALUE 1 dev_loss_tmo 1-u32max
FUZZY_MAX 1 dev_loss_tmo 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 flags
HALF_LOCKED2 shost->host_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/lpfc/lpfc_attr.c lpfc_update_rport_devloss_tmo() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 0 portptr 1-u64max
PARAM_VALUE 1 dev_loss_tmo 1-255
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 &vport->fc_nodes_list_lock
LOCK2 iflags
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct lpfc_vport)->fc_nodes_list_lock

drivers/scsi/fnic/fnic_nvme.c nvfnic_nvme_zero_devloss_tports() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 1 dev_loss_tmo 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/scsi/lpfc/lpfc_nvme.c lpfc_nvme_unregister_port() -> nvme_fc_set_remoteport_devloss()

Type Parameter Key Value
PARAM_VALUE 0 portptr 1-u64max
PARAM_VALUE 1 dev_loss_tmo 0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &vport->phba->hbalock