Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/ksm.c alloc_stable_node_chain() -> stable_node_chain_add_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dup | 4096-ptr_max |
| PARAM_VALUE | 0 | dup->node.rb_left | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dup->node.rb_left->__rb_parent_color | 4096-18446744073709547521 |
| PARAM_VALUE | 0 | dup->node.rb_right | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dup->node.rb_right->__rb_parent_color | 4096-18446744073709547521 |
| PARAM_VALUE | 0 | dup->rmap_hlist_len | s32min-(-1025),(-1023)-s32max |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->nid | (-1) |
| PARAM_VALUE | 1 | chain->rmap_hlist_len | (-1024) |
| CAPPED_DATA | 0 | dup | 1 |
| CAPPED_DATA | 0 | &dup->node | 1 |
| DATA_SOURCE | 0 | dup | $0 |
| DATA_SOURCE | 1 | chain | r alloc_stable_node |
| NOCHECK_CALL | |||
| LOCK2 | global &ksm_thread_mutex |
mm/ksm.c stable_tree_insert() -> stable_node_chain_add_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dup | 4096-ptr_max |
| PARAM_VALUE | 0 | dup->chain_prune_time | 0-12384898975264768,9223396226110586880-u64max |
| PARAM_VALUE | 0 | dup->kpfn | 0-12384898975264768,9223396226110586880-u64max |
| PARAM_VALUE | 0 | dup->nid | 0-1023 |
| PARAM_VALUE | 0 | dup->rmap_hlist_len | 0 |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rmap_hlist_len | (-1024) |
| DATA_SOURCE | 0 | dup | r alloc_stable_node |
| NOCHECK_CALL | |||
| LOCK2 | global &ksm_thread_mutex |
mm/ksm.c stable_tree_search() -> stable_node_chain_add_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dup | 4096-ptr_max |
| PARAM_VALUE | 0 | dup->head | 5915860868013473792 |
| PARAM_VALUE | 0 | dup->nid | 0-1023 |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| PARAM_VALUE | 1 | chain->rmap_hlist_len | (-1024) |
| DATA_SOURCE | 0 | dup | r folio_stable_node |
| NOCHECK_CALL | |||
| LOCK2 | global &ksm_thread_mutex |
mm/ksm.c stable_tree_search() -> stable_node_chain_add_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dup | 4096-ptr_max |
| PARAM_VALUE | 0 | dup->head | 5915860868013473792 |
| PARAM_VALUE | 0 | dup->nid | 0-1023 |
| PARAM_VALUE | 1 | chain | 4096-ptr_max |
| DATA_SOURCE | 0 | dup | r folio_stable_node |
| NOCHECK_CALL | |||
| LOCK2 | global &ksm_thread_mutex |