Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/rbd.c rbd_obj_advance_read() -> rbd_obj_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj_req | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->img_request | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->img_request->op_type | 1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->read_state | 2 |
| PARAM_VALUE | 0 | obj_req->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj_req->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | off | 0 |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| DATA_SOURCE | 0 | obj_req | $0 |
| NOCHECK_CALL | |||
| UNITS | 0 | obj_req | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | 0 | &obj_req->state_mutex | |
| HALF_LOCKED2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |
drivers/block/rbd.c rbd_obj_advance_read() -> rbd_obj_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj_req | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->ex.oe_len | 1-u64max |
| PARAM_VALUE | 0 | obj_req->img_request | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->img_request->op_type | 1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->read_state | 2 |
| PARAM_VALUE | 0 | obj_req->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj_req->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | off | 0-s32max |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | obj_req | $0 |
| PARAM_COMPARE | 1 | off | < $0->ex.oe_len |
| NOSPEC | 1 | off | |
| NOSPEC | 1 | off | |
| NOCHECK_CALL | |||
| USER_DATA | 1 | off | 2-s32max[c] |
| USER_DATA | 2 | bytes | 0-u32max[c] |
| UNITS | 0 | obj_req | unit_byte |
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | 0 | &obj_req->state_mutex | |
| HALF_LOCKED2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |
drivers/block/rbd.c rbd_obj_advance_read() -> rbd_obj_zero_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | obj_req | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->ex.oe_len | 1-u64max |
| PARAM_VALUE | 0 | obj_req->img_request | 4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->img_request->op_type | 1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->parent->header_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->img_request->rbd_dev->rbd_client->client->osdc.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | obj_req->read_state | 3 |
| PARAM_VALUE | 0 | obj_req->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | obj_req->state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | obj_req->state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | obj_req->state_mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| BUF_SIZE | 0 | obj_req | (-1),1-s32max |
| CAPPED_DATA | 0 | obj_req->num_img_extents | 1 |
| CAPPED_DATA | 1 | off | 1 |
| DATA_SOURCE | 0 | obj_req | $0 |
| DATA_SOURCE | 1 | off | r rbd_obj_img_extents_bytes |
| PARAM_COMPARE | 1 | off | < $0->ex.oe_len |
| NOCHECK_CALL | |||
| UNITS | 0 | obj_req | unit_byte |
| UNITS | 1 | off | unit_byte |
| UNITS | 2 | bytes | unit_byte |
| LOCK2 | 0 | &obj_req->state_mutex | |
| HALF_LOCKED2 | &img_req->state_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |