Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/nvme/host/core.c nvme_ns_remove_by_nsid() -> nvme_ns_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->head | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->kref.refcount.refs.counter | (-1073741824),0-s32max |
| DATA_SOURCE | 0 | ns | r nvme_find_get_ns |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/core.c nvme_remove_invalid_namespaces() -> nvme_ns_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ns->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ns->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ns->head->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ns->head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ns->head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nvme_ctrl)->scan_lock |
drivers/nvme/host/core.c nvme_remove_namespaces() -> nvme_ns_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ns->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ns->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ns->head->disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | ns->head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ns->head->disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/nvme/host/core.c nvme_validate_ns() -> nvme_ns_remove()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->ctrl->admin_q->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ns->ctrl->admin_q->q_lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ns->ctrl->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ns->disk->queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ns->head | 4096-ptr_max |
| PARAM_VALUE | 0 | ns->kref.refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | ns->queue->dev->power.wakeirq->status | 0-4294967295 |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | ns->disk->zone_wplugs_pool->curr_nr | |
| NO_OVERFLOW_SIMPLE | 0 | ns->disk->zone_wplugs_pool->min_nr | |
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock |