Lines Matching defs:vrh

38 static inline int __vringh_get_head(const struct vringh *vrh,  in __vringh_get_head()
39 int (*getu16)(const struct vringh *vrh, in __vringh_get_head()
107 static inline ssize_t vringh_iov_xfer(struct vringh *vrh, in vringh_iov_xfer()
110 int (*xfer)(const struct vringh *vrh, in vringh_iov_xfer()
133 static inline bool range_check(struct vringh *vrh, u64 addr, size_t *len, in range_check()
167 static inline bool no_range_check(struct vringh *vrh, u64 addr, size_t *len, in no_range_check()
176 static int move_to_indirect(const struct vringh *vrh, in move_to_indirect()
235 static u16 __cold return_from_indirect(const struct vringh *vrh, int *up_next, in return_from_indirect()
246 static int slow_copy(struct vringh *vrh, void *dst, const void *src, in slow_copy()
247 bool (*rcheck)(struct vringh *vrh, u64 addr, size_t *len, in slow_copy()
249 bool (*getrange)(struct vringh *vrh, in slow_copy()
256 int (*copy)(const struct vringh *vrh, in slow_copy()
283 __vringh_iov(struct vringh *vrh, u16 i, in __vringh_iov()
286 bool (*rcheck)(struct vringh *vrh, u64 addr, size_t *len, in __vringh_iov()
292 int (*copy)(const struct vringh *vrh, in __vringh_iov()
437 static inline int __vringh_complete(struct vringh *vrh, in __vringh_complete()
440 int (*putu16)(const struct vringh *vrh, in __vringh_complete()
442 int (*putused)(const struct vringh *vrh, in __vringh_complete()
487 static inline int __vringh_need_notify(struct vringh *vrh, in __vringh_need_notify()
488 int (*getu16)(const struct vringh *vrh, in __vringh_need_notify()
534 static inline bool __vringh_notify_enable(struct vringh *vrh, in __vringh_notify_enable()
535 int (*getu16)(const struct vringh *vrh, in __vringh_notify_enable()
537 int (*putu16)(const struct vringh *vrh, in __vringh_notify_enable()
574 static inline void __vringh_notify_disable(struct vringh *vrh, in __vringh_notify_disable()
575 int (*putu16)(const struct vringh *vrh, in __vringh_notify_disable()
589 static inline int getu16_user(const struct vringh *vrh, u16 *val, const __virtio16 *p) in getu16_user()
597 static inline int putu16_user(const struct vringh *vrh, __virtio16 *p, u16 val) in putu16_user()
603 static inline int copydesc_user(const struct vringh *vrh, in copydesc_user()
610 static inline int putused_user(const struct vringh *vrh, in putused_user()
619 static inline int xfer_from_user(const struct vringh *vrh, void *src, in xfer_from_user()
626 static inline int xfer_to_user(const struct vringh *vrh, in xfer_to_user()
646 int vringh_init_user(struct vringh *vrh, u64 features, in vringh_init_user()
693 int vringh_getdesc_user(struct vringh *vrh, in vringh_getdesc_user()
696 bool (*getrange)(struct vringh *vrh, in vringh_getdesc_user()
781 void vringh_abandon_user(struct vringh *vrh, unsigned int num) in vringh_abandon_user()
798 int vringh_complete_user(struct vringh *vrh, u16 head, u32 len) in vringh_complete_user()
817 int vringh_complete_multi_user(struct vringh *vrh, in vringh_complete_multi_user()
833 bool vringh_notify_enable_user(struct vringh *vrh) in vringh_notify_enable_user()
846 void vringh_notify_disable_user(struct vringh *vrh) in vringh_notify_disable_user()
858 int vringh_need_notify_user(struct vringh *vrh) in vringh_need_notify_user()
865 static inline int getu16_kern(const struct vringh *vrh, in getu16_kern()
872 static inline int putu16_kern(const struct vringh *vrh, __virtio16 *p, u16 val) in putu16_kern()
878 static inline int copydesc_kern(const struct vringh *vrh, in copydesc_kern()
885 static inline int putused_kern(const struct vringh *vrh, in putused_kern()
894 static inline int xfer_kern(const struct vringh *vrh, void *src, in xfer_kern()
901 static inline int kern_xfer(const struct vringh *vrh, void *dst, in kern_xfer()
920 int vringh_init_kern(struct vringh *vrh, u64 features, in vringh_init_kern()
966 int vringh_getdesc_kern(struct vringh *vrh, in vringh_getdesc_kern()
1029 void vringh_abandon_kern(struct vringh *vrh, unsigned int num) in vringh_abandon_kern()
1046 int vringh_complete_kern(struct vringh *vrh, u16 head, u32 len) in vringh_complete_kern()
1064 bool vringh_notify_enable_kern(struct vringh *vrh) in vringh_notify_enable_kern()
1077 void vringh_notify_disable_kern(struct vringh *vrh) in vringh_notify_disable_kern()
1089 int vringh_need_notify_kern(struct vringh *vrh) in vringh_need_notify_kern()
1097 static int iotlb_translate(const struct vringh *vrh, in iotlb_translate()
1145 static inline int copy_from_iotlb(const struct vringh *vrh, void *dst, in copy_from_iotlb()
1178 static inline int copy_to_iotlb(const struct vringh *vrh, void *dst, in copy_to_iotlb()
1211 static inline int getu16_iotlb(const struct vringh *vrh, in getu16_iotlb()
1232 static inline int putu16_iotlb(const struct vringh *vrh, in putu16_iotlb()
1253 static inline int copydesc_iotlb(const struct vringh *vrh, in copydesc_iotlb()
1265 static inline int xfer_from_iotlb(const struct vringh *vrh, void *src, in xfer_from_iotlb()
1277 static inline int xfer_to_iotlb(const struct vringh *vrh, in xfer_to_iotlb()
1289 static inline int putused_iotlb(const struct vringh *vrh, in putused_iotlb()
1316 int vringh_init_iotlb(struct vringh *vrh, u64 features, in vringh_init_iotlb()
1333 void vringh_set_iotlb(struct vringh *vrh, struct vhost_iotlb *iotlb, in vringh_set_iotlb()
1362 int vringh_getdesc_iotlb(struct vringh *vrh, in vringh_getdesc_iotlb()
1397 ssize_t vringh_iov_pull_iotlb(struct vringh *vrh, in vringh_iov_pull_iotlb()
1414 ssize_t vringh_iov_push_iotlb(struct vringh *vrh, in vringh_iov_push_iotlb()
1430 void vringh_abandon_iotlb(struct vringh *vrh, unsigned int num) in vringh_abandon_iotlb()
1448 int vringh_complete_iotlb(struct vringh *vrh, u16 head, u32 len) in vringh_complete_iotlb()
1466 bool vringh_notify_enable_iotlb(struct vringh *vrh) in vringh_notify_enable_iotlb()
1479 void vringh_notify_disable_iotlb(struct vringh *vrh) in vringh_notify_disable_iotlb()
1491 int vringh_need_notify_iotlb(struct vringh *vrh) in vringh_need_notify_iotlb()