Lines Matching refs:Cache
64 } Cache; typedef
66 int FcInit(Cache* C, ui32 pool_size, MedWFunc wrf, MedRFunc rdf, ui32 sect_sz, ui32 tmp_ents,
68 int FcInitMeta(Cache* C, ui32 pool_size, ui32 meta_threshold, MedWFunc wr_sect, MedWFunc wr_page,
70 void FcReinit(Cache* C, ui32 entry_size);
71 void FcDestroy(Cache* C);
72 void FcRmvEntry(Cache* C, ui32 entry_number);
73 FcEntry* FcGetEntry(Cache* C, ui32 ent_number, int skip_rd, void* filep);
74 void FcFreeEntry(Cache* C, FcEntry** entry);
75 int FcFlush(Cache* C);
76 void FcUpdateEntry(Cache* C, FcEntry* entry, ui32 entry_number);
77 FcEntry* FcInCache(const Cache* C, ui32 entry_number);
78 void FcSetDirtyNewPgs(Cache* C, FcEntry* ent, ui32 start, ui32 n);
79 int FcHitsPercent(const Cache* C);
80 int FcWriteSect(const Cache* C, FcEntry* ent, int update);
82 void FcRmvFmLRU(Cache* C, FcEntry* entry);
83 ui32 FcRAM(const Cache* C);
84 void FcDiag(Cache* C);