Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

mm/mm_init.c memmap_init_compound() -> prep_compound_tail()

Type Parameter Key Value
PARAM_VALUE 0 tail 4096-ptr_max
PARAM_VALUE 0 tail->_mapcount.counter (-1)
PARAM_VALUE 0 tail->_refcount.counter 0-1
PARAM_VALUE 0 tail->flags.f 0,1073741824-18446744073709551614
PARAM_VALUE 0 tail->zone_device_data 0
PARAM_VALUE 1 head 4096-ptr_max
PARAM_VALUE 1 head->_mapcount.counter (-1)
PARAM_VALUE 1 head->_refcount.counter 0-1
PARAM_VALUE 1 head->flags.f 0,1073741824-18446744073709551614
PARAM_VALUE 1 head->zone_device_data 0
CAPPED_DATA 2 order 1
DATA_SOURCE 1 head $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mdevice->devmem_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 global &list_lock

mm/hugetlb.c hugetlb_folio_init_tail_vmemmap() -> prep_compound_tail()

Type Parameter Key Value
PARAM_VALUE 0 tail 4096-ptr_max
PARAM_VALUE 0 tail->_mapcount.counter (-1)
PARAM_VALUE 0 tail->_refcount.counter 1
PARAM_VALUE 0 tail->flags.f 0,1073741824-u64max
PARAM_VALUE 1 head 4096-ptr_max
PARAM_VALUE 2 order 9,18
PARAM_COMPARE 0 tail > $1
PARAM_COMPARE 1 head < $0
NOCHECK_CALL

mm/hugetlb.c init_compound_tail() -> prep_compound_tail()

Type Parameter Key Value
PARAM_VALUE 0 tail 4096-ptr_max
PARAM_VALUE 0 tail->_mapcount.counter (-1)
PARAM_VALUE 1 head 0
DATA_SOURCE 0 tail $0
DATA_SOURCE 1 head $1
DATA_SOURCE 2 order $2
NOCHECK_CALL

mm/page_alloc.c prep_compound_page() -> prep_compound_tail()

Type Parameter Key Value
PARAM_VALUE 1 head 4096-ptr_max
PARAM_VALUE 1 head->flags.f 0-18446744073709551614
DATA_SOURCE 1 head $0
DATA_SOURCE 2 order $1
NOSPEC 2 order
NOSPEC 2 order
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 order 1-10[c]
USER_DATA 2 order 1-10[c]
UNITS 0 tail unit_page
UNITS 1 head unit_page
UNITS 2 order unit_byte
HALF_LOCKED2 &(xas->xa)->xa_lock
HALF_LOCKED2 &dst->resize_lock
HALF_LOCKED2 &mm->mmap_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &src->resize_lock
HALF_LOCKED2 irq

mm/hugetlb_vmemmap.c init_compound_tail() -> prep_compound_tail()

Type Parameter Key Value
PARAM_VALUE 0 tail 4096-ptr_max
PARAM_VALUE 0 tail->_mapcount.counter (-1)
PARAM_VALUE 1 head 0
PARAM_VALUE 2 order 9,18
DATA_SOURCE 0 tail $0
DATA_SOURCE 1 head $1
DATA_SOURCE 2 order $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL