Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cxl/core/region.c cxl_region_attach() -> cxl_region_attach_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlr | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->cxlrd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->cxlrd->cxlsd.cxld.dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->mode | 0-1 |
| PARAM_VALUE | 0 | cxlr->params.interleave_ways | (-2147483647)-2147483646 |
| PARAM_VALUE | 0 | cxlr->params.nr_targets | 1-2147483646 |
| PARAM_VALUE | 0 | cxlr->params.res | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->params.state | 1 |
| PARAM_VALUE | 0 | cxlr->params.targets | 4096-ptr_max |
| PARAM_VALUE | 1 | cxled | 4096-ptr_max |
| PARAM_VALUE | 1 | cxled->cxld.dev.parent | 4096-ptr_max |
| PARAM_VALUE | 2 | dport | 0-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 3 | pos | 0-2147483645 |
| BUF_SIZE | 0 | cxlr | (-1),1968 |
| BUF_SIZE | 0 | cxlr | (-1),1968 |
| CAPPED_DATA | 0 | cxlr->mode | 1 |
| CAPPED_DATA | 0 | cxlr->params.interleave_ways | 1 |
| CAPPED_DATA | 0 | cxlr->params.nr_targets | 1 |
| CAPPED_DATA | 3 | pos | 1 |
| DATA_SOURCE | 0 | cxlr | $0 |
| DATA_SOURCE | 2 | dport | r cxl_find_dport_by_dev |
| CONSTRAINT | 3 | pos | <3742 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/region.c cxl_region_attach() -> cxl_region_attach_position()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cxlr | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->cxlrd | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->cxlrd->cxlsd.cxld.dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->mode | 0-1 |
| PARAM_VALUE | 0 | cxlr->params.interleave_ways | 1-s32max |
| PARAM_VALUE | 0 | cxlr->params.nr_targets | s32min-2147483646 |
| PARAM_VALUE | 0 | cxlr->params.res | 4096-ptr_max |
| PARAM_VALUE | 0 | cxlr->params.state | 1 |
| PARAM_VALUE | 1 | cxled | 4096-ptr_max |
| PARAM_VALUE | 1 | cxled->cxld.dev.parent | 4096-ptr_max |
| PARAM_VALUE | 1 | cxled->dpa_res | 4096-ptr_max |
| PARAM_VALUE | 1 | cxled->part | 0-s32max |
| PARAM_VALUE | 2 | dport | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 3 | pos | 0-15 |
| BUF_SIZE | 0 | cxlr | (-1),1968 |
| BUF_SIZE | 0 | cxlr | (-1),1968 |
| CAPPED_DATA | 0 | cxlr->mode | 1 |
| CAPPED_DATA | 0 | cxlr->params.interleave_ways | 1 |
| CAPPED_DATA | 0 | cxlr->type | 1 |
| CAPPED_DATA | 1 | cxled | 1 |
| CAPPED_DATA | 1 | cxled->cxld.target_type | 1 |
| CAPPED_DATA | 3 | pos | 1 |
| DATA_SOURCE | 0 | cxlr | $0 |
| DATA_SOURCE | 1 | cxled | $1 |
| DATA_SOURCE | 2 | dport | r cxl_find_dport_by_dev |
| DATA_SOURCE | 3 | pos | $2 |
| FUZZY_MAX | 1 | cxled->part | 0 |
| PARAM_COMPARE | 0 | cxlr->params.interleave_ways | > $3 |
| PARAM_COMPARE | 1 | cxled->cxld.target_type | == $0->type |
| PARAM_COMPARE | 3 | pos | < $0->params.interleave_ways |
| HARD_MAX | 3 | pos | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |