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/bonding/bond_main.c __bond_release_one() -> bond_change_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bond | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->curr_active_slave | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->current_arp_slave | 0 |
| PARAM_VALUE | 0 | bond->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->dev->priv->stats_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bond->dev->refcnt_tracker.quarantine.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->dev->refcnt_tracker.quarantine.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | new_active | 0 |
| CAPPED_DATA | 0 | bond->dev | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/bonding/bond_main.c bond_select_active_slave() -> bond_change_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bond | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->ndisc_ops->fill_addr_option | 9149257602806276096 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->ndisc_ops->parse_options | 4570881757937598464 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->ndisc_ops->update | 8455145027589103616 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bond->curr_active_slave->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | bond->primary_slave | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *bond->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bond->params.arp_targets | 0-4294967295 |
| PARAM_VALUE | 1 | new_active | 0,4096-ptr_max |
| PARAM_VALUE | 1 | new_active->link | 0,3 |
| BUF_SIZE | 1 | new_active | (-1)-0,1104 |
| BUF_SIZE | 1 | new_active | (-1)-0,1104 |
| CAPPED_DATA | 0 | bond->primary_slave | 1 |
| DATA_SOURCE | 0 | bond | $0 |
| DATA_SOURCE | 1 | new_active | r bond_find_best_slave |
| PARAM_COMPARE | 1 | new_active | != $0->curr_active_slave |
| PARAM_COMPARE | 1 | new_active | != $0->curr_active_slave |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_options.c bond_option_active_slave_set() -> bond_change_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bond | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *bond->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bond->params.arp_targets | 0-4294967295 |
| PARAM_VALUE | 1 | new_active | 0 |
| CAPPED_DATA | 0 | bond->dev | 1 |
| DATA_SOURCE | 0 | bond | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_options.c bond_option_active_slave_set() -> bond_change_active_slave()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bond | 4096-ptr_max |
| PARAM_VALUE | 0 | bond->curr_active_slave | 1-u64max |
| PARAM_VALUE | 0 | bond->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | *bond->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bond->params.arp_targets | 0-4294967295 |
| PARAM_VALUE | 1 | new_active | 4096-ptr_max |
| PARAM_VALUE | 1 | new_active->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | new_active->link | 0 |
| BUF_SIZE | 1 | new_active | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | new_active | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | bond->dev | 1 |
| CAPPED_DATA | 0 | bond->dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | bond | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |