dax_lock_folio(9)
π¦ dax_lock_folio(9) β Kernel API Manual π¦
okay so bestie, this is the dax_lock_folio page from the Kernel API Manual, and itβs giving βtiny but importantβ energy. letβs get into it. π
β¨ NAME β¨
dax_lock_folio β Lock the DAX entry corresponding to a folio. slay, thatβs the whole name section. π
π SYNOPSIS π
dax_entry_t dax_lock_folio (struct folio *folio );
thatβs the signature, exactly as written. no edits, no βfixingβ the spacing, no cap. π«Ά
π ARGUMENTS π
folioβ The folio whose entry we want to lock. thatβs the one, bestie. π¦
πΈ CONTEXT πΈ
Process context. thatβs it, thatβs the context. β¨
π₯ RETURN π₯
A cookie to pass to dax_unlock_folio, or 0 if the entry could not be locked. so yeah β cookie means youβre in business, 0 means that entry could not be locked. π
π SEE ALSO π
Kernel file ./fs/dax.c, plus the whole friend group:
enum dax_wake_mode(9)dax_folio_reset_order(9)dax_layout_busy_page_range(9)dax_iomap_copy_around(9)dax_iomap_rw(9)dax_fault_iter(9)dax_iomap_fault(9)dax_finish_sync_fault(9)
bye bestie π«Ά this page comes from ./fs, dated October 2026, and itβs all about dax_lock_folio(9) β periodt. πβ¨
π¦ 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