Searched refs:mdev_access (Results 1 – 3 of 3) sorted by relevance
/linux/samples/vfio-mdev/ |
H A D | mdpy.c | 173 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() function 315 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read() 327 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read() 339 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read() 379 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write() 391 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write() 403 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write()
|
H A D | mbochs.c | 441 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() function 624 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read() 636 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read() 648 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read() 688 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write() 700 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write() 712 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()
|
H A D | mtty.c | 707 static ssize_t mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, in mdev_access() function 1431 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read() 1443 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read() 1455 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read() 1495 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write() 1507 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write() 1519 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
|