Searched refs:pgt_entry (Results 1 – 2 of 2) sorted by relevance
119 pgt_entry = kzalloc(sizeof(*pgt_entry), GFP_KERNEL); in mlxsw_sp_pgt_entry_create()120 if (!pgt_entry) in mlxsw_sp_pgt_entry_create()130 pgt_entry->index = mid; in mlxsw_sp_pgt_entry_create()132 return pgt_entry; in mlxsw_sp_pgt_entry_create()135 kfree(pgt_entry); in mlxsw_sp_pgt_entry_create()144 pgt_entry = idr_replace(&pgt->pgt_idr, NULL, pgt_entry->index); in mlxsw_sp_pgt_entry_destroy()148 kfree(pgt_entry); in mlxsw_sp_pgt_entry_destroy()157 if (pgt_entry) in mlxsw_sp_pgt_entry_get()158 return pgt_entry; in mlxsw_sp_pgt_entry_get()168 if (WARN_ON(!pgt_entry)) in mlxsw_sp_pgt_entry_put()[all …]
409 enum pgt_entry { enum421 static __always_inline unsigned long get_extent(enum pgt_entry entry, in get_extent()458 static bool move_pgt_entry(enum pgt_entry entry, struct vm_area_struct *vma, in move_pgt_entry()
Completed in 7 milliseconds