Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/target/iscsi/cxgbit/cxgbit_cm.c, line 312
- drivers/target/iscsi/cxgbit/cxgbit_main.c, line 626
Smatch caller information:
drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_dcb_workfn() -> cxgbit_find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | port_id | 4107625769856798720 |
| PARAM_VALUE | 1 | *port_id | 255 |
| CAPPED_DATA | 0 | ndev->ifindex | 1 |
| DATA_SOURCE | 0 | ndev | r dev_get_by_index |
| LOCK2 | global &cdev_list_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/target/iscsi/cxgbit/cxgbit_cm.c cxgbit_find_np_cdev() -> cxgbit_find_device()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 1 | port_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tpg->tpg_access_lock | ||
| LOCK2 | global &cdev_list_lock | ||
| LOCK2 | global &np_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &subsys->su_mutex | ||
| TYPE_LOCK | (struct iscsi_portal_group)->tpg_access_lock |