Home
last modified time | relevance | path

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

/Linux-v4.19/fs/jfs/
Djfs_txnmgr.c164 static int diLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
166 static int dataLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
168 static void dtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
170 static void mapLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
173 struct tblock * tblk);
174 static void txForce(struct tblock * tblk);
175 static int txLog(struct jfs_log * log, struct tblock * tblk,
177 static void txUpdateMap(struct tblock * tblk);
178 static void txRelease(struct tblock * tblk);
179 static void xtLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd,
[all …]
Djfs_logmgr.c105 #define LOGGC_WAKEUP(tblk) wake_up_all(&(tblk)->gcwait) argument
176 static int lmWriteRecord(struct jfs_log * log, struct tblock * tblk,
238 int lmLog(struct jfs_log * log, struct tblock * tblk, struct lrd * lrd, in lmLog() argument
247 log, tblk, lrd, tlck); in lmLog()
252 if (tblk == NULL) in lmLog()
297 if (tblk->lsn == 0) { in lmLog()
299 tblk->lsn = mp->lsn; in lmLog()
303 list_add(&tblk->synclist, &mp->synclist); in lmLog()
311 logdiff(difft, tblk->lsn, log); in lmLog()
314 tblk->lsn = mp->lsn; in lmLog()
[all …]
Dnamei.c85 struct tblock *tblk; in jfs_create() local
132 tblk = tid_to_tblock(tid); in jfs_create()
133 tblk->xflag |= COMMIT_CREATE; in jfs_create()
134 tblk->ino = ip->i_ino; in jfs_create()
135 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_create()
217 struct tblock *tblk; in jfs_mkdir() local
264 tblk = tid_to_tblock(tid); in jfs_mkdir()
265 tblk->xflag |= COMMIT_CREATE; in jfs_mkdir()
266 tblk->ino = ip->i_ino; in jfs_mkdir()
267 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
[all …]
Djfs_imap.h166 bool is_free, struct tblock * tblk);
Djfs_xtree.c2564 struct tblock *tblk; in xtRelocate() local
3175 struct tblock *tblk = NULL; in xtTruncate() local
3186 tblk = tid_to_tblock(tid); in xtTruncate()
3187 tblk->xflag |= flag; in xtTruncate()
3545 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
3552 if (tblk->next == lid) in xtTruncate()
3553 tblk->next = tlck->next; in xtTruncate()
3555 for (prev = lid_to_tlock(tblk->next); in xtTruncate()
3562 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
3564 tblk->last = lid; in xtTruncate()
[all …]
Djfs_dmap.c425 int free, s64 blkno, s64 nblocks, struct tblock * tblk) in dbUpdatePMap() argument
448 lsn = tblk->lsn; in dbUpdatePMap()
449 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in dbUpdatePMap()
549 list_move(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
553 logdiff(difft, tblk->clsn, log); in dbUpdatePMap()
556 mp->clsn = tblk->clsn; in dbUpdatePMap()
563 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
565 mp->clsn = tblk->clsn; in dbUpdatePMap()
Djfs_imap.c2731 unsigned long inum, bool is_free, struct tblock * tblk) in diUpdatePMap() argument
2813 lsn = tblk->lsn; in diUpdatePMap()
2814 log = JFS_SBI(tblk->sb)->log; in diUpdatePMap()
2823 list_move(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2827 logdiff(difft, tblk->clsn, log); in diUpdatePMap()
2830 mp->clsn = tblk->clsn; in diUpdatePMap()
2836 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2837 mp->clsn = tblk->clsn; in diUpdatePMap()
Djfs_dmap.h300 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
Djfs_dtree.c2844 struct tblock *tblk = tid_to_tblock(tid); in dtInitRoot() local
2851 xflag_save = tblk->xflag; in dtInitRoot()
2852 tblk->xflag = 0; in dtInitRoot()
2864 tblk->xflag = xflag_save; in dtInitRoot()