Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/percpu.c pcpu_balance_free() -> pcpu_chunk_depopulated()

Type Parameter Key Value
PARAM_VALUE 0 chunk 4096-ptr_max
PARAM_VALUE 0 chunk->nr_pages s32min-(-1),1-s32max
PARAM_VALUE 1 page_start 0-64
PARAM_VALUE 2 page_end 1-64
CAPPED_DATA 1 page_start 1
CAPPED_DATA 2 page_end 1
DATA_SOURCE 1 page_start r find_next_bit
DATA_SOURCE 2 page_end r find_next_zero_bit
PARAM_COMPARE 0 chunk->nr_pages > $1
PARAM_COMPARE 1 page_start < $0->nr_pages
PREEMPT_ADD
NOCHECK_CALL
UNITS 1 page_start unit_page
LOCK2 global &pcpu_alloc_mutex
LOCK2 global &pcpu_lock
LOCK2 irq
HALF_LOCKED2 &pool->lock

mm/percpu.c pcpu_reclaim_populated() -> pcpu_chunk_depopulated()

Type Parameter Key Value
PARAM_VALUE 0 chunk 4096-ptr_max
PARAM_VALUE 0 chunk->nr_empty_pop_pages s32min-(-1),1-s32max
PARAM_VALUE 0 chunk->populated 4096-ptr_max
PREEMPT_ADD
NOCHECK_CALL
UNITS 1 page_start unit_page
UNITS 2 page_end unit_page
LOCK2 global &pcpu_alloc_mutex
LOCK2 global &pcpu_lock
LOCK2 irq
HALF_LOCKED2 &pool->lock