Lines Matching refs:vol
301 * @param vol (r) pointer to struct vol
306 struct dir *dircache_search_by_did(const struct vol *vol, cnid_t cnid)
313 AFP_ASSERT(vol);
317 key.d_vid = vol->v_vid;
326 (void)dir_remove(vol, cdir); /* (1a) */
331 if (ostat(cfrombstr(cdir->d_fullpath), &st, vol_syml_opt(vol)) != 0) {
334 (void)dir_remove(vol, cdir);
341 (void)dir_remove(vol, cdir);
362 * @param vol (r) volume
369 struct dir *dircache_search_by_name(const struct vol *vol,
381 AFP_ASSERT(vol);
392 key.d_vid = vol->v_vid;
401 if (ostat(cfrombstr(cdir->d_fullpath), &st, vol_syml_opt(vol)) != 0) {
404 (void)dir_remove(vol, cdir);
413 (void)dir_remove(vol, cdir);
438 int dircache_add(const struct vol *vol,
465 dir_remove(vol, hnode_get(hn));
468 key.d_vid = vol->v_vid;
473 dir_remove(vol, hnode_get(hn));
538 void dircache_remove(const struct vol *vol _U_, struct dir *dir, int flags)