Home
last modified time | relevance | path

Searched refs:cpu_to_vringh16 (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/vhost/
Dvringh.c170 if (desc->flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) in move_to_indirect()
298 cpu_to_vringh16(vrh, VRING_DESC_F_INDIRECT))) { in __vringh_iov()
328 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_WRITE)) in __vringh_iov()
376 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) { in __vringh_iov()
562 __virtio16 v = cpu_to_vringh16(vrh, val); in putu16_user()
830 WRITE_ONCE(*p, cpu_to_vringh16(vrh, val)); in putu16_kern()
/Linux-v4.19/include/linux/
Dvringh.h240 static inline __virtio16 cpu_to_vringh16(const struct vringh *vrh, u16 val) in cpu_to_vringh16() function