Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/block/rbd.c rbd_image_refresh() -> rbd_dev_refresh()

Type Parameter Key Value
PARAM_VALUE 0 rbd_dev 4096-ptr_max
DATA_SOURCE 0 rbd_dev r dev_to_rbd_dev
CAPABLE 0 21
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/block/rbd.c rbd_post_acquire_action() -> rbd_dev_refresh()

Type Parameter Key Value
PARAM_VALUE 0 rbd_dev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->header_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rbd_dev->header_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 rbd_dev->lock_rwsem.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 rbd_dev->lock_rwsem.osq.tail.counter 0-s32max
PARAM_VALUE 0 rbd_dev->lock_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->lock_state 1
PARAM_VALUE 0 rbd_dev->rbd_client 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con->private->o_auth.authorizer->buf->vec.iov_base (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con->private->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con->private->s_auth.authorizer->buf->vec.iov_base (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con->private->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.out_queue.prev->next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.out_queue.prev->next->next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.private->o_ref.refs.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.private->s_delegated_inos.xa_flags 0-4294967295
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.private->s_ref.refs.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.work->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->monc.con.work.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->type 0-1
PARAM_VALUE 0 rbd_dev->running_list.next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_mutex.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->watch_mutex.osq.tail.counter 0-s32max
DATA_SOURCE 0 rbd_dev $0
LOCK2 0 &rbd_dev->lock_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rbd_device)->lock_rwsem

drivers/block/rbd.c rbd_reregister_watch() -> rbd_dev_refresh()

Type Parameter Key Value
PARAM_VALUE 0 rbd_dev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->lock_rwsem.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->handoff_set 1
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 rbd_dev->lock_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 rbd_dev->lock_rwsem.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->lock_rwsem.wait_lock.owner (-1)
PARAM_VALUE 0 rbd_dev->lock_rwsem.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rbd_dev->rbd_client 4096-ptr_max
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.lock.first_waiter->type 0-1
PARAM_VALUE 0 rbd_dev->rbd_client->client->osdc.osdmap->max_osd 1-u32max
PARAM_VALUE 0 rbd_dev->watch_handle 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->data 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->errcb 1413625559729684480
PARAM_VALUE 0 rbd_dev->watch_handle->is_watch 1
PARAM_VALUE 0 rbd_dev->watch_handle->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rbd_dev->watch_handle->mtime.tv_nsec 0-999999999
PARAM_VALUE 0 rbd_dev->watch_handle->node.__rb_parent_color 1
PARAM_VALUE 0 rbd_dev->watch_handle->node.rb_left 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->node.rb_right 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->notify_finish_wait.wait.lock.magic 3735899821
PARAM_VALUE 0 rbd_dev->watch_handle->notify_finish_wait.wait.lock.owner (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->notify_finish_wait.wait.lock.owner_cpu u32max
PARAM_VALUE 0 rbd_dev->watch_handle->notify_finish_wait.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->notify_finish_wait.wait.task_list.prev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->notify_id 0
PARAM_VALUE 0 rbd_dev->watch_handle->osd 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->osdc 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->osdc_node.__rb_parent_color 1
PARAM_VALUE 0 rbd_dev->watch_handle->osdc_node.rb_left 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->osdc_node.rb_right 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->pending_lworks.next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->pending_lworks.prev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->reg_commit_wait.done 0-4294967293,u32max
PARAM_VALUE 0 rbd_dev->watch_handle->reg_commit_wait.wait.lock.owner (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->reg_commit_wait.wait.lock.owner_cpu u32max
PARAM_VALUE 0 rbd_dev->watch_handle->reg_commit_wait.wait.task_list.next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->reg_req 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->scan_item.next 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->scan_item.prev 4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_handle->t.acting.primary (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->t.acting.size 0
PARAM_VALUE 0 rbd_dev->watch_handle->t.flags 32
PARAM_VALUE 0 rbd_dev->watch_handle->t.last_force_resend 1-u32max
PARAM_VALUE 0 rbd_dev->watch_handle->t.min_size (-1)-255
PARAM_VALUE 0 rbd_dev->watch_handle->t.osd (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->t.size (-1)-255
PARAM_VALUE 0 rbd_dev->watch_handle->t.spgid.pgid.seed 0-2147483646
PARAM_VALUE 0 rbd_dev->watch_handle->t.spgid.shard (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->t.target_oloc.pool (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->t.up.primary (-1)
PARAM_VALUE 0 rbd_dev->watch_handle->t.up.size 0
PARAM_VALUE 0 rbd_dev->watch_handle->wcb 7781559158959595520
PARAM_VALUE 0 rbd_dev->watch_mutex.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->watch_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rbd_dev->watch_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rbd_dev->watch_mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 rbd_dev->watch_state 1
CAPPED_DATA 0 &rbd_dev->lock_rwsem 1
CAPPED_DATA 0 &rbd_dev->watch_mutex 1
HALF_LOCKED2 &pool->lock

drivers/block/rbd.c rbd_watch_cb() -> rbd_dev_refresh()

Type Parameter Key Value
DATA_SOURCE 0 rbd_dev $0
HALF_LOCKED2 &pool->lock