Lines Matching refs:MSDOS_I
75 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list) in fat_cache_update_lru()
76 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru); in fat_cache_update_lru()
88 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_lookup()
89 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_lookup()
104 cid->id = MSDOS_I(inode)->cache_valid_id; in fat_cache_lookup()
111 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_lookup()
121 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) { in fat_cache_merge()
140 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
142 new->id != MSDOS_I(inode)->cache_valid_id) in fat_cache_add()
147 if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) { in fat_cache_add()
148 MSDOS_I(inode)->nr_caches++; in fat_cache_add()
149 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
153 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
154 MSDOS_I(inode)->nr_caches--; in fat_cache_add()
155 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
159 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
162 MSDOS_I(inode)->nr_caches--; in fat_cache_add()
168 struct list_head *p = MSDOS_I(inode)->cache_lru.prev; in fat_cache_add()
178 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_add()
187 struct msdos_inode_info *i = MSDOS_I(inode); in __fat_cache_inval_inode()
205 spin_lock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_inval_inode()
207 spin_unlock(&MSDOS_I(inode)->cache_lru_lock); in fat_cache_inval_inode()
232 BUG_ON(MSDOS_I(inode)->i_start == 0); in fat_get_cluster()
235 *dclus = MSDOS_I(inode)->i_start; in fat_get_cluster()
254 MSDOS_I(inode)->i_pos); in fat_get_cluster()
266 MSDOS_I(inode)->i_pos); in fat_get_cluster()
290 if (MSDOS_I(inode)->i_start == 0) in fat_bmap_cluster()
298 __func__, MSDOS_I(inode)->i_pos); in fat_bmap_cluster()
333 last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1)) in fat_bmap()