Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvme/target/fcloop.c fcloop_alloc_nport() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->ref.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | lport->localport->node_name | 1 |
| CAPPED_DATA | 0 | lport->localport->port_name | 1 |
| DATA_SOURCE | 0 | lport | r __fcloop_lport_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &fcloop_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/target/fcloop.c fcloop_alloc_nport() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->ref.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | lport->localport->node_name | 1 |
| CAPPED_DATA | 0 | lport->localport->port_name | 1 |
| DATA_SOURCE | 0 | lport | r __fcloop_lport_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &fcloop_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/target/fcloop.c fcloop_alloc_nport() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->ref.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | lport->localport->node_name | 1 |
| CAPPED_DATA | 0 | lport->localport->port_name | 1 |
| DATA_SOURCE | 0 | lport | r __fcloop_lport_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | flags | ||
| LOCK2 | global &fcloop_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/target/fcloop.c fcloop_delete_local_port() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport->port_state | 0-1,3-u32max |
| PARAM_VALUE | 0 | lport->ref.refs.counter | (-1073741824),0-s32max |
| CAPPED_DATA | 0 | lport->localport->node_name | 1 |
| CAPPED_DATA | 0 | lport->localport->port_name | 1 |
| DATA_SOURCE | 0 | lport | r fcloop_lport_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/nvme/target/fcloop.c fcloop_exit() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport | 0,4096-ptr_max |
| PARAM_VALUE | 0 | lport->localport->port_state | 0-1,3-u32max |
| PARAM_VALUE | 0 | lport->ref.refs.counter | (-1073741824),0-s32max |
| NOCHECK_CALL |
drivers/nvme/target/fcloop.c fcloop_localport_delete() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/nvme/target/fcloop.c fcloop_nport_put() -> fcloop_lport_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lport | 1-u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags |