Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/vhost/
Dvringh.c171 if (desc->flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) in move_to_indirect()
299 cpu_to_vringh16(vrh, VRING_DESC_F_INDIRECT))) { in __vringh_iov()
329 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_WRITE)) in __vringh_iov()
377 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) { in __vringh_iov()
563 __virtio16 v = cpu_to_vringh16(vrh, val); in putu16_user()
831 WRITE_ONCE(*p, cpu_to_vringh16(vrh, val)); in putu16_kern()
/Linux-v5.4/include/linux/
Dvringh.h227 static inline __virtio16 cpu_to_vringh16(const struct vringh *vrh, u16 val) in cpu_to_vringh16() function