Lines Matching refs:ji
61 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
62 spin_lock_irq(&ji->ag_lock); in jfs_open()
63 if (ji->active_ag == -1) { in jfs_open()
65 ji->active_ag = BLKTOAG(addressPXD(&ji->ixpxd), jfs_sb); in jfs_open()
66 atomic_inc(&jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open()
68 spin_unlock_irq(&ji->ag_lock); in jfs_open()
75 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
77 spin_lock_irq(&ji->ag_lock); in jfs_release()
78 if (ji->active_ag != -1) { in jfs_release()
80 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
81 ji->active_ag = -1; in jfs_release()
83 spin_unlock_irq(&ji->ag_lock); in jfs_release()