Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/jfs/
Dfile.c72 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
73 spin_lock_irq(&ji->ag_lock); in jfs_open()
74 if (ji->active_ag == -1) { in jfs_open()
75 ji->active_ag = ji->agno; in jfs_open()
77 &JFS_SBI(inode->i_sb)->bmap->db_active[ji->agno]); in jfs_open()
79 spin_unlock_irq(&ji->ag_lock); in jfs_open()
86 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
88 spin_lock_irq(&ji->ag_lock); in jfs_release()
89 if (ji->active_ag != -1) { in jfs_release()
91 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
[all …]
Dxattr.c172 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() local
179 assert(size <= sizeof (ji->i_inline_ea)); in ea_write_inline()
185 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()
191 memcpy(ji->i_inline_ea, ealist, size); in ea_write_inline()
193 ji->mode2 &= ~INLINEEA; in ea_write_inline()
201 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()
202 ji->mode2 |= INLINEEA; in ea_write_inline()
232 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write() local
246 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()
312 if (ji->ea.flag & DXD_INLINE) in ea_write()
[all …]
Dinode.c41 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_clear_inode() local
52 spin_lock_irq(&ji->ag_lock); in jfs_clear_inode()
53 if (ji->active_ag != -1) { in jfs_clear_inode()
55 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_clear_inode()
56 ji->active_ag = -1; in jfs_clear_inode()
58 spin_unlock_irq(&ji->ag_lock); in jfs_clear_inode()
60 ASSERT(list_empty(&ji->anon_inode_list)); in jfs_clear_inode()
62 if (ji->atlhead) { in jfs_clear_inode()
66 ji->cflag); in jfs_clear_inode()
Djfs_extent.c517 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc() local
555 if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) { in extBalloc()
557 spin_lock_irq(&ji->ag_lock); in extBalloc()
558 if (ji->active_ag == -1) { in extBalloc()
560 ji->active_ag = ag; in extBalloc()
561 } else if (ji->active_ag != ag) { in extBalloc()
562 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()
564 ji->active_ag = ag; in extBalloc()
566 spin_unlock_irq(&ji->ag_lock); in extBalloc()