Defined in 3 files as a function:

Referenced in 3 files:

Smatch caller information:

samples/vfio-mdev/mdpy.c mdpy_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 1100115364441374720
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 4
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mdpy.c mdpy_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 1100115364441374720
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 2
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mdpy.c mdpy_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 1100115364441374720
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mdpy.c mdpy_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 8687519851010572288
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 4
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mdpy.c mdpy_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 8687519851010572288
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 2
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mdpy.c mdpy_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 8687519851010572288
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mbochs.c mbochs_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6820729393378942976
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 4
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte

samples/vfio-mdev/mbochs.c mbochs_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6820729393378942976
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 2
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte

samples/vfio-mdev/mbochs.c mbochs_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6820729393378942976
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte

samples/vfio-mdev/mbochs.c mbochs_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6846672520771162112
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 4
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mbochs.c mbochs_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6846672520771162112
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 2
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mbochs.c mbochs_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 6846672520771162112
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004[c]
UNITS 2 count unit_byte
UNITS 3 pos unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mtty.c mtty_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 3811326416309190656
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 4
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mtty.c mtty_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 3811326416309190656
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
BUF_SIZE 1 buf 2
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mtty.c mtty_read() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 3811326416309190656
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 0
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte

samples/vfio-mdev/mtty.c mtty_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 5278167695008546816
PARAM_VALUE 2 count 4
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 4
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mtty.c mtty_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 5278167695008546816
PARAM_VALUE 2 count 2
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
BUF_SIZE 1 buf 2
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf

samples/vfio-mdev/mtty.c mtty_write() -> mdev_access()

Type Parameter Key Value
PARAM_VALUE 0 mdev_state 4096-ptr_max
PARAM_VALUE 1 buf 5278167695008546816
PARAM_VALUE 2 count 1
PARAM_VALUE 3 pos 0-s64max
PARAM_VALUE 4 is_write 1
USER_DATA 1 *buf 0-255
USER_DATA 3 pos 0-1000000004
UNITS 2 count unit_byte
USER_PTR 1 buf