Lines Matching refs:jfs_ip
598 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txLock() local
617 lid = jfs_ip->xtlid; in txLock()
659 if (jfs_ip->atlhead == lid) { in txLock()
660 if (jfs_ip->atltail == lid) { in txLock()
665 list_del_init(&jfs_ip->anon_inode_list); in txLock()
668 jfs_ip->atlhead = tlck->next; in txLock()
671 for (last = jfs_ip->atlhead; in txLock()
677 if (jfs_ip->atltail == lid) in txLock()
678 jfs_ip->atltail = last; in txLock()
741 jfs_ip->xtlid = lid; in txLock()
762 tlck->next = jfs_ip->atlhead; in txLock()
763 jfs_ip->atlhead = lid; in txLock()
766 jfs_ip->atltail = lid; in txLock()
768 list_add_tail(&jfs_ip->anon_inode_list, in txLock()
799 p = &jfs_ip->i_xtroot; in txLock()
836 if (jfs_ip->fileset != AGGREGATE_I) { in txLock()
1002 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txMaplock() local
1047 tlck->next = jfs_ip->atlhead; in txMaplock()
1048 jfs_ip->atlhead = lid; in txMaplock()
1051 jfs_ip->atltail = lid; in txMaplock()
1052 list_add_tail(&jfs_ip->anon_inode_list, in txMaplock()
1151 struct jfs_inode_info *jfs_ip; in txCommit() local
1220 jfs_ip = JFS_IP(ip); in txCommit()
1253 if (jfs_ip->atlhead) { in txCommit()
1254 lid_to_tlock(jfs_ip->atltail)->next = tblk->next; in txCommit()
1255 tblk->next = jfs_ip->atlhead; in txCommit()
1257 tblk->last = jfs_ip->atltail; in txCommit()
1258 jfs_ip->atlhead = jfs_ip->atltail = 0; in txCommit()
1260 list_del_init(&jfs_ip->anon_inode_list); in txCommit()
1357 jfs_ip = JFS_IP(ip); in txCommit()
1362 jfs_ip->bxflag = 0; in txCommit()
1363 jfs_ip->blid = 0; in txCommit()
2599 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txFreelock() local
2603 if (!jfs_ip->atlhead) in txFreelock()
2607 xtlck = (struct tlock *) &jfs_ip->atlhead; in txFreelock()
2620 if (jfs_ip->atlhead) in txFreelock()
2621 jfs_ip->atltail = xlid; in txFreelock()
2623 jfs_ip->atltail = 0; in txFreelock()
2627 list_del_init(&jfs_ip->anon_inode_list); in txFreelock()
2863 struct jfs_inode_info *jfs_ip; in txQuiesce() local
2872 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2875 ip = &jfs_ip->vfs_inode; in txQuiesce()
2883 mutex_lock(&jfs_ip->commit_mutex); in txQuiesce()
2886 mutex_unlock(&jfs_ip->commit_mutex); in txQuiesce()
2934 struct jfs_inode_info *jfs_ip; in jfs_sync() local
2943 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()
2946 ip = &jfs_ip->vfs_inode; in jfs_sync()
2952 list_del_init(&jfs_ip->anon_inode_list); in jfs_sync()
2953 } else if (mutex_trylock(&jfs_ip->commit_mutex)) { in jfs_sync()
2962 mutex_unlock(&jfs_ip->commit_mutex); in jfs_sync()
2979 list_move(&jfs_ip->anon_inode_list, in jfs_sync()