Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv6/addrconf.c fixup_permanent_addr() -> addrconf_f6i_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idev | 4096-ptr_max |
| PARAM_VALUE | 1 | idev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | idev->lock.owner | (-1) |
| PARAM_VALUE | 1 | idev->lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | idev->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 1 | idev->lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | anycast | 0 |
| PARAM_VALUE | 4 | gfp_flags | 3264 |
| PARAM_VALUE | 5 | extack | 0 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | idev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/addrconf.c ipv6_add_addr() -> addrconf_f6i_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idev | 4096-ptr_max |
| PARAM_VALUE | 1 | idev->cnf.disable_ipv6 | 0 |
| PARAM_VALUE | 1 | idev->dead | 0 |
| PARAM_VALUE | 1 | idev->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 4096-ptr_max |
| PARAM_VALUE | 3 | anycast | 0 |
| PARAM_VALUE | 4 | gfp_flags | 2080,3264 |
| PARAM_VALUE | 5 | extack | 0,4971238048455385088 |
| BUF_SIZE | 1 | idev | (-1),2056 |
| BUF_SIZE | 1 | idev | (-1),2056 |
| CAPPED_DATA | 1 | idev->dev->nd_net.net | 1 |
| DATA_SOURCE | 1 | idev | $0 |
| DATA_SOURCE | 5 | extack | $3 |
| FUZZY_MAX | 4 | gfp_flags | 3264 |
| BIT_INFO | 4 | gfp_flags | 0x800,0xce0 |
| HARD_MAX | 4 | gfp_flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| USER_PTR | 2 | addr | |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/anycast.c __ipv6_dev_ac_inc() -> addrconf_f6i_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | idev | 4096-ptr_max |
| PARAM_VALUE | 1 | idev->dead | 0 |
| PARAM_VALUE | 1 | idev->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | idev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | idev->lock.owner_cpu | 0 |
| PARAM_VALUE | 1 | idev->lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 2 | addr | 6744988681408958464,9000209434527514624 |
| PARAM_VALUE | 3 | anycast | 1 |
| PARAM_VALUE | 4 | gfp_flags | 2080 |
| PARAM_VALUE | 5 | extack | 0 |
| BUF_SIZE | 1 | idev | (-1),2056 |
| BUF_SIZE | 1 | idev | (-1),2056 |
| CAPPED_DATA | 1 | idev->dev->nd_net.net | 1 |
| DATA_SOURCE | 1 | idev | $0 |
| DATA_SOURCE | 2 | addr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| LOCK2 | 1 | &idev->lock | |
| TYPE_LOCK | (struct inet6_dev)->lock |