hl_mmu_hr_put_pte(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

omg hi bestie πŸ’– welcome to hl_mmu_hr_put_pte(9), straight outta the Kernel API Manual. no cap, this page is smol, but every single detail is staying. periodt.

πŸŽ€ NAME πŸŽ€

hl_mmu_hr_put_pte β€” put HR PTE and remove it if necessary (no more PTEs). it's giving exactly what it says on the label ✨

✨ SYNOPSIS ✨

okay bestie, here's the exact signature β€” copy it with your whole chest:

int hl_mmu_hr_put_pte (struct hl_ctx *ctx , struct pgt_info *pgt_info ,
struct hl_mmu_hr_priv *hr_priv , u32 hop_table_size );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctx β€” pointer to the context structure. the main character context, iykyk.
  • pgt_info β€” HOP's page table info structure. literally the HOP’s page table info.
  • hr_priv β€” HR MMU private info. private info stays private πŸ”’
  • hop_table_size β€” HOP table size. the size of the HOP table, no notes.

πŸ’… DESCRIPTION πŸ’…

it returns the number of PTEs still in the HOP. that’s the whole vibe β€” the return value is literally that number, bestie 🫢

🌈 SEE ALSO 🌈

Kernel file: ./drivers/accel/habanalabs/common/mmu/mmu.c

and the whole bestie lineup:


okay that’s the whole page, bestie πŸ’œ source/version check: ./drivers/accel/habanalabs/com... Β· date: October 2026 Β· page: hl_mmu_hr_put_pte(9). slay & bye βœ¨πŸ’…

πŸ“¦ where this page comes from