Searched defs:zhdr (Results 1 – 5 of 5) sorted by relevance
| /kernel/linux/linux-6.6/mm/ |
| D | z3fold.c | 221 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock() 227 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock() 233 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock() 242 struct z3fold_header *zhdr; in get_z3fold_header() local 271 static inline void put_z3fold_header(struct z3fold_header *zhdr) in put_z3fold_header() 279 static inline void free_handle(unsigned long handle, struct z3fold_header *zhdr) in free_handle() 322 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page() local 361 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx() 370 static unsigned long __encode_handle(struct z3fold_header *zhdr, in __encode_handle() 396 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle() [all …]
|
| D | zbud.c | 138 struct zbud_header *zhdr = page_address(page); in init_zbud_page() local 146 static void free_zbud_page(struct zbud_header *zhdr) in free_zbud_page() 155 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle() 181 static int num_free_chunks(struct zbud_header *zhdr) in num_free_chunks() 250 struct zbud_header *zhdr = NULL; in zbud_alloc() local 313 struct zbud_header *zhdr; in zbud_free() local
|
| /kernel/linux/linux-5.10/mm/ |
| D | z3fold.c | 239 static inline void z3fold_page_lock(struct z3fold_header *zhdr) in z3fold_page_lock() 245 static inline int z3fold_page_trylock(struct z3fold_header *zhdr) in z3fold_page_trylock() 251 static inline void z3fold_page_unlock(struct z3fold_header *zhdr) in z3fold_page_unlock() 261 struct z3fold_header *zhdr; in __get_z3fold_header() local 298 static inline void put_z3fold_header(struct z3fold_header *zhdr) in put_z3fold_header() 306 static inline void free_handle(unsigned long handle, struct z3fold_header *zhdr) in free_handle() 400 struct z3fold_header *zhdr = page_address(page); in init_z3fold_page() local 446 static inline int __idx(struct z3fold_header *zhdr, enum buddy bud) in __idx() 455 static unsigned long __encode_handle(struct z3fold_header *zhdr, in __encode_handle() 481 static unsigned long encode_handle(struct z3fold_header *zhdr, enum buddy bud) in encode_handle() [all …]
|
| D | zbud.c | 242 struct zbud_header *zhdr = page_address(page); in init_zbud_page() local 252 static void free_zbud_page(struct zbud_header *zhdr) in free_zbud_page() 261 static unsigned long encode_handle(struct zbud_header *zhdr, enum buddy bud) in encode_handle() 287 static int num_free_chunks(struct zbud_header *zhdr) in num_free_chunks() 359 struct zbud_header *zhdr = NULL; in zbud_alloc() local 432 struct zbud_header *zhdr; in zbud_free() local 505 struct zbud_header *zhdr; in zbud_reclaim_page() local
|
| D | zswap.c | 873 struct zswap_header *zhdr; in zswap_writeback_entry() local 1030 struct zswap_header zhdr = { .swpentry = swp_entry(type, offset) }; in zswap_frontswap_store() local
|