Home
last modified time | relevance | path

Searched refs:active_ag (Results 1 – 6 of 6) sorted by relevance

/linux/fs/jfs/
H A Dfile.c66 if (ji->active_ag == -1) { in jfs_open()
68 ji->active_ag = BLKTOAG(addressPXD(&ji->ixpxd), jfs_sb); in jfs_open()
69 atomic_inc(&jfs_sb->bmap->db_active[ji->active_ag]); in jfs_open()
81 if (ji->active_ag != -1) { in jfs_release()
83 atomic_dec(&bmap->db_active[ji->active_ag]); in jfs_release()
84 ji->active_ag = -1; in jfs_release()
H A Djfs_extent.c357 if (ji->active_ag == -1) { in extBalloc()
359 ji->active_ag = ag; in extBalloc()
360 } else if (ji->active_ag != ag) { in extBalloc()
361 atomic_dec(&bmp->db_active[ji->active_ag]); in extBalloc()
363 ji->active_ag = ag; in extBalloc()
H A Dinode.c172 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()
H A Djfs_incore.h45 signed char active_ag; /* ag currently allocating from */ member
49 spinlock_t ag_lock; /* protects active_ag */
H A Dsuper.c947 jfs_ip->active_ag = -1; in init_once()
H A Djfs_dmap.c818 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()