Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/devlink/rate.c devl_rate_leaf_create() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.prev 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.prev->next 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.prev->next->next 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &esw->offloads.reps_lock

net/devlink/rate.c devl_rate_leaf_destroy() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &pf->vfs.table_lock

net/devlink/rate.c devl_rate_node_create() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next->next 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next->prev 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pi->sched_lock

net/devlink/rate.c devl_rate_nodes_destroy() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
CAPPED_DATA 1 &rate_devlink->rate_list 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &esw->offloads.reps_lock
HALF_LOCKED2 0 &devlink->lock

net/devlink/rate.c devlink_nl_rate_del_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_nl_rate_get_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_nl_rate_get_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_nl_rate_get_dump_one() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->sb_pool_get 0,4096-ptr_max
PARAM_VALUE 0 devlink->ops->sb_port_pool_get 0,5080524251109040128,5500329137182081024,8058848025358356480
PARAM_VALUE 0 devlink->ops->sb_tc_pool_bind_get 0,557608487823060992,7803434078078054400,8622157503094607872
PARAM_VALUE 0 devlink->ops->selftest_check 0,8032679069814992896
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
CAPPED_DATA 1 &rate_devlink->rate_list 1
DATA_SOURCE 0 devlink $1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &nlk->nl_cb_mutex
HALF_LOCKED2 0 &devlink->lock
TYPE_LOCK (struct netlink_sock)->nl_cb_mutex

net/devlink/rate.c devlink_nl_rate_new_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->rate_node_del 1288881180212264960,5511336031576576000,8287067794582441984
PARAM_VALUE 0 devlink->ops->rate_node_new 1856378281611169792,5371129506061082624,8877245127354101760
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next->next 4096-ptr_max
PARAM_VALUE 1 rate_devlink->rate_list.next->prev 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_nl_rate_new_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->rate_node_del 1288881180212264960,5511336031576576000,8287067794582441984
PARAM_VALUE 0 devlink->ops->rate_node_new 1856378281611169792,5371129506061082624,8877245127354101760
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_nl_rate_set_doit() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->rate_leaf_parent_set 0,5766953860415373312,6408649504472895488,6744996936524701696
PARAM_VALUE 0 devlink->ops->rate_leaf_tc_bw_set 0,1614843578001477632,8349612998214176768
PARAM_VALUE 0 devlink->ops->rate_leaf_tx_max_set 0,3480365128740282368,5939164315207495680,6494597473343647744
PARAM_VALUE 0 devlink->ops->rate_leaf_tx_priority_set 0,7831282862949179392
PARAM_VALUE 0 devlink->ops->rate_leaf_tx_share_set 0,2506131567137714176,2757650672532119552,8613182084418772992
PARAM_VALUE 0 devlink->ops->rate_leaf_tx_weight_set 0,7059372032508960768
PARAM_VALUE 0 devlink->ops->rate_node_parent_set 0,306479294684319744,6744996936524701696,7738193553320255488
PARAM_VALUE 0 devlink->ops->rate_node_tc_bw_set 0,5403750358388187136,7117957249657880576
PARAM_VALUE 0 devlink->ops->rate_node_tx_max_set 0,1208872158312656896,3797376066685919232,6356928397990035456
PARAM_VALUE 0 devlink->ops->rate_node_tx_priority_set 0,3695619337907257344
PARAM_VALUE 0 devlink->ops->rate_node_tx_share_set 0,2158177059627048960,8251966878604513280,8516558080893980672
PARAM_VALUE 0 devlink->ops->rate_node_tx_weight_set 0,5954394640399757312
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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/devlink/rate.c devlink_rates_check() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->ops->eswitch_mode_set 0,4096-ptr_max
PARAM_VALUE 0 devlink->ops->reload_down 0,4096-ptr_max
PARAM_VALUE 0 devlink->ops->reload_up 0,4096-ptr_max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
CAPPED_DATA 1 &rate_devlink->rate_list 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &devlink->lock

net/devlink/rate.c devlink_rates_notify_register() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->reload_down 0,4096-ptr_max
PARAM_VALUE 0 devlink->ops->reload_up 0,4096-ptr_max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
CAPPED_DATA 1 &rate_devlink->rate_list 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &devlink->lock

net/devlink/rate.c devlink_rates_notify_unregister() -> devl_rate_unlock()

Type Parameter Key Value
PARAM_VALUE 0 devlink 4096-ptr_max
PARAM_VALUE 0 devlink->lock.dep_map->name 0-255
PARAM_VALUE 0 devlink->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 devlink->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 devlink->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 devlink->ops->reload_down 0,4096-ptr_max
PARAM_VALUE 0 devlink->refcount.refs.counter (-1073741824),0-s32max
PARAM_VALUE 1 rate_devlink 4096-ptr_max
CAPPED_DATA 0 devlink 1
CAPPED_DATA 1 &rate_devlink->rate_list 1
DATA_SOURCE 0 devlink $0
DATA_SOURCE 1 rate_devlink r devl_rate_lock
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 0 &devlink->lock