Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/tsconfig.c tsconfig_send_reply() -> tsconfig_prepare_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | info | 4201664097468477440 |
| PARAM_VALUE | 2 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 2 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 2 | info->family | 4096-ptr_max |
| PARAM_VALUE | 2 | info->genlhdr | 4096-ptr_max |
| PARAM_VALUE | 2 | info->nlhdr | 4096-ptr_max |
| BUF_SIZE | 2 | info->attrs | (-1)-s32max |
| BUF_SIZE | 2 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 2 | info->_net.net | 1 |
| CAPPED_DATA | 2 | info->family->n_ops | 1 |
| CAPPED_DATA | 2 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 2 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 2 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 2 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | info->extack->miss_nest->nla_type | 0-u16max |
| USER_DATA | 2 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 2 | info->genlhdr | |
| USER_PTR | 2 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ethtool/netlink.c ethnl_default_doit() -> (struct ethnl_request_ops)->prepare_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req_base | 4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | req_base->dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | req_base->dev->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | req_base->dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | req_base->dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev_tracker | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reply_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base->dev | 0,4096-ptr_max |
| PARAM_VALUE | 2 | info | 4201664097468477440 |
| PARAM_VALUE | 2 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 2 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 2 | info->family | 4096-ptr_max |
| PARAM_VALUE | 2 | info->genlhdr | 4096-ptr_max |
| PARAM_VALUE | 2 | info->nlhdr | 4096-ptr_max |
| BUF_SIZE | 0 | req_base | 24,32,40 |
| BUF_SIZE | 0 | req_base | 24,32,40 |
| BUF_SIZE | 1 | reply_base | 16,24,32,40,48,56,64,72,80,120,128,160,376,512,1576 |
| BUF_SIZE | 1 | reply_base | 16,24,32,40,48,56,64,72,80,120,128,160,376,512,1576 |
| CAPPED_DATA | 2 | info->_net.net | 1 |
| DATA_SOURCE | 0 | req_base | r _kzalloc_noprof |
| DATA_SOURCE | 1 | reply_base | r _kmalloc_noprof |
| DATA_SOURCE | 2 | info | $1 |
| MEM_ZERO | 1 | reply_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | info->extack->miss_nest->nla_type | 0-u16max |
| USER_DATA | 2 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 2 | info->genlhdr | |
| USER_PTR | 2 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ethtool/netlink.c ethnl_default_dump_one() -> (struct ethnl_request_ops)->prepare_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reply_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base->dev | 4096-ptr_max |
| PARAM_VALUE | 2 | info | 4096-ptr_max |
| DATA_SOURCE | 2 | info | $3 |
| CONTAINER | 0 | *(-24-0+8) | $(-1) |
| CONTAINER | 1 | *(-24-0+16) | $(-1) |
| MEM_ZERO | 1 | reply_base | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/ethtool/netlink.c ethnl_default_notify() -> (struct ethnl_request_ops)->prepare_data()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req_base | 4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | req_base->dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | reply_base->dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 2 | info | 4244227952085712896 |
| PARAM_VALUE | 2 | info->_net.net | 0 |
| PARAM_VALUE | 2 | info->attrs | 0 |
| PARAM_VALUE | 2 | info->extack | 0 |
| PARAM_VALUE | 2 | info->family | 5149135887251673088 |
| PARAM_VALUE | 2 | info->genlhdr | 4096-ptr_max |
| PARAM_VALUE | 2 | info->nlhdr | 0 |
| PARAM_VALUE | 2 | info->snd_portid | 0 |
| PARAM_VALUE | 2 | info->snd_seq | 0 |
| BUF_SIZE | 0 | req_base | 24,32,40 |
| BUF_SIZE | 0 | req_base | 24,32,40 |
| BUF_SIZE | 1 | reply_base | 16,24,32,40,48,56,64,72,80,120,128,160,376,512,1576 |
| BUF_SIZE | 1 | reply_base | 16,24,32,40,48,56,64,72,80,120,128,160,376,512,1576 |
| DATA_SOURCE | 0 | req_base | r _kzalloc_noprof |
| DATA_SOURCE | 1 | reply_base | r _kmalloc_noprof |
| BIT_INFO | 0 | req_base->flags | 0x1,0xffffffff |
| MEM_ZERO | 1 | reply_base | |
| MEM_ZERO | 2 | info | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock |