Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
zbud.h File Reference
#include "tmem.h"

Go to the source code of this file.

Functions

unsigned int zbud_max_buddy_size (void)
 
struct zbudrefzbud_match_prep (struct tmem_handle *th, bool eph, void *cdata, unsigned size)
 
struct zbudrefzbud_create_prep (struct tmem_handle *th, bool eph, void *cdata, unsigned size, struct page *newpage)
 
void zbud_create_finish (struct zbudref *, bool)
 
int zbud_decompress (struct page *, struct zbudref *, bool, void(*func)(char *, unsigned int, char *))
 
int zbud_copy_from_zbud (char *, struct zbudref *, size_t *, bool)
 
int zbud_copy_to_zbud (struct zbudref *, char *, bool)
 
struct pagezbud_free_and_delist (struct zbudref *, bool eph, unsigned int *, unsigned int *)
 
struct pagezbud_evict_pageframe_lru (unsigned int *, unsigned int *)
 
unsigned int zbud_make_zombie_lru (struct tmem_handle *, unsigned char **, unsigned int *, bool)
 
void zbud_init (void)
 

Function Documentation

int zbud_copy_from_zbud ( char ,
struct zbudref ,
size_t ,
bool   
)

Definition at line 803 of file zbud.c.

int zbud_copy_to_zbud ( struct zbudref ,
char ,
bool   
)

Definition at line 845 of file zbud.c.

void zbud_create_finish ( struct zbudref ,
bool   
)

Definition at line 741 of file zbud.c.

struct zbudref* zbud_create_prep ( struct tmem_handle th,
bool  eph,
void cdata,
unsigned  size,
struct page newpage 
)
read

Definition at line 692 of file zbud.c.

int zbud_decompress ( struct page ,
struct zbudref ,
bool  ,
void(*)(char *, unsigned int, char *)  func 
)

Definition at line 761 of file zbud.c.

struct page* zbud_evict_pageframe_lru ( unsigned int ,
unsigned int  
)
read

Definition at line 887 of file zbud.c.

struct page* zbud_free_and_delist ( struct zbudref ,
bool  eph,
unsigned int ,
unsigned int  
)
read

Definition at line 539 of file zbud.c.

void zbud_init ( void  )

Definition at line 1047 of file zbud.c.

unsigned int zbud_make_zombie_lru ( struct tmem_handle ,
unsigned char **  ,
unsigned int ,
bool   
)

Definition at line 975 of file zbud.c.

struct zbudref* zbud_match_prep ( struct tmem_handle th,
bool  eph,
void cdata,
unsigned  size 
)
read

Definition at line 622 of file zbud.c.

unsigned int zbud_max_buddy_size ( void  )

Definition at line 529 of file zbud.c.