swiotlb_del_transient(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… swiotlb_del_transient (9) β€” Kernel API Manual πŸŽ€

okay so bestie, we're in the Kernel API Manual today and the star of the show is swiotlb_del_transient ✨ it's a little function that's like "hey, is this address part of a transient memory pool? if yes, delete it, bye πŸ’…" β€” honestly iconic behavior, no cap.


🌸 NAME 🌸

swiotlb_del_transient β€” delete a transient memory pool πŸ—‘οΈβœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool swiotlb_del_transient (struct device *dev , phys_addr_t tlb_addr ,
       struct io_tlb_pool *pool );

returns a bool, takes three args, that's the whole vibe πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the struct device * that mapped the buffer, like the main character of this whole situation 🫢
  • tlb_addr β€” a phys_addr_t, and it's the physical address sitting inside a bounce buffer πŸ“
  • pool β€” a pointer to the transient memory pool that's gonna get checked and then (spoiler 🫒) deleted, struct io_tlb_pool * energy πŸ’€

πŸ‘‘ DESCRIPTION πŸ‘‘

so what it does is literally this: it checks whether the address actually belongs to a transient SWIOTLB memory pool 🧚 and if yes?? then it deletes the pool. periodt. that's the lore πŸ’…


⭐ RETURN ⭐

it returns true if tlb_addr belonged to a transient pool that was released πŸŽ‰ (so like, true = we found it and let it go, false = not our girl πŸ™ˆ)


🌈 SEE ALSO 🌈

buckle up bestie, this is a long one 🫢 the kernel file lives at ./kernel/dma/swiotlb.c and it's giving family reunion:

like I said. whole friend group. iykyk πŸ’–


fr fr don't sleep on reading those, they're all lowkey part of the same story πŸ¦‹

and that's the page!! πŸŽ€ brought to you from ./kernel/dma 🌸 dated October 2026 ⭐ and yeah the page is literally called swiotlb_del_transient(9) β€” mwah, slay, goodbye bestie πŸ’œβœ¨

πŸ“¦ where this page comes from