Lines Matching refs:jfs_ip

580 	struct jfs_inode_info *jfs_ip = JFS_IP(ip);  in txLock()  local
599 lid = jfs_ip->xtlid; in txLock()
641 if (jfs_ip->atlhead == lid) { in txLock()
642 if (jfs_ip->atltail == lid) { in txLock()
647 list_del_init(&jfs_ip->anon_inode_list); in txLock()
650 jfs_ip->atlhead = tlck->next; in txLock()
653 for (last = jfs_ip->atlhead; in txLock()
659 if (jfs_ip->atltail == lid) in txLock()
660 jfs_ip->atltail = last; in txLock()
723 jfs_ip->xtlid = lid; in txLock()
744 tlck->next = jfs_ip->atlhead; in txLock()
745 jfs_ip->atlhead = lid; in txLock()
748 jfs_ip->atltail = lid; in txLock()
750 list_add_tail(&jfs_ip->anon_inode_list, in txLock()
781 p = &jfs_ip->i_xtroot; in txLock()
818 if (jfs_ip->fileset != AGGREGATE_I) { in txLock()
984 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txMaplock() local
1029 tlck->next = jfs_ip->atlhead; in txMaplock()
1030 jfs_ip->atlhead = lid; in txMaplock()
1033 jfs_ip->atltail = lid; in txMaplock()
1034 list_add_tail(&jfs_ip->anon_inode_list, in txMaplock()
1133 struct jfs_inode_info *jfs_ip; in txCommit() local
1202 jfs_ip = JFS_IP(ip); in txCommit()
1235 if (jfs_ip->atlhead) { in txCommit()
1236 lid_to_tlock(jfs_ip->atltail)->next = tblk->next; in txCommit()
1237 tblk->next = jfs_ip->atlhead; in txCommit()
1239 tblk->last = jfs_ip->atltail; in txCommit()
1240 jfs_ip->atlhead = jfs_ip->atltail = 0; in txCommit()
1242 list_del_init(&jfs_ip->anon_inode_list); in txCommit()
1338 jfs_ip = JFS_IP(ip); in txCommit()
1343 jfs_ip->bxflag = 0; in txCommit()
1344 jfs_ip->blid = 0; in txCommit()
2544 struct jfs_inode_info *jfs_ip = JFS_IP(ip); in txFreelock() local
2548 if (!jfs_ip->atlhead) in txFreelock()
2552 xtlck = (struct tlock *) &jfs_ip->atlhead; in txFreelock()
2565 if (jfs_ip->atlhead) in txFreelock()
2566 jfs_ip->atltail = xlid; in txFreelock()
2568 jfs_ip->atltail = 0; in txFreelock()
2572 list_del_init(&jfs_ip->anon_inode_list); in txFreelock()
2808 struct jfs_inode_info *jfs_ip; in txQuiesce() local
2817 jfs_ip = list_entry(TxAnchor.anon_list.next, in txQuiesce()
2820 ip = &jfs_ip->vfs_inode; in txQuiesce()
2828 mutex_lock(&jfs_ip->commit_mutex); in txQuiesce()
2831 mutex_unlock(&jfs_ip->commit_mutex); in txQuiesce()
2879 struct jfs_inode_info *jfs_ip; in jfs_sync() local
2888 jfs_ip = list_entry(TxAnchor.anon_list.next, in jfs_sync()
2891 ip = &jfs_ip->vfs_inode; in jfs_sync()
2897 list_del_init(&jfs_ip->anon_inode_list); in jfs_sync()
2898 } else if (mutex_trylock(&jfs_ip->commit_mutex)) { in jfs_sync()
2907 mutex_unlock(&jfs_ip->commit_mutex); in jfs_sync()
2924 list_move(&jfs_ip->anon_inode_list, in jfs_sync()