Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/mm/ioremap.c __ioremap_caller() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-4503599627366400 |
| PARAM_VALUE | 1 | end | 0,4096-u64max |
| PARAM_VALUE | 2 | req_type | 0-5 |
| PARAM_VALUE | 3 | new_type | 5317261819627143168 |
| DATA_SOURCE | 0 | start | $0 [m] |
| DATA_SOURCE | 2 | req_type | $2 |
| BIT_INFO | 0 | start | 0x0,0xffffffffff000 |
| BIT_INFO | 0 | start | 0x0,0xffffffffff000 |
| NOSPEC | 0 | start | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | start | 0,4096-2147479552[c] |
| HOST_DATA | 1 | end | 0,4096-u64max[c] |
| USER_DATA | 0 | start | 0,4096-2147479552[c] |
| USER_DATA | 1 | end | 0,4096-u64max[c] |
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | end | unit_byte |
arch/x86/mm/pat/memtype.c memtype_reserve_io() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | new_type | 6534589986932285440 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | end | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | start | 0-u64max |
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | end | unit_byte |
arch/x86/mm/pat/memtype.c reserve_pfn_range() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-18446744073709547520 |
| PARAM_VALUE | 2 | req_type | 0-5 |
| PARAM_VALUE | 3 | new_type | 6257025681272049664 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 2 | req_type | r pgprot2cachemode |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | start | 0,4096-17592186023936[c] |
| USER_DATA | 1 | end | 0,4096-u64max[c] |
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | end | unit_byte |
arch/x86/mm/pat/set_memory.c _set_pages_array() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 0,4096-18446744073709547520 |
| PARAM_VALUE | 1 | end | 4096 |
| PARAM_VALUE | 2 | req_type | 1-2 |
| PARAM_VALUE | 3 | new_type | 0 |
| CAPPED_DATA | 0 | start | 1 |
| CAPPED_DATA | 0 | start | 1 |
| DATA_SOURCE | 2 | req_type | $2 |
| PARAM_COMPARE | 0 | start | < $1 |
| PARAM_COMPARE | 1 | end | == $0 |
| PARAM_COMPARE | 1 | end | > $0 |
| PARAM_COMPARE | 1 | end | > $0 |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| BIT_INFO | 0 | start | 0x0,0xfffffffffffff000 |
| HARD_MAX | 2 | req_type | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | start | unit_byte |
| UNITS | 1 | end | unit_byte |
arch/x86/mm/pat/set_memory.c set_memory_uc() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req_type | 2 |
| PARAM_VALUE | 3 | new_type | 0 |
| CAPPED_DATA | 0 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | end | unit_byte |
| HALF_LOCKED2 | &bo->mutex | ||
| HALF_LOCKED2 | &mmu->pt_mutex | ||
| HALF_LOCKED2 | &msc->buf_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
arch/x86/mm/pat/set_memory.c set_memory_wc() -> memtype_reserve()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | req_type | 1 |
| PARAM_VALUE | 3 | new_type | 0 |
| CAPPED_DATA | 0 | start | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | end | unit_byte |