Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/percpu.c pcpu_chunk_addr() -> pcpu_unit_page_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cpu | $1 |
| DATA_SOURCE | 1 | page_idx | $2 |
| UNITS | 1 | page_idx | unit_page |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c per_cpu_ptr_to_phys() -> pcpu_unit_page_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | page_idx | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | irq |
mm/percpu.c per_cpu_ptr_to_phys() -> pcpu_unit_page_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | irq |