STRUCT DEV_DAX_RANGE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct dev_dax_range(9) ✨

okay so bestie, welcome to struct dev_dax_range(9) β€” this is the Kernel API Manual entry for a lil struct whose whole personality is being a tuple representing a range of memory used by dev_dax. that's it, that's the vibe πŸŽ€


🌸 NAME 🌸

struct dev_dax_range β€” a tuple representing a range of memory used by dev_dax. literally just a cute little trio of fields holding down one memory range, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

struct dev_dax_range {
    unsigned long pgoff;
    struct range range;
    struct dax_mapping *mapping;
 };

look at her. three members, immaculate energy, not a single wasted line ✨


πŸ‘‘ Members πŸ‘‘

  • pgoff β€” the page offset. yes bestie, the page offset, not the byte offset β€” she's counting in pages πŸ“
  • range β€” the resource-span. this is the actual stretch of memory we're talking about 🌈
  • mapping β€” a reference to the dax_mapping for this range. she knows a guy, and the guy is a dax_mapping πŸ’œ

🧚 SEE ALSO 🧚

  • Kernel file ./drivers/dax/dax-private.h
  • struct dax_region(9)
  • struct dax_mapping(9)
  • struct dev_dax(9)

go read the whole friend group, they're all icons fr fr 🫢


ngl this struct is short and sweet β€” the way she holds pgoff, range and mapping together? main character energy. periodt πŸ’€

and that's the whole page, bestie β€” brought to you from ./drivers/dax on the October 2026 drop. mwah, go forth and range responsibly πŸŒΈπŸ’–β­

πŸ“¦ where this page comes from