Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/osd_client.c __submit_request() -> calc_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osdc->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 2 | any_change | 0 |
| BUF_SIZE | 0 | osdc | (-1),3384 |
| BUF_SIZE | 0 | osdc | (-1),3384 |
| STR_LEN | 0 | osdc | (-1),3,8 |
| STR_LEN | 0 | osdc | (-1),3,8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | t->epoch | 1-u32max |
| USER_DATA | 1 | t->paused | 0-1[c] |
| USER_DATA | 1 | t->recovery_deletes | 0-1[c] |
| USER_DATA | 1 | t->sort_bitwise | 0-1[c] |
| USER_DATA | 1 | t->target_oloc.pool | (-1) |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | 0 | &osdc->lock | |
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c kick_requests() -> calc_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osdc | 4096-ptr_max |
| PARAM_VALUE | 0 | osdc->client | 4096-ptr_max |
| PARAM_VALUE | 0 | osdc->homeless_osd.o_osdc->lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | osdc->homeless_osd.o_osdc->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | osdc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | osdc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | osdc->osdmap | 4096-ptr_max |
| PARAM_VALUE | 0 | osdc->osdmap->epoch | 1-u32max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | t->epoch | 0-4294967294 |
| PARAM_VALUE | 2 | any_change | 0 |
| CAPPED_DATA | 0 | osdc->osdmap | 1 |
| DATA_SOURCE | 0 | osdc | $0 |
| NOSPEC | 0 | osdc->osdmap->max_osd | |
| USER_DATA | 0 | osdc->client->monc.m_subscribe->con->v2.out_cursor.resid | 0-u64max |
| USER_DATA | 0 | osdc->client->monc.m_subscribe->con->v2.out_iter.count | 0-5294967296,18446744071562067969-u64max |
| USER_DATA | 0 | osdc->osdmap->epoch | 2-u32max[c] |
| USER_DATA | 0 | osdc->osdmap->flags | 0-u32max |
| USER_DATA | 0 | osdc->osdmap->max_osd | 0-s32max[c] |
| USER_DATA | 0 | osdc->osdmap->pool_max | 0-u32max |
| LOCK2 | 0 | &osdc->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c linger_submit() -> calc_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | osdc | 4096-ptr_max |
| PARAM_VALUE | 0 | osdc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | osdc->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | osdc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | osdc->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | t->acting.primary | (-1) |
| PARAM_VALUE | 1 | t->acting.size | 0 |
| PARAM_VALUE | 1 | t->flags | 16,32 |
| PARAM_VALUE | 1 | t->min_size | (-1) |
| PARAM_VALUE | 1 | t->osd | (-1) |
| PARAM_VALUE | 1 | t->size | (-1) |
| PARAM_VALUE | 1 | t->target_oloc.pool | (-1) |
| PARAM_VALUE | 1 | t->target_oloc.pool_ns | 0 |
| PARAM_VALUE | 1 | t->up.primary | (-1) |
| PARAM_VALUE | 1 | t->up.size | 0 |
| PARAM_VALUE | 2 | any_change | 0 |
| BUF_SIZE | 0 | osdc | 3384 |
| CAPPED_DATA | 0 | &osdc->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &osdc->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rbd_dev->watch_mutex | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c recalc_linger_target() -> calc_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 2 | any_change | 1 |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osd_client.c scan_requests() -> calc_target()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 2 | any_change | 0 |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |