Lines Matching refs:new
117 struct fat_cache_id *new) in fat_cache_merge() argument
123 if (p->fcluster == new->fcluster) { in fat_cache_merge()
124 BUG_ON(p->dcluster != new->dcluster); in fat_cache_merge()
125 if (new->nr_contig > p->nr_contig) in fat_cache_merge()
126 p->nr_contig = new->nr_contig; in fat_cache_merge()
133 static void fat_cache_add(struct inode *inode, struct fat_cache_id *new) in fat_cache_add() argument
137 if (new->fcluster == -1) /* dummy cache */ in fat_cache_add()
141 if (new->id != FAT_CACHE_VALID && in fat_cache_add()
142 new->id != MSDOS_I(inode)->cache_valid_id) in fat_cache_add()
145 cache = fat_cache_merge(inode, new); in fat_cache_add()
160 cache = fat_cache_merge(inode, new); in fat_cache_add()
171 cache->fcluster = new->fcluster; in fat_cache_add()
172 cache->dcluster = new->dcluster; in fat_cache_add()
173 cache->nr_contig = new->nr_contig; in fat_cache_add()