gen_pool_virt_to_phys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the gen_pool_virt_to_phys(9) page from the Kernel API Manual πŸ’– this one is short and sweet, but it still ate.

🌸 NAME 🌸

gen_pool_virt_to_phys β€” return the physical address of memory. that's the whole assignment, no cap ✨

✨ SYNOPSIS ✨

phys_addr_t gen_pool_virt_to_phys (struct gen_pool *pool , unsigned long
addr );

🫢 ARGUMENTS 🫢

  • pool β€” pool to allocate from, bestie 🫢
  • addr β€” starting address of memory, iconic behavior honestly

πŸ’… DESCRIPTION πŸ’…

Returns the physical address on success, or -1 on error. that's literally it, no hidden side quest πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./lib/genalloc.c β€” go peek if you're feeling brave 🫢


mwah πŸ’– that was the gen_pool_virt_to_phys(9) page, source/version ./lib, dated October 2026. byeee, go touch some memory 🌈

πŸ“¦ where this page comes from