virtqueue_map_free_coherent(9)
π
virtqueue_map_free_coherent(9) π
okay bestie, welcome to the Kernel API Manual page for virtqueue_map_free_coherent(9) β and yes, weβre gonna make it make sense. β¨ Itβs giving βtiny cleanup function with main character energy,β and weβre obsessed. π«Ά
π NAME π
virtqueue_map_free_coherent β free coherent mapping. literally the whole name, no cap. π
β¨ SYNOPSIS β¨
the signature, untouched, because we do not play games with code:
void virtqueue_map_free_coherent (struct virtio_device *vdev , union
virtio_map map , size_t size , void *vaddr , dma_addr_t map_handle );
π ARGUMENTS π
vdevβ the virtio device we are talking to, bestie. thatβs the main character right there. πmapβ metadata for performing mapping. itβs the little helper-info situation for the mapping, iykyk. β¨sizeβ the size of the buffer. yes, the actual size, no cap. πvaddrβ the virtual address that needs to be freed. bye bestie, youβre getting the free treatment. πmap_handleβ the mapped address that needs to be freed. also getting the free treatment, slay. π«Ά
π¦ SEE ALSO π¦
Kernel file: ./drivers/virtio/virtio_ring.c β and the whole iconic virtio squad is here too:
virtqueue_add_sgs(9)virtqueue_add_outbuf(9)virtqueue_add_outbuf_premapped(9)virtqueue_add_inbuf(9)virtqueue_add_inbuf_cache_clean(9)virtqueue_add_inbuf_ctx(9)virtqueue_add_inbuf_premapped(9)virtqueue_dma_dev(9)virtqueue_kick_prepare(9)virtqueue_notify(9)virtqueue_kick(9)virtqueue_get_buf_ctx(9)virtqueue_disable_cb(9)virtqueue_enable_cb_prepare(9)virtqueue_poll(9)virtqueue_enable_cb(9)virtqueue_enable_cb_delayed(9)virtqueue_detach_unused_buf(9)vring_interrupt(9)virtqueue_resize(9)virtqueue_reset(9)virtqueue_get_vring_size(9)virtqueue_map_alloc_coherent(9)virtqueue_map_page_attrs(9)virtqueue_unmap_page_attrs(9)virtqueue_map_single_attrs(9)virtqueue_unmap_single_attrs(9)virtqueue_map_mapping_error(9)virtqueue_map_need_sync(9)virtqueue_map_sync_single_range_for_cpu(9)virtqueue_map_sync_single_range_for_device(9)
π«Ά thatβs the whole page, bestie! source/version: ./drivers/virtio / virtqueue_map_free_coherent(9); date: October 2026. 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