Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/percpu.c pcpu_create_chunk() -> pcpu_free_chunk()

Type Parameter Key Value
PARAM_VALUE 0 chunk 4096-ptr_max
PARAM_VALUE 0 chunk->alloc_map 1-u64max
PARAM_VALUE 0 chunk->bound_map 1-u64max
PARAM_VALUE 0 chunk->chunk_md.first_free 0
PARAM_VALUE 0 chunk->chunk_md.scan_hint 0
PARAM_VALUE 0 chunk->list.next 4096-ptr_max
PARAM_VALUE 0 chunk->list.next->next 4096-ptr_max
PARAM_VALUE 0 chunk->list.prev 4096-ptr_max
PARAM_VALUE 0 chunk->list.prev->next 4096-ptr_max
PARAM_VALUE 0 chunk->list.prev->prev 4096-ptr_max
PARAM_VALUE 0 chunk->md_blocks 4096-ptr_max
PARAM_VALUE 0 chunk->md_blocks->first_free 0
PARAM_VALUE 0 chunk->md_blocks->scan_hint 0
BUF_SIZE 0 chunk s32min-s32max
DATA_SOURCE 0 chunk r pcpu_alloc_chunk
NOCHECK_CALL
LOCK2 global &pcpu_alloc_mutex

mm/percpu.c pcpu_destroy_chunk() -> pcpu_free_chunk()

Type Parameter Key Value
PARAM_VALUE 0 chunk 4096-ptr_max
PARAM_VALUE 0 chunk->nr_pages 0-64
CAPPED_DATA 0 chunk->data 1
CAPPED_DATA 0 chunk->nr_pages 1
DATA_SOURCE 0 chunk $0
NOCHECK_CALL
LOCK2 global &pcpu_alloc_mutex
HALF_LOCKED2 &pool->lock