#include <linux/module.h>
#include <linux/highmem.h>
#include <linux/list.h>
#include <linux/spinlock.h>
#include <linux/pagemap.h>
#include <linux/atomic.h>
#include <linux/bug.h>
#include "tmem.h"
#include "zcache.h"
#include "zbud.h"
Go to the source code of this file.
|
unsigned int | zbud_max_buddy_size (void) |
|
struct page * | zbud_free_and_delist (struct zbudref *zref, bool eph, unsigned int *zsize, unsigned int *zpages) |
|
struct zbudref * | zbud_match_prep (struct tmem_handle *th, bool eph, void *cdata, unsigned size) |
|
struct zbudref * | zbud_create_prep (struct tmem_handle *th, bool eph, void *cdata, unsigned size, struct page *newpage) |
|
void | zbud_create_finish (struct zbudref *zref, bool eph) |
|
int | zbud_decompress (struct page *data_page, struct zbudref *zref, bool eph, void(*decompress)(char *, unsigned int, char *)) |
|
int | zbud_copy_from_zbud (char *to_va, struct zbudref *zref, size_t *sizep, bool eph) |
|
int | zbud_copy_to_zbud (struct zbudref *zref, char *from_va, bool eph) |
|
struct page * | zbud_evict_pageframe_lru (unsigned int *zsize, unsigned int *zpages) |
|
unsigned int | zbud_make_zombie_lru (struct tmem_handle *th, unsigned char **data, unsigned int *zsize, bool eph) |
|
void __init | zbud_init (void) |
|
struct page* zbud_evict_pageframe_lru |
( |
unsigned int * |
zsize, |
|
|
unsigned int * |
zpages |
|
) |
| |
|
read |
unsigned int zbud_max_buddy_size |
( |
void |
| ) |
|