Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/ksm.c get_next_rmap_item() -> free_rmap_item()

Type Parameter Key Value
PARAM_VALUE 0 rmap_item 4096-ptr_max
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 global &ksm_thread_mutex
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/ksm.c remove_trailing_rmap_items() -> free_rmap_item()

Type Parameter Key Value
PARAM_VALUE 0 rmap_item 4096-ptr_max
PARAM_VALUE 0 rmap_item->address 0,4096-u64max
PARAM_VALUE 0 rmap_item->head 0
PARAM_VALUE 0 rmap_item->head->head 0,5915860868013473792
PARAM_VALUE 0 rmap_item->head->hlist_dup->next->pprev 1-u64max
PARAM_VALUE 0 rmap_item->head->rmap_hlist_len (-1024),0-s32max
PARAM_VALUE 0 rmap_item->hlist->next->pprev 1-u64max
PARAM_VALUE 0 rmap_item->linear_page_index 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 global &ksm_thread_mutex
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct mm_struct)->mmap_lock