Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/ksm.c cmp_and_merge_page() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
BUF_SIZE 0 stable_node->head (-1),16
DATA_SOURCE 0 stable_node r folio_stable_node
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_node_dup() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_node_dup() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
PARAM_VALUE 0 stable_node->rmap_hlist_len 0-s32max
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_node_dup() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_tree_search() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
PARAM_VALUE 0 stable_node->rmap_hlist_len s32min-s32max
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_tree_search() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
PARAM_VALUE 0 stable_node->head 5915860868013473792,5915860868013473800
PARAM_VALUE 0 stable_node->nid 0-1023
PARAM_VALUE 0 stable_node->node.__rb_parent_color 1
PARAM_VALUE 0 stable_node->node.rb_left 4096-ptr_max
PARAM_VALUE 0 stable_node->node.rb_right 4096-ptr_max
CAPPED_DATA 0 &stable_node->node 1
DATA_SOURCE 0 stable_node r folio_stable_node
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_tree_search() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
PARAM_VALUE 0 stable_node->head 5915860868013473792
PARAM_VALUE 0 stable_node->nid 0-1023
DATA_SOURCE 0 stable_node r folio_stable_node
LOCK2 global &ksm_thread_mutex

mm/ksm.c stable_tree_search() -> is_page_sharing_candidate()

Type Parameter Key Value
PARAM_VALUE 0 stable_node 4096-ptr_max
PARAM_VALUE 0 stable_node->head 5915860868013473800
PARAM_VALUE 0 stable_node->hlist_dup.pprev 4096-ptr_max
PARAM_VALUE 0 stable_node->nid 0-1023
DATA_SOURCE 0 stable_node r folio_stable_node
LOCK2 global &ksm_thread_mutex