Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/vdpa/vdpa_sim/vdpa_sim.c, line 290
- drivers/vdpa/vdpa_sim/vdpa_sim_blk.c, line 423
- drivers/vdpa/vdpa_sim/vdpa_sim_net.c, line 480
Smatch caller information:
drivers/vdpa/vdpa_sim/vdpa_sim_net.c vdpasim_net_dev_add() -> vdpasim_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_attr | 5697272871914651648 |
| PARAM_VALUE | 0 | dev_attr->alloc_size | 2376 |
| PARAM_VALUE | 0 | dev_attr->config_size | 24 |
| PARAM_VALUE | 0 | dev_attr->free | 3160179289957732352 |
| PARAM_VALUE | 0 | dev_attr->get_config | 503454370484846592 |
| PARAM_VALUE | 0 | dev_attr->get_stats | 587407295968337920 |
| PARAM_VALUE | 0 | dev_attr->id | 1 |
| PARAM_VALUE | 0 | dev_attr->mgmt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_attr->name | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_attr->nas | 2 |
| PARAM_VALUE | 0 | dev_attr->ngroups | 2 |
| PARAM_VALUE | 0 | dev_attr->nvqs | 3 |
| PARAM_VALUE | 0 | dev_attr->set_config | 0 |
| PARAM_VALUE | 0 | dev_attr->supported_features | 13027704872 |
| PARAM_VALUE | 0 | dev_attr->work_fn | 6469103756704169984 |
| PARAM_VALUE | 1 | config | 5923854899754512384 |
| PARAM_VALUE | 1 | config->mask | 0,1024,4096,5120,8192,9216,12288,13312,1048576,1049600,1052672,1053696,1056768,1057792,1060864,1061888 |
| DATA_SOURCE | 1 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | dev_attr->name | |
| LOCK2 | global &vdpa_dev_lock | ||
| 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 |
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c vdpasim_blk_dev_add() -> vdpasim_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_attr | 897315378528845824 |
| PARAM_VALUE | 0 | dev_attr->alloc_size | 2280 |
| PARAM_VALUE | 0 | dev_attr->config_size | 96 |
| PARAM_VALUE | 0 | dev_attr->free | 2709718661746913280 |
| PARAM_VALUE | 0 | dev_attr->get_config | 6842367505635209216 |
| PARAM_VALUE | 0 | dev_attr->get_stats | 0 |
| PARAM_VALUE | 0 | dev_attr->id | 2 |
| PARAM_VALUE | 0 | dev_attr->mgmt_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_attr->name | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_attr->nas | 1 |
| PARAM_VALUE | 0 | dev_attr->ngroups | 1 |
| PARAM_VALUE | 0 | dev_attr->nvqs | 1 |
| PARAM_VALUE | 0 | dev_attr->set_config | 0 |
| PARAM_VALUE | 0 | dev_attr->supported_features | 13019149894 |
| PARAM_VALUE | 0 | dev_attr->work_fn | 2853705250071609344 |
| PARAM_VALUE | 1 | config | 5923854899754512384 |
| PARAM_VALUE | 1 | config->mask | 0,1024,4096,5120,8192,9216,12288,13312,1048576,1049600,1052672,1053696,1056768,1057792,1060864,1061888 |
| DATA_SOURCE | 1 | config | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | dev_attr->name | |
| LOCK2 | global &vdpa_dev_lock | ||
| 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 |