Lines Matching refs:fid
78 #define coda_hash(fid) \
79 (((fid)->Volume + (fid)->Vnode) & (CODA_CACHESIZE-1))
82 #define coda_hash(fid) \
83 (coda_f2i(fid) & (CODA_CACHESIZE-1))
90 * Lookup a cnode by fid. If the cnode is dying, it is bogus so skip it.
94 coda_find(CodaFid *fid)
104 fid, sizeof(CodaFid), &vp) != 0)
221 myprintf(("Live cnode fid %s count %d\n",
365 cp = coda_find(&out->coda_zapfile.Fid);
371 "zapfile: fid = %s, refcnt = %d, error = %d\n",
389 cp = coda_find(&out->coda_zapdir.Fid);
392 coda_nc_zapParentfid(&out->coda_zapdir.Fid, IS_DOWNCALL);
395 "zapdir: fid = %s, refcnt = %d\n",
414 cp = coda_find(&out->coda_purgefid.Fid);
416 if (IS_DIR(out->coda_purgefid.Fid)) { /* Vnode is a directory */
417 coda_nc_zapParentfid(&out->coda_purgefid.Fid,
421 coda_nc_zapfid(&out->coda_purgefid.Fid, IS_DOWNCALL);
422 if (!(IS_DIR(out->coda_purgefid.Fid))
428 "purgefid: fid = %s, refcnt = %d, error = %d\n",