Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/block/drbd/drbd_nl.c
- drivers/block/drbd/drbd_receiver.c, line 4707
- drivers/block/drbd/drbd_state.c
- drivers/block/drbd/drbd_state.h, line 161
Smatch caller information:
drivers/block/drbd/drbd_state.c abw_start_sync() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 3 | f | 2 |
| DATA_SOURCE | 0 | device | $0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_state.c abw_start_sync() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->state.conn | 12 |
| PARAM_VALUE | 3 | f | 2 |
| DATA_SOURCE | 0 | device | $0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_nl.c adm_del_minor() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->state.disk | 0 |
| PARAM_VALUE | 0 | device->state.role | 2 |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_device.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_device.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | device->vdisk->queue->mq_kobj->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | device->vdisk->queue_kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 3 | f | 6 |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &resource->adm_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c drbd_nl_attach_doit() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rs_failed | 0 |
| PARAM_VALUE | 0 | device->rs_pending_cnt.counter | 0 |
| PARAM_VALUE | 0 | device->rs_total | 0 |
| PARAM_VALUE | 0 | device->state.disk | 0 |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->slave_bdevs.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->slave_bdevs.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->slave_bdevs.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->slave_dir | 1-u64max |
| PARAM_VALUE | 3 | f | 2 |
| CAPPED_DATA | 0 | device | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c drbd_request_state() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | f | 14 |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 1 | mask | $1 |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c drbd_set_role() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_io.current_use | 3977040146774781952 |
| PARAM_VALUE | 0 | device->resource | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resource->req_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state_mutex->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->state_mutex->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | f | 6 |
| CAPPED_DATA | 0 | device->state_mutex | 1 |
| DATA_SOURCE | 0 | device | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | device->state_mutex | |
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &resource->adm_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_nl.c resync_after_online_grow() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->rq_queue->disk | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->rq_queue->disk->bdi->io_pages | 0-536870911 |
| PARAM_VALUE | 0 | device->rq_queue->disk->bdi->ra_pages | 32-u64max |
| PARAM_VALUE | 0 | device->rq_queue->limits.atomic_write_boundary_sectors | 0-8388607 |
| PARAM_VALUE | 0 | device->rq_queue->limits.atomic_write_max_sectors | 0-8388607 |
| PARAM_VALUE | 0 | device->rq_queue->limits.atomic_write_unit_max | 0-1171456 |
| PARAM_VALUE | 0 | device->rq_queue->limits.atomic_write_unit_min | 0-1171456 |
| PARAM_VALUE | 0 | device->rq_queue->limits.discard_granularity | 0,512-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.dma_alignment | 1-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.io_min | 512-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.logical_block_size | 512-65536 |
| PARAM_VALUE | 0 | device->rq_queue->limits.max_discard_segments | 1-u16max |
| PARAM_VALUE | 0 | device->rq_queue->limits.max_fast_segment_size | 0-4096 |
| PARAM_VALUE | 0 | device->rq_queue->limits.max_segment_size | 1-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.max_segments | 1-u16max |
| PARAM_VALUE | 0 | device->rq_queue->limits.max_user_sectors | 0,8-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.physical_block_size | 512-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits.seg_boundary_mask | 1-u64max |
| PARAM_VALUE | 0 | device->rq_queue->limits.zone_write_granularity | 512-u32max |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | device->rq_queue->limits_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->state.conn | 10-31 |
| PARAM_VALUE | 0 | device->state.disk | 4-15 |
| PARAM_VALUE | 0 | device->state.pdsk | 4-15 |
| PARAM_VALUE | 0 | device->vdisk | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0 | 4096-ptr_max |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | device->vdisk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 3 | f | 10 |
| DATA_SOURCE | 0 | device | $0 |
| FUZZY_MAX | 0 | device->state.disk | 4 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c receive_bitmap() -> _drbd_request_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap | 0 |
| PARAM_VALUE | 0 | device->bitmap->bm_pages | 0-s64max |
| PARAM_VALUE | 0 | device->state.conn | 14 |
| PARAM_VALUE | 3 | f | 2 |