Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rbd.c rbd_acquire_lock() -> wake_lock_waiters()
| 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.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->lock_state | 0,3-u32max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client->client | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client->client->monc.auth | 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.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->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 |
| PARAM_VALUE | 1 | result | (-30) |
| CAPPED_DATA | 0 | &rbd_dev->lock_rwsem | 1 |
| DATA_SOURCE | 1 | result | r rbd_request_lock |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &rbd_dev->lock_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_reacquire_lock() -> wake_lock_waiters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rbd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->header_oloc.pool_ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->lock_cookie | 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 | 0-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.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->quiescing_wait.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client->client | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->rbd_client->client->monc.auth | 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 | 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->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 |
| PARAM_VALUE | 1 | result | 0 |
| DATA_SOURCE | 0 | rbd_dev | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &rbd_dev->lock_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_reregister_watch() -> wake_lock_waiters()
| 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->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.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_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->watch_handle | 0 |
| 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 | 2 |
| PARAM_VALUE | 1 | result | (-108),(-2) |
| CAPPED_DATA | 0 | &rbd_dev->lock_rwsem | 1 |
| CAPPED_DATA | 0 | &rbd_dev->watch_mutex | 1 |
| DATA_SOURCE | 1 | result | r __rbd_register_watch |
| BIT_INFO | 1 | result | 0xffffffffffffff94,0xfffffffffffffffe |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &rbd_dev->lock_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |
drivers/block/rbd.c rbd_try_acquire_lock() -> wake_lock_waiters()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rbd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | rbd_dev->disk->part0->bd_nr_sectors | 0-18014398509481983 |
| PARAM_VALUE | 0 | rbd_dev->disk->part0->bd_size_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rbd_dev->header_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | rbd_dev->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rbd_dev->header_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | rbd_dev->header_rwsem.first_waiter->list.prev | 2624917664208203776 |
| 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.wait_lock.dep_map->name | 0-255 |
| 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->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.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->watch_mutex.dep_map->name | 0-255 |
| 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.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | &rbd_dev->lock_rwsem | 1 |
| CAPPED_DATA | 0 | &rbd_dev->running_list | 1 |
| DATA_SOURCE | 0 | rbd_dev | $0 |
| NOCHECK_CALL | |||
| LOCK2 | 0 | &rbd_dev->lock_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_device)->lock_rwsem |