Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/resource_kunit.c resource_test_region_intersects() -> alloc_free_mem_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | base | 2936731392875139072 |
| PARAM_VALUE | 1 | size | 7340032 |
| PARAM_VALUE | 2 | align | 1048576 |
| PARAM_VALUE | 3 | name | 7299267446910136320 |
| BUF_SIZE | 3 | name | 15 |
| STR_LEN | 0 | base | 14 |
| TERMINATED | 3 | name | 1 |
drivers/cxl/core/region.c alloc_hpa() -> alloc_free_mem_region()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | size | 1-u64max |
| PARAM_VALUE | 2 | align | 268435456 |
| BUF_SIZE | 3 | name | 1-s32max |
| DATA_SOURCE | 1 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | size | 1-u64max |
| NO_OVERFLOW_SIMPLE | 1 | size | |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |