Searched refs:pgste (Results 1 – 3 of 3) sorted by relevance
140 static inline void pgste_set_unlock(pte_t *ptep, pgste_t pgste) in pgste_set_unlock() argument144 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() local152 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() argument160 *(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() argument171 return pgste; in pgste_update_all()176 pgste_val(pgste) |= bits << 48; /* GR bit & GC bit */ in pgste_update_all()[all …]
277 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)
84 typedef struct { unsigned long pgste; } pgste_t; member93 #define pgste_val(x) ((x).pgste)