Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/netdevsim/hwstats.c __nsim_dev_hwstats_event_unregister() -> nsim_dev_hwstats_get_list_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwstats | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 0 | hwstats | $0 |
| DATA_SOURCE | 1 | type | $2 |
| LOCK2 | 0 | &hwstats->hwsdev_list_lock | |
| TYPE_LOCK | (struct nsim_dev_hwstats)->hwsdev_list_lock |
drivers/net/netdevsim/hwstats.c nsim_dev_hwsdev_list_wipe() -> nsim_dev_hwstats_get_list_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwstats | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| BUF_SIZE | 0 | hwstats | 392 |
| CAPPED_DATA | 0 | hwstats->ddir | 1 |
| DATA_SOURCE | 0 | hwstats | $0 |
| DATA_SOURCE | 1 | type | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/hwstats.c nsim_dev_hwstats_do_write() -> nsim_dev_hwstats_get_list_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | hwstats | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hwstats | s32min-(-2),1-s32max |
drivers/net/netdevsim/hwstats.c nsim_dev_hwstats_event_off_xstats() -> nsim_dev_hwstats_get_list_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwstats | 4096-ptr_max |
| DATA_SOURCE | 0 | hwstats | $0 |
drivers/net/netdevsim/hwstats.c nsim_dev_hwstats_traffic_bump() -> nsim_dev_hwstats_get_list_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwstats | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 0 | hwstats | $0 |
| DATA_SOURCE | 1 | type | $1 |
| LOCK2 | 0 | &hwstats->hwsdev_list_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct nsim_dev_hwstats)->hwsdev_list_lock |