Lines Matching refs:dohash
70 if (cache->dohash) { in inserthashindex()
71 h = cache->dohash(current); in inserthashindex()
88 cache->dohash = (cache_hash)NULL; in inserthashindex()
94 cache->dohash = (cache_hash)NULL; in inserthashindex()
109 if (cache->dohash) { in drophashindex()
129 cache->dohash = (cache_hash)NULL; in drophashindex()
135 cache->dohash = (cache_hash)NULL; in drophashindex()
157 if (cache->dohash) { in ntfs_fetch_cache()
162 h = cache->dohash(wanted); in ntfs_fetch_cache()
169 if (!cache->dohash) { in ntfs_fetch_cache()
223 if (cache->dohash) { in ntfs_enter_cache()
228 h = cache->dohash(item); in ntfs_enter_cache()
236 if (!cache->dohash) { in ntfs_enter_cache()
275 if (cache->dohash) in ntfs_enter_cache()
277 cache->dohash(current)); in ntfs_enter_cache()
321 if (cache->dohash && current) in ntfs_enter_cache()
387 if (!(flags & CACHE_NOHASH) && cache->dohash) { in ntfs_invalidate_cache()
392 h = cache->dohash(item); in ntfs_invalidate_cache()
409 if ((flags & CACHE_NOHASH) || !cache->dohash) { in ntfs_invalidate_cache()
417 if (cache->dohash) in ntfs_invalidate_cache()
419 cache->dohash(current)); in ntfs_invalidate_cache()
439 if (cache->dohash) in ntfs_remove_cache()
440 drophashindex(cache,item,cache->dohash(item)); in ntfs_remove_cache()
473 cache_free dofree, cache_hash dohash, in ntfs_create_cache() argument
495 if (dohash && max_hash) { in ntfs_create_cache()
496 cache->dohash = dohash; in ntfs_create_cache()
499 cache->dohash = (cache_hash)NULL; in ntfs_create_cache()