Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

lib/test_hmm.c dmirror_devmem_free() -> dmirror_page_to_chunk()

Type Parameter Key Value
PARAM_VALUE 0 page 4096-ptr_max
BUF_SIZE 0 page 64
CAPPED_DATA 0 page 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 page unit_page
LOCK2 &mdevice->lock
TYPE_LOCK (struct dmirror_device)->lock

lib/test_hmm.c dmirror_page_to_device() -> dmirror_page_to_chunk()

Type Parameter Key Value
PARAM_VALUE 0 page 4096-ptr_max
BUF_SIZE 0 page (-1),64
BUF_SIZE 0 page (-1),64
CAPPED_DATA 0 page 1
DATA_SOURCE 0 page $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 page unit_page
HALF_LOCKED2 &dmirror->mutex

lib/test_hmm.c dmirror_remove_free_pages() -> dmirror_page_to_chunk()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &mdevice->devmem_lock
LOCK2 &mdevice->lock
TYPE_LOCK (struct dmirror_device)->devmem_lock
TYPE_LOCK (struct dmirror_device)->lock

lib/test_hmm.c dmirror_remove_free_pages() -> dmirror_page_to_chunk()

Type Parameter Key Value
PARAM_VALUE 0 page 1-u64max
BUF_SIZE 0 page s32min-(-1),1-s32max
BUF_SIZE 0 page s32min-(-1),1-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 page unit_page
LOCK2 &mdevice->devmem_lock
LOCK2 &mdevice->lock
TYPE_LOCK (struct dmirror_device)->devmem_lock
TYPE_LOCK (struct dmirror_device)->lock