Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/vxlan/vxlan_mdb.c
- fs/eventpoll.c, line 1106
- kernel/bpf/bpf_local_storage.c
- kernel/time/timer.c, line 905
- lib/tests/list-test.c
- mm/ksm.c, line 1740
- net/mctp/test/route-test.c, line 1131
Smatch caller information:
net/mctp/route.c mctp_test_route_output_key_create() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | h->first | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &mns->keys_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct netns_mctp)->keys_lock |
kernel/time/timer.c detach_if_pending() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags |
kernel/bpf/bpf_local_storage.c bpf_selem_unlink_nofail() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 1-u64max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | rcu_read |
kernel/bpf/bpf_local_storage.c bpf_selem_unlink_storage_nolock() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PREEMPT_ADD | |||
| LOCK2 | flags | ||
| HALF_LOCKED2 | b_flags |
mm/ksm.c stable_node_dup() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| LOCK2 | global &ksm_thread_mutex |
fs/eventpoll.c ep_remove_file() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &file->f_lock | ||
| HALF_LOCKED2 | &ep->mtx | ||
| TYPE_LOCK | (struct file)->f_lock |
drivers/net/vxlan/vxlan_mdb.c vxlan_mdb_entry_get() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 0 | n->pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| PARAM_VALUE | 1 | h->first | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/vxlan/vxlan_mdb.c vxlan_mdb_entry_put() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 4096-ptr_max |
| PARAM_VALUE | 1 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/tests/list-test.c hlist_test_is_singular_node() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 240517598279929856 |
| PARAM_VALUE | 0 | n->next | 0 |
| PARAM_VALUE | 0 | n->pprev | 0 |
| PARAM_VALUE | 1 | h | 7228469384603508736 |
| PARAM_VALUE | 1 | h->first | 0 |
lib/tests/list-test.c hlist_test_is_singular_node() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 240517598279929856 |
| PARAM_VALUE | 0 | n->next | 0 |
| PARAM_VALUE | 0 | n->pprev | 7228469384603508736 |
| PARAM_VALUE | 1 | h | 7228469384603508736 |
| PARAM_VALUE | 1 | h->first | 240517598279929856 |
lib/tests/list-test.c hlist_test_is_singular_node() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 240517598279929856 |
| PARAM_VALUE | 0 | n->next | 0 |
| PARAM_VALUE | 0 | n->pprev | 7228469384603508736 |
| PARAM_VALUE | 1 | h | 7228469384603508736 |
| PARAM_VALUE | 1 | h->first | 8301073034727047168 |
lib/tests/list-test.c hlist_test_is_singular_node() -> hlist_is_singular_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | n | 8301073034727047168 |
| PARAM_VALUE | 0 | n->next | 240517598279929856 |
| PARAM_VALUE | 0 | n->pprev | 7228469384603508736 |
| PARAM_VALUE | 1 | h | 7228469384603508736 |
| PARAM_VALUE | 1 | h->first | 8301073034727047168 |