Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/percpu.c pcpu_block_update_hint_free() -> pcpu_block_off_to_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | index | 1 |
| DATA_SOURCE | 0 | index | r pcpu_off_to_block_index |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_next_fit_region() -> pcpu_block_off_to_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index | s32min-2147483646 |
| CAPPED_DATA | 0 | index | 1 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_next_fit_region() -> pcpu_block_off_to_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index | s32min-2147483646 |
| CAPPED_DATA | 0 | index | 1 |
| CAPPED_DATA | 1 | off | 1 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_next_md_free_region() -> pcpu_block_off_to_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | index | s32min-2147483646 |
| PARAM_VALUE | 1 | off | 0-s32max |
| CAPPED_DATA | 0 | index | 1 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &pcpu_lock |