Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/intel/ice/ice_sched.c ice_sched_add_agg_cfg() -> ice_sched_add_nodes_to_layer()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->hw 4096-ptr_max
PARAM_VALUE 0 pi->root 4096-ptr_max
PARAM_VALUE 0 pi->root->num_children 1-255
PARAM_VALUE 0 pi->sched_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner (-1)
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tc_node 4096-ptr_max
PARAM_VALUE 2 parent 1-u64max
PARAM_VALUE 5 first_node_teid 7438123114950758400
PARAM_VALUE 6 num_nodes_added 6286233988525256704
BUF_SIZE 2 parent (-1),560
BUF_SIZE 2 parent (-1),560
CAPPED_DATA 0 pi->root->num_children 1
CAPPED_DATA 3 layer 1
DATA_SOURCE 0 pi $0
DATA_SOURCE 1 tc_node r ice_sched_get_tc_node
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 6 *num_nodes_added
UNITS 3 layer unit_array_size
HALF_LOCKED2 &pi->sched_lock
HALF_LOCKED2 0 &pi->sched_lock
TYPE_LOCK (struct ice_port_info)->sched_lock

drivers/net/ethernet/intel/ice/ice_sched.c ice_sched_add_vsi_child_nodes() -> ice_sched_add_nodes_to_layer()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->hw 4096-ptr_max
PARAM_VALUE 0 pi->port_state 1
PARAM_VALUE 0 pi->root 4096-ptr_max
PARAM_VALUE 0 pi->root->num_children 1-255
PARAM_VALUE 0 pi->sched_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner (-1)
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 tc_node 4096-ptr_max
PARAM_VALUE 2 parent 1-u64max
PARAM_VALUE 5 first_node_teid 3201275996497985536
PARAM_VALUE 6 num_nodes_added 8846981251088179200
BUF_SIZE 2 parent (-1),560
BUF_SIZE 2 parent (-1),560
CAPPED_DATA 0 pi->root->num_children 1
CAPPED_DATA 1 tc_node 1
CAPPED_DATA 3 layer 1
DATA_SOURCE 0 pi $0
DATA_SOURCE 1 tc_node $2
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 6 *num_nodes_added
LOCK2 0 &pi->sched_lock
HALF_LOCKED2 &vsi->dev->ws_mutex
TYPE_LOCK (struct ice_port_info)->sched_lock

drivers/net/ethernet/intel/ice/ice_sched.c ice_sched_add_vsi_support_nodes() -> ice_sched_add_nodes_to_layer()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->hw 4096-ptr_max
PARAM_VALUE 0 pi->port_state 1
PARAM_VALUE 0 pi->root 4096-ptr_max
PARAM_VALUE 0 pi->root->num_children 1-255
PARAM_VALUE 0 pi->sched_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 pi->sched_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner (-1)
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 tc_node 4096-ptr_max
PARAM_VALUE 2 parent 1-u64max
PARAM_VALUE 5 first_node_teid 1702727763778007040
PARAM_VALUE 6 num_nodes_added 2352095592359424000
BUF_SIZE 2 parent (-1),560
BUF_SIZE 2 parent (-1),560
CAPPED_DATA 0 pi->root->num_children 1
CAPPED_DATA 3 layer 1
DATA_SOURCE 0 pi $0
DATA_SOURCE 1 tc_node $2
PARAM_COMPARE 3 layer >= $0->hw->sw_entry_point_layer
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 6 *num_nodes_added
UNITS 3 layer unit_array_size
LOCK2 0 &pi->sched_lock
HALF_LOCKED2 &vsi->dev->ws_mutex
TYPE_LOCK (struct ice_port_info)->sched_lock

drivers/net/ethernet/intel/ice/ice_sched.c ice_sched_move_vsi_to_agg() -> ice_sched_add_nodes_to_layer()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->hw 4096-ptr_max
PARAM_VALUE 0 pi->root 4096-ptr_max
PARAM_VALUE 0 pi->root->num_children 1-255
PARAM_VALUE 0 pi->sched_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 pi->sched_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner (-1)
PARAM_VALUE 0 pi->sched_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 tc_node 4096-ptr_max
PARAM_VALUE 2 parent 1-u64max
PARAM_VALUE 3 layer 0-254
PARAM_VALUE 5 first_node_teid 7791195935881416704
PARAM_VALUE 6 num_nodes_added 7810640612205678592
BUF_SIZE 2 parent (-1),560
BUF_SIZE 2 parent (-1),560
CAPPED_DATA 0 pi->root->num_children 1
CAPPED_DATA 3 layer 1
DATA_SOURCE 0 pi $0
DATA_SOURCE 1 tc_node r ice_sched_get_tc_node
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 6 *num_nodes_added
UNITS 3 layer unit_array_size
HALF_LOCKED2 &pi->sched_lock
HALF_LOCKED2 0 &pi->sched_lock
TYPE_LOCK (struct ice_port_info)->sched_lock

drivers/net/ethernet/intel/ice/ice_lag.c ice_lag_get_sched_parent() -> ice_sched_add_nodes_to_layer()

Type Parameter Key Value
PARAM_VALUE 0 pi 4096-ptr_max
PARAM_VALUE 0 pi->hw 4096-ptr_max
PARAM_VALUE 0 pi->root 4096-ptr_max
PARAM_VALUE 0 pi->root->num_children 1-255
PARAM_VALUE 1 tc_node 4096-ptr_max
PARAM_VALUE 2 parent 1-u64max
PARAM_VALUE 3 layer 1-254
PARAM_VALUE 5 first_node_teid 341937392034291712
PARAM_VALUE 6 num_nodes_added 4117962624913633280
BUF_SIZE 2 parent (-1),560
BUF_SIZE 2 parent (-1),560
CAPPED_DATA 0 pi->root->num_children 1
CAPPED_DATA 3 layer 1
DATA_SOURCE 1 tc_node r ice_sched_get_tc_node
RX_PATH
TASK_NOT_RUNNING
UNITS 3 layer unit_array_size
LOCK2 &pf->lag_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct ice_pf)->lag_mutex