Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/wan/hdlc.c, line 295
- drivers/net/wan/hdlc_cisco.c, line 349
- drivers/net/wan/hdlc_fr.c, line 1239
- drivers/net/wan/hdlc_ppp.c, line 692
- drivers/net/wan/hdlc_raw.c, line 78
- drivers/net/wan/hdlc_raw_eth.c, line 94
- drivers/net/wan/hdlc_x25.c, line 340
Smatch caller information:
drivers/net/wan/hdlc_x25.c x25_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 1601493925857574912 |
| PARAM_VALUE | 2 | size | 240 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/wan/hdlc_ppp.c ppp_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 2244416764325974016 |
| PARAM_VALUE | 2 | size | 440 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/wan/hdlc_fr.c fr_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 8948113517048512512 |
| PARAM_VALUE | 2 | size | 168 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/wan/hdlc_raw.c raw_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 8890658126374977536 |
| PARAM_VALUE | 2 | size | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/wan/hdlc_raw_eth.c raw_eth_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 8255152285140492288 |
| PARAM_VALUE | 2 | size | 4 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
drivers/net/wan/hdlc_cisco.c cisco_ioctl() -> attach_hdlc_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocwandev | 3169121643887783936,4639040216571998208,4740843728122777600,5475627671455961088,6476681243475546112,7667607148383133696 |
| PARAM_VALUE | 1 | proto | 3952243859240050688 |
| PARAM_VALUE | 2 | size | 200 |
| DATA_SOURCE | 0 | dev | $0 |
| CAPABLE | 0 | 12 | |
| BIT_INFO | 0 | dev->flags | 0x0,0xfffffffe |
| UNITS | 2 | size | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |