Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/percpu.c pcpu_alloc_chunk() -> pcpu_init_md_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->md_blocks | 1-u64max |
| 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 |
| BUF_SIZE | 0 | chunk->obj_exts | s32min-s32max |
| DATA_SOURCE | 0 | chunk | r pcpu_mem_zalloc |
| NOCHECK_CALL | |||
| LOCK2 | global &pcpu_alloc_mutex |
mm/percpu.c pcpu_alloc_first_chunk() -> pcpu_init_md_blocks()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chunk | 4096-ptr_max |
| PARAM_VALUE | 0 | chunk->base_addr | 0,4096-u64max |
| PARAM_VALUE | 0 | chunk->md_blocks | 1-u64max |
| 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 |
| NOCHECK_CALL | |||
| LOCK2 | irq |