hl_mmu_hr_put_pte(9)
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:
hl_mmu_get_funcs(9)hl_mmu_init(9)hl_mmu_fini(9)hl_mmu_ctx_init(9)hl_mmu_scramble_addr(9)hl_mmu_descramble_addr(9)hl_mmu_get_hop_pte_phys_addr(9)hl_mmu_hr_pool_destroy(9)hl_mmu_hr_init(9)hl_mmu_hr_fini(9)hl_mmu_hr_free_hop_remove_pgt(9)hl_mmu_hr_pte_phys_to_virt(9)hl_mmu_hr_write_pte(9)hl_mmu_hr_clear_pte(9)hl_mmu_hr_get_pte(9)hl_mmu_hr_get_next_hop_pgt_info(9)hl_mmu_hr_alloc_hop(9)hl_mmu_hr_get_alloc_next_hop(9)hl_mmu_hr_get_tlb_info(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms