iopf_queue_discard_partial(9)
π iopf_queue_discard_partial(9) π
okay bestie, this page is straight from the Kernel API Manual, and itβs short, sweet, and lowkey important. Letβs get into it β¨
β¨ NAME β¨
iopf_queue_discard_partial β Remove all pending partial fault π
π SYNOPSIS π
int iopf_queue_discard_partial (struct iopf_queue *queue );
π¦ ARGUMENTS π¦
queueβ the queue whose partial faults need to be discarded π«Ά
πΈ DESCRIPTION πΈ
okay so picture this: the hardware queue overflows π and the last page faults in a group may have been lost. When that happens, the IOMMU driver calls this function to discard all partial faults. Slay, cleanup time π
bestie, important: the driver shouldnβt be adding new faults to this queue concurrently. fr fr, donβt do that π
π RETURN π
Returns 0 on success and <0 on error. Thatβs it, thatβs the vibe check β¨
π SEE ALSO π
Kernel file ./drivers/iommu/io-pgfault.c π
iommu_report_device_fault(9)iopf_queue_flush_dev(9)iopf_group_response(9)iopf_group_dequeue(9)iopf_queue_add_device(9)iopf_queue_remove_device(9)iopf_queue_alloc(9)iopf_queue_free(9)
made with π from the ./drivers/iommu source, Kernel API Manual, October 2026 β iopf_queue_discard_partial(9) πβ¨
π¦ 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