Lines Matching +full:ctx +full:- +full:asid
1 /* SPDX-License-Identifier: GPL-2.0 */
76 struct eventfd_ctx *ctx; member
147 /* Ring endianness requested by userspace for cross-endian support. */
179 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
187 int (*msg_handler)(struct vhost_dev *dev, u32 asid,
252 if ((vq)->error_ctx) \
253 eventfd_signal((vq)->error_ctx);\
266 * vhost_vq_set_backend - Set backend.
271 * Context: Need to call with vq->mutex acquired.
276 vq->private_data = private_data; in vhost_vq_set_backend()
280 * vhost_vq_get_backend - Get backend.
284 * Context: Need to call with vq->mutex acquired.
289 return vq->private_data; in vhost_vq_get_backend()
294 return vq->acked_features & (1ULL << bit); in vhost_has_feature()
299 return vq->acked_backend_features & (1ULL << bit); in vhost_backend_has_feature()
305 return vq->is_le; in vhost_is_little_endian()
310 return virtio_legacy_is_little_endian() || vq->is_le; in vhost_is_little_endian()