Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Variables
interface.c File Reference
#include <linux/slab.h>
#include <linux/mount.h>
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  cachefiles_lookup_data
 

Macros

#define list_to_page(head)   (list_entry((head)->prev, struct page, lru))
 

Variables

struct fscache_cache_ops cachefiles_cache_ops
 

Macro Definition Documentation

#define list_to_page (   head)    (list_entry((head)->prev, struct page, lru))

Definition at line 16 of file interface.c.

Variable Documentation

struct fscache_cache_ops cachefiles_cache_ops
Initial value:
= {
.name = "cachefiles",
.alloc_object = cachefiles_alloc_object,
.lookup_object = cachefiles_lookup_object,
.lookup_complete = cachefiles_lookup_complete,
.grab_object = cachefiles_grab_object,
.update_object = cachefiles_update_object,
.drop_object = cachefiles_drop_object,
.put_object = cachefiles_put_object,
.sync_cache = cachefiles_sync_cache,
.attr_changed = cachefiles_attr_changed,
.read_or_alloc_page = cachefiles_read_or_alloc_page,
.read_or_alloc_pages = cachefiles_read_or_alloc_pages,
.allocate_page = cachefiles_allocate_page,
.allocate_pages = cachefiles_allocate_pages,
.write_page = cachefiles_write_page,
.uncache_page = cachefiles_uncache_page,
.dissociate_pages = cachefiles_dissociate_pages,
}

Definition at line 451 of file interface.c.