Home
last modified time | relevance | path

Searched refs:mdev_access (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/samples/vfio-mdev/
Dmdpy.c167 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() function
305 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read()
317 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read()
329 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_read()
369 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write()
381 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write()
393 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mdpy_write()
Dmtty.c636 static ssize_t mdev_access(struct mdev_state *mdev_state, u8 *buf, size_t count, in mdev_access() function
794 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
806 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
818 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_read()
858 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
870 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
882 ret = mdev_access(mdev_state, (u8 *)&val, sizeof(val), in mtty_write()
Dmbochs.c430 static ssize_t mdev_access(struct mdev_state *mdev_state, char *buf, in mdev_access() function
597 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
609 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
621 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_read()
661 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()
673 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()
685 ret = mdev_access(mdev_state, (char *)&val, sizeof(val), in mbochs_write()