Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/bonding/bond_main.c, line 981
- drivers/net/ipvlan/ipvlan_main.c, line 871
- net/bridge/br.c, line 82
- net/bridge/br_if.c, line 662
- net/core/dev.c
- net/core/dev_addr_lists.c, line 736
Smatch caller information:
net/bridge/br_if.c br_add_if() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->addr_assign_type | 0-2,4-255 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| BUF_SIZE | 1 | addr | 32 |
| DATA_SOURCE | 2 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/bonding/bond_main.c bond_set_dev_addr() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocbond | 0,3142037727159255040 |
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 1 | addr | 32 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ipvlan/ipvlan_main.c ipvlan_device_event() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | addr | 6,32,126 |
| DATA_SOURCE | 2 | extack | r netdev_notifier_info_to_extack |
| LOCK2 | &port->pnodes_lock | ||
| TYPE_LOCK | (struct ipvl_port)->pnodes_lock |
net/core/dev.c netif_set_mac_address() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->nd_net.net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | dev->nd_net.net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 0 | dev->ndisc_ops->fill_addr_option | 9149257602806276096 |
| PARAM_VALUE | 0 | dev->ndisc_ops->parse_options | 4570881757937598464 |
| PARAM_VALUE | 0 | dev->ndisc_ops->update | 8455145027589103616 |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_config | 0,1586268954384080896,2133952100825280512,4430316855586635776 |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_set_mac_address | 1-u64max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->alloc | 0,1182153660833808384,3130032447137456128 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_rx_queues | 0,1694260139628544000,4559208055891021824,7097615251001798656,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->get_num_tx_queues | 0,1694260139628544000,4559208055891021824,7071371917186535424,8443738062496038912 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | dev->rtnl_link_ops->peer_type | 0-1 |
| PARAM_VALUE | 2 | extack | 0,4971238048455385088 |
| BUF_SIZE | 0 | dev->nd_net.net | (-1),10304,10432 |
| BUF_SIZE | 1 | addr | 126 |
| CAPPED_DATA | 0 | dev->type | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | extack | $2 |
| NOSPEC | 0 | dev->flags | |
| NOSPEC | 0 | dev->ifindex | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dev->flags | 0-527362[c] |
| USER_DATA | 0 | dev->ifindex | 0-s32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_napi_configs | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | dev->num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | dev->real_num_tx_queues | |
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | global &dev_addr_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/bridge/br.c br_device_event() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->addr_assign_type | 0-2,4-255 |
| BUF_SIZE | 1 | addr | 6,32,126 |
| DATA_SOURCE | 2 | extack | r netdev_notifier_info_to_extack |
net/core/dev_addr_lists.c dev_addr_add() -> netif_pre_changeaddr_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dev->name | 0-255 |
| PARAM_VALUE | 1 | addr | 4096-ptr_max |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 0 | dev | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 0 | dev | s32min,(-10),(-1),1-s32max |
| BUF_SIZE | 1 | addr | 6 |
| BUF_SIZE | 1 | addr | 6 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | addr | $1 |
| LOCK2 | global &rtnl_mutex |