Searched refs:active_ag (Results 1 – 6 of 6) sorted by relevance
66 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()
357 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()
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()
45 signed char active_ag; /* ag currently allocating from */ member 49 spinlock_t ag_lock; /* protects active_ag */
947 jfs_ip->active_ag = -1; in init_once()
818 ((writers == 1) && (JFS_IP(ip)->active_ag != agno))) { in dbAlloc()