Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/devlink/rate.c devl_rate_nodes_destroy() -> (struct devlink_ops)->rate_node_parent_set()

Type Parameter Key Value
PARAM_VALUE 0 child 4096-ptr_max
PARAM_VALUE 0 child->devlink 4096-ptr_max
PARAM_VALUE 0 child->devlink->ops 4096-ptr_max
PARAM_VALUE 0 child->parent 1-u64max
PARAM_VALUE 0 child->type 1
PARAM_VALUE 1 parent 0
PARAM_VALUE 3 priv_parent 0
PARAM_VALUE 4 extack 0
BUF_SIZE 2 priv_child 560
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &esw->offloads.reps_lock

net/devlink/rate.c devlink_nl_rate_parent_node_set() -> (struct devlink_ops)->rate_node_parent_set()

Type Parameter Key Value
PARAM_VALUE 0 child 4096-ptr_max
PARAM_VALUE 0 child->devlink 4096-ptr_max
PARAM_VALUE 0 child->parent 1-u64max
PARAM_VALUE 0 child->type 1
PARAM_VALUE 0 *child->tc_bw 0-4294967295
PARAM_VALUE 1 parent 0
PARAM_VALUE 3 priv_parent 0
PARAM_VALUE 4 extack 4971238048455385088
BUF_SIZE 0 child (-1),120
BUF_SIZE 0 child (-1),120
BUF_SIZE 0 child->name (-1),1-65536
BUF_SIZE 2 priv_child 560
DATA_SOURCE 0 child $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *child->name 0-255
USER_PTR 0 child->name
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/devlink/rate.c devlink_nl_rate_parent_node_set() -> (struct devlink_ops)->rate_node_parent_set()

Type Parameter Key Value
PARAM_VALUE 0 child 4096-ptr_max
PARAM_VALUE 0 child->devlink 4096-ptr_max
PARAM_VALUE 0 child->parent->type 1
PARAM_VALUE 0 child->type 1
PARAM_VALUE 0 *child->tc_bw 0-4294967295
PARAM_VALUE 1 parent 4096-ptr_max
PARAM_VALUE 1 parent->devlink 1-u64max
PARAM_VALUE 1 parent->parent 0,4096-ptr_max
PARAM_VALUE 1 parent->type 1
PARAM_VALUE 4 extack 4971238048455385088
BUF_SIZE 0 child (-1),120
BUF_SIZE 0 child (-1),120
BUF_SIZE 0 child->name (-1),1-65536
BUF_SIZE 2 priv_child 560
BUF_SIZE 3 priv_parent 560
CAPPED_DATA 1 parent->devlink 1
DATA_SOURCE 0 child $0
DATA_SOURCE 1 parent r devlink_rate_node_get_by_name
PARAM_COMPARE 0 child != $1
PARAM_COMPARE 0 child != $1
PARAM_COMPARE 1 parent != $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 *child->name 0-255
USER_PTR 0 child->name
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