Lines Matching refs:tlock

14  * tlock is acquired at the time of update;
16 * tlock and mp points to each other;
17 * (no hashlist for mp -> tlock).
20 * tlock on in-memory inode:
21 * in-place tlock in the in-memory inode itself;
24 * tlock during write()/mmap() under anonymous transaction (tid = 0):
57 wait_queue_head_t freelockwait; /* eventlist of free tlock */
98 struct tlock *TxLock; /* transaction lock table */
145 int waitlock; /* 4: # of tlock wait */
152 struct tlock * tlck, struct commit * cd);
154 struct tlock * tlck);
156 struct tlock * tlck);
158 struct tlock * tlck);
167 struct tlock * tlck);
290 * initialize transaction lock (tlock) table
292 * transaction lock id = tlock index
293 * tlock id = 0 is reserved.
295 size = sizeof(struct tlock) * nTxLock;
302 /* initialize tlock table */
582 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp,
589 struct tlock *tlck;
600 * Directory inode is special. It can have both an xtree tlock
601 * and a dtree tlock associated with it.
626 * anonymous tlocks maintained on anonymous tlock list of
629 * they are transferred to the transaction tlock list of
640 * Take tlock off anonymous list and add to tail of
668 /* insert the tlock at tail of transaction tlock list */
683 * allocate a tlock
690 * initialize tlock
696 /* mark tlock for meta-data page */
715 /* mark tlock for in-memory inode */
724 /* bind the tlock and the page */
735 /* insert the tlock at tail of transaction tlock list */
746 * insert the tlock at head of inode anonymous tlock list
806 jfs_err("UFO tlock:0x%p", tlck);
810 * update tlock vector
872 struct tlock *tlck;
902 struct tlock *tlck;
914 * mark page under tlock homeok (its log has been written):
922 /* unbind page from tlock */
950 /* insert tlock, and linelock(s) of the tlock if any,
987 struct tlock *txMaplock(tid_t tid, struct inode *ip, int type)
992 struct tlock *tlck;
998 * allocate a tlock
1004 * initialize tlock
1008 /* bind the tlock and the object */
1020 /* insert the tlock at tail of transaction tlock list */
1031 * insert the tlock at head of inode anonymous tlock list
1060 struct linelock *txLinelock(struct linelock * tlock)
1063 struct tlock *tlck;
1083 /* append linelock after tlock */
1084 linelock->next = tlock->next;
1085 tlock->next = lid;
1239 /* inherit anonymous tlock(s) of inode */
1253 * (become first tlock of the tblk's tlock list)
1378 struct tlock *tlck;
1382 * write log record(s) for each tlock of transaction,
1395 /* write log record of page from the tlock */
1418 jfs_err("UFO tlock:0x%p", tlck);
1428 * function: log inode tlock and format maplock to update bmap;
1431 struct tlock * tlck, struct commit * cd)
1467 * the tlock had been acquired on the inode allocation map page
1541 * function: log data tlock
1544 struct tlock * tlck)
1587 * function: log dtree tlock and format maplock to update bmap;
1590 struct tlock * tlck)
1690 * function: log xtree tlock and format maplock to update bmap;
1693 struct tlock * tlck)
2076 struct tlock * tlck)
2164 struct tlock *tlck = NULL;
2216 struct tlock *tlck;
2287 struct tlock *tlck;
2306 * scan each tlock/page of transaction for block allocation/free:
2308 * for each tlock/page of transaction, update map.
2309 * ? are there tlock for pmap and pwmap at the same time ?
2582 * function: remove tlock from inode anonymous locklist
2587 struct tlock *xtlck, *tlck;
2594 xtlck = (struct tlock *) &jfs_ip->atlhead;
2635 struct tlock *tlck;
2660 /* insert tlock at head of freelist */
2960 * be held by a thread waiting for tlock's