* Tell the backend not to interrupt us. Implementation for packed virtqueues. */
| 317 | * Tell the backend not to interrupt us. Implementation for packed virtqueues. |
| 318 | */ |
| 319 | static inline void |
| 320 | virtqueue_disable_intr_packed(struct virtqueue *vq) |
| 321 | { |
| 322 | if (vq->vq_packed.event_flags_shadow != RING_EVENT_FLAGS_DISABLE) { |
| 323 | vq->vq_packed.event_flags_shadow = RING_EVENT_FLAGS_DISABLE; |
| 324 | vq->vq_packed.ring.driver->desc_event_flags = |
| 325 | vq->vq_packed.event_flags_shadow; |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | /** |
| 330 | * Tell the backend not to interrupt us. Implementation for split virtqueues. |
no outgoing calls
no test coverage detected