Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

mm/compaction.c compaction_alloc_noprof() -> post_alloc_hook()

Type Parameter Key Value
PARAM_VALUE 0 page 4096-ptr_max
PARAM_VALUE 1 order 0-255
PARAM_VALUE 2 gfp_flags 8
PARAM_VALUE 3 alloc_flags 0
CAPPED_DATA 1 order 1
DATA_SOURCE 1 order r folio_order
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

mm/compaction.c mark_allocated_noprof() -> post_alloc_hook()

Type Parameter Key Value
PARAM_VALUE 0 page 4096-ptr_max
PARAM_VALUE 1 order 0-10
PARAM_VALUE 2 gfp_flags 8
PARAM_VALUE 3 alloc_flags 0
DATA_SOURCE 0 page $0
DATA_SOURCE 1 order $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

mm/page_alloc.c prep_new_page() -> post_alloc_hook()

Type Parameter Key Value
PARAM_VALUE 1 order 0-63
PARAM_VALUE 3 alloc_flags 0,8-u32max
CAPPED_DATA 1 order 1
DATA_SOURCE 0 page $0
DATA_SOURCE 1 order $1
DATA_SOURCE 2 gfp_flags $2
DATA_SOURCE 3 alloc_flags $3
FUZZY_MAX 1 order 4
NOSPEC 1 order
NOSPEC 1 order
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 1 order 0-10[c]
USER_DATA 1 order 0-10[c]
UNITS 0 page unit_page
UNITS 1 order unit_byte

mm/page_alloc.c split_free_frozen_pages() -> post_alloc_hook()

Type Parameter Key Value
PARAM_VALUE 0 page 4096-ptr_max
PARAM_VALUE 1 order 0-10
PARAM_VALUE 3 alloc_flags 0
DATA_SOURCE 2 gfp_flags $1
BIT_INFO 2 gfp_flags 0x0,0xfffbffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &cma->alloc_mutex
HALF_LOCKED2 &vm->hotplug_mutex