Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rbd.c __rbd_img_handle_request() -> need_exclusive_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | img_req | 4096-ptr_max |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | img_req | $0 |
| HALF_LOCKED2 | &pool->lock |
drivers/block/rbd.c rbd_img_exclusive_lock() -> need_exclusive_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | img_req | 4096-ptr_max |
| PARAM_VALUE | 0 | img_req->obj_request->ex.oe_off | 0-18446744073709551614 |
| PARAM_VALUE | 0 | img_req->obj_request->img_request->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->state | 1 |
| PARAM_VALUE | 0 | img_req->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | img_req->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | img_req | $0 |
| LOCK2 | 0 | &img_req->state_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_img_request)->state_mutex |
drivers/block/rbd.c rbd_img_object_requests() -> need_exclusive_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | img_req | 4096-ptr_max |
| PARAM_VALUE | 0 | img_req->obj_request->ex.oe_off | 0-18446744073709551614 |
| PARAM_VALUE | 0 | img_req->obj_request->img_request->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->pending.num_pending | 0 |
| PARAM_VALUE | 0 | img_req->pending.result | 0 |
| PARAM_VALUE | 0 | img_req->rbd_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->lock_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | img_req->state | 2 |
| PARAM_VALUE | 0 | img_req->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | img_req->state_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | img_req->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | img_req->state_mutex.wait_lock.owner_cpu | u32max |
| DATA_SOURCE | 0 | img_req | $0 |
| LOCK2 | 0 | &img_req->state_mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem | ||
| TYPE_LOCK | (struct rbd_img_request)->state_mutex |