Home
last modified time | relevance | path

Searched refs:tag_storage (Results 1 – 3 of 3) sorted by relevance

/arch/arm64/mm/
Dmteswap.c25 void *tag_storage, *ret; in mte_save_tags() local
30 tag_storage = mte_allocate_tag_storage(); in mte_save_tags()
31 if (!tag_storage) in mte_save_tags()
34 mte_save_page_tags(page_address(page), tag_storage); in mte_save_tags()
37 ret = xa_store(&mte_pages, page_private(page), tag_storage, GFP_KERNEL); in mte_save_tags()
39 mte_free_tag_storage(tag_storage); in mte_save_tags()
/arch/arm64/kernel/
Dhibernate.c249 void *tag_storage, *ret; in save_tags() local
251 tag_storage = mte_allocate_tag_storage(); in save_tags()
252 if (!tag_storage) in save_tags()
255 mte_save_page_tags(page_address(page), tag_storage); in save_tags()
257 ret = xa_store(&mte_pages, pfn, tag_storage, GFP_KERNEL); in save_tags()
259 mte_free_tag_storage(tag_storage); in save_tags()
/arch/arm64/include/asm/
Dmte.h27 void mte_save_page_tags(const void *page_addr, void *tag_storage);
29 void mte_restore_page_tags(void *page_addr, const void *tag_storage);