Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/cxl/core/cdat.c cxl_memdev_set_qos_class() -> range_contains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r1 | 7941224001266675712 |
| PARAM_VALUE | 1 | r2 | 0-1025,1027-1029,1031-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/cxl/core/cdat.c dpa_perf_contains() -> range_contains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r1 | 4096-ptr_max |
| PARAM_VALUE | 1 | r2 | 3524612551956459520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/cxl/core/region.c match_root_decoder() -> range_contains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r1 | 1920,4096-ptr_max |
| BUF_SIZE | 0 | r1 | 16 |
| DATA_SOURCE | 1 | r2 | $1 |
| STR_LEN | 0 | r1 | (-1),31 |
| STR_LEN | 1 | r2 | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &endpoint->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &nvdimm_bus_list_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &wwan_register_lock |
drivers/cxl/core/region.c match_switch_decoder_by_range() -> range_contains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r1 | 1624,4096-ptr_max |
| BUF_SIZE | 0 | r1 | 16 |
| DATA_SOURCE | 1 | r2 | $1 |
| STR_LEN | 0 | r1 | (-1),31 |
| STR_LEN | 1 | r2 | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &endpoint->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &nvdimm_bus_list_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &wwan_register_lock |
drivers/cxl/core/pci.c dvsec_range_allowed() -> range_contains()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r1 | 4096-ptr_max |
| DATA_SOURCE | 1 | r2 | $1 |
| STR_LEN | 0 | r1 | (-1),31 |
| STR_LEN | 1 | r2 | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &endpoint->dev.mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &component_mutex | ||
| HALF_LOCKED2 | global &dpm_list_mtx | ||
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &nvdimm_bus_list_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &wwan_register_lock |