Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/block/drbd/drbd_nl.c, line 4283
- drivers/block/drbd/drbd_receiver.c
- drivers/block/drbd/drbd_worker.c
Smatch caller information:
drivers/block/drbd/drbd_nl.c drbd_nl_new_c_uuid_doit() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->ldev->md.uuid | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->ldev->md_bdev | 1-u64max |
| PARAM_VALUE | 0 | device->md_sync_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->state_mutex->dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->state_mutex->first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | device->state_mutex->osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->state_mutex->wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state_mutex->wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->state_mutex->wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | *device->bitmap->bm_why | 0-255 |
| PARAM_VALUE | 1 | idx | 1 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adm_ctx->resource->adm_mutex | ||
| LOCK2 | 0 | device->state_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 | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct drbd_resource)->adm_mutex |
drivers/block/drbd/drbd_receiver.c receive_sync_uuid() -> _drbd_uuid_set()
| 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->state.disk | 1-15 |
| PARAM_VALUE | 1 | idx | 0 |
| FUZZY_MAX | 0 | device->state.disk | 3 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c receive_sync_uuid() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_sync_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->misc_wait.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | idx | 1 |
| PARAM_VALUE | 2 | val | 0 |
| FUZZY_MAX | 0 | device->state.disk | 3 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c receive_uuids() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->ldev->md.uuid | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | *device->bitmap->bm_why | 0-255 |
| PARAM_VALUE | 1 | idx | 0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_receiver.c receive_uuids() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->act_log->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_change.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | device->bitmap->bm_flags | 0-4294967295 |
| PARAM_VALUE | 0 | device->bitmap->bm_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_sync_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *device->bitmap->bm_why | 0-255 |
| PARAM_VALUE | 1 | idx | 1 |
| PARAM_VALUE | 2 | val | 0 |
| NOCHECK_CALL |
drivers/block/drbd/drbd_worker.c drbd_resync_finished() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->al_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->p_uuid | 4096-ptr_max |
| 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->resync->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync->free.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_wenr | u32max |
| PARAM_VALUE | 0 | device->rs_failed | 0 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | idx | 1-3 |
| CAPPED_DATA | 0 | device->state.disk | 1 |
| FUZZY_MAX | 1 | idx | 3 |
| HARD_MAX | 1 | idx | 3 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &device->resource->req_lock | |
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |
drivers/block/drbd/drbd_worker.c drbd_resync_finished() -> _drbd_uuid_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->al_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->ldev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid | 4096-ptr_max |
| PARAM_VALUE | 0 | device->ldev->md.uuid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | device->md_sync_timer.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->md_sync_timer.entry.pprev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->p_uuid | 4096-ptr_max |
| 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->resync->free.next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync->free.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync->free.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->resync_wenr | u32max |
| PARAM_VALUE | 0 | device->rs_failed | 0 |
| PARAM_VALUE | 0 | device->state.disk | 1-15 |
| PARAM_VALUE | 1 | idx | 0 |
| CAPPED_DATA | 0 | device->state.disk | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &device->resource->req_lock | |
| HALF_LOCKED2 | device->state_mutex | ||
| TYPE_LOCK | (struct drbd_resource)->req_lock |