Home
last modified time | relevance | path

Searched refs:hr_priv (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/mmu/
H A Dmmu.c764 * @hr_priv: MMU HR private data.
772 static void hl_mmu_hr_pool_destroy(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, in hl_mmu_hr_pool_destroy() argument
776 struct gen_pool **pool = &hr_priv->mmu_pgt_pool; in hl_mmu_hr_pool_destroy()
784 if (hr_priv->mmu_asid_hop0) { in hl_mmu_hr_pool_destroy()
786 hop0_pgt = &hr_priv->mmu_asid_hop0[asid]; in hl_mmu_hr_pool_destroy()
807 * @hr_priv: MMU HR private data.
817 int hl_mmu_hr_init(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size, in hl_mmu_hr_init() argument
833 hr_priv->mmu_pgt_pool = gen_pool_create(PAGE_SHIFT, -1); in hl_mmu_hr_init()
834 if (ZERO_OR_NULL_PTR(hr_priv->mmu_pgt_pool)) { in hl_mmu_hr_init()
839 hr_priv in hl_mmu_hr_init()
903 hl_mmu_hr_fini(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size) hl_mmu_hr_fini() argument
926 hl_mmu_hr_free_hop_remove_pgt(struct pgt_info *pgt_info, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size) hl_mmu_hr_free_hop_remove_pgt() argument
998 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) hl_mmu_hr_put_pte() argument
1057 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) hl_mmu_hr_alloc_hop() argument
1124 hl_mmu_hr_get_alloc_next_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, u64 curr_pte, bool *is_new_hop) hl_mmu_hr_get_alloc_next_hop() argument
[all...]
/kernel/linux/linux-6.6/net/handshake/
H A Dhandshake.h39 char hr_priv[]; member
H A Drequest.c123 req = kzalloc(struct_size(req, hr_priv, proto->hp_privsize), flags); in handshake_req_alloc()
140 return (void *)&req->hr_priv; in handshake_req_private()
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/
H A Dhabanalabs.h3778 int hl_mmu_hr_init(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size,
3780 void hl_mmu_hr_fini(struct hl_device *hdev, struct hl_mmu_hr_priv *hr_priv, u32 hop_table_size);
3781 void hl_mmu_hr_free_hop_remove_pgt(struct pgt_info *pgt_info, struct hl_mmu_hr_priv *hr_priv,
3789 int hl_mmu_hr_put_pte(struct hl_ctx *ctx, struct pgt_info *pgt_info, struct hl_mmu_hr_priv *hr_priv,
3795 struct pgt_info *hl_mmu_hr_alloc_hop(struct hl_ctx *ctx, struct hl_mmu_hr_priv *hr_priv,
3799 struct hl_mmu_hr_priv *hr_priv,

Completed in 11 milliseconds