Lines Matching refs:ji
73 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
74 spin_lock_irq(&ji->ag_lock); in jfs_open()
75 if (ji->active_ag == -1) { in jfs_open()
77 ji->active_ag = BLKTOAG(addressPXD(&ji->ixpxd), jfs_sb); in jfs_open()
78 atomic_inc( &jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open()
80 spin_unlock_irq(&ji->ag_lock); in jfs_open()
87 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
89 spin_lock_irq(&ji->ag_lock); in jfs_release()
90 if (ji->active_ag != -1) { in jfs_release()
92 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
93 ji->active_ag = -1; in jfs_release()
95 spin_unlock_irq(&ji->ag_lock); in jfs_release()