Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_ct_unsol_event() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->req_id | 0-255 |
| PARAM_VALUE | 0 | evt->type_mask | 4-u32max |
| CAPPED_DATA | 0 | evt->req_id | 1 |
| BIT_INFO | 0 | evt->type_mask | 0x4,0xffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |
drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_diag_loopback_run() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->dd_data | 0 |
| PARAM_VALUE | 0 | evt->events_to_get.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | evt->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->req_id | 16 |
| PARAM_VALUE | 0 | evt->type_mask | 4 |
| PARAM_VALUE | 0 | evt->wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | evt | 184 |
| DATA_SOURCE | 0 | evt | r lpfc_bsg_event_new |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |
drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hba_get_event() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| CAPPED_DATA | 0 | evt->reg_id | 1 |
| CAPPED_DATA | 0 | &evt->events_to_get | 1 |
| CAPPED_DATA | 0 | &evt->node | 1 |
| PARAM_COMPARE | 0 | &evt->events_to_get | != $0->events_to_get.next |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |
drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hba_set_event() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| CAPPED_DATA | 0 | evt->reg_id | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |
drivers/scsi/lpfc/lpfc_bsg.c lpfc_bsg_hba_set_event() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->dd_data | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | evt->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->type_mask | 0-4087 |
| PARAM_VALUE | 0 | evt->wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | evt | 184 |
| BUF_SIZE | 0 | evt->dd_data | 64 |
| DATA_SOURCE | 0 | evt | r lpfc_bsg_event_new |
| BIT_INFO | 0 | evt->type_mask | 0x0,0xff7 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |
drivers/scsi/lpfc/lpfc_bsg.c lpfcdiag_loop_get_xri() -> lpfc_bsg_event_ref()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | evt | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->dd_data | 0 |
| PARAM_VALUE | 0 | evt->events_to_get.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_get.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->events_to_see.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | evt->node.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->node.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->req_id | 16 |
| PARAM_VALUE | 0 | evt->type_mask | 4 |
| PARAM_VALUE | 0 | evt->wq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | evt->wq.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | evt | 184 |
| DATA_SOURCE | 0 | evt | r lpfc_bsg_event_new |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &phba->ct_ev_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct lpfc_hba)->ct_ev_lock |