inode_dax(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… inode_dax β€” Kernel API Manual (section 9)

okay so welcome to inode_dax(9), bestie β€” a whole Kernel API Manual page, section 9, dedicated to one (1) little function. she's small, she's specific, she's iconic. let's get into it 🫢


✨ NAME ✨

inode_dax β€” convert a public inode into its dax_dev

like, that's the whole job. in β†’ out. an inode walks in, a dax_dev walks out. slay πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dax_device * inode_dax (struct inode *inode );

yes that's the signature, copy-pasted exactly, no I will not be reformatting it, she is perfect as she is 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • inode β€” an inode with i_cdev pointing to a dax_dev πŸ‘‘ that's the vibe check. if your inode's i_cdev isn't pointing at a dax_dev, this function is not for you, bestie.

🌸 DESCRIPTION 🌸

okay so here's the tea: this converts a public inode into its dax_dev, periodt.

but β€” and this is the important part, don't skip it πŸ™ˆ β€” this is not equivalent to to_dax_dev. to_dax_dev is for private internal use, the kind of situation where we already know the inode filesystem type == dax_fs_type. so like, they are not the same thing, not interchangeable, don't @ me, the manpage literally says so 😭

lowkey the whole point of this paragraph is the warning: public inode β†’ inode_dax. private/internal + known dax_fs_type β†’ to_dax_dev. keep them straight, iykyk πŸ’€

🌈 SEE ALSO 🌈

the whole dax friend group, honestly 🧚 go read them, they're all connected, it's giving lore πŸ’œ


that's the page!! no cap, that's genuinely everything ✨

source ./drivers/dax, dated October 2026, and yeah β€” it's inode_dax(9), still the main character of this entire manpage πŸ’– bye bestie, go convert some inodes πŸŽ€

πŸ“¦ where this page comes from