Home
last modified time | relevance | path

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

/linux-2.6.39/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.c66 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
67 spin_lock_irq(&ji->ag_lock); in jfs_open()
68 if (ji->active_ag == -1) { in jfs_open()
69 ji->active_ag = ji->agno; in jfs_open()
71 &JFS_SBI(inode->i_sb)->bmap->db_active[ji->agno]); in jfs_open()
73 spin_unlock_irq(&ji->ag_lock); in jfs_open()
80 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
82 spin_lock_irq(&ji->ag_lock); in jfs_release()
83 if (ji->active_ag != -1) { in jfs_release()
85 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
123 kmem_cache_free(jfs_inode_cachep, ji); in jfs_i_callback()
128 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_destroy_inode() local
130 BUG_ON(!list_empty(&ji->anon_inode_list)); in jfs_destroy_inode()
132 spin_lock_irq(&ji->ag_lock); in jfs_destroy_inode()
133 if (ji->active_ag != -1) { in jfs_destroy_inode()
135 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_destroy_inode()
136 ji->active_ag = -1; in jfs_destroy_inode()
138 spin_unlock_irq(&ji->ag_lock); in jfs_destroy_inode()