Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/percpu.c pcpu_alloc_area() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_alloc_area() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_alloc_chunk() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| BUF_SIZE | 0 | chunk | s32min-s32max |
| DATA_SOURCE | 0 | chunk | r pcpu_mem_zalloc |
| LOCK2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_alloc_chunk() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| BUF_SIZE | 0 | chunk | s32min-s32max |
| BUF_SIZE | 0 | chunk->alloc_map | 0-268435456 |
| BUF_SIZE | 0 | chunk->bound_map | s32min-s32max |
| BUF_SIZE | 0 | chunk->md_blocks | s32min-s32max |
| DATA_SOURCE | 0 | chunk | r pcpu_mem_zalloc |
| LOCK2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_alloc_first_chunk() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->nr_pages | (-524288)-524287 |
| DATA_SOURCE | 0 | chunk | r __memblock_alloc_or_panic |
| BIT_INFO | 0 | chunk->base_addr | 0x0,0xfffffffffffff000 |
| LOCK2 | irq |
mm/percpu.c pcpu_alloc_first_chunk() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->nr_pages | (-524288)-524287 |
| DATA_SOURCE | 0 | chunk | r __memblock_alloc_or_panic |
| BIT_INFO | 0 | chunk->base_addr | 0x0,0xfffffffffffff000 |
| MEM_ZERO | 0 | chunk->populated | |
| LOCK2 | irq |
mm/percpu.c pcpu_alloc_first_chunk() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->nr_pages | (-524288)-524287 |
| DATA_SOURCE | 0 | chunk | r __memblock_alloc_or_panic |
| BIT_INFO | 0 | chunk->base_addr | 0x0,0xfffffffffffff000 |
| MEM_ZERO | 0 | chunk->populated | |
| LOCK2 | irq |
mm/percpu.c pcpu_chunk_refresh_hint() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| CAPPED_DATA | 0 | chunk | 1 |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &pcpu_lock |
mm/percpu.c pcpu_chunk_refresh_hint() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| CAPPED_DATA | 0 | chunk | 1 |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &pcpu_lock |
mm/percpu.c pcpu_find_block_fit() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_find_block_fit() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_find_block_fit() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_free_area() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| CAPPED_DATA | 0 | chunk | 1 |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_init_md_blocks() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| BUF_SIZE | 0 | chunk->alloc_map | (-1)-268435456 |
| DATA_SOURCE | 0 | chunk | $0 |
| HALF_LOCKED2 | global &pcpu_alloc_mutex | ||
| HALF_LOCKED2 | irq |
mm/percpu.c pcpu_next_fit_region() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $0 |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| LOCK2 | global &pcpu_lock | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |
mm/percpu-stats.c chunk_map_stats() -> pcpu_chunk_map_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| DATA_SOURCE | 0 | chunk | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| LOCK2 | global &pcpu_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct seq_file)->lock |