__virtio_clear_bit(9)
π
__virtio_clear_bit (section 9, Kernel API Manual) β¨
Okay so bestie, welcome to the group chat for __virtio_clear_bit β a tiny little helper that clears feature bits, and it's specifically for use by transports. That's the whole vibe. It's a behind-the-scenes king, not a main character you call from your random driver, iykyk. π
πΈ NAME πΈ
__virtio_clear_bit β helper to clear feature bits. For use by transports. periodt. π
π¦ SYNOPSIS π¦
void __virtio_clear_bit (struct virtio_device *vdev , unsigned int fbit );
No return value, she's a void, she just does the thing and leaves. π
β¨ ARGUMENTS β¨
vdevβ the device π«Ά like, the actualstruct virtio_deviceyou're working on, the whole point of the operationfbitβ the feature bit π₯ the specific one you want cleared, anunsigned int, no cap
That's it. Two args. Lowkey elegant, highkey essential. π
π§ SEE ALSO π§
All her besties live in the kernel file ./include/linux/virtio_config.h:
struct virtqueue_info(9)struct virtio_config_ops(9)struct virtio_map_ops(9)__virtio_test_bit(9)__virtio_set_bit(9)virtio_has_feature(9)virtio_has_dma_quirk(9)virtio_synchronize_cbs(9)virtio_device_ready(9)virtqueue_set_affinity(9)
Like, go read them too, the whole squad is iconic. π
π cute lil sign-off π
This masterpiece comes to you from ./include/linux, dated October 2026, and the page is literally called __virtio_clear_bit(9) β that's the whole branding, we love a consistent queen. πβ¨π
π¦ 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