Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/block/rbd.c rbd_cls_object_map_update() -> osd_req_op_cls_request_data_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osd_req | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_attempts | 0 |
| PARAM_VALUE | 0 | osd_req->r_callback | 3908087913611886592 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.data.counter | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.next | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.prev | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.func | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.done | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_data_offset | 0 |
| PARAM_VALUE | 0 | osd_req->r_end_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_inode | 0 |
| PARAM_VALUE | 0 | osd_req->r_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | osd_req->r_linger | 0 |
| PARAM_VALUE | 0 | osd_req->r_map_dne_bound | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_mempool | 0 |
| PARAM_VALUE | 0 | osd_req->r_mtime.tv_nsec | 0-999999999 |
| PARAM_VALUE | 0 | osd_req->r_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_num_ops | 1-2 |
| PARAM_VALUE | 0 | osd_req->r_osd | 0 |
| PARAM_VALUE | 0 | osd_req->r_osdc | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_reply | 0 |
| PARAM_VALUE | 0 | osd_req->r_request | 0 |
| PARAM_VALUE | 0 | osd_req->r_result | 0 |
| PARAM_VALUE | 0 | osd_req->r_sent | 0 |
| PARAM_VALUE | 0 | osd_req->r_snapc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_snapid | 18446744073709551614 |
| PARAM_VALUE | 0 | osd_req->r_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.acting.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.acting.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oid->inline_name | 0-255 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oid.name_len | 0-51 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oloc.pool_ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_t.epoch | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.flags | 32 |
| PARAM_VALUE | 0 | osd_req->r_t.last_force_resend | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.min_size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.osd | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.paused | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num_mask | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.recovery_deletes | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.sort_bitwise | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.shard | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool_ns | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.up.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.up.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.used_replica | 0 |
| PARAM_VALUE | 0 | osd_req->r_tid | 0 |
| PARAM_VALUE | 0 | osd_req->r_version | 0 |
| PARAM_VALUE | 1 | which | 0-1 |
| PARAM_VALUE | 2 | pages | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 0-67141127794327571,18379602945915224082-u64max |
| PARAM_VALUE | 4 | alignment | 0 |
| PARAM_VALUE | 5 | pages_from_pool | 0 |
| PARAM_VALUE | 6 | own_pages | 1 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req->r_osdc | 3384 |
| BUF_SIZE | 0 | osd_req->r_priv | (-1),1-s32max |
| BUF_SIZE | 2 | pages | s32min-s32max |
| CAPPED_DATA | 1 | which | 1 |
| DATA_SOURCE | 0 | osd_req | $0 |
| DATA_SOURCE | 1 | which | $1 |
| DATA_SOURCE | 2 | pages | r ceph_alloc_page_vector |
| FUZZY_MAX | 0 | osd_req->r_num_ops | 2 |
| PARAM_COMPARE | 0 | osd_req->r_num_ops | > $1 |
| PARAM_COMPARE | 1 | which | < $0->r_num_ops |
| HARD_MAX | 0 | osd_req->r_num_ops | 2 |
| NOCHECK_CALL | |||
| UNITS | 1 | which | unit_array_size |
| LOCK2 | &obj_req->state_mutex | ||
| HALF_LOCKED2 | &img_req->state_mutex | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |
net/ceph/cls_lock_client.c ceph_cls_assert_locked() -> osd_req_op_cls_request_data_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osd_req | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_attempts | 0 |
| PARAM_VALUE | 0 | osd_req->r_callback | 3908087913611886592 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.data.counter | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.next | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.prev | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.func | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.done | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_data_offset | 0 |
| PARAM_VALUE | 0 | osd_req->r_end_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_inode | 0 |
| PARAM_VALUE | 0 | osd_req->r_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | osd_req->r_linger | 0 |
| PARAM_VALUE | 0 | osd_req->r_map_dne_bound | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_mempool | 0 |
| PARAM_VALUE | 0 | osd_req->r_mtime.tv_nsec | 0-999999999 |
| PARAM_VALUE | 0 | osd_req->r_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_num_ops | 2 |
| PARAM_VALUE | 0 | osd_req->r_osd | 0 |
| PARAM_VALUE | 0 | osd_req->r_osdc | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_priv | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_private_item.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_reply | 0 |
| PARAM_VALUE | 0 | osd_req->r_request | 0 |
| PARAM_VALUE | 0 | osd_req->r_result | 0 |
| PARAM_VALUE | 0 | osd_req->r_sent | 0 |
| PARAM_VALUE | 0 | osd_req->r_snapc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_snapid | 18446744073709551614 |
| PARAM_VALUE | 0 | osd_req->r_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.acting.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.acting.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oid->inline_name | 0-255 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oid.name_len | 0-51 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oloc.pool_ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_t.epoch | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.flags | 32 |
| PARAM_VALUE | 0 | osd_req->r_t.last_force_resend | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.min_size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.osd | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.paused | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num_mask | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.recovery_deletes | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.sort_bitwise | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.shard | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool_ns | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.up.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.up.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.used_replica | 0 |
| PARAM_VALUE | 0 | osd_req->r_tid | 0 |
| PARAM_VALUE | 0 | osd_req->r_version | 0 |
| PARAM_VALUE | 1 | which | 0 |
| PARAM_VALUE | 2 | pages | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 19-4096 |
| PARAM_VALUE | 4 | alignment | 0 |
| PARAM_VALUE | 5 | pages_from_pool | 0 |
| PARAM_VALUE | 6 | own_pages | 1 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req->r_osdc | 3384 |
| BUF_SIZE | 0 | osd_req->r_priv | (-1),1-s32max |
| BUF_SIZE | 2 | pages | s32min-s32max |
| DATA_SOURCE | 0 | osd_req | $0 |
| DATA_SOURCE | 1 | which | $1 |
| DATA_SOURCE | 2 | pages | r ceph_alloc_page_vector |
| STR_LEN | 0 | osd_req | 8 |
| STR_LEN | 0 | osd_req | 8 |
| STR_LEN | 1 | which | 0 |
| PARAM_COMPARE | 0 | osd_req->r_num_ops | > $1 |
| PARAM_COMPARE | 1 | which | < $0->r_num_ops |
| NOCHECK_CALL | |||
| UNITS | 1 | which | unit_array_size |
| UNITS | 3 | length | unit_byte |
| LOCK2 | &obj_req->state_mutex | ||
| HALF_LOCKED2 | &img_req->state_mutex | ||
| TYPE_LOCK | (struct rbd_obj_request)->state_mutex |
net/ceph/osd_client.c ceph_osdc_call() -> osd_req_op_cls_request_data_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osd_req | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_attempts | 0 |
| PARAM_VALUE | 0 | osd_req->r_callback | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.data.counter | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.next | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.entry.prev | 0 |
| PARAM_VALUE | 0 | osd_req->r_complete_work.func | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.done | 0 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_data_offset | 0 |
| PARAM_VALUE | 0 | osd_req->r_end_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_inode | 0 |
| PARAM_VALUE | 0 | osd_req->r_kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | osd_req->r_linger | 0 |
| PARAM_VALUE | 0 | osd_req->r_map_dne_bound | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_mc_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_mempool | 0 |
| PARAM_VALUE | 0 | osd_req->r_mtime.tv_nsec | 0 |
| PARAM_VALUE | 0 | osd_req->r_mtime.tv_sec | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.__rb_parent_color | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_left | 0 |
| PARAM_VALUE | 0 | osd_req->r_node.rb_right | 0 |
| PARAM_VALUE | 0 | osd_req->r_num_ops | 1 |
| PARAM_VALUE | 0 | osd_req->r_osd | 0 |
| PARAM_VALUE | 0 | osd_req->r_osdc | 4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_priv | 0 |
| PARAM_VALUE | 0 | osd_req->r_reply | 0 |
| PARAM_VALUE | 0 | osd_req->r_request | 0 |
| PARAM_VALUE | 0 | osd_req->r_result | 0 |
| PARAM_VALUE | 0 | osd_req->r_sent | 0 |
| PARAM_VALUE | 0 | osd_req->r_snapc | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_snapid | 18446744073709551614 |
| PARAM_VALUE | 0 | osd_req->r_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_latency | 0 |
| PARAM_VALUE | 0 | osd_req->r_start_stamp | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.acting.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.acting.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.base_oloc.pool_ns | 0,4096-ptr_max |
| PARAM_VALUE | 0 | osd_req->r_t.epoch | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.flags | 16,32 |
| PARAM_VALUE | 0 | osd_req->r_t.last_force_resend | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.min_size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.osd | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.paused | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pg_num_mask | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.recovery_deletes | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.size | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.sort_bitwise | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.pool | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.pgid.seed | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.spgid.shard | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.target_oloc.pool_ns | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.up.primary | (-1) |
| PARAM_VALUE | 0 | osd_req->r_t.up.size | 0 |
| PARAM_VALUE | 0 | osd_req->r_t.used_replica | 0 |
| PARAM_VALUE | 0 | osd_req->r_tid | 0 |
| PARAM_VALUE | 0 | osd_req->r_version | 0 |
| PARAM_VALUE | 1 | which | 0 |
| PARAM_VALUE | 2 | *pages | 4096-ptr_max |
| PARAM_VALUE | 3 | length | 0,4-4096 |
| PARAM_VALUE | 4 | alignment | 0 |
| PARAM_VALUE | 5 | pages_from_pool | 0 |
| PARAM_VALUE | 6 | own_pages | 0 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req | (-1),1504-4000 |
| BUF_SIZE | 0 | osd_req->r_osdc | (-1),3384 |
| CAPPED_DATA | 3 | length | 1 |
| CAPPED_DATA | 3 | length | 1 |
| DATA_SOURCE | 0 | osd_req | r ceph_osdc_alloc_request |
| DATA_SOURCE | 3 | length | $7 |
| STR_LEN | 0 | osd_req->r_osdc | 3,8 |
| HARD_MAX | 0 | osd_req->r_t.flags | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->lock_rwsem |