__virtio_test_bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so __virtio_test_bit is literally the helper to test feature bits β€” for use by transports, bestie. And a heads-up: devices should normally use virtio_has_feature, which includes more checks. This is the Kernel API Manual entry for __virtio_test_bit(9), and yes, it ate. πŸ’–


✨ SYNOPSIS ✨

bool __virtio_test_bit (const struct virtio_device *vdev , unsigned int
       fbit );

πŸŽ€ ARGUMENTS πŸŽ€

  • vdev β€” the device. that's the whole vibe.
  • fbit β€” the feature bit. iconic little detail, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./include/linux/virtio_config.h, plus the whole friend group:


signed off from ./include/linux, dated October 2026 🫢✨

πŸ“¦ where this page comes from