Lines Matching refs:MSDOS_I
76 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list)
77 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru);
89 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
90 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) {
105 cid->id = MSDOS_I(inode)->cache_valid_id;
112 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
122 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) {
141 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
143 new->id != MSDOS_I(inode)->cache_valid_id)
148 if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) {
149 MSDOS_I(inode)->nr_caches++;
150 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
154 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
155 MSDOS_I(inode)->nr_caches--;
156 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
160 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
163 MSDOS_I(inode)->nr_caches--;
169 struct list_head *p = MSDOS_I(inode)->cache_lru.prev;
179 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
188 struct msdos_inode_info *i = MSDOS_I(inode);
206 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
208 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
234 BUG_ON(MSDOS_I(inode)->i_start == 0);
237 *dclus = MSDOS_I(inode)->i_start;
241 __func__, MSDOS_I(inode)->i_pos, *dclus);
261 __func__, MSDOS_I(inode)->i_pos);
272 __func__, MSDOS_I(inode)->i_pos);
296 if (MSDOS_I(inode)->i_start == 0)
304 __func__, MSDOS_I(inode)->i_pos);
349 *last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1))