virtsnd_pcm_find(9)
π
virtsnd_pcm_find(9) π
okay so bestie, welcome to the virtsnd_pcm_find(9) page from the Kernel API Manual. this one is literally about finding the PCM device for the specified node ID, and it is giving very βquick little lookupβ energy. β¨
π NAME π
virtsnd_pcm_find β Find the PCM device for the specified node ID.
β¨ SYNOPSIS β¨
struct virtio_pcm * virtsnd_pcm_find (struct virtio_snd *snd , u32 nid
);
πΈ ARGUMENTS πΈ
sndβ the VirtIO sound device. that's the sound-device bestie we're working with.nidβ the Function node ID. it's the ID for the function node, no cap.
π« CONTEXT π«
Any context. so like⦠any context, bestie. no restrictions on where you call it, fr fr.
π₯ RETURN π₯
a pointer to the PCM device or ERR_PTR(-ENOENT). that's it, that's the return vibe. π
π¦ SEE ALSO π¦
the kernel file is ./sound/virtio/virtio_pcm.c, and the whole related-functions squad is:
virtsnd_pcm_build_hw(9)virtsnd_pcm_find_or_create(9)virtsnd_pcm_validate(9)virtsnd_pcm_period_elapsed(9)virtsnd_pcm_parse_cfg(9)virtsnd_pcm_build_devs(9)virtsnd_pcm_event(9)
okay that's the page! π«Ά it's from source/version./sound/virtio, dated October 2026, and yes the manual page isvirtsnd_pcm_find(9). mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms