dma_resv_is_locked(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dma_resv_is_locked(9)

okay so bestie, welcome to the Kernel API Manual ✨ β€” this little angel lives in section 9 of the kernel docs and it's literally just a vibe check for a reservation object πŸŽ€


✨ NAME ✨

dma_resv_is_locked β€” is the reservation object locked πŸ‘€


🌸 SYNOPSIS 🌸

bool dma_resv_is_locked (struct dma_resv *obj );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • obj β€” the reservation object πŸ’– (yes that's the whole argument list, she's low maintenance)

🌈 DESCRIPTION 🌈

Returns true if the mutex is locked, false if unlocked. That's it, that's the whole tea β˜• no cap, she just tells you the status and dips 🧚


⭐ SEE ALSO ⭐

Kernel file ./include/linux/dma-resv.h β€” and the whole squad of associated pages, fr fr:


πŸ’€ reminder bestie: this page is the read-only one. It tells you whether the mutex is locked β€” it does not lock anything for you. For the actual locking behaviour go read the dma_resv_lock(9) crew above, iykyk 🫢

and that's the whole page, slay ✨ she was written up in October 2026 and she ships out of ./include/linux β€” iconic, no notes πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from