Home
last modified time | relevance | path

Searched refs:vr_idx (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/misc/mic/vop/
Dvop_vringh.c516 int vr_idx) in vop_virtio_copy_to_user() argument
520 struct vop_vringh *vvr = &vdev->vvr[vr_idx]; in vop_virtio_copy_to_user()
582 __func__, ubuf, dbuf, len, vr_idx); in vop_virtio_copy_to_user()
594 int vr_idx) in vop_virtio_copy_from_user() argument
598 struct vop_vringh *vvr = &vdev->vvr[vr_idx]; in vop_virtio_copy_from_user()
670 __func__, ubuf, dbuf, len, vr_idx); in vop_virtio_copy_from_user()
695 void __user *ubuf, size_t len, bool read, int vr_idx, in vop_vringh_copy() argument
710 vr_idx); in vop_vringh_copy()
715 vr_idx); in vop_vringh_copy()
751 struct vop_vringh *vvr = &vdev->vvr[copy->vr_idx]; in _vop_virtio_copy()
[all …]
/Linux-v5.4/include/uapi/linux/
Dmic_ioctl.h44 __u8 vr_idx; member
/Linux-v5.4/drivers/platform/mellanox/
Dmlxbf-tmfifo.c313 u16 idx, vr_idx; in mlxbf_tmfifo_release_desc() local
315 vr_idx = virtio16_to_cpu(vdev, vr->used->idx); in mlxbf_tmfifo_release_desc()
316 idx = vr_idx % vr->num; in mlxbf_tmfifo_release_desc()
326 vr->used->idx = cpu_to_virtio16(vdev, vr_idx + 1); in mlxbf_tmfifo_release_desc()
/Linux-v5.4/samples/mic/mpssd/
Dmpssd.c380 copy->vr_idx = tx ? 0 : 1; in txrx_prepare()
1110 copy.vr_idx = 0; /* only one vring on virtio_block */ in read_header()
1122 copy.vr_idx = 0; /* only one vring on virtio_block */ in transfer_blocks()
1148 copy.vr_idx = 0; /* only one vring on virtio_block */ in write_status()