Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/ksm.c break_ksm_pmd_entry() -> ksm_test_exit()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
BUF_SIZE 0 mm s32min-(-1),1-s32max
BUF_SIZE 0 mm s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 &mm->mmap_lock

mm/ksm.c find_mergeable_vma() -> ksm_test_exit()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
DATA_SOURCE 0 mm $0
UNITS 0 mm unit_byte
LOCK2 global &ksm_thread_mutex
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

mm/ksm.c ksm_next_page_pmd_entry() -> ksm_test_exit()

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
BUF_SIZE 0 mm s32min-(-1),1-s32max
BUF_SIZE 0 mm s32min-(-1),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
HALF_LOCKED2 &mm->mmap_lock

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->mm_users.counter s32min-(-1),1-s32max
UNITS 0 mm unit_byte
LOCK2 global &ksm_thread_mutex
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

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

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PARAM_VALUE 0 mm->mm_users.counter s32min-(-1),1-s32max
UNITS 0 mm unit_byte
LOCK2 global &ksm_thread_mutex
LOCK2 0 &mm->mmap_lock
TYPE_LOCK (struct mm_struct)->mmap_lock

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 mm 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 mm unit_byte
LOCK2 &of->mutex
LOCK2 global &ksm_mmlist_lock
LOCK2 global &ksm_thread_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex