memtype_reserve_io(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

memtype_reserve_io β€” okay so this is the kernel API call that requests a memory type mapping for a region of memory πŸ’…

🌸 SYNOPSIS 🌸

int memtype_reserve_io (resource_size_t start , resource_size_t end ,
       enum page_cache_mode *type );

πŸŽ€ ARGUMENTS πŸŽ€

  • start β€” the start (physical address) of the region, bestie πŸ“
  • end β€” the end (physical address) of the region 🏁
  • type β€” a pointer to memtype, carrying the requested type. On success, you get back the requested type or any other compatible type that was available for the region ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Here’s the whole vibe check: on success, it returns 0 βœ…. On failure, it returns non-zero 😭. That’s literally it, no cap.

πŸ‘‘ SEE ALSO πŸ‘‘


kisses and sparkles 🫢 this page’s source/version is ./arch/x86/mm/pat, and it’s dated October 2026 β€” periodt πŸ’–

πŸ“¦ where this page comes from