Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
samples/vfio-mdev/mbochs.c mbochs_dmabuf_alloc() -> __mbochs_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdev_state->vbe | 4096-ptr_max |
| PARAM_VALUE | 1 | pgoff | 0-4503599631564671 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| UNITS | 1 | pgoff | unit_page |
| LOCK2 | 0 | &mdev_state->ops_lock | |
| TYPE_LOCK | (struct mdev_state)->ops_lock |
samples/vfio-mdev/mbochs.c mbochs_get_page() -> __mbochs_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | mdev_state->pagecount | 1-1048575 |
| PARAM_VALUE | 1 | pgoff | 0-1048574 |
| BUF_SIZE | 0 | mdev_state | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | mdev_state | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | mdev_state->pagecount | 1 |
| CAPPED_DATA | 0 | &mdev_state->ops_lock | 1 |
| CAPPED_DATA | 1 | pgoff | 1 |
| CAPPED_DATA | 1 | pgoff | 1 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| DATA_SOURCE | 1 | pgoff | $1 |
| PARAM_COMPARE | 0 | mdev_state->pagecount | > $1 |
| PARAM_COMPARE | 1 | pgoff | < $0->pagecount |
| BIT_INFO | 1 | pgoff | 0x0,0xfffffffffffff |
| NOSPEC | 1 | pgoff | |
| NOSPEC | 1 | pgoff | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | pgoff | 0-1048574[c] |
| UNITS | 0 | mdev_state | unit_byte |
| UNITS | 1 | pgoff | unit_page |
| LOCK2 | 0 | &mdev_state->ops_lock | |
| TYPE_LOCK | (struct mdev_state)->ops_lock |
samples/vfio-mdev/mbochs.c mdev_access() -> __mbochs_get_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mdev_state | 4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | mdev_state->ops_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | pgoff | 2-2251799813685246 |
| CAPPED_DATA | 0 | &mdev_state->ops_lock | 1 |
| DATA_SOURCE | 0 | mdev_state | $0 |
| USER_DATA | 1 | pgoff | 2-244139[c] |
| UNITS | 1 | pgoff | unit_page |
| LOCK2 | 0 | &mdev_state->ops_lock | |
| TYPE_LOCK | (struct mdev_state)->ops_lock |