Documented in 1 files:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, line 2085
- drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c, line 553
- fs/nfsd/filecache.c
- fs/nfsd/nfs4state.c
- fs/super.c
- kernel/events/hw_breakpoint.c, line 335
- kernel/trace/fprobe.c
- lib/test_rhashtable.c, line 320
- net/ipv4/ipmr_base.c
- net/mac80211/sta_info.c
- net/netfilter/nf_tables_api.c
- net/sctp/input.c
Smatch caller information:
net/ipv4/ipmr_base.c mr_mfc_find_any() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 0 | hlt->ht.p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 3162857850057527296,6873261299557404672 |
| BUF_SIZE | 1 | key | 8,32 |
| BUF_SIZE | 1 | key | 8,32 |
| DATA_SOURCE | 1 | key | $2 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ipmr_base.c mr_mfc_find_any_parent() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 0 | hlt->ht.p.hashfn | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/ipv4/ipmr_base.c mr_mfc_find_parent() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 899409252747493376,1453516406890274816,2011915399193661440,2036591637165002752 |
| BUF_SIZE | 1 | key | 8,32 |
| BUF_SIZE | 1 | key | 8,32 |
| DATA_SOURCE | 1 | key | $1 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->ipv4.mfc_mutex | ||
| HALF_LOCKED2 | &net->ipv6.mfc_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c build_match_list() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| BUF_SIZE | 1 | key | (-1),1040 |
| DATA_SOURCE | 1 | key | $2 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &counter->lock | ||
| HALF_LOCKED2 | &ct_priv->control_lock | ||
| HALF_LOCKED2 | &dev->flow_db->lock | ||
| HALF_LOCKED2 | &esw->fdb_table.offloads.indir->lock | ||
| HALF_LOCKED2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &esw->offloads.termtbl_mutex | ||
| HALF_LOCKED2 | &esw->state_lock | ||
| HALF_LOCKED2 | &ft->node.lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->int_ports_lock | ||
| HALF_LOCKED2 | &priv->macsec->lock | ||
| HALF_LOCKED2 | &root->chain_lock | ||
| HALF_LOCKED2 | &stats->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
fs/super.c super_dev_first() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 7386127881638793216 |
| BUF_SIZE | 1 | key | 4 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &bdev->bd_fsfreeze_mutex |
fs/super.c super_dev_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 7386127881638793216 |
| BUF_SIZE | 1 | key | 4 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
fs/nfsd/filecache.c nfsd_file_is_cached() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5971905384811433984 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &close_cached->d_lockref.lock |
fs/nfsd/filecache.c nfsd_file_lookup_locked() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5971905384811433984 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &inode->i_lock |
fs/nfsd/filecache.c nfsd_file_queue_for_close() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5971905384811433984 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &nfsd_gc_lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_unmatched_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| MEM_ZERO | 1 | key | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ptp_state->unmatched_lock | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh | ||
| TYPE_LOCK | (struct mlxsw_sp1_ptp_state)->unmatched_lock |
fs/nfsd/nfs4state.c nfsd4_file_hash_insert() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 8726338309652926464 |
| PARAM_VALUE | 1 | key | 5836645854398042112 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &inode->i_lock | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct inode)->i_lock |
fs/nfsd/nfs4state.c nfsd4_file_hash_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 8726338309652926464 |
| PARAM_VALUE | 1 | key | 2465365967266484224 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | rcu_read |
net/mac80211/sta_info.c link_sta_info_hash_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| BUF_SIZE | 1 | key | 6 |
| DATA_SOURCE | 1 | key | $1 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | key | |
| LOCK2 | rcu_read |
net/mac80211/sta_info.c sta_info_hash_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| BUF_SIZE | 1 | key | (-1)-s32max |
| DATA_SOURCE | 1 | key | $1 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | key | unit_byte |
| USER_PTR | 1 | key | |
| HALF_LOCKED2 | rcu_read |
net/netfilter/nf_tables_api.c nf_tables_dump_rules() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 1-u64max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/netfilter/nf_tables_api.c nft_chain_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 3100846270013640704 |
| BUF_SIZE | 1 | key | 257 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 1 | key | |
| LOCK2 | rcu_read |
net/netfilter/nf_tables_api.c nft_obj_lookup() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 6061123914180657152 |
| BUF_SIZE | 1 | key | 16 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/sctp/input.c sctp_addrs_lookup_transport() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5943243576535347232 |
| PARAM_VALUE | 1 | key | 3638584575698661376 |
| BUF_SIZE | 1 | key | 24 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/sctp/input.c sctp_epaddr_lookup_transport() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5943243576535347232 |
| PARAM_VALUE | 1 | key | 9060694658034888704 |
| BUF_SIZE | 1 | key | 24 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/sctp/input.c sctp_hash_transport() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5943243576535347232 |
| PARAM_VALUE | 1 | key | 1206696430674350080 |
| BUF_SIZE | 1 | key | 24 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | sk |
kernel/events/hw_breakpoint.c task_bp_pinned() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5794847401421447168 |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &bp->child_mutex | ||
| HALF_LOCKED2 | &bp->group_leader->ctx->mutex |
lib/test_rhashtable.c test_rhltable() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 7848082320482177024 |
| PARAM_VALUE | 0 | hlt->ht.key_len | 0-u16max |
| PARAM_VALUE | 0 | hlt->ht.max_elems | 0-2147483646,2147483648 |
| PARAM_VALUE | 0 | hlt->ht.p.min_size | 4-u16max |
| PARAM_VALUE | 0 | hlt->ht.rhlist | 1 |
| PARAM_VALUE | 0 | hlt->ht.tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 1780306817861337088 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
kernel/trace/fprobe.c fprobe_exists_on_hash() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5963618037831897088 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | rcu_read |
kernel/trace/fprobe.c fprobe_fgraph_entry() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5963618037831897088 |
| PARAM_VALUE | 1 | key | 3504256189913690112 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | rcu_read |
kernel/trace/fprobe.c fprobe_ftrace_entry() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5963618037831897088 |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | rcu_read |
kernel/trace/fprobe.c fprobe_remove_node_in_module() -> rhltable_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hlt | 5963618037831897088 |
| PARAM_VALUE | 1 | key | 4096-ptr_max |
| BUF_SIZE | 1 | key | 8 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | global &fprobe_mutex |