Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fscache_cache_ops Struct Reference

#include <fscache-cache.h>

Data Fields

const charname
 
struct fscache_object *(* alloc_object )(struct fscache_cache *cache, struct fscache_cookie *cookie)
 
int(* lookup_object )(struct fscache_object *object)
 
void(* lookup_complete )(struct fscache_object *object)
 
struct fscache_object *(* grab_object )(struct fscache_object *object)
 
int(* pin_object )(struct fscache_object *object)
 
void(* unpin_object )(struct fscache_object *object)
 
void(* update_object )(struct fscache_object *object)
 
void(* drop_object )(struct fscache_object *object)
 
void(* put_object )(struct fscache_object *object)
 
void(* sync_cache )(struct fscache_cache *cache)
 
int(* attr_changed )(struct fscache_object *object)
 
int(* reserve_space )(struct fscache_object *object, loff_t i_size)
 
fscache_page_retrieval_func_t read_or_alloc_page
 
fscache_pages_retrieval_func_t read_or_alloc_pages
 
fscache_page_retrieval_func_t allocate_page
 
fscache_pages_retrieval_func_t allocate_pages
 
int(* write_page )(struct fscache_storage *op, struct page *page)
 
void(* uncache_page )(struct fscache_object *object, struct page *page)
 
void(* dissociate_pages )(struct fscache_cache *cache)
 

Detailed Description

Definition at line 202 of file fscache-cache.h.

Field Documentation

Definition at line 207 of file fscache-cache.h.

Definition at line 257 of file fscache-cache.h.

Definition at line 261 of file fscache-cache.h.

int(* attr_changed)(struct fscache_object *object)

Definition at line 242 of file fscache-cache.h.

void(* dissociate_pages)(struct fscache_cache *cache)

Definition at line 274 of file fscache-cache.h.

void(* drop_object)(struct fscache_object *object)

Definition at line 232 of file fscache-cache.h.

struct fscache_object*(* grab_object)(struct fscache_object *object)
read

Definition at line 219 of file fscache-cache.h.

void(* lookup_complete)(struct fscache_object *object)

Definition at line 216 of file fscache-cache.h.

int(* lookup_object)(struct fscache_object *object)

Definition at line 213 of file fscache-cache.h.

const char* name

Definition at line 204 of file fscache-cache.h.

int(* pin_object)(struct fscache_object *object)

Definition at line 222 of file fscache-cache.h.

void(* put_object)(struct fscache_object *object)

Definition at line 235 of file fscache-cache.h.

fscache_page_retrieval_func_t read_or_alloc_page

Definition at line 249 of file fscache-cache.h.

fscache_pages_retrieval_func_t read_or_alloc_pages

Definition at line 253 of file fscache-cache.h.

int(* reserve_space)(struct fscache_object *object, loff_t i_size)

Definition at line 245 of file fscache-cache.h.

void(* sync_cache)(struct fscache_cache *cache)

Definition at line 238 of file fscache-cache.h.

void(* uncache_page)(struct fscache_object *object, struct page *page)

Definition at line 270 of file fscache-cache.h.

void(* unpin_object)(struct fscache_object *object)

Definition at line 225 of file fscache-cache.h.

void(* update_object)(struct fscache_object *object)

Definition at line 228 of file fscache-cache.h.

Definition at line 264 of file fscache-cache.h.


The documentation for this struct was generated from the following file: