nfs-ganesha 1.4
|
00001 #ifndef _ERR_LRU_H 00002 #define _ERR_LRU_H 00003 00004 #include "log.h" 00005 00030 00042 static family_error_t __attribute__ ((__unused__)) tab_errctx_LRU[] = 00043 { 00044 #define ERR_LRU_LIST_NO_ERROR 0 00045 { 00046 ERR_LRU_LIST_NO_ERROR, "ERR_LRU_LIST_NO_ERROR", "No errors!"}, 00047 #define ERR_LRU_LIST_INIT 1 00048 { 00049 ERR_LRU_LIST_INIT, "ERR_LRU_LIST_INIT", "Init error"}, 00050 #define ERR_LRU_LIST_GC_INVALID 2 00051 { 00052 ERR_LRU_LIST_GC_INVALID, "ERR_LRU_LIST_GC_INVALID", "Error: invalid garbage collector action"}, 00053 #define ERR_LRU_LIST_INVALIDATE 3 00054 { 00055 ERR_LRU_LIST_INVALIDATE, "ERR_LRU_LIST_INVALIDATE", 00056 "Entry invalidation is impossible"}, 00057 { 00058 ERR_NULL, "ERR_NULL", ""} 00059 }; 00060 00061 static family_error_t __attribute__ ((__unused__)) tab_errstatus_LRU[] = 00062 { 00063 { 00064 LRU_LIST_SUCCESS, "LRU_LISTSUCCESS", "Success"}, 00065 { 00066 LRU_LIST_MALLOC_ERROR, "LRU_LIST_MALLOC_ERROR", "LRU layer malloc error"}, 00067 { 00068 LRU_LIST_EMPTY_LIST, "LRU_LIST_EMPTY_LIST", "Empty list"}, 00069 { 00070 ERR_NULL, "ERR_NULL", ""} 00071 }; 00072 00073 #endif /* _ERR_LRU_H */