nfs-ganesha 1.4
Defines | Functions

LRU_List.c File Reference

Management of the thread safe LRU lists. More...

#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include "LRU_List.h"
#include "abstract_mem.h"
#include "log.h"

Go to the source code of this file.

Defines

#define TRUE   1
#define FALSE   0

Functions

LRU_list_tLRU_Init (LRU_parameter_t lru_param, LRU_status_t *pstatus)
int LRU_invalidate (LRU_list_t *plru, LRU_entry_t *pentry)
LRU_entry_tLRU_new_entry (LRU_list_t *plru, LRU_status_t *pstatus)
int LRU_pop_entry (LRU_list_t *plru, LRU_entry_t *out_entry)
int LRU_gc_invalid (LRU_list_t *plru, void *cleanparam)
int LRU_invalidate_by_function (LRU_list_t *plru, int(*testfunc)(LRU_entry_t *, void *addparam), void *addparam)
int LRU_apply_function (LRU_list_t *plru, int(*myfunc)(LRU_entry_t *, void *addparam), void *addparam)
void LRU_Print (LRU_list_t *plru)

Detailed Description

Management of the thread safe LRU lists.

Author:
Author:
deniel
Date:
Date:
2006/01/31 09:51:13
Version:
Revision:
1.20

LRU_List.c :Management of the thread safe LRU lists.

Header:
/cea/home/cvs/cvs/SHERPA/BaseCvs/GANESHA/src/LRU/LRU_List.c,v 1.20 2006/01/31 09:51:13 deniel Exp
Log:
LRU_List.c,v

Revision 1.20 2006/01/31 09:51:13 deniel Fixed LRU prev bug

Revision 1.19 2006/01/24 08:57:34 leibovic Fixing LRU allocation bug.

Revision 1.17 2005/11/10 07:53:24 deniel Corrected some memory leaks

Revision 1.16 2005/08/12 07:11:14 deniel Corrected cache_inode_readdir semantics

Revision 1.15 2005/07/28 08:25:10 deniel Adding different ifdef statemement for additional debugging

Revision 1.14 2005/05/11 15:30:43 deniel Added paramter extended options to LRU for invalid entries gc

Revision 1.13 2005/05/10 11:44:02 deniel Datacache and metadatacache are noewqw bounded

Revision 1.12 2005/02/18 09:35:51 deniel Garbagge collection is ok for file (directory gc is not yet implemented)

Revision 1.11 2004/11/23 16:45:00 deniel Plenty of bugs corrected

Revision 1.10 2004/11/22 07:49:30 deniel Adding LRU_invalidate_by_function

Revision 1.9 2004/10/19 08:41:08 deniel Lots of memory leaks fixed

Revision 1.8 2004/10/18 08:42:43 deniel Modifying prototypes for LRU_new_entry

Revision 1.7 2004/10/13 13:01:37 deniel Now using the stuff allocator

Revision 1.6 2004/10/04 12:51:49 deniel Bad prototypes changed

Revision 1.5 2004/09/23 08:19:25 deniel Doxygenisation des sources

Revision 1.4 2004/09/22 08:33:43 deniel Utilisation de preallocation dans LRU

Revision 1.3 2004/09/21 12:21:04 deniel Differentiation des differents tests configurables Premiere version clean

Revision 1.2 2004/09/20 15:36:18 deniel Premiere implementation, sans prealloc

Definition in file LRU_List.c.


Define Documentation

#define FALSE   0

Definition at line 111 of file LRU_List.c.

#define TRUE   1

Definition at line 107 of file LRU_List.c.