Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
BUF_SIZE 0 rmap_list (-1),8
BUF_SIZE 0 rmap_list (-1),8
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 global &ksm_thread_mutex
TYPE_LOCK (struct mm_struct)->mmap_lock

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

Type Parameter Key Value
PARAM_VALUE 0 rmap_list 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &mm->mmap_lock
LOCK2 &of->mutex
LOCK2 global &ksm_thread_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct mm_struct)->mmap_lock