Home
last modified time | relevance | path

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

/arch/s390/include/asm/
Dpage.h129 unsigned char skey, int mapped) in page_set_storage_key() argument
133 : : "d" (skey), "a" (addr)); in page_set_storage_key()
135 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key()
140 unsigned char skey; in page_get_storage_key() local
142 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key()
143 return skey; in page_get_storage_key()
Dsclp.h43 u8 skey : 1; member
/arch/s390/mm/
Dpgtable.c177 unsigned long address, bits, skey; in pgste_update_all() local
182 skey = (unsigned long) page_get_storage_key(address); in pgste_update_all()
183 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in pgste_update_all()
188 pgste_val(pgste) |= (skey & (_PAGE_ACC_BITS | _PAGE_FP_BIT)) << 56; in pgste_update_all()
862 unsigned long bits, skey; in set_guest_storage_key() local
865 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key()
866 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key()
867 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key()
869 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
Dpageattr.c17 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() argument
20 : [addr] "+a" (addr) : [skey] "d" (skey)); in sske_frame()
/arch/powerpc/include/asm/
Dkvm_book3s_64.h468 unsigned long skey; in hpte_get_skey_perm() local
470 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
472 return (amr >> (62 - 2 * skey)) & 3; in hpte_get_skey_perm()