virtsnd_ctl_msg_send(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… virtsnd_ctl_msg_send(9) β€” Kernel API Manual ✨

πŸ’– NAME πŸ’–

virtsnd_ctl_msg_send β€” send a control message. That’s the whole assignment, bestie: control message goes send. Slay.

πŸŽ€ SYNOPSIS πŸŽ€

int virtsnd_ctl_msg_send (struct virtio_snd *snd , struct virtio_snd_msg
*msg , struct scatterlist *out_sgs , struct scatterlist *in_sgs , bool
nowait );

🌸 ARGUMENTS 🌸

  • snd β€” VirtIO sound device. Like, the device you’re doing the thing with.
  • msg β€” Control message. The message itself, no cap.
  • out_sgs β€” Additional sg-list to attach to the request header (may be NULL). Yes, NULL is allowed here.
  • in_sgs β€” Additional sg-list to attach to the response header (may be NULL). Also allowed to be NULL, periodt.
  • nowait β€” Flag indicating whether to wait for completion. That’s the whole vibe of this flag.

πŸ¦‹ CONTEXT πŸ¦‹

Any context β€” literally any. It takes and releases the control queue spinlock. It may sleep if nowait is false, so that’s the sleepy lil detail to keep in your brain 🧠✨.

πŸ”₯ RETURN πŸ”₯

0 on success, -errno on failure. Clean and simple, iykyk.

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ and that’s the page, bestie! Source/version: ./sound/virtio; date: October 2026; page name: virtsnd_ctl_msg_send(9). Obsessed πŸ«ΆπŸ’–

πŸ“¦ where this page comes from