Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ceph/osdmap.c do_crush() -> crush_do_rule()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->max_rules | 1-u32max |
| PARAM_VALUE | 1 | ruleno | 0-s32max |
| PARAM_VALUE | 4 | result_max | 0-32 |
| PARAM_VALUE | 7 | cwin | 4096-ptr_max |
| BUF_SIZE | 3 | result | 128 |
| BUF_SIZE | 3 | result | 128 |
| BUF_SIZE | 5 | weight | 1-s32max |
| BUF_SIZE | 5 | weight | 1-s32max |
| CAPPED_DATA | 0 | map->max_rules | 1 |
| CAPPED_DATA | 1 | ruleno | 1 |
| CAPPED_DATA | 4 | result_max | 1 |
| DATA_SOURCE | 1 | ruleno | $1 |
| DATA_SOURCE | 2 | x | $2 |
| DATA_SOURCE | 3 | result | $3 |
| DATA_SOURCE | 4 | result_max | $4 |
| DATA_SOURCE | 5 | weight | $5 |
| DATA_SOURCE | 6 | weight_max | $6 |
| DATA_SOURCE | 7 | cwin | r get_workspace |
| FUZZY_MAX | 4 | result_max | 32 |
| HARD_MAX | 4 | result_max | 32 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 6 | weight_max | |
| UNITS | 4 | result_max | unit_array_size |
| UNITS | 6 | weight_max | unit_array_size |
| HALF_LOCKED2 | &osdc->lock | ||
| TYPE_LOCK | (struct ceph_osd_client)->lock |