Lines Matching +full:ctx +full:- +full:asid
1 /* SPDX-License-Identifier: GPL-2.0 */
88 struct eventfd_ctx *ctx; member
162 /* Ring endianness requested by userspace for cross-endian support. */
204 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
212 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
278 if ((vq)->error_ctx) \
279 eventfd_signal((vq)->error_ctx);\
292 * vhost_vq_set_backend - Set backend.
297 * Context: Need to call with vq->mutex acquired.
302 vq->private_data = private_data; in vhost_vq_set_backend()
306 * vhost_vq_get_backend - Get backend.
310 * Context: Need to call with vq->mutex acquired.
315 return vq->private_data; in vhost_vq_get_backend()
320 return virtio_features_test_bit(vq->acked_features_array, bit); in vhost_has_feature()
325 return vq->acked_backend_features & (1ULL << bit); in vhost_backend_has_feature()
331 return vq->is_le; in vhost_is_little_endian()
336 return virtio_legacy_is_little_endian() || vq->is_le; in vhost_is_little_endian()