Lines Matching refs:ji
74 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
75 spin_lock_irq(&ji->ag_lock); in jfs_open()
76 if (ji->active_ag == -1) { in jfs_open()
78 ji->active_ag = BLKTOAG(addressPXD(&ji->ixpxd), jfs_sb); in jfs_open()
79 atomic_inc(&jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open()
81 spin_unlock_irq(&ji->ag_lock); in jfs_open()
88 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
90 spin_lock_irq(&ji->ag_lock); in jfs_release()
91 if (ji->active_ag != -1) { in jfs_release()
93 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
94 ji->active_ag = -1; in jfs_release()
96 spin_unlock_irq(&ji->ag_lock); in jfs_release()