Home
last modified time | relevance | path

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

/linux-6.12.1/arch/arm64/mm/
Dmem_encrypt.c23 static const struct arm64_mem_crypt_ops *crypt_ops; variable
27 if (WARN_ON(crypt_ops)) in arm64_mem_crypt_ops_register()
30 crypt_ops = ops; in arm64_mem_crypt_ops_register()
36 if (likely(!crypt_ops) || WARN_ON(!PAGE_ALIGNED(addr))) in set_memory_encrypted()
39 return crypt_ops->encrypt(addr, numpages); in set_memory_encrypted()
45 if (likely(!crypt_ops) || WARN_ON(!PAGE_ALIGNED(addr))) in set_memory_decrypted()
48 return crypt_ops->decrypt(addr, numpages); in set_memory_decrypted()