Home
last modified time | relevance | path

Searched refs:ji (Results 1 – 4 of 4) sorted by relevance

/fs/jfs/
Dxattr.c161 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() local
168 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() local
234 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()
308 if (ji->ea.flag & DXD_INLINE) in ea_write()
[all …]
Dfile.c73 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()
[all …]
Djfs_extent.c511 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc() local
549 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()
Dsuper.c121 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_i_callback() local
122 kmem_cache_free(jfs_inode_cachep, ji); in jfs_i_callback()
127 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_destroy_inode() local
129 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()