kmemleak_alloc_phys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is the kmemleak_alloc_phys(9) page from the Kernel API Manual, and it’s basically giving β€œkmemleak_alloc walked in wearing a physical-address outfit” πŸ’…βœ¨

πŸ’– NAME πŸ’–

kmemleak_alloc_phys β€” similar to kmemleak_alloc but taking a physical address argument. that’s the whole vibe, no cap 🫢

🌸 SYNOPSIS 🌸

void __ref kmemleak_alloc_phys (phys_addr_t phys , size_t size , gfp_t
       gfp );

πŸŽ€ ARGUMENTS πŸŽ€

  • phys β€” physical address of the object πŸ’–
  • size β€” size of the object ✨
  • gfp β€” kmalloc flags used for kmemleak internal memory allocations πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./mm/kmemleak.c is the spot, and here’s the whole related-call squad:

with love from ./mm β€” October 2026 version β€” kmemleak_alloc_phys(9) πŸ’œπŸ‘‘

πŸ“¦ where this page comes from