Documented in 1 files:
Defined in 1 files as a function:
Referenced in 17 files:
- drivers/net/ethernet/airoha/airoha_ppe.c, line 956
- drivers/net/ethernet/mediatek/mtk_ppe.c, line 667
- drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c, line 82
- drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c, line 689
- drivers/net/ethernet/sfc/tc.c
- drivers/net/ethernet/sfc/tc_conntrack.c
- drivers/net/ethernet/sfc/tc_counters.c, line 233
- drivers/net/ethernet/sfc/tc_encap_actions.c
- drivers/net/wireless/ath/ath11k/peer.c, line 180
- drivers/net/wireless/ath/ath12k/dp_peer.c, line 294
- drivers/net/wireless/ath/ath12k/peer.c, line 464
- fs/gfs2/glock.c, line 1024
- fs/verity/open.c, line 373
- fs/xfs/xfs_buf.c, line 510
- kernel/bpf/hashtab.c
- net/mac80211/mesh_pathtbl.c
- net/sched/cls_flower.c, line 2290
Smatch caller information:
fs/gfs2/glock.c find_insert_glock() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4146564630303379456 |
| PARAM_VALUE | 0 | ht->max_elems | 0-2147483646 |
| PARAM_VALUE | 0 | ht->p.max_size | 0-s32max |
| PARAM_VALUE | 0 | ht->tbl | 0,4096-ptr_max |
| PARAM_VALUE | 1 | obj | 704,4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &fp->f_fl_mutex |
net/sched/cls_flower.c fl_check_assign_mask() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_get_mac() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_record_encap_match() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_replace_foreign() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_replace_foreign_lhs() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_replace_foreign_lhs_ar() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc.c efx_tc_flower_replace_lhs() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc.c efx_tc_get_recirc_id() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/mediatek/mtk_ppe.c mtk_foe_entry_commit_l2() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &mtk_flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/airoha/airoha_ppe.c airoha_ppe_foe_l2_flow_commit_entry() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &flow_offload_mutex | ||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/bwc_complex.c hws_complex_get_subrule_data() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subm->hash_lock | ||
| TYPE_LOCK | (struct mlx5hws_bwc_complex_submatcher)->hash_lock |
net/mac80211/mesh_pathtbl.c mesh_fast_tx_cache() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-511 |
| PARAM_VALUE | 1 | obj | 1-u64max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cache->walk_lock | ||
| LOCK2 | &sta->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mesh_tx_cache)->walk_lock | ||
| TYPE_LOCK | (struct sta_info)->lock |
net/mac80211/mesh_pathtbl.c mesh_path_add() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &tbl->walk_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct mesh_table)->walk_lock |
fs/verity/open.c ensure_verity_info() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 3001482689263693824 |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/sfc/tc_encap_actions.c efx_bind_neigh() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc_encap_actions.c efx_tc_flower_create_encap_md() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc_counters.c efx_tc_flower_get_counter_index() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/mellanox/mlx5/core/en/tc/act_stats.c mlx5e_tc_act_stats_add() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BUF_SIZE | 0 | ht | 408 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rpriv->unready_flows_lock |
drivers/net/wireless/ath/ath12k/peer.c ath12k_link_sta_rhash_insert() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ab->base_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ath12k_base)->base_lock |
drivers/net/wireless/ath/ath12k/dp_peer.c ath12k_dp_link_peer_rhash_insert() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dp->dp_lock | ||
| TYPE_LOCK | (struct ath12k_dp)->dp_lock |
drivers/net/ethernet/sfc/tc_conntrack.c efx_tc_ct_register_zone() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
drivers/net/ethernet/sfc/tc_conntrack.c efx_tc_ct_replace() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock | ||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_buf.c xfs_buf_find_insert() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->p.hashfn | 4096-ptr_max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ht->key_len | 0-64[c] |
| USER_DATA | 0 | ht->p.key_len | 1-64[c] |
| USER_DATA | 0 | ht->p.nelem_hint | 0-u16max |
| LOCK2 | rcu_read |
drivers/net/wireless/ath/ath11k/peer.c ath11k_peer_rhash_insert() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 1-u64max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| DATA_SOURCE | 0 | ht | $1 |
| DATA_SOURCE | 1 | obj | $2 |
| BIT_INFO | 2 | params | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ab->base_lock | ||
| LOCK2 | &ab->tbl_mtx_lock | ||
| LOCK2 | &ar->conf_mutex | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct ath11k)->conf_mutex | ||
| TYPE_LOCK | (struct ath11k_base)->base_lock | ||
| TYPE_LOCK | (struct ath11k_base)->tbl_mtx_lock |
kernel/bpf/hashtab.c rhtab_map_update_elem() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-(-2),0-s32max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | rcu_read |
kernel/bpf/hashtab.c rhtab_map_update_elem() -> rhashtable_lookup_get_insert_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->nelems.counter | s32min-(-2),0-s32max |
| PARAM_VALUE | 1 | obj | 4096-ptr_max |
| BIT_INFO | 2 | params | 0x0,0x0 |
| LOCK2 | rcu_read |