Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpurgeable.c35 #define uxpte_refcnt(uxpte) ((uxpte) >> UXPTE_PRESENT_BIT) argument
36 #define uxpte_present(uxpte) ((uxpte) & UXPTE_PRESENT_MASK) argument
38 static inline long uxpte_read(struct uxpte_t *uxpte) in uxpte_read() argument
40 return atomic64_read(&uxpte->val); in uxpte_read()
43 static inline void uxpte_set(struct uxpte_t *uxpte, long val) in uxpte_set() argument
45 atomic64_set(&uxpte->val, val); in uxpte_set()
48 static inline bool uxpte_cas(struct uxpte_t *uxpte, long old, long new) in uxpte_cas() argument
50 return atomic64_cmpxchg(&uxpte->val, old, new) == old; in uxpte_cas()
141 struct uxpte_t *uxpte = NULL; in lookup_uxpte() local
147 uxpte = page_to_virt(page); in lookup_uxpte()
[all …]