Documented in 2 files:
Defined in 2 files as a function:
- include/linux/hashtable.h, line 76 (as a function)
- tools/include/linux/hashtable.h, line 64 (as a function)
Referenced in 8 files:
- drivers/firmware/stratix10-svc.c
- drivers/infiniband/core/device.c, line 2347
- drivers/usb/gadget/function/f_tcm.c, line 1316
- fs/ceph/mds_client.c, line 908
- lib/tests/hashtable_test.c
- net/l2tp/l2tp_core.c
- net/sched/cls_api.c, line 223
- net/sunrpc/auth_gss/auth_gss.c, line 1142
Smatch caller information:
lib/tests/hashtable_test.c hashtable_test_hash_hashed() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 7167480927646933000 |
| PARAM_VALUE | 0 | node->pprev | 4096-ptr_max |
lib/tests/hashtable_test.c hashtable_test_hash_hashed() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 519878371588562952 |
| PARAM_VALUE | 0 | node->pprev | 4096-ptr_max |
net/l2tp/l2tp_core.c l2tp_session_collision_add() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pn->l2tp_session_idr_lock | ||
| LOCK2 | &tunnel->list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &ps->sk_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk | ||
| TYPE_LOCK | (struct l2tp_net)->l2tp_session_idr_lock | ||
| TYPE_LOCK | (struct l2tp_tunnel)->list_lock |
net/l2tp/l2tp_core.c l2tp_session_unhash() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &pn->l2tp_session_idr_lock | ||
| LOCK2 | &tunnel->list_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct l2tp_net)->l2tp_session_idr_lock | ||
| TYPE_LOCK | (struct l2tp_tunnel)->list_lock |
net/l2tp/l2tp_core.c l2tp_v3_session_get() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/l2tp/l2tp_core.c l2tp_v3_session_get_next() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
net/l2tp/l2tp_core.c l2tp_v3_session_get_next() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->pprev | 1-u64max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &m->lock |
fs/ceph/mds_client.c ceph_wait_on_conflict_unlink() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 32,4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &udentry->d_lockref.lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct lockref)->lock |
drivers/infiniband/core/device.c add_ndev_hash() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | flags | ||
| LOCK2 | global &ndev_hash_lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | global &be_adapter_list_lock | ||
| HALF_LOCKED2 | global &bnxt_re_mutex | ||
| HALF_LOCKED2 | global &link_ops_rwsem | ||
| HALF_LOCKED2 | global &pvrdma_device_list_lock | ||
| HALF_LOCKED2 | global &qedr_dev_list_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &usnic_ib_ibdev_list_lock |
drivers/usb/gadget/function/f_tcm.c usbg_cmd_work() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/auth_gss/auth_gss.c gss_destroy() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sched/cls_api.c tcf_proto_signal_destroyed() -> hash_hashed()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &block->proto_destroy_lock | ||
| TYPE_LOCK | (struct tcf_block)->proto_destroy_lock |