Searched refs:ji (Results 1 – 5 of 5) sorted by relevance
159 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() local166 assert(size <= sizeof (ji->i_inline_ea)); in ea_write_inline()172 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()178 memcpy(ji->i_inline_ea, ealist, size); in ea_write_inline()180 ji->mode2 &= ~INLINEEA; in ea_write_inline()188 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()189 ji->mode2 |= INLINEEA; in ea_write_inline()218 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write() local232 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()306 if (ji->ea.flag & DXD_INLINE) in ea_write()[all …]
74 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local75 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() local90 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()[all …]
511 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc() local554 if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) { in extBalloc()556 spin_lock_irq(&ji->ag_lock); in extBalloc()557 if (ji->active_ag == -1) { in extBalloc()559 ji->active_ag = ag; in extBalloc()560 } else if (ji->active_ag != ag) { in extBalloc()561 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()563 ji->active_ag = ag; in extBalloc()565 spin_unlock_irq(&ji->ag_lock); in extBalloc()
130 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_i_callback() local131 kmem_cache_free(jfs_inode_cachep, ji); in jfs_i_callback()136 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_destroy_inode() local138 BUG_ON(!list_empty(&ji->anon_inode_list)); in jfs_destroy_inode()140 spin_lock_irq(&ji->ag_lock); in jfs_destroy_inode()141 if (ji->active_ag != -1) { in jfs_destroy_inode()143 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_destroy_inode()144 ji->active_ag = -1; in jfs_destroy_inode()146 spin_unlock_irq(&ji->ag_lock); in jfs_destroy_inode()
11466 T: git git://github.com/jamieiles/linux-2.6-ji.git