Searched refs:cpu_to_vringh16 (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/vhost/ |
D | vringh.c | 196 if (desc->flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) in move_to_indirect() 328 cpu_to_vringh16(vrh, VRING_DESC_F_INDIRECT))) { in __vringh_iov() 363 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_WRITE)) in __vringh_iov() 411 if (desc.flags & cpu_to_vringh16(vrh, VRING_DESC_F_NEXT)) { in __vringh_iov() 599 __virtio16 v = cpu_to_vringh16(vrh, val); in putu16_user() 874 WRITE_ONCE(*p, cpu_to_vringh16(vrh, val)); in putu16_kern() 1247 WRITE_ONCE(*(__virtio16 *)to, cpu_to_vringh16(vrh, val)); in putu16_iotlb()
|
/linux-6.1.9/include/linux/ |
D | vringh.h | 251 static inline __virtio16 cpu_to_vringh16(const struct vringh *vrh, u16 val) in cpu_to_vringh16() function
|