Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/nvme/target/core.c nvmet_ns_changed() -> nvmet_add_async_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | event_type | 2 |
| PARAM_VALUE | 2 | event_info | 0 |
| PARAM_VALUE | 3 | log_page | 4 |
| CAPPED_DATA | 0 | &ctrl->subsys_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &nvmet_config_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |
drivers/nvme/target/core.c nvmet_send_ana_event() -> nvmet_add_async_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 1 | event_type | 2 |
| PARAM_VALUE | 2 | event_info | 3 |
| PARAM_VALUE | 3 | log_page | 12 |
| CAPPED_DATA | 0 | &ctrl->subsys_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| HALF_LOCKED2 | global &nvmet_config_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |
drivers/nvme/target/pr.c nvmet_pr_resv_released() -> nvmet_add_async_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.counter | 1-u64max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | event_type | 6 |
| PARAM_VALUE | 2 | event_info | 0 |
| PARAM_VALUE | 3 | log_page | 128 |
| CAPPED_DATA | 0 | &ctrl->subsys_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &subsys->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &pr->pr_sem | ||
| TYPE_LOCK | (struct nvmet_pr)->pr_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |
drivers/nvme/target/pr.c nvmet_pr_send_event_to_host() -> nvmet_add_async_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.counter | 1-u64max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ctrl->pr_log_mgr.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | event_type | 6 |
| PARAM_VALUE | 2 | event_info | 0 |
| PARAM_VALUE | 3 | log_page | 128 |
| CAPPED_DATA | 0 | &ctrl->subsys_entry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pr->pr_sem | ||
| LOCK2 | &subsys->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nvmet_pr)->pr_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |
drivers/nvme/target/discovery.c __nvmet_disc_changed() -> nvmet_add_async_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | ctrl->port | 4096-ptr_max |
| PARAM_VALUE | 1 | event_type | 2 |
| PARAM_VALUE | 2 | event_info | 240 |
| PARAM_VALUE | 3 | log_page | 112 |
| CAPPED_DATA | 0 | ctrl->port | 1 |
| DATA_SOURCE | 0 | ctrl | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &nvmet_config_sem | ||
| LOCK2 | global &nvmet_disc_subsys->lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &dir->i_rwsem | ||
| HALF_LOCKED2 | &frag->frag_sem | ||
| TYPE_LOCK | (struct nvmet_subsys)->lock |