Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jfs/
Dxattr.c146 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write_inline() local
153 assert(size <= sizeof (ji->i_inline_ea)); in ea_write_inline()
159 if (!(ji->mode2 & INLINEEA) && !(ji->ea.flag & DXD_INLINE)) in ea_write_inline()
165 memcpy(ji->i_inline_ea, ealist, size); in ea_write_inline()
167 ji->mode2 &= ~INLINEEA; in ea_write_inline()
175 if (ji->ea.flag & DXD_INLINE) in ea_write_inline()
176 ji->mode2 |= INLINEEA; in ea_write_inline()
205 struct jfs_inode_info *ji = JFS_IP(ip); in ea_write() local
219 if (!ealist || size <= sizeof (ji->i_inline_ea)) { in ea_write()
293 if (ji->ea.flag & DXD_INLINE) in ea_write()
[all …]
Dfile.c61 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_open() local
62 spin_lock_irq(&ji->ag_lock); in jfs_open()
63 if (ji->active_ag == -1) { in jfs_open()
65 ji->active_ag = BLKTOAG(addressPXD(&ji->ixpxd), jfs_sb); in jfs_open()
66 atomic_inc(&jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open()
68 spin_unlock_irq(&ji->ag_lock); in jfs_open()
75 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_release() local
77 spin_lock_irq(&ji->ag_lock); in jfs_release()
78 if (ji->active_ag != -1) { in jfs_release()
80 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
[all …]
Djfs_extent.c301 struct jfs_inode_info *ji = JFS_IP(ip); in extBalloc() local
339 if (S_ISREG(ip->i_mode) && (ji->fileset == FILESYSTEM_I)) { in extBalloc()
341 spin_lock_irq(&ji->ag_lock); in extBalloc()
342 if (ji->active_ag == -1) { in extBalloc()
344 ji->active_ag = ag; in extBalloc()
345 } else if (ji->active_ag != ag) { in extBalloc()
346 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()
348 ji->active_ag = ag; in extBalloc()
350 spin_unlock_irq(&ji->ag_lock); in extBalloc()
Dinode.c141 struct jfs_inode_info *ji = JFS_IP(inode); in jfs_evict_inode() local
169 BUG_ON(!list_empty(&ji->anon_inode_list)); in jfs_evict_inode()
171 spin_lock_irq(&ji->ag_lock); in jfs_evict_inode()
172 if (ji->active_ag != -1) { in jfs_evict_inode()
174 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_evict_inode()
175 ji->active_ag = -1; in jfs_evict_inode()
177 spin_unlock_irq(&ji->ag_lock); in jfs_evict_inode()