Documented in 1 files:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/ethernet/airoha/airoha_ppe.c, line 964
- drivers/net/ethernet/mediatek/mtk_ppe.c, line 675
- drivers/net/netdevsim/fib.c
- fs/xattr.c, line 1461
- net/ipv6/ila/ila_xlat.c
- net/mac80211/mesh_pathtbl.c, line 593
- net/sched/cls_flower.c, line 2257
Smatch caller information:
fs/xattr.c simple_xattr_set() -> rhashtable_replace_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_old | 1-u64max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BUF_SIZE | 0 | ht | (-1),408 |
| BUF_SIZE | 0 | ht | (-1),408 |
| DATA_SOURCE | 0 | ht | r simple_xattrs_lazy_alloc |
| BIT_INFO | 3 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ht->tbl->size |
net/sched/cls_flower.c fl_create_new_mask() -> rhashtable_replace_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | obj_old | 4096-ptr_max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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/mediatek/mtk_ppe.c mtk_foe_entry_commit_l2() -> rhashtable_replace_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| BIT_INFO | 3 | 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_replace_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| BIT_INFO | 3 | 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 |
net/mac80211/mesh_pathtbl.c mesh_fast_tx_cache() -> rhashtable_replace_fast()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ht | 4096-ptr_max |
| PARAM_VALUE | 0 | ht->tbl | 4096-ptr_max |
| PARAM_VALUE | 1 | obj_old | 1-ptr_max |
| PARAM_VALUE | 2 | obj_new | 1-u64max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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 |
drivers/net/netdevsim/fib.c nsim_fib4_rt_replace() -> rhashtable_replace_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_old | 4096-ptr_max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| LOCK2 | &data->fib_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct nsim_fib_data)->fib_lock |
drivers/net/netdevsim/fib.c nsim_fib6_rt_replace() -> rhashtable_replace_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_old | 4096-ptr_max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| LOCK2 | &data->fib_lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct nsim_fib_data)->fib_lock |
drivers/net/netdevsim/fib.c nsim_nexthop_replace() -> rhashtable_replace_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_old | 1-u64max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| LOCK2 | &data->nh_lock | ||
| TYPE_LOCK | (struct nsim_fib_data)->nh_lock |
net/ipv6/ila/ila_xlat.c ila_add_mapping() -> rhashtable_replace_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_old | 4096-ptr_max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/ila/ila_xlat.c ila_del_mapping() -> rhashtable_replace_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_old | 4096-ptr_max |
| PARAM_VALUE | 2 | obj_new | 4096-ptr_max |
| BIT_INFO | 3 | params | 0x0,0x0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |