Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_txnmgr.c165 static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
167 static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
169 static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
171 static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
174 struct tblock * tblk);
175 static void txForce(struct tblock * tblk);
176 static int txLog(struct jfs_log * log, struct tblock * tblk,
178 static void txUpdateMap(struct tblock * tblk);
179 static void txRelease(struct tblock * tblk);
180 static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
[all …]
Djfs_logmgr.c103 #define LOGGC_WAKEUP(tblk) wake_up_all(&(tblk)->gcwait) argument
174 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
236 int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmLog() argument
245 log, tblk, lrd, tlck); in lmLog()
250 if (tblk == NULL) in lmLog()
295 if (tblk->lsn == 0) { in lmLog()
297 tblk->lsn = mp->lsn; in lmLog()
301 list_add(&tblk->synclist, &mp->synclist); in lmLog()
309 logdiff(difft, tblk->lsn, log); in lmLog()
312 tblk->lsn = mp->lsn; in lmLog()
[all …]
Dnamei.c84 struct tblock *tblk; in jfs_create() local
127 tblk = tid_to_tblock(tid); in jfs_create()
128 tblk->xflag |= COMMIT_CREATE; in jfs_create()
129 tblk->ino = ip->i_ino; in jfs_create()
130 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
214 struct tblock *tblk; in jfs_mkdir() local
263 tblk = tid_to_tblock(tid); in jfs_mkdir()
264 tblk->xflag |= COMMIT_CREATE; in jfs_mkdir()
265 tblk->ino = ip->i_ino; in jfs_mkdir()
266 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
[all …]
Djfs_xtree.c2825 struct tblock *tblk; in xtRelocate() local
3436 struct tblock *tblk = NULL; in xtTruncate() local
3447 tblk = tid_to_tblock(tid); in xtTruncate()
3448 tblk->xflag |= flag; in xtTruncate()
3806 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3813 if (tblk->next == lid) in xtTruncate()
3814 tblk->next = tlck->next; in xtTruncate()
3816 for (prev = lid_to_tlock(tblk->next); in xtTruncate()
3823 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3825 tblk->last = lid; in xtTruncate()
[all …]
Djfs_imap.h166 bool is_free, struct tblock * tblk);
Djfs_dmap.c418 int free, s64 blkno, s64 nblocks, struct tblock * tblk) in dbUpdatePMap() argument
442 lsn = tblk->lsn; in dbUpdatePMap()
443 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in dbUpdatePMap()
543 list_move(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
547 logdiff(difft, tblk->clsn, log); in dbUpdatePMap()
550 mp->clsn = tblk->clsn; in dbUpdatePMap()
557 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
559 mp->clsn = tblk->clsn; in dbUpdatePMap()
Djfs_imap.c2747 unsigned long inum, bool is_free, struct tblock * tblk) in diUpdatePMap() argument
2832 lsn = tblk->lsn; in diUpdatePMap()
2833 log = JFS_SBI(tblk->sb)->log; in diUpdatePMap()
2842 list_move(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2846 logdiff(difft, tblk->clsn, log); in diUpdatePMap()
2849 mp->clsn = tblk->clsn; in diUpdatePMap()
2855 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2856 mp->clsn = tblk->clsn; in diUpdatePMap()
Djfs_dmap.h300 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
Djfs_dtree.c2840 struct tblock *tblk = tid_to_tblock(tid); in dtInitRoot() local
2847 xflag_save = tblk->xflag; in dtInitRoot()
2848 tblk->xflag = 0; in dtInitRoot()
2860 tblk->xflag = xflag_save; in dtInitRoot()