• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/jfs/

Lines Matching refs:tlock

27  * tlock is acquired at the time of update;
29 * tlock and mp points to each other;
30 * (no hashlist for mp -> tlock).
33 * tlock on in-memory inode:
34 * in-place tlock in the in-memory inode itself;
37 * tlock during write()/mmap() under anonymous transaction (tid = 0):
70 wait_queue_head_t freelockwait; /* eventlist of free tlock */
111 struct tlock *TxLock; /* transaction lock table */
159 int waitlock; /* 4: # of tlock wait */
166 struct tlock * tlck, struct commit * cd);
168 struct tlock * tlck);
170 struct tlock * tlck);
172 struct tlock * tlck);
181 struct tlock * tlck);
304 * initialize transaction lock (tlock) table
306 * transaction lock id = tlock index
307 * tlock id = 0 is reserved.
309 size = sizeof(struct tlock) * nTxLock;
316 /* initialize tlock table */
591 struct tlock *txLock(tid_t tid, struct inode *ip, struct metapage * mp,
598 struct tlock *tlck;
609 * Directory inode is special. It can have both an xtree tlock
610 * and a dtree tlock associated with it.
635 * anonymous tlocks maintained on anonymous tlock list of
638 * they are transferred to the transaction tlock list of
649 * Take tlock off anonymous list and add to tail of
677 /* insert the tlock at tail of transaction tlock list */
692 * allocate a tlock
699 * initialize tlock
705 /* mark tlock for meta-data page */
724 /* mark tlock for in-memory inode */
733 /* bind the tlock and the page */
744 /* insert the tlock at tail of transaction tlock list */
755 * insert the tlock at head of inode anonymous tlock list
815 jfs_err("UFO tlock:0x%p", tlck);
819 * update tlock vector
881 struct tlock *tlck;
911 struct tlock *tlck;
923 * mark page under tlock homeok (its log has been written):
931 /* unbind page from tlock */
959 /* insert tlock, and linelock(s) of the tlock if any,
996 struct tlock *txMaplock(tid_t tid, struct inode *ip, int type)
1001 struct tlock *tlck;
1007 * allocate a tlock
1013 * initialize tlock
1017 /* bind the tlock and the object */
1029 /* insert the tlock at tail of transaction tlock list */
1040 * insert the tlock at head of inode anonymous tlock list
1069 struct linelock *txLinelock(struct linelock * tlock)
1072 struct tlock *tlck;
1092 /* append linelock after tlock */
1093 linelock->next = tlock->next;
1094 tlock->next = lid;
1249 /* inherit anonymous tlock(s) of inode */
1263 * (become first tlock of the tblk's tlock list)
1388 struct tlock *tlck;
1392 * write log record(s) for each tlock of transaction,
1405 /* write log record of page from the tlock */
1428 jfs_err("UFO tlock:0x%p", tlck);
1438 * function: log inode tlock and format maplock to update bmap;
1441 struct tlock * tlck, struct commit * cd)
1477 * the tlock had been acquired on the inode allocation map page
1551 * function: log data tlock
1554 struct tlock * tlck)
1597 * function: log dtree tlock and format maplock to update bmap;
1600 struct tlock * tlck)
1700 * function: log xtree tlock and format maplock to update bmap;
1703 struct tlock * tlck)
2089 struct tlock * tlck)
2177 struct tlock *tlck = NULL;
2229 struct tlock *tlck;
2284 struct tlock *tlck;
2303 * scan each tlock/page of transaction for block allocation/free:
2305 * for each tlock/page of transaction, update map.
2306 * ? are there tlock for pmap and pwmap at the same time ?
2580 * function: remove tlock from inode anonymous locklist
2585 struct tlock *xtlck, *tlck;
2592 xtlck = (struct tlock *) &jfs_ip->atlhead;
2633 struct tlock *tlck;
2658 /* insert tlock at head of freelist */
2961 * be held by a thread waiting for tlock's