Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/scsi/elx/libefc/efc_cmds.c, line 311
- drivers/scsi/elx/libefc/efc_domain.c
- drivers/scsi/elx/libefc/efc_fabric.c
- drivers/scsi/elx/libefc/efc_node.c
- drivers/scsi/elx/libefc/efc_nport.c
- drivers/scsi/elx/libefc/efc_sm.c
Smatch caller information:
drivers/scsi/elx/libefc/efc_cmds.c efc_cmd_nport_free() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 24 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_allocated() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_attach_internal() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 12 |
| BUF_SIZE | 2 | data | 4 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_ready() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_wait_domain_lost() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c __efc_domain_wait_shutdown() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->app | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 9 |
| PARAM_VALUE | 2 | data | 8023387822012833792 |
| BUF_SIZE | 2 | data | 548 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_domain.c efc_domain_post_event() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 4,9-11,13-17 |
| PARAM_VALUE | 2 | data | 0,2431105932854697984,3641445068766859264 |
| BUF_SIZE | 2 | data | (-1),548 |
| BUF_SIZE | 2 | data | (-1),548 |
| DATA_SOURCE | 1 | evt | $1 |
| DATA_SOURCE | 2 | data | $2 |
| HARD_MAX | 1 | evt | 17 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_node.c efc_node_free() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 4 |
| PARAM_VALUE | 2 | data | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_node.c efc_node_post_event() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | data | 0,4096-ptr_max |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| DATA_SOURCE | 1 | evt | $1 |
| DATA_SOURCE | 2 | data | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_nport.c efc_nport_cb() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 20-25 |
| PARAM_VALUE | 2 | data | 0 |
| DATA_SOURCE | 1 | evt | $1 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &efc->lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct efc)->lock |
drivers/scsi/elx/libefc/efc_nport.c efc_nport_vport_del() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &efc->lock | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct efc)->lock |
drivers/scsi/elx/libefc/efc_fabric.c __efc_fabric_fdisc_wait_rsp() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_fabric.c __efc_fabric_flogi_wait_rsp() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 3 |
| PARAM_VALUE | 2 | data | 0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_sm.c efc_sm_transition() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->app | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 1 |
| PARAM_VALUE | 2 | data | 0,4096-ptr_max |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| CAPPED_DATA | 0 | ctx->current_state | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | data | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.phys | |
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.size | |
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_sm.c efc_sm_transition() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->app | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 2 |
| PARAM_VALUE | 2 | data | 0,4096-ptr_max |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | data | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.phys | |
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.size | |
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |
drivers/scsi/elx/libefc/efc_sm.c efc_sm_transition() -> efc_sm_post_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->app | 4096-ptr_max |
| PARAM_VALUE | 1 | evt | 0 |
| PARAM_VALUE | 2 | data | 0,4096-ptr_max |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| BUF_SIZE | 2 | data | (-1),4,80,548 |
| DATA_SOURCE | 0 | ctx | $0 |
| DATA_SOURCE | 2 | data | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.phys | |
| NO_OVERFLOW_SIMPLE | 2 | data->els_rsp.size | |
| HALF_LOCKED2 | &efc->lock | ||
| HALF_LOCKED2 | flags |