Home
last modified time | relevance | path

Searched refs:Cache (Results 1 – 25 of 27) sorted by relevance

12

/plan9-contrib/sys/src/cmd/fossil/
H A Dfns.h20 Block* cacheAllocBlock(Cache*, int, u32int, u32int, u32int);
21 Cache* cacheAlloc(Disk*, VtConn*, ulong, int);
22 void cacheCountUsed(Cache*, u32int, u32int*, u32int*, u32int*);
23 int cacheDirty(Cache*);
24 void cacheFlush(Cache*, int);
25 void cacheFree(Cache*);
26 Block* cacheGlobal(Cache*, uchar[VtScoreSize], int, u32int, int);
27 Block* cacheLocal(Cache*, int, u32int, int);
28 Block* cacheLocalData(Cache*, u32int, int, u32int, int, u32int);
29 u32int cacheLocalSize(Cache*, int);
[all …]
H A Ddat.h4 typedef struct Cache Cache; typedef
18 #pragma incomplete Cache
77 Cache *cache; /* immutable */
230 Cache *c;
304 Cache *cache;
H A Dcache.c22 struct Cache struct
108 static Block *cacheBumpBlock(Cache *c);
111 static void cacheCheck(Cache*);
114 static void unlinkBody(Cache *c);
115 static int cacheFlushBlock(Cache *c);
118 static void blistFree(Cache*, BList*);
119 static void doRemoveLink(Cache*, BList*);
146 Cache *
150 Cache *c; in cacheAlloc()
156 c = vtmallocz(sizeof(Cache)); in cacheAlloc()
[all …]
H A Darchive.c21 Cache *c;
31 archInit(Cache *c, Disk *disk, Fs *fs, VtConn *z) in archInit()
100 Cache *c;
H A Dsrcload.c15 Source *mkroot(Cache*);
H A Dfossil-acid162 c = (Cache)c;
H A Dfs.c184 superGet(Cache *c, Super* super) in superGet()
H A Dsource.c530 Cache *c; in blockWalk()
/plan9-contrib/sys/src/libcontrol/
H A Dcache.c9 typedef struct Cache Cache; typedef
11 struct Cache struct
18 static struct Cache imagecache = {"image"}; argument
19 static struct Cache fontcache = {"font"};
22 getcacheitem(Cache *c, char *name) in getcacheitem()
35 namecacheitem(Cache *c, void *image, char *name) in namecacheitem()
67 freecacheitem(Cache *c, char *name) in freecacheitem()
95 setcacheitemptr(Cache *c, Control *ctl, CCache **cp, char *s) in setcacheitemptr()
/plan9-contrib/sys/src/cmd/spin/
H A Dtl_cache.c14 typedef struct Cache { struct
18 struct Cache *nxt; argument
19 } Cache; typedef
21 static Cache *stored = (Cache *) 0;
32 stored = (Cache *) 0; in ini_cache()
40 { Cache *d; int nr=0;
54 { Cache *d; int nr=0; in in_cache()
67 { Cache *d; in cached()
75 d = (Cache *) tl_emalloc(sizeof(Cache)); in cached()
/plan9-contrib/sys/src/cmd/cifs/
H A Dping.c57 static Pingcache *Cache; variable
74 for(c = Cache; c; c = c->next) in ping()
120 for(c = Cache; c; c = c->next) in ping()
126 c->next = Cache; in ping()
127 Cache = c; in ping()
H A Ddfs.c76 Dfscache *Cache; variable
84 for(cp = Cache; cp; cp = cp->next){ in dfscacheinfo()
120 for(cp = Cache; cp; cp = cp->next){ in lookup()
400 cp->next = Cache; in redirect()
401 Cache = cp; in redirect()
/plan9-contrib/sys/src/cmd/cwfs/
H A Dcw.c123 Cache *h; in cmd_statw()
181 h = (Cache*)p->iobuf; in cmd_statw()
250 Cache *h; in dumpblock()
262 h = (Cache*)cb->iobuf; in dumpblock()
359 h = (Cache*)cb->iobuf; in dumpblock()
418 Cache *h; in cwinit()
427 h = (Cache*)cb->iobuf; in cwinit()
454 sa = ((Cache*)cb->iobuf)->sbaddr; in cwsaddr()
472 ra = ((Cache*)cb->iobuf)->cwraddr; in cwraddr()
477 ra = ((Cache*)cb->iobuf)->roraddr; in cwraddr()
[all …]
H A Dportdat.h48 typedef struct Cache Cache; typedef
535 struct Cache struct
H A Dmain.c221 sizeof(Dentry), sizeof(Cache)); in printsizes()
H A Dsub.c1413 Cache *h; in swab()
1513 h = (Cache*)p; in swab()
/plan9-contrib/sys/src/cmd/
H A Ddu.c272 } Cache; typedef
273 Cache cache[NCACHE];
280 Cache *c; in seen()
H A Dwalk.c305 } Cache; typedef
306 Cache cache[NCACHE];
313 Cache *c; in seen()
/plan9-contrib/sys/src/9k/port/
H A Dcache.c38 typedef struct Cache Cache; typedef
39 struct Cache struct
58 static Cache cache; argument
/plan9-contrib/sys/src/9/kw/
H A Dflashkw.c54 typedef struct Cache Cache; typedef
70 struct Cache { struct
124 static Cache cache;
/plan9-contrib/sys/src/9/port/
H A Dcache.c39 typedef struct Cache Cache; typedef
40 struct Cache struct
59 static Cache cache; argument
/plan9-contrib/sys/src/cmd/cwfs/doc/
H A Dchanges23 sizeof(Cache) = 88
32 sizeof(Cache) = 88
/plan9-contrib/sys/doc/fs/
H A Dp32 Buffer Cache
H A Dp62 Cache/WORM Driver
/plan9-contrib/sys/doc/
H A Dfossil.ms1086 Cache eviction follows a least recently used policy.

12