Lines Matching +full:ctx +full:- +full:asid
1 /* SPDX-License-Identifier: GPL-2.0 */
74 struct eventfd_ctx *ctx; member
145 /* Ring endianness requested by userspace for cross-endian support. */
177 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
185 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
251 if ((vq)->error_ctx) \
252 eventfd_signal((vq)->error_ctx);\
265 * vhost_vq_set_backend - Set backend.
270 * Context: Need to call with vq->mutex acquired.
275 vq->private_data = private_data; in vhost_vq_set_backend()
279 * vhost_vq_get_backend - Get backend.
283 * Context: Need to call with vq->mutex acquired.
288 return vq->private_data; in vhost_vq_get_backend()
293 return vq->acked_features & (1ULL << bit); in vhost_has_feature()
298 return vq->acked_backend_features & (1ULL << bit); in vhost_backend_has_feature()
304 return vq->is_le; in vhost_is_little_endian()
309 return virtio_legacy_is_little_endian() || vq->is_le; in vhost_is_little_endian()