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)
1376 struct tlock *tlck;
1380 * write log record(s) for each tlock of transaction,
1393 /* write log record of page from the tlock */
1416 jfs_err("UFO tlock:0x%p", tlck);
1426 * function: log inode tlock and format maplock to update bmap;
1429 struct tlock *tlck, struct commit *cd)
1464 * the tlock had been acquired on the inode allocation map page
1504 * function: log data tlock
1507 struct tlock *tlck)
1550 * function: log dtree tlock and format maplock to update bmap;
1553 struct tlock * tlck)
1653 * function: log xtree tlock and format maplock to update bmap;
1656 struct tlock * tlck)
2039 struct tlock * tlck)
2127 struct tlock *tlck = NULL;
2179 struct tlock *tlck;
2250 struct tlock *tlck;
2269 * scan each tlock/page of transaction for block allocation/free:
2271 * for each tlock/page of transaction, update map.
2272 * ? are there tlock for pmap and pwmap at the same time ?
2545 * function: remove tlock from inode anonymous locklist
2550 struct tlock *xtlck, *tlck;
2557 xtlck = (struct tlock *) &jfs_ip->atlhead;
2598 struct tlock *tlck;
2623 /* insert tlock at head of freelist */
2923 * be held by a thread waiting for tlock's