Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
samples/vfio-mdev/mtty.c mtty_get_data_size() -> mtty_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
samples/vfio-mdev/mtty.c mtty_load_state() -> mtty_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->nr_ports | 1-2 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| LOCK2 | &migf->lock | ||
| LOCK2 | 0 | &mdev_state->state_mutex | |
| TYPE_LOCK | (struct mdev_state)->state_mutex | ||
| TYPE_LOCK | (struct mtty_migration_file)->lock |
samples/vfio-mdev/mtty.c mtty_load_state() -> mtty_data_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->nr_ports | 1-2 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| LOCK2 | &migf->lock | ||
| LOCK2 | 0 | &mdev_state->state_mutex | |
| TYPE_LOCK | (struct mdev_state)->state_mutex | ||
| TYPE_LOCK | (struct mtty_migration_file)->lock |
samples/vfio-mdev/mtty.c mtty_resume_write() -> mtty_data_size()
| Type | Parameter | Key | Value |
|---|