Lines Matching defs:cached

101 int ntfs_dir_inode_hash(const struct CACHED_GENERIC *cached)
106 path = (const char*)cached->variable;
122 static int inode_cache_compare(const struct CACHED_GENERIC *cached,
125 return (!cached->variable
126 || strcmp(cached->variable, wanted->variable));
140 static int inode_cache_inv_compare(const struct CACHED_GENERIC *cached,
149 c = (const struct CACHED_INODE*)cached;
152 different = !cached->variable
171 static int lookup_cache_compare(const struct CACHED_GENERIC *cached,
174 const struct CACHED_LOOKUP *c = (const struct CACHED_LOOKUP*) cached;
190 static int lookup_cache_inv_compare(const struct CACHED_GENERIC *cached,
193 const struct CACHED_LOOKUP *c = (const struct CACHED_LOOKUP*) cached;
206 int ntfs_dir_lookup_hash(const struct CACHED_GENERIC *cached)
212 name = (const unsigned char*)cached->variable;
213 count = cached->varsize;
360 * cached in mref in which case return mref.
500 * the mft reference of a matching name cached in mref in which case
556 struct CACHED_LOOKUP *cached;
561 cached = (struct CACHED_LOOKUP*)ntfs_fetch_cache(
564 if (cached) {
565 inum = cached->inum;
611 struct CACHED_LOOKUP *cached;
627 cached = (struct CACHED_LOOKUP*)ntfs_enter_cache(
630 if (cached)
631 cached->inum = inum;
664 struct CACHED_INODE *cached;
701 cached = (struct CACHED_INODE*)ntfs_fetch_cache(
705 cached = (struct CACHED_INODE*)NULL;
706 if (cached) {
710 inum = MREF(cached->inum);
741 cached = (struct CACHED_INODE*)NULL;
745 cached = (struct CACHED_INODE*)ntfs_fetch_cache(
748 if (cached) {
749 inum = cached->inum;
756 if (!cached) {