Home
last modified time | relevance | path

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

/arch/s390/include/asm/
Dpage.h105 unsigned char skey, int mapped) in page_set_storage_key() argument
109 : : "d" (skey), "a" (addr)); in page_set_storage_key()
111 asm volatile("sske %0,%1" : : "d" (skey), "a" (addr)); in page_set_storage_key()
116 unsigned char skey; in page_get_storage_key() local
118 asm volatile("iske %0,%1" : "=d" (skey) : "a" (addr)); in page_get_storage_key()
119 return skey; in page_get_storage_key()
Dsclp.h36 u8 skey : 1; member
/arch/s390/mm/
Dpgtable.c159 unsigned long address, bits, skey; in pgste_update_all() local
164 skey = (unsigned long) page_get_storage_key(address); in pgste_update_all()
165 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in pgste_update_all()
170 pgste_val(pgste) |= (skey & (_PAGE_ACC_BITS | _PAGE_FP_BIT)) << 56; in pgste_update_all()
797 unsigned long bits, skey; in set_guest_storage_key() local
800 skey = (unsigned long) page_get_storage_key(paddr); in set_guest_storage_key()
801 bits = skey & (_PAGE_CHANGED | _PAGE_REFERENCED); in set_guest_storage_key()
802 skey = key & (_PAGE_ACC_BITS | _PAGE_FP_BIT); in set_guest_storage_key()
804 page_set_storage_key(paddr, skey, !nq); in set_guest_storage_key()
Dpageattr.c15 static inline unsigned long sske_frame(unsigned long addr, unsigned char skey) in sske_frame() argument
18 : [addr] "+a" (addr) : [skey] "d" (skey)); in sske_frame()
/arch/powerpc/include/asm/
Dkvm_book3s_64.h466 unsigned long skey; in hpte_get_skey_perm() local
468 skey = ((hpte_r & HPTE_R_KEY_HI) >> 57) | in hpte_get_skey_perm()
470 return (amr >> (62 - 2 * skey)) & 3; in hpte_get_skey_perm()