Lines Matching refs:MSDOS_I
77 if (MSDOS_I(inode)->cache_lru.next != &cache->cache_list)
78 list_move(&cache->cache_list, &MSDOS_I(inode)->cache_lru);
90 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
91 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) {
106 cid->id = MSDOS_I(inode)->cache_valid_id;
113 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
123 list_for_each_entry(p, &MSDOS_I(inode)->cache_lru, cache_list) {
142 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
144 new->id != MSDOS_I(inode)->cache_valid_id)
149 if (MSDOS_I(inode)->nr_caches < fat_max_cache(inode)) {
150 MSDOS_I(inode)->nr_caches++;
151 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
154 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
157 MSDOS_I(inode)->nr_caches--;
163 struct list_head *p = MSDOS_I(inode)->cache_lru.prev;
173 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
182 struct msdos_inode_info *i = MSDOS_I(inode);
199 spin_lock(&MSDOS_I(inode)->cache_lru_lock);
201 spin_unlock(&MSDOS_I(inode)->cache_lru_lock);
226 BUG_ON(MSDOS_I(inode)->i_start == 0);
229 *dclus = MSDOS_I(inode)->i_start;
248 MSDOS_I(inode)->i_pos);
259 MSDOS_I(inode)->i_pos);
283 if (MSDOS_I(inode)->i_start == 0)
291 __func__, MSDOS_I(inode)->i_pos);
326 last_block = (MSDOS_I(inode)->mmu_private + (blocksize - 1))