Home
last modified time | relevance | path

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

/linux-6.6.21/arch/s390/mm/
Dpgtable.c145 static inline void pgste_set_unlock(pte_t *ptep, pgste_t pgste) in pgste_set_unlock() argument
152 : "d" (pgste_val(pgste)), "Q" (ptep[PTRS_PER_PTE]) in pgste_set_unlock()
159 unsigned long pgste = 0; in pgste_get() local
161 pgste = *(unsigned long *)(ptep + PTRS_PER_PTE); in pgste_get()
163 return __pgste(pgste); in pgste_get()
166 static inline void pgste_set(pte_t *ptep, pgste_t pgste) in pgste_set() argument
169 *(pgste_t *)(ptep + PTRS_PER_PTE) = pgste; in pgste_set()
173 static inline pgste_t pgste_update_all(pte_t pte, pgste_t pgste, in pgste_update_all() argument
180 return pgste; in pgste_update_all()
185 pgste_val(pgste) |= bits << 48; /* GR bit & GC bit */ in pgste_update_all()
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dpage.h84 typedef struct { unsigned long pgste; } pgste_t; member
93 #define pgste_val(x) ((x).pgste)
/linux-6.6.21/tools/testing/selftests/kvm/
DMakefile229 pgste-option = $(call try-run, echo 'int main(void) { return 0; }' | \
230 $(CC) -Werror -Wl$(comma)--s390-pgste -x c - -o "$$TMP",-Wl$(comma)--s390-pgste)
233 LDFLAGS += -pthread $(no-pie-option) $(pgste-option)