Home
last modified time | relevance | path

Searched refs:tblk (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/fs/jfs/
Djfs_txnmgr.c170 static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
172 static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
174 static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
176 static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
179 struct tblock * tblk);
180 static void txForce(struct tblock * tblk);
181 static int txLog(struct jfs_log * log, struct tblock * tblk,
183 static void txUpdateMap(struct tblock * tblk);
184 static void txRelease(struct tblock * tblk);
185 static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
[all …]
Djfs_logmgr.c98 #define LOGGC_WAKEUP(tblk) wake_up_all(&(tblk)->gcwait) argument
162 extern void txLazyUnlock(struct tblock * tblk);
169 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
217 int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmLog() argument
225 log, tblk, lrd, tlck); in lmLog()
230 if (tblk == NULL) in lmLog()
275 if (tblk->lsn == 0) { in lmLog()
277 tblk->lsn = mp->lsn; in lmLog()
281 list_add(&tblk->synclist, &mp->synclist); in lmLog()
289 logdiff(difft, tblk->lsn, log); in lmLog()
[all …]
Dnamei.c69 struct tblock *tblk; in jfs_create() local
101 tblk = tid_to_tblock(tid); in jfs_create()
102 tblk->xflag |= COMMIT_CREATE; in jfs_create()
103 tblk->ip = ip; in jfs_create()
184 struct tblock *tblk; in jfs_mkdir() local
222 tblk = tid_to_tblock(tid); in jfs_mkdir()
223 tblk->xflag |= COMMIT_CREATE; in jfs_mkdir()
224 tblk->ip = ip; in jfs_mkdir()
309 struct tblock *tblk; in jfs_rmdir() local
330 tblk = tid_to_tblock(tid); in jfs_rmdir()
[all …]
Djfs_txnmgr.h302 struct tblock * tblk, int maptype);
308 extern int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
Djfs_imap.h148 boolean_t is_free, struct tblock * tblk);
Djfs_xtree.c2789 struct tblock *tblk; in xtRelocate() local
3402 struct tblock *tblk = 0; in xtTruncate() local
3413 tblk = tid_to_tblock(tid); in xtTruncate()
3414 tblk->xflag |= flag; in xtTruncate()
3772 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3779 if (tblk->next == lid) in xtTruncate()
3780 tblk->next = tlck->next; in xtTruncate()
3782 for (prev = lid_to_tlock(tblk->next); in xtTruncate()
3789 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3791 tblk->last = lid; in xtTruncate()
[all …]
Djfs_imap.c2795 unsigned long inum, boolean_t is_free, struct tblock * tblk) in diUpdatePMap() argument
2878 lsn = tblk->lsn; in diUpdatePMap()
2879 log = JFS_SBI(tblk->sb)->log; in diUpdatePMap()
2889 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2895 logdiff(difft, tblk->clsn, log); in diUpdatePMap()
2898 mp->clsn = tblk->clsn; in diUpdatePMap()
2906 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2907 mp->clsn = tblk->clsn; in diUpdatePMap()
Djfs_dmap.h283 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
Djfs_dmap.c463 int free, s64 blkno, s64 nblocks, struct tblock * tblk) in dbUpdatePMap() argument
486 lsn = tblk->lsn; in dbUpdatePMap()
487 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in dbUpdatePMap()
587 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
593 logdiff(difft, tblk->clsn, log); in dbUpdatePMap()
596 mp->clsn = tblk->clsn; in dbUpdatePMap()
606 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
608 mp->clsn = tblk->clsn; in dbUpdatePMap()
Djfs_dtree.c2815 struct tblock *tblk = tid_to_tblock(tid); in dtInitRoot() local
2822 xflag_save = tblk->xflag; in dtInitRoot()
2823 tblk->xflag = 0; in dtInitRoot()
2835 tblk->xflag = xflag_save; in dtInitRoot()