Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvme/host/fc.c nvme_fc_attach_to_unreg_lport() -> nvme_fc_lport_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport.port_state | 10 |
| CAPPED_DATA | 0 | lport->dev | 1 |
| CAPPED_DATA | 0 | lport->localport.node_name | 1 |
| CAPPED_DATA | 0 | lport->localport.port_name | 1 |
| CAPPED_DATA | 0 | &lport->port_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &nvme_fc_lock | ||
| HALF_LOCKED2 | &ha->vport_lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/nvme/host/fc.c nvme_fc_nvme_discovery_store() -> nvme_fc_lport_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| CAPPED_DATA | 0 | &lport->endp_list | 1 |
| CAPPED_DATA | 0 | &lport->port_list | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &nvme_fc_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/host/fc.c nvme_fc_register_remoteport() -> nvme_fc_lport_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| DATA_SOURCE | 0 | lport | r localport_to_lport |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |