AFFS_I 278 fs/affs/affs.h down(&AFFS_I(inode)->i_link_lock); AFFS_I 283 fs/affs/affs.h up(&AFFS_I(inode)->i_link_lock); AFFS_I 288 fs/affs/affs.h down(&AFFS_I(inode)->i_hash_lock); AFFS_I 293 fs/affs/affs.h up(&AFFS_I(inode)->i_hash_lock); AFFS_I 298 fs/affs/affs.h down(&AFFS_I(inode)->i_ext_lock); AFFS_I 303 fs/affs/affs.h up(&AFFS_I(inode)->i_ext_lock); AFFS_I 419 fs/affs/amigaffs.c u32 prot = AFFS_I(inode)->i_protect; AFFS_I 441 fs/affs/amigaffs.c AFFS_I(inode)->i_protect = prot; AFFS_I 153 fs/affs/bitmap.c if (AFFS_I(inode)->i_pa_cnt) { AFFS_I 154 fs/affs/bitmap.c pr_debug("%d\n", AFFS_I(inode)->i_lastalloc+1); AFFS_I 155 fs/affs/bitmap.c AFFS_I(inode)->i_pa_cnt--; AFFS_I 156 fs/affs/bitmap.c return ++AFFS_I(inode)->i_lastalloc; AFFS_I 232 fs/affs/bitmap.c AFFS_I(inode)->i_lastalloc = blk; AFFS_I 238 fs/affs/bitmap.c AFFS_I(inode)->i_pa_cnt++; AFFS_I 241 fs/affs/bitmap.c bm->bm_free -= AFFS_I(inode)->i_pa_cnt + 1; AFFS_I 50 fs/affs/file.c inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); AFFS_I 51 fs/affs/file.c atomic_inc(&AFFS_I(inode)->i_opencnt); AFFS_I 59 fs/affs/file.c inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); AFFS_I 61 fs/affs/file.c if (atomic_dec_and_test(&AFFS_I(inode)->i_opencnt)) { AFFS_I 63 fs/affs/file.c if (inode->i_size != AFFS_I(inode)->mmu_private) AFFS_I 80 fs/affs/file.c if (!AFFS_I(inode)->i_lc) { AFFS_I 84 fs/affs/file.c AFFS_I(inode)->i_lc = (u32 *)ptr; AFFS_I 85 fs/affs/file.c AFFS_I(inode)->i_ac = (struct affs_ext_key *)(ptr + AFFS_CACHE_SIZE / 2); AFFS_I 88 fs/affs/file.c lc_max = AFFS_LC_SIZE << AFFS_I(inode)->i_lc_shift; AFFS_I 90 fs/affs/file.c if (AFFS_I(inode)->i_extcnt > lc_max) { AFFS_I 94 fs/affs/file.c lc_shift = AFFS_I(inode)->i_lc_shift; AFFS_I 95 fs/affs/file.c tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; AFFS_I 101 fs/affs/file.c lc_idx >>= (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 102 fs/affs/file.c AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 105 fs/affs/file.c off = 1 << (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 107 fs/affs/file.c AFFS_I(inode)->i_ac[i] = AFFS_I(inode)->i_ac[j]; AFFS_I 109 fs/affs/file.c AFFS_I(inode)->i_lc_shift = lc_shift; AFFS_I 110 fs/affs/file.c AFFS_I(inode)->i_lc_mask = lc_mask; AFFS_I 114 fs/affs/file.c i = AFFS_I(inode)->i_lc_size; AFFS_I 115 fs/affs/file.c AFFS_I(inode)->i_lc_size = lc_idx + 1; AFFS_I 118 fs/affs/file.c AFFS_I(inode)->i_lc[0] = inode->i_ino; AFFS_I 121 fs/affs/file.c key = AFFS_I(inode)->i_lc[i - 1]; AFFS_I 122 fs/affs/file.c j = AFFS_I(inode)->i_lc_mask + 1; AFFS_I 132 fs/affs/file.c AFFS_I(inode)->i_lc[i] = key; AFFS_I 174 fs/affs/file.c AFFS_I(inode)->i_extcnt++; AFFS_I 184 fs/affs/file.c struct buffer_head *bh = AFFS_I(inode)->i_ext_bh; AFFS_I 185 fs/affs/file.c if (ext == AFFS_I(inode)->i_ext_last) AFFS_I 203 fs/affs/file.c if (ext == AFFS_I(inode)->i_ext_last + 1) { AFFS_I 205 fs/affs/file.c bh = AFFS_I(inode)->i_ext_bh; AFFS_I 207 fs/affs/file.c if (ext < AFFS_I(inode)->i_extcnt) AFFS_I 209 fs/affs/file.c if (ext > AFFS_I(inode)->i_extcnt) AFFS_I 223 fs/affs/file.c if (ext >= AFFS_I(inode)->i_extcnt) { AFFS_I 227 fs/affs/file.c if (ext > AFFS_I(inode)->i_extcnt) AFFS_I 243 fs/affs/file.c lc_idx = ext >> AFFS_I(inode)->i_lc_shift; AFFS_I 244 fs/affs/file.c lc_off = ext & AFFS_I(inode)->i_lc_mask; AFFS_I 246 fs/affs/file.c if (lc_idx >= AFFS_I(inode)->i_lc_size) { AFFS_I 257 fs/affs/file.c ext_key = AFFS_I(inode)->i_lc[lc_idx]; AFFS_I 263 fs/affs/file.c if (AFFS_I(inode)->i_ac[ac_idx].ext == ext) { AFFS_I 264 fs/affs/file.c ext_key = AFFS_I(inode)->i_ac[ac_idx].key; AFFS_I 273 fs/affs/file.c if (AFFS_I(inode)->i_ac[idx].ext == tmp) { AFFS_I 274 fs/affs/file.c ext_key = AFFS_I(inode)->i_ac[idx].key; AFFS_I 280 fs/affs/file.c ext_key = AFFS_I(inode)->i_lc[lc_idx]; AFFS_I 296 fs/affs/file.c AFFS_I(inode)->i_ac[ac_idx].ext = ext; AFFS_I 297 fs/affs/file.c AFFS_I(inode)->i_ac[ac_idx].key = ext_key; AFFS_I 309 fs/affs/file.c affs_brelse(AFFS_I(inode)->i_ext_bh); AFFS_I 310 fs/affs/file.c AFFS_I(inode)->i_ext_last = ext; AFFS_I 311 fs/affs/file.c AFFS_I(inode)->i_ext_bh = bh; AFFS_I 332 fs/affs/file.c if (block >= AFFS_I(inode)->i_blkcnt) { AFFS_I 333 fs/affs/file.c if (block > AFFS_I(inode)->i_blkcnt || !create) AFFS_I 353 fs/affs/file.c AFFS_I(inode)->mmu_private += AFFS_SB(sb)->s_data_blksize; AFFS_I 354 fs/affs/file.c AFFS_I(inode)->i_blkcnt++; AFFS_I 412 fs/affs/file.c &AFFS_I(mapping->host)->mmu_private); AFFS_I 534 fs/affs/file.c size = AFFS_I(inode)->mmu_private; AFFS_I 582 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = newsize; AFFS_I 586 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = newsize; AFFS_I 621 fs/affs/file.c if (pos > AFFS_I(inode)->mmu_private) { AFFS_I 763 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = tmp; AFFS_I 794 fs/affs/file.c while (AFFS_I(inode)->i_pa_cnt) { AFFS_I 795 fs/affs/file.c AFFS_I(inode)->i_pa_cnt--; AFFS_I 796 fs/affs/file.c affs_free_block(sb, ++AFFS_I(inode)->i_lastalloc); AFFS_I 813 fs/affs/file.c (u32)inode->i_ino, (u32)AFFS_I(inode)->mmu_private, (u32)inode->i_size); AFFS_I 822 fs/affs/file.c if (inode->i_size > AFFS_I(inode)->mmu_private) { AFFS_I 833 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private; AFFS_I 836 fs/affs/file.c } else if (inode->i_size == AFFS_I(inode)->mmu_private) AFFS_I 846 fs/affs/file.c if (AFFS_I(inode)->i_lc) { AFFS_I 848 fs/affs/file.c i = (ext + 1) >> AFFS_I(inode)->i_lc_shift; AFFS_I 849 fs/affs/file.c if (AFFS_I(inode)->i_lc_size > i) { AFFS_I 850 fs/affs/file.c AFFS_I(inode)->i_lc_size = i; AFFS_I 852 fs/affs/file.c AFFS_I(inode)->i_lc[i] = 0; AFFS_I 856 fs/affs/file.c if (AFFS_I(inode)->i_ac[i].ext >= ext) AFFS_I 857 fs/affs/file.c AFFS_I(inode)->i_ac[i].ext = 0; AFFS_I 861 fs/affs/file.c blkcnt = AFFS_I(inode)->i_blkcnt; AFFS_I 883 fs/affs/file.c AFFS_I(inode)->i_blkcnt = last_blk + 1; AFFS_I 884 fs/affs/file.c AFFS_I(inode)->i_extcnt = ext + 1; AFFS_I 899 fs/affs/file.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 900 fs/affs/file.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 902 fs/affs/file.c AFFS_I(inode)->mmu_private = inode->i_size; AFFS_I 58 fs/affs/inode.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 59 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 60 fs/affs/inode.c AFFS_I(inode)->i_protect = prot; AFFS_I 61 fs/affs/inode.c atomic_set(&AFFS_I(inode)->i_opencnt, 0); AFFS_I 62 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 63 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 64 fs/affs/inode.c AFFS_I(inode)->i_lc_size = 0; AFFS_I 65 fs/affs/inode.c AFFS_I(inode)->i_lc_shift = 0; AFFS_I 66 fs/affs/inode.c AFFS_I(inode)->i_lc_mask = 0; AFFS_I 67 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 68 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 69 fs/affs/inode.c AFFS_I(inode)->mmu_private = 0; AFFS_I 70 fs/affs/inode.c AFFS_I(inode)->i_lastalloc = 0; AFFS_I 71 fs/affs/inode.c AFFS_I(inode)->i_pa_cnt = 0; AFFS_I 132 fs/affs/inode.c AFFS_I(inode)->mmu_private = inode->i_size = size; AFFS_I 134 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = (size - 1) / AFFS_I 136 fs/affs/inode.c AFFS_I(inode)->i_extcnt = (AFFS_I(inode)->i_blkcnt - 1) / AFFS_I 192 fs/affs/inode.c tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect); AFFS_I 264 fs/affs/inode.c cache_page = (unsigned long)AFFS_I(inode)->i_lc; AFFS_I 267 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 268 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 271 fs/affs/inode.c affs_brelse(AFFS_I(inode)->i_ext_bh); AFFS_I 272 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 273 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 301 fs/affs/inode.c atomic_set(&AFFS_I(inode)->i_opencnt, 0); AFFS_I 302 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 303 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 304 fs/affs/inode.c AFFS_I(inode)->i_lc_size = 0; AFFS_I 305 fs/affs/inode.c AFFS_I(inode)->i_lc_shift = 0; AFFS_I 306 fs/affs/inode.c AFFS_I(inode)->i_lc_mask = 0; AFFS_I 307 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 308 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 309 fs/affs/inode.c AFFS_I(inode)->mmu_private = 0; AFFS_I 310 fs/affs/inode.c AFFS_I(inode)->i_protect = 0; AFFS_I 311 fs/affs/inode.c AFFS_I(inode)->i_lastalloc = 0; AFFS_I 312 fs/affs/inode.c AFFS_I(inode)->i_pa_cnt = 0; AFFS_I 313 fs/affs/inode.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 314 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 90 fs/affs/super.c kmem_cache_free(affs_inode_cachep, AFFS_I(inode));