hl_mmu_hr_alloc_hop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– hl_mmu_hr_alloc_hop(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the hl_mmu_hr_alloc_hop(9) page from the Kernel API Manual ✨ this one is short and sweet, but every detail still matters, so let’s get into it 🫢


πŸŽ€ NAME πŸŽ€

hl_mmu_hr_alloc_hop β€” allocate HOP πŸ’…


🌸 SYNOPSIS 🌸

struct pgt_info * hl_mmu_hr_alloc_hop (struct hl_ctx *ctx , struct
       hl_mmu_hr_priv *hr_priv , struct hl_hr_mmu_funcs *hr_func , struct
       hl_mmu_properties *mmu_prop );

🫢 ARGUMENTS 🫢

  • ctx β€” pointer to the context structure. classic context moment ✨
  • hr_priv β€” host resident private info structure. 🏠
  • hr_func β€” host resident functions. πŸ”§
  • mmu_prop β€” MMU properties. 🧚

πŸ’« DESCRIPTION πŸ’«

On success, this returns the pgt_info structure associated with the allocated HOP. Otherwise? NULL. That’s the whole vibe check 😭 no cap, that’s it.

tiny but important: success gives you the pgt_info structure tied to the allocated HOP; failure gives you NULL.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file:

  • ./drivers/accel/habanalabs/common/mmu/mmu.c

Other iconic manual pages to check out πŸ‘‘:


this lil page’s source/version footer points at ./drivers/accel/habanalabs/com... and the date is October 2026 β€” manual hl_mmu_hr_alloc_hop(9), signing off πŸ’…βœ¨πŸ’–

πŸ“¦ where this page comes from