Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dz3fold.c68 struct z3fold_header { struct
96 #define ZHDR_SIZE_ALIGNED round_up(sizeof(struct z3fold_header), CHUNK_SIZE) argument
167 static struct z3fold_header *init_z3fold_page(struct page *page, in init_z3fold_page()
170 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page()
200 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock()
206 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock()
212 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock()
221 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle()
232 static struct z3fold_header *handle_to_z3fold_header(unsigned long handle) in handle_to_z3fold_header()
234 return (struct z3fold_header *)(handle & PAGE_MASK); in handle_to_z3fold_header()
[all …]