Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_txnmgr.c151 static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
153 static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
155 static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
157 static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
160 struct tblock * tblk);
161 static void txForce(struct tblock * tblk);
162 static int txLog(struct jfs_log * log, struct tblock * tblk,
164 static void txUpdateMap(struct tblock * tblk);
165 static void txRelease(struct tblock * tblk);
166 static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
[all …]
Djfs_logmgr.c92 #define LOGGC_WAKEUP(tblk) wake_up_all(&(tblk)->gcwait) argument
163 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
225 int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmLog() argument
234 log, tblk, lrd, tlck); in lmLog()
239 if (tblk == NULL) in lmLog()
284 if (tblk->lsn == 0) { in lmLog()
286 tblk->lsn = mp->lsn; in lmLog()
290 list_add(&tblk->synclist, &mp->synclist); in lmLog()
298 logdiff(difft, tblk->lsn, log); in lmLog()
301 tblk->lsn = mp->lsn; in lmLog()
[all …]
Dnamei.c72 struct tblock *tblk; in jfs_create() local
119 tblk = tid_to_tblock(tid); in jfs_create()
120 tblk->xflag |= COMMIT_CREATE; in jfs_create()
121 tblk->ino = ip->i_ino; in jfs_create()
122 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
204 struct tblock *tblk; in jfs_mkdir() local
251 tblk = tid_to_tblock(tid); in jfs_mkdir()
252 tblk->xflag |= COMMIT_CREATE; in jfs_mkdir()
253 tblk->ino = ip->i_ino; in jfs_mkdir()
254 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
[all …]
Djfs_xtree.c2551 struct tblock *tblk; in xtRelocate() local
3162 struct tblock *tblk = NULL; in xtTruncate() local
3173 tblk = tid_to_tblock(tid); in xtTruncate()
3174 tblk->xflag |= flag; in xtTruncate()
3532 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3539 if (tblk->next == lid) in xtTruncate()
3540 tblk->next = tlck->next; in xtTruncate()
3542 for (prev = lid_to_tlock(tblk->next); in xtTruncate()
3549 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3551 tblk->last = lid; in xtTruncate()
[all …]
Djfs_imap.h153 bool is_free, struct tblock * tblk);
Djfs_imap.c2718 unsigned long inum, bool is_free, struct tblock * tblk) in diUpdatePMap() argument
2800 lsn = tblk->lsn; in diUpdatePMap()
2801 log = JFS_SBI(tblk->sb)->log; in diUpdatePMap()
2810 list_move(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2814 logdiff(difft, tblk->clsn, log); in diUpdatePMap()
2817 mp->clsn = tblk->clsn; in diUpdatePMap()
2823 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2824 mp->clsn = tblk->clsn; in diUpdatePMap()
Djfs_dmap.c412 int free, s64 blkno, s64 nblocks, struct tblock * tblk) in dbUpdatePMap() argument
435 lsn = tblk->lsn; in dbUpdatePMap()
436 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in dbUpdatePMap()
536 list_move(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
540 logdiff(difft, tblk->clsn, log); in dbUpdatePMap()
543 mp->clsn = tblk->clsn; in dbUpdatePMap()
550 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
552 mp->clsn = tblk->clsn; in dbUpdatePMap()
Djfs_dmap.h287 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
Djfs_dtree.c2831 struct tblock *tblk = tid_to_tblock(tid); in dtInitRoot() local
2838 xflag_save = tblk->xflag; in dtInitRoot()
2839 tblk->xflag = 0; in dtInitRoot()
2851 tblk->xflag = xflag_save; in dtInitRoot()