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

Go to the source code of this file.

Data Structures

struct  fat_cache
 
struct  fat_cache_id
 

Macros

#define FAT_MAX_CACHE   8
 

Functions

int __init fat_cache_init (void)
 
void fat_cache_destroy (void)
 
void fat_cache_inval_inode (struct inode *inode)
 
int fat_get_cluster (struct inode *inode, int cluster, int *fclus, int *dclus)
 
int fat_bmap (struct inode *inode, sector_t sector, sector_t *phys, unsigned long *mapped_blocks, int create)
 

Macro Definition Documentation

#define FAT_MAX_CACHE   8

Definition at line 17 of file cache.c.

Function Documentation

int fat_bmap ( struct inode inode,
sector_t  sector,
sector_t phys,
unsigned long mapped_blocks,
int  create 
)

Definition at line 306 of file cache.c.

void fat_cache_destroy ( void  )

Definition at line 58 of file cache.c.

int __init fat_cache_init ( void  )

Definition at line 47 of file cache.c.

void fat_cache_inval_inode ( struct inode inode)

Definition at line 205 of file cache.c.

int fat_get_cluster ( struct inode inode,
int  cluster,
int fclus,
int dclus 
)

Definition at line 226 of file cache.c.