Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 17 files:
- block/genhd.c, line 105
- drivers/block/aoe/aoecmd.c, line 909
- drivers/block/drbd/drbd_main.c
- drivers/block/loop.c, line 221
- drivers/block/nbd.c, line 380
- drivers/block/rbd.c, line 4936
- drivers/block/rnbd/rnbd-clt.c, line 84
- drivers/block/ublk_drv.c, line 5184
- drivers/block/virtio_blk.c, line 942
- drivers/block/xen-blkfront.c, line 2339
- drivers/block/zram/zram_drv.c
- drivers/md/dm-raid.c, line 705
- drivers/md/md-cluster.c
- drivers/md/md-linear.c, line 223
- drivers/md/md.c
- drivers/nvme/host/core.c
- drivers/scsi/sd.c
Smatch caller information:
drivers/md/md-linear.c linear_add() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | disk->queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | disk->queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | disk->queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.max_hw_discard_sectors | |
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/md/md.c array_size_store() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/md/md.c do_md_run() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/md/md.c md_finish_sync() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 1-u64max |
| PARAM_VALUE | 0 | disk->bdi->cgwb_release_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->bdi->cgwb_release_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->active.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_flags | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->__i_nlink | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_atime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_blkbits | 0-255 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_bytes | 0-u16max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_ctime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_dir_seq | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_flags | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_fsnotify_mask | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_generation | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_linklen | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_mode | 0-u16max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_mtime_nsec | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_nlink | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_opflags | 0-u16max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_rdev | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_wb_frn_avg_time | 0-u16max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_wb_frn_history | 0-u16max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_wb_frn_winner | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_inode->i_write_hint | 0-4294967295 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_lockref.count | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->d_parent->d_lockref.count | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->data->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->management_timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->management_timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->management_timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->management_timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_fsdata->ref.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->bdi->debug_dir->d_rcu.func | 1-u64max |
| PARAM_VALUE | 0 | disk->bdi->wb.bw_dwork.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->bdi->wb.dwork.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->bdi->wb.work_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->ev->block | s32min-s32max |
| PARAM_VALUE | 0 | disk->ev->block_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->ev->block_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->ev->block_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->ev->block_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->ev->block_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->ev->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.devres_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->add | 5235430000054906880 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->early_resume | 6956900869090054144 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->remove | 1719268733136482304 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->requery | 4713442613417914368 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->resume | 5068206944467017728 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->suspend | 2738892915008757760 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->callback->validate | 4934365872137547776 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->cdev->kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->cdev->kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->cdev->kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->cdev->kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->cis_mem.flags | 0,2-254 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->d_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->detaching.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.cpu | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.timer.flags | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->device_count | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->ops_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->sfd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->sfd_lock.raw_lock.cnts.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->skt_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->part0->bd_device.driver_data->skt_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj->release.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.parent->release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->dead | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->knode_class->n_klist | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->knode_class.n_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->knode_parent->n_klist | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->knode_parent.n_ref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.parent->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.completion.done | u32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.last_status | s32min-0,2,4-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.qos | 0,(-19) |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.runtime_status | 2 |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.usage_count.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->crypto_kobject->release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->debugfs_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->elevator->sysfs_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | disk->queue->elevator_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | disk->queue->mq_freeze_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->entry.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->parent->release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->rq_qos_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->rq_qos_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->rq_qos_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->rq_qos_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->queue->stats->accounting | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->sysfs_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->sysfs_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->sysfs_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->queue->tag_set->srcu->srcu_sup->lock.owner | 0,(-1) |
| PARAM_VALUE | 0 | disk->queue->tag_set->srcu->srcu_sup->lock.owner_cpu | 0,u32max |
| PARAM_VALUE | 0 | disk->queue->tag_set->srcu->srcu_sup->work.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->tag_set->srcu->srcu_sup->work.work.entry.prev->prev | 2076614606316732416 |
| PARAM_VALUE | 0 | disk->queue->tag_set->tag_list_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->tag_set->tag_list_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | disk->queue->tag_set->tags_srcu.srcu_sup->srcu_barrier_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->tag_set->tags_srcu.srcu_sup->srcu_cb_mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->tag_set->tags_srcu.srcu_sup->srcu_gp_mutex.magic | 4096-ptr_max |
| 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->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | disk->queue->tag_set->update_nr_hwq_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | disk->queue->timeout.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->unused_hctx_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue_kobj.parent->release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | *disk->bdi->debug_dir->d_inode->i_wb->dwork.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | *disk->bdi->dev->parent->kobj.release.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | *disk->queue->debugfs_dir->d_inode->i_wb->dwork.timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | *disk->queue->sched_debugfs_dir->d_fsdata->name | 0-255 |
| PARAM_VALUE | 0 | *disk->queue->sched_debugfs_dir->d_inode->i_hash.next->pprev | 1-u64max |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
drivers/md/md.c update_size() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 1-u64max |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &mddev->reconfig_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct mddev)->reconfig_mutex |
drivers/block/rnbd/rnbd-clt.c rnbd_clt_change_capacity() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0 | 4096-ptr_max |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | size | 0-u64max |
| LOCK2 | &dev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rnbd_clt_dev)->lock |
drivers/block/drbd/drbd_main.c drbd_device_cleanup() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_main.c drbd_set_my_capacity() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0 | 4096-ptr_max |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
drivers/nvme/host/core.c nvme_update_ns_info() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.discard_granularity | |
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/nvme/host/core.c nvme_update_ns_info_block() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | disk->queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | disk->queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | disk->queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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 |
| BUF_SIZE | 0 | disk | (-1),2000 |
| BUF_SIZE | 0 | disk | (-1),2000 |
| CAPPED_DATA | 0 | disk->queue->limits.max_hw_wzeroes_unmap_sectors | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.discard_granularity | |
| HALF_LOCKED2 | &ctrl->scan_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/block/loop.c loop_set_size() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 0-18014398509481983 |
| DATA_SOURCE | 1 | size | $1 |
| USER_DATA | 1 | size | 0-18014398509481983[c] |
| LOCK2 | &lo->lo_mutex | ||
| TYPE_LOCK | (struct loop_device)->lo_mutex |
drivers/block/ublk_drv.c ublk_ctrl_set_size() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ub->mutex | ||
| HALF_LOCKED2 | &ctx->uring_lock | ||
| TYPE_LOCK | (struct ublk_device)->mutex |
drivers/block/zram/zram_drv.c disksize_store() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk->disk_name | 1-u64max |
| PARAM_VALUE | 1 | size | 8-36028797018963960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/zram/zram_drv.c zram_reset_device() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->fops->alternative_gpt_sector | 0,3516747988943765504 |
| PARAM_VALUE | 0 | disk->fops->check_events | 0,1420689530236932096,1954248981353234432,5995980236530135040,6522638590541709312 |
| PARAM_VALUE | 0 | disk->fops->get_unique_id | 0,395922530626379776,2094087306773573632,6387976937639579648,6570840108151271424 |
| PARAM_VALUE | 0 | disk->fops->poll_bio | 0,7187272799208849408 |
| PARAM_VALUE | 0 | disk->fops->pr_ops | 0,68686958369677312,5732936244866154496,7295975715954978816 |
| PARAM_VALUE | 0 | disk->fops->set_read_only | 0,982559984222158848 |
| PARAM_VALUE | 0 | disk->fops->swap_slot_free_notify | 0,423292325655883776 |
| PARAM_VALUE | 0 | disk->fops->unlock_native_capacity | 0,6842104960331640832 |
| PARAM_VALUE | 0 | disk->open_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->open_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->open_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_mapping->nrpages | 0-1 |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | size | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/block/rbd.c rbd_dev_update_size() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rbd_dev->header_rwsem | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_device)->header_rwsem |
drivers/md/dm-raid.c rs_set_capacity() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | disk | r dm_disk |
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/block/virtio_blk.c virtblk_update_capacity() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->random->last_time | 0-s64max |
| BUF_SIZE | 0 | disk | (-1),2000 |
| BUF_SIZE | 0 | disk | (-1),2000 |
| BUF_SIZE | 0 | disk->fops | (-1),144 |
| BUF_SIZE | 0 | disk->private_data | (-1),816 |
| DATA_SOURCE | 1 | size | r virtio64_to_cpu |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | disk->part0->bd_queue->async_depth | 0-10238[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.alignment_offset | 0-u16max[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.atomic_write_max_sectors | 0-8388607[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.discard_granularity | 512-u32max[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.integrity.interval_exp | 0-31[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.io_min | 512-65536[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.max_active_zones | 0-u32max |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.max_open_zones | 0-u32max |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.max_sectors | 0-s32max[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.max_zone_append_sectors | 0-s32max[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->limits.zone_write_granularity | 512-65536[c] |
| HOST_DATA | 0 | disk->part0->bd_queue->nr_requests | 0-10238[c] |
| HOST_DATA | 0 | disk->queue->async_depth | 0-10238[c] |
| HOST_DATA | 0 | disk->queue->limits.alignment_offset | 0-u16max[c] |
| HOST_DATA | 0 | disk->queue->limits.atomic_write_max_sectors | 0-8388607[c] |
| HOST_DATA | 0 | disk->queue->limits.discard_granularity | 512-u32max[c] |
| HOST_DATA | 0 | disk->queue->limits.integrity.interval_exp | 0-31[c] |
| HOST_DATA | 0 | disk->queue->limits.io_min | 512-65536[c] |
| HOST_DATA | 0 | disk->queue->limits.max_active_zones | 0-u32max |
| HOST_DATA | 0 | disk->queue->limits.max_open_zones | 0-u32max |
| HOST_DATA | 0 | disk->queue->limits.max_sectors | 0-s32max[c] |
| HOST_DATA | 0 | disk->queue->limits.max_zone_append_sectors | 0-s32max[c] |
| HOST_DATA | 0 | disk->queue->limits.zone_write_granularity | 512-65536[c] |
| HOST_DATA | 0 | disk->queue->nr_requests | 0-10238[c] |
| HOST_DATA | 1 | size | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | disk->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | disk->bio_split.bvec_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | disk->part0->bd_queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | disk->part0->bd_queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | disk->part0->bd_queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | disk->part0->bd_queue->nr_hw_queues | |
| NO_OVERFLOW_SIMPLE | 0 | disk->part0->bd_queue->nr_requests | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->async_depth | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.max_discard_sectors | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->limits.max_open_zones | |
| NO_OVERFLOW_SIMPLE | 0 | disk->queue->nr_requests |
drivers/block/aoe/aoecmd.c aoecmd_sleepwork() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/block/nbd.c nbd_set_size() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk | 4096-ptr_max |
| 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 | 4096-ptr_max |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | disk->queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | disk->queue->io_lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | disk->queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | disk->queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | disk->queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | disk->queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | disk->queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | disk->queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| 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_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->q_lockdep_map->name | 0-255 |
| 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 |
| PARAM_VALUE | 1 | size | 0-18014398509481983 |
| CAPPED_DATA | 0 | disk->queue->limits.max_hw_wzeroes_unmap_sectors | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | disk->queue->disk->bdi->io_pages | 0-268435455[c] |
| USER_DATA | 0 | disk->queue->disk->bdi->ra_pages | 33-536870911[c] |
| USER_DATA | 0 | disk->queue->limits.atomic_write_max_sectors | 0-8388607[c] |
| USER_DATA | 0 | disk->queue->limits.discard_granularity | 512-u32max[c] |
| USER_DATA | 0 | disk->queue->limits.io_min | 512-u32max[c] |
| USER_DATA | 0 | disk->queue->limits.logical_block_size | 512-65536[c] |
| USER_DATA | 0 | disk->queue->limits.physical_block_size | 512-u32max[c] |
| USER_DATA | 1 | size | 0-18014398509481983 |
| LOCK2 | &nbd->config_lock | ||
| TYPE_LOCK | (struct nbd_device)->config_lock |
drivers/md/md-cluster.c process_recvd_msg() -> set_capacity_and_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | disk->ev->block | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | disk->part0->bd_device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->dead | 0-1 |
| PARAM_VALUE | 0 | disk->part0->bd_device.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | disk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | disk->queue->stats->accounting | s32min-s32max |
| 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 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | size | unit_byte |
| LOCK2 | &cinfo->recv_mutex | ||
| TYPE_LOCK | (struct md_cluster_info)->recv_mutex |
drivers/md/md-cluster.c update_size() -> set_capacity_and_notify()
| 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->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 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | size | 0-4294967294[c] |
| NO_OVERFLOW_SIMPLE | 0 | disk->bio_split.bio_pool.min_nr | |
| NO_OVERFLOW_SIMPLE | 0 | disk->bio_split.bvec_pool.min_nr | |
| UNITS | 1 | size | unit_byte |
| LOCK2 | &cinfo->recv_mutex | ||
| HALF_LOCKED2 | &mddev->reconfig_mutex | ||
| TYPE_LOCK | (struct md_cluster_info)->recv_mutex |