Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- block/genhd.c, line 687
- drivers/block/mtip32xx/mtip32xx.c, line 145
- drivers/block/rbd.c, line 7286
- drivers/block/xen-blkfront.c, line 2143
- drivers/md/dm.c, line 2738
- drivers/nvme/host/core.c, line 5282
Smatch caller information:
drivers/nvme/host/core.c nvme_mark_namespaces_dead() -> blk_mark_disk_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ctrl->srcu | ||
| TYPE_LOCK | (struct nvme_ctrl)->srcu |
drivers/md/dm.c __dm_destroy() -> blk_mark_disk_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->tag_set->update_nr_hwq_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | disk->queue_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| NOCHECK_CALL |
drivers/block/rbd.c do_rbd_remove() -> blk_mark_disk_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_owner | 1-u64max |
| PARAM_VALUE | 0 | disk->queue->q_usage_counter.data->rcu.func | 1-u64max |
| PARAM_VALUE | 0 | disk->queue->q_usage_counter.percpu_count_ptr | 1-u64max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/mtip32xx/mtip32xx.c mtip_check_surprise_removal() -> blk_mark_disk_dead()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |