AFFS_I 296 fs/affs/affs.h down(&AFFS_I(inode)->i_link_lock); AFFS_I 301 fs/affs/affs.h up(&AFFS_I(inode)->i_link_lock); AFFS_I 306 fs/affs/affs.h down(&AFFS_I(inode)->i_hash_lock); AFFS_I 311 fs/affs/affs.h up(&AFFS_I(inode)->i_hash_lock); AFFS_I 316 fs/affs/affs.h down(&AFFS_I(inode)->i_ext_lock); AFFS_I 321 fs/affs/affs.h up(&AFFS_I(inode)->i_ext_lock); AFFS_I 420 fs/affs/amigaffs.c u32 prot = AFFS_I(inode)->i_protect; AFFS_I 442 fs/affs/amigaffs.c AFFS_I(inode)->i_protect = prot; AFFS_I 130 fs/affs/bitmap.c if (AFFS_I(inode)->i_pa_cnt) { AFFS_I 131 fs/affs/bitmap.c pr_debug("%d\n", AFFS_I(inode)->i_lastalloc+1); AFFS_I 132 fs/affs/bitmap.c AFFS_I(inode)->i_pa_cnt--; AFFS_I 133 fs/affs/bitmap.c return ++AFFS_I(inode)->i_lastalloc; AFFS_I 209 fs/affs/bitmap.c AFFS_I(inode)->i_lastalloc = blk; AFFS_I 215 fs/affs/bitmap.c AFFS_I(inode)->i_pa_cnt++; AFFS_I 218 fs/affs/bitmap.c bm->bm_free -= AFFS_I(inode)->i_pa_cnt + 1; AFFS_I 25 fs/affs/file.c inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); AFFS_I 26 fs/affs/file.c atomic_inc(&AFFS_I(inode)->i_opencnt); AFFS_I 34 fs/affs/file.c inode->i_ino, atomic_read(&AFFS_I(inode)->i_opencnt)); AFFS_I 36 fs/affs/file.c if (atomic_dec_and_test(&AFFS_I(inode)->i_opencnt)) { AFFS_I 38 fs/affs/file.c if (inode->i_size != AFFS_I(inode)->mmu_private) AFFS_I 55 fs/affs/file.c if (!AFFS_I(inode)->i_lc) { AFFS_I 59 fs/affs/file.c AFFS_I(inode)->i_lc = (u32 *)ptr; AFFS_I 60 fs/affs/file.c AFFS_I(inode)->i_ac = (struct affs_ext_key *)(ptr + AFFS_CACHE_SIZE / 2); AFFS_I 63 fs/affs/file.c lc_max = AFFS_LC_SIZE << AFFS_I(inode)->i_lc_shift; AFFS_I 65 fs/affs/file.c if (AFFS_I(inode)->i_extcnt > lc_max) { AFFS_I 69 fs/affs/file.c lc_shift = AFFS_I(inode)->i_lc_shift; AFFS_I 70 fs/affs/file.c tmp = (AFFS_I(inode)->i_extcnt / AFFS_LC_SIZE) >> lc_shift; AFFS_I 76 fs/affs/file.c lc_idx >>= (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 77 fs/affs/file.c AFFS_I(inode)->i_lc_size >>= (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 80 fs/affs/file.c off = 1 << (lc_shift - AFFS_I(inode)->i_lc_shift); AFFS_I 82 fs/affs/file.c AFFS_I(inode)->i_ac[i] = AFFS_I(inode)->i_ac[j]; AFFS_I 84 fs/affs/file.c AFFS_I(inode)->i_lc_shift = lc_shift; AFFS_I 85 fs/affs/file.c AFFS_I(inode)->i_lc_mask = lc_mask; AFFS_I 89 fs/affs/file.c i = AFFS_I(inode)->i_lc_size; AFFS_I 90 fs/affs/file.c AFFS_I(inode)->i_lc_size = lc_idx + 1; AFFS_I 93 fs/affs/file.c AFFS_I(inode)->i_lc[0] = inode->i_ino; AFFS_I 96 fs/affs/file.c key = AFFS_I(inode)->i_lc[i - 1]; AFFS_I 97 fs/affs/file.c j = AFFS_I(inode)->i_lc_mask + 1; AFFS_I 107 fs/affs/file.c AFFS_I(inode)->i_lc[i] = key; AFFS_I 149 fs/affs/file.c AFFS_I(inode)->i_extcnt++; AFFS_I 159 fs/affs/file.c struct buffer_head *bh = AFFS_I(inode)->i_ext_bh; AFFS_I 160 fs/affs/file.c if (ext == AFFS_I(inode)->i_ext_last) AFFS_I 178 fs/affs/file.c if (ext == AFFS_I(inode)->i_ext_last + 1) { AFFS_I 180 fs/affs/file.c bh = AFFS_I(inode)->i_ext_bh; AFFS_I 182 fs/affs/file.c if (ext < AFFS_I(inode)->i_extcnt) AFFS_I 184 fs/affs/file.c BUG_ON(ext > AFFS_I(inode)->i_extcnt); AFFS_I 197 fs/affs/file.c if (ext >= AFFS_I(inode)->i_extcnt) { AFFS_I 201 fs/affs/file.c BUG_ON(ext > AFFS_I(inode)->i_extcnt); AFFS_I 216 fs/affs/file.c lc_idx = ext >> AFFS_I(inode)->i_lc_shift; AFFS_I 217 fs/affs/file.c lc_off = ext & AFFS_I(inode)->i_lc_mask; AFFS_I 219 fs/affs/file.c if (lc_idx >= AFFS_I(inode)->i_lc_size) { AFFS_I 230 fs/affs/file.c ext_key = AFFS_I(inode)->i_lc[lc_idx]; AFFS_I 236 fs/affs/file.c if (AFFS_I(inode)->i_ac[ac_idx].ext == ext) { AFFS_I 237 fs/affs/file.c ext_key = AFFS_I(inode)->i_ac[ac_idx].key; AFFS_I 246 fs/affs/file.c if (AFFS_I(inode)->i_ac[idx].ext == tmp) { AFFS_I 247 fs/affs/file.c ext_key = AFFS_I(inode)->i_ac[idx].key; AFFS_I 253 fs/affs/file.c ext_key = AFFS_I(inode)->i_lc[lc_idx]; AFFS_I 269 fs/affs/file.c AFFS_I(inode)->i_ac[ac_idx].ext = ext; AFFS_I 270 fs/affs/file.c AFFS_I(inode)->i_ac[ac_idx].key = ext_key; AFFS_I 282 fs/affs/file.c affs_brelse(AFFS_I(inode)->i_ext_bh); AFFS_I 283 fs/affs/file.c AFFS_I(inode)->i_ext_last = ext; AFFS_I 284 fs/affs/file.c AFFS_I(inode)->i_ext_bh = bh; AFFS_I 306 fs/affs/file.c if (block >= AFFS_I(inode)->i_blkcnt) { AFFS_I 307 fs/affs/file.c if (block > AFFS_I(inode)->i_blkcnt || !create) AFFS_I 327 fs/affs/file.c AFFS_I(inode)->mmu_private += AFFS_SB(sb)->s_data_blksize; AFFS_I 328 fs/affs/file.c AFFS_I(inode)->i_blkcnt++; AFFS_I 405 fs/affs/file.c if (AFFS_I(inode)->mmu_private < size) AFFS_I 424 fs/affs/file.c &AFFS_I(mapping->host)->mmu_private); AFFS_I 551 fs/affs/file.c size = AFFS_I(inode)->mmu_private; AFFS_I 602 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = newsize; AFFS_I 606 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = newsize; AFFS_I 642 fs/affs/file.c if (pos > AFFS_I(inode)->mmu_private) { AFFS_I 795 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private = tmp; AFFS_I 826 fs/affs/file.c while (AFFS_I(inode)->i_pa_cnt) { AFFS_I 827 fs/affs/file.c AFFS_I(inode)->i_pa_cnt--; AFFS_I 828 fs/affs/file.c affs_free_block(sb, ++AFFS_I(inode)->i_lastalloc); AFFS_I 845 fs/affs/file.c inode->i_ino, AFFS_I(inode)->mmu_private, inode->i_size); AFFS_I 854 fs/affs/file.c if (inode->i_size > AFFS_I(inode)->mmu_private) { AFFS_I 865 fs/affs/file.c inode->i_size = AFFS_I(inode)->mmu_private; AFFS_I 868 fs/affs/file.c } else if (inode->i_size == AFFS_I(inode)->mmu_private) AFFS_I 879 fs/affs/file.c if (AFFS_I(inode)->i_lc) { AFFS_I 881 fs/affs/file.c i = (ext + 1) >> AFFS_I(inode)->i_lc_shift; AFFS_I 882 fs/affs/file.c if (AFFS_I(inode)->i_lc_size > i) { AFFS_I 883 fs/affs/file.c AFFS_I(inode)->i_lc_size = i; AFFS_I 885 fs/affs/file.c AFFS_I(inode)->i_lc[i] = 0; AFFS_I 889 fs/affs/file.c if (AFFS_I(inode)->i_ac[i].ext >= ext) AFFS_I 890 fs/affs/file.c AFFS_I(inode)->i_ac[i].ext = 0; AFFS_I 894 fs/affs/file.c blkcnt = AFFS_I(inode)->i_blkcnt; AFFS_I 916 fs/affs/file.c AFFS_I(inode)->i_blkcnt = last_blk + 1; AFFS_I 917 fs/affs/file.c AFFS_I(inode)->i_extcnt = ext + 1; AFFS_I 933 fs/affs/file.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 934 fs/affs/file.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 936 fs/affs/file.c AFFS_I(inode)->mmu_private = inode->i_size; AFFS_I 56 fs/affs/inode.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 57 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 58 fs/affs/inode.c AFFS_I(inode)->i_protect = prot; AFFS_I 59 fs/affs/inode.c atomic_set(&AFFS_I(inode)->i_opencnt, 0); AFFS_I 60 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 61 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 62 fs/affs/inode.c AFFS_I(inode)->i_lc_size = 0; AFFS_I 63 fs/affs/inode.c AFFS_I(inode)->i_lc_shift = 0; AFFS_I 64 fs/affs/inode.c AFFS_I(inode)->i_lc_mask = 0; AFFS_I 65 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 66 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 67 fs/affs/inode.c AFFS_I(inode)->mmu_private = 0; AFFS_I 68 fs/affs/inode.c AFFS_I(inode)->i_lastalloc = 0; AFFS_I 69 fs/affs/inode.c AFFS_I(inode)->i_pa_cnt = 0; AFFS_I 129 fs/affs/inode.c AFFS_I(inode)->mmu_private = inode->i_size = size; AFFS_I 131 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = (size - 1) / AFFS_I 133 fs/affs/inode.c AFFS_I(inode)->i_extcnt = (AFFS_I(inode)->i_blkcnt - 1) / AFFS_I 193 fs/affs/inode.c tail->protect = cpu_to_be32(AFFS_I(inode)->i_protect); AFFS_I 277 fs/affs/inode.c cache_page = (unsigned long)AFFS_I(inode)->i_lc; AFFS_I 280 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 281 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 284 fs/affs/inode.c affs_brelse(AFFS_I(inode)->i_ext_bh); AFFS_I 285 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 286 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 317 fs/affs/inode.c atomic_set(&AFFS_I(inode)->i_opencnt, 0); AFFS_I 318 fs/affs/inode.c AFFS_I(inode)->i_blkcnt = 0; AFFS_I 319 fs/affs/inode.c AFFS_I(inode)->i_lc = NULL; AFFS_I 320 fs/affs/inode.c AFFS_I(inode)->i_lc_size = 0; AFFS_I 321 fs/affs/inode.c AFFS_I(inode)->i_lc_shift = 0; AFFS_I 322 fs/affs/inode.c AFFS_I(inode)->i_lc_mask = 0; AFFS_I 323 fs/affs/inode.c AFFS_I(inode)->i_ac = NULL; AFFS_I 324 fs/affs/inode.c AFFS_I(inode)->i_ext_bh = NULL; AFFS_I 325 fs/affs/inode.c AFFS_I(inode)->mmu_private = 0; AFFS_I 326 fs/affs/inode.c AFFS_I(inode)->i_protect = 0; AFFS_I 327 fs/affs/inode.c AFFS_I(inode)->i_lastalloc = 0; AFFS_I 328 fs/affs/inode.c AFFS_I(inode)->i_pa_cnt = 0; AFFS_I 329 fs/affs/inode.c AFFS_I(inode)->i_extcnt = 1; AFFS_I 330 fs/affs/inode.c AFFS_I(inode)->i_ext_last = ~1; AFFS_I 117 fs/affs/super.c kmem_cache_free(affs_inode_cachep, AFFS_I(inode));