Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/page_alloc.c alloc_pages_bulk_noprof() -> cond_accept_memory()

Type Parameter Key Value
PARAM_VALUE 0 zone 1-u64max
PARAM_VALUE 1 order 0
PARAM_VALUE 2 alloc_flags 0-2047
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bo->mutex
HALF_LOCKED2 &gbuf_resize_mutex
HALF_LOCKED2 &inode->i_rwsem

mm/page_alloc.c alloc_pages_bulk_noprof() -> cond_accept_memory()

Type Parameter Key Value
PARAM_VALUE 0 zone 4096-ptr_max
PARAM_VALUE 1 order 0
PARAM_VALUE 2 alloc_flags 8-2047
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bo->mutex
HALF_LOCKED2 &gbuf_resize_mutex
HALF_LOCKED2 &inode->i_rwsem

mm/page_alloc.c get_page_from_freelist() -> cond_accept_memory()

Type Parameter Key Value
PARAM_VALUE 0 zone 1-u64max
PARAM_VALUE 1 order 0-10
CAPPED_DATA 1 order 1
DATA_SOURCE 1 order $1
DATA_SOURCE 2 alloc_flags $2 [m]
FUZZY_MAX 1 order 4
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 1 order unit_byte
HALF_LOCKED2 global &oom_lock

mm/page_alloc.c get_page_from_freelist() -> cond_accept_memory()

Type Parameter Key Value
PARAM_VALUE 0 zone 4096-ptr_max
PARAM_VALUE 1 order 0-10
PARAM_VALUE 2 alloc_flags s32min-(-1),8-s32max
CAPPED_DATA 1 order 1
DATA_SOURCE 1 order $1
DATA_SOURCE 2 alloc_flags $2 [m]
FUZZY_MAX 1 order 4
NOSPEC 1 order
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 order 0-10[c]
USER_DATA 1 order 0-10[c]
UNITS 1 order unit_byte
HALF_LOCKED2 global &oom_lock

mm/page_alloc.c get_page_from_freelist() -> cond_accept_memory()

Type Parameter Key Value
PARAM_VALUE 0 zone 4096-ptr_max
PARAM_VALUE 1 order 0-10
PARAM_VALUE 2 alloc_flags s32min-(-1),8-s32max
CAPPED_DATA 0 zone 1
CAPPED_DATA 1 order 1
DATA_SOURCE 1 order $1
DATA_SOURCE 2 alloc_flags $2 [m]
FUZZY_MAX 1 order 4
NOSPEC 1 order
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 order 0-10[c]
USER_DATA 1 order 0-10[c]
UNITS 1 order unit_byte
HALF_LOCKED2 global &oom_lock