__virtio_test_bit(9)
π 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:
struct virtqueue_info(9)struct virtio_config_ops(9)struct virtio_map_ops(9)__virtio_set_bit(9)__virtio_clear_bit(9)virtio_has_feature(9)virtio_has_dma_quirk(9)virtio_synchronize_cbs(9)virtio_device_ready(9)virtqueue_set_affinity(9)
signed off from ./include/linux, dated October 2026 π«Άβ¨
π¦ 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