Searched refs:zbudref (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/zcache/ |
D | zbud.h | 13 struct zbudref; 16 extern struct zbudref *zbud_match_prep(struct tmem_handle *th, bool eph, 18 extern struct zbudref *zbud_create_prep(struct tmem_handle *th, bool eph, 21 extern void zbud_create_finish(struct zbudref *, bool); 22 extern int zbud_decompress(struct page *, struct zbudref *, bool, 24 extern int zbud_copy_from_zbud(char *, struct zbudref *, size_t *, bool); 25 extern int zbud_copy_to_zbud(struct zbudref *, char *, bool); 26 extern struct page *zbud_free_and_delist(struct zbudref *, bool eph,
|
D | zbud.c | 119 struct zbudref { struct 122 unsigned long zbudref; member 232 static inline struct zbudpage *zbudref_to_zbudpage(struct zbudref *zref) in zbudref_to_zbudpage() 239 static inline struct zbudref *zbudpage_to_zbudref(struct zbudpage *zbudpage, in zbudpage_to_zbudref() 245 return (struct zbudref *)zbud; in zbudpage_to_zbudref() 248 static inline int zbudref_budnum(struct zbudref *zbudref) in zbudref_budnum() argument 250 unsigned long zbud = (unsigned long)zbudref; in zbudref_budnum() 547 struct page *zbud_free_and_delist(struct zbudref *zref, bool eph, in zbud_free_and_delist() 630 struct zbudref *zbud_match_prep(struct tmem_handle *th, bool eph, in zbud_match_prep() 700 struct zbudref *zbud_create_prep(struct tmem_handle *th, bool eph, in zbud_create_prep() [all …]
|
D | zcache-main.c | 575 zbud_create_finish((struct zbudref *)pampd, eph); in zcache_pampd_create_finish() 629 ret = zbud_copy_from_zbud(data, (struct zbudref *)pampd, in zcache_pampd_get_data() 633 (struct zbudref *)pampd, false, in zcache_pampd_get_data() 668 ret = zbud_copy_from_zbud(data, (struct zbudref *)pampd, in zcache_pampd_get_data_and_free() 672 (struct zbudref *)pampd, eph, in zcache_pampd_get_data_and_free() 676 page = zbud_free_and_delist((struct zbudref *)pampd, eph, in zcache_pampd_get_data_and_free() 725 page = zbud_free_and_delist((struct zbudref *)pampd, in zcache_pampd_free() 734 page = zbud_free_and_delist((struct zbudref *)pampd, in zcache_pampd_free()
|