Searched defs:zhdr (Results 1 – 3 of 3) sorted by relevance
234 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock()240 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock()246 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock()255 struct z3fold_header *zhdr; in get_z3fold_header() local284 static inline void put_z3fold_header(struct z3fold_header *zhdr) in put_z3fold_header()292 static inline void free_handle(unsigned long handle, struct z3fold_header *zhdr) in free_handle()335 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page() local375 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx()384 static unsigned long __encode_handle(struct z3fold_header *zhdr, in __encode_handle()410 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle()[all …]
155 struct zbud_header *zhdr = page_address(page); in init_zbud_page() local165 static void free_zbud_page(struct zbud_header *zhdr) in free_zbud_page()174 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle()200 static int num_free_chunks(struct zbud_header *zhdr) in num_free_chunks()272 struct zbud_header *zhdr = NULL; in zbud_alloc() local345 struct zbud_header *zhdr; in zbud_free() local418 struct zbud_header *zhdr; in zbud_reclaim_page() local
944 struct zswap_header *zhdr; in zswap_writeback_entry() local1111 struct zswap_header zhdr = { .swpentry = swp_entry(type, offset) }; in zswap_frontswap_store() local