Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/osdmap.c decode_new_primary_affinity() -> set_primary_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->epoch | 2-u32max |
| PARAM_VALUE | 0 | map->max_osd | 1-u32max |
| PARAM_VALUE | 0 | map->pg_pools.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | map->pg_temp.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | map->primary_temp.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | osd | s32min-(-2),0-s32max |
| CAPPED_DATA | 1 | osd | 1 |
| DATA_SOURCE | 0 | map | $2 |
| DATA_SOURCE | 1 | osd | r ceph_decode_32 |
| DATA_SOURCE | 2 | aff | r ceph_decode_32 |
| PARAM_COMPARE | 0 | map->max_osd | > $1 |
| PARAM_COMPARE | 1 | osd | < $0->max_osd |
| NOSPEC | 0 | map->epoch | |
| USER_DATA | 0 | map->epoch | 2-u32max[c] |
| USER_DATA | 0 | map->flags | 0-u32max |
| USER_DATA | 0 | map->max_osd | 1-s32max[c] |
| USER_DATA | 0 | map->pool_max | 0-u32max |
| USER_DATA | 1 | osd | s32min-(-2),0-s32max |
| USER_DATA | 2 | aff | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | map->max_osd | |
| UNITS | 1 | osd | unit_array_size |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osdmap.c decode_new_up_state_weight() -> set_primary_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->epoch | 2-u32max |
| PARAM_VALUE | 0 | map->max_osd | 1-u32max |
| PARAM_VALUE | 0 | map->osd_state | 4096-ptr_max |
| PARAM_VALUE | 0 | map->pg_pools.rb_node | 4096-ptr_max |
| PARAM_VALUE | 1 | osd | s32min-(-2),0-s32max |
| PARAM_VALUE | 2 | aff | 65536 |
| CAPPED_DATA | 1 | osd | 1 |
| DATA_SOURCE | 0 | map | $4 |
| DATA_SOURCE | 1 | osd | r ceph_decode_32 |
| PARAM_COMPARE | 0 | map->max_osd | > $1 |
| PARAM_COMPARE | 1 | osd | < $0->max_osd |
| NOSPEC | 0 | map->epoch | |
| USER_DATA | 0 | map->epoch | 2-u32max[c] |
| USER_DATA | 0 | map->flags | 0-u32max |
| USER_DATA | 0 | map->max_osd | 1-s32max[c] |
| USER_DATA | 0 | map->pool_max | 0-u32max |
| USER_DATA | 1 | osd | s32min-(-2),0-s32max |
| NO_OVERFLOW_SIMPLE | 0 | map->max_osd | |
| UNITS | 1 | osd | unit_array_size |
| LOCK2 | &osdc->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |
net/ceph/osdmap.c decode_primary_affinity() -> set_primary_affinity()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.free_ws | 0 |
| PARAM_VALUE | 0 | map->crush_wsm.idle_ws.next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.idle_ws.next->next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.idle_ws.prev | 24,4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.idle_ws.prev->next | 24,4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.idle_ws.prev->prev | 24,4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.total_ws.counter | 0 |
| PARAM_VALUE | 0 | map->crush_wsm.ws_wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.ws_wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.ws_wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.ws_wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | map->crush_wsm.ws_wait.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | map->max_osd | 1-u32max |
| PARAM_VALUE | 0 | map->pg_pools.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | map->pg_temp.rb_node | 4096-ptr_max |
| PARAM_VALUE | 0 | map->primary_temp.rb_node | 4096-ptr_max |
| BUF_SIZE | 0 | map | 320 |
| CAPPED_DATA | 0 | map->max_osd | 1 |
| CAPPED_DATA | 1 | osd | 1 |
| DATA_SOURCE | 0 | map | $2 |
| PARAM_COMPARE | 1 | osd | < $0->max_osd |
| PREEMPT_ADD | |||
| USER_DATA | 0 | map->epoch | 0-u32max |
| USER_DATA | 0 | map->flags | 0-u32max |
| USER_DATA | 0 | map->pool_max | 0-u32max |
| USER_DATA | 2 | aff | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | map->max_osd | |
| NO_OVERFLOW_SIMPLE | 1 | osd | |
| UNITS | 1 | osd | unit_array_size |
| LOCK2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |