Home
last modified time | relevance | path

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

/linux/arch/s390/mm/
H A Dpgtable.c140 static inline void pgste_set_unlock(pte_t *ptep, pgste_t pgste) in pgste_set_unlock() argument
144 WRITE_ONCE(*(unsigned long *)(ptep + PTRS_PER_PTE), pgste_val(pgste) & ~PGSTE_PCL_BIT); in pgste_set_unlock()
150 unsigned long pgste = 0; in pgste_get() local
152 pgste = *(unsigned long *)(ptep + PTRS_PER_PTE); in pgste_get()
154 return __pgste(pgste); in pgste_get()
157 static inline void pgste_set(pte_t *ptep, pgste_t pgste) in pgste_set() argument
160 *(pgste_t *)(ptep + PTRS_PER_PTE) = pgste; in pgste_set()
164 static inline pgste_t pgste_update_all(pte_t pte, pgste_t pgste, in pgste_update_all() argument
171 return pgste; in pgste_update_all()
176 pgste_val(pgste) |= bits << 48; /* GR bit & GC bit */ in pgste_update_all()
[all …]
/linux/tools/testing/selftests/kvm/
H A DMakefile277 pgste-option = $(call try-run, echo 'int main(void) { return 0; }' | \
278 $(CC) -Werror -Wl$(comma)--s390-pgste -x c - -o "$$TMP",-Wl$(comma)--s390-pgste)
281 LDFLAGS += -pthread $(no-pie-option) $(pgste-option)
/linux/arch/s390/include/asm/
H A Dpage.h84 typedef struct { unsigned long pgste; } pgste_t; member
93 #define pgste_val(x) ((x).pgste)