Searched refs:ji (Results 1 – 4 of 4) sorted by relevance
161 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() local168 assert(size <= sizeof (ji->i_inline_ea)); in ea_write_inline()174 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()180 memcpy(ji->i_inline_ea, ealist, size); in ea_write_inline()182 ji->mode2 &= ~INLINEEA; in ea_write_inline()190 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()191 ji->mode2 |= INLINEEA; in ea_write_inline()220 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write() local234 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()308 if (ji->ea.flag & DXD_INLINE) in ea_write()[all …]
73 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local74 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() local89 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()[all …]
511 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc() local549 if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) { in extBalloc()551 spin_lock_irq(&ji->ag_lock); in extBalloc()552 if (ji->active_ag == -1) { in extBalloc()554 ji->active_ag = ag; in extBalloc()555 } else if (ji->active_ag != ag) { in extBalloc()556 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()558 ji->active_ag = ag; in extBalloc()560 spin_unlock_irq(&ji->ag_lock); in extBalloc()
121 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_i_callback() local122 kmem_cache_free(jfs_inode_cachep, ji); in jfs_i_callback()127 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_destroy_inode() local129 BUG_ON(!list_empty(&ji->anon_inode_list)); in jfs_destroy_inode()131 spin_lock_irq(&ji->ag_lock); in jfs_destroy_inode()132 if (ji->active_ag != -1) { in jfs_destroy_inode()134 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_destroy_inode()135 ji->active_ag = -1; in jfs_destroy_inode()137 spin_unlock_irq(&ji->ag_lock); in jfs_destroy_inode()