Home
last modified time | relevance | path

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

/linux-5.19.10/fs/jfs/
Djfs_txnmgr.c151 static void diLog(struct jfs_log *log, struct tblock *tblk, struct lrd *lrd,
153 static void 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 void 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()
205 struct tblock *tblk; in jfs_mkdir() local
252 tblk = tid_to_tblock(tid); in jfs_mkdir()
253 tblk->xflag |= COMMIT_CREATE; in jfs_mkdir()
254 tblk->ino = ip->i_ino; in jfs_mkdir()
255 tblk->u.ixpxd = JFS_IP(ip)->ixpxd; in jfs_mkdir()
[all …]
Djfs_xtree.c2201 struct tblock *tblk = NULL; in xtTruncate() local
2212 tblk = tid_to_tblock(tid); in xtTruncate()
2213 tblk->xflag |= flag; in xtTruncate()
2571 if (log && mp->lid && (tblk->last != mp->lid) && in xtTruncate()
2578 if (tblk->next == lid) in xtTruncate()
2579 tblk->next = tlck->next; in xtTruncate()
2581 for (prev = lid_to_tlock(tblk->next); in xtTruncate()
2588 lid_to_tlock(tblk->last)->next = lid; in xtTruncate()
2590 tblk->last = lid; in xtTruncate()
2755 struct tblock *tblk; in xtTruncate_pmap() local
[all …]
Djfs_imap.h153 bool is_free, struct tblock * tblk);
Djfs_dmap.c420 int free, s64 blkno, s64 nblocks, struct tblock * tblk) in dbUpdatePMap() argument
443 lsn = tblk->lsn; in dbUpdatePMap()
444 log = (struct jfs_log *) JFS_SBI(tblk->sb)->log; in dbUpdatePMap()
544 list_move(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
548 logdiff(difft, tblk->clsn, log); in dbUpdatePMap()
551 mp->clsn = tblk->clsn; in dbUpdatePMap()
558 list_add(&mp->synclist, &tblk->synclist); in dbUpdatePMap()
560 mp->clsn = tblk->clsn; in dbUpdatePMap()
Djfs_imap.c2716 unsigned long inum, bool is_free, struct tblock * tblk) in diUpdatePMap() argument
2798 lsn = tblk->lsn; in diUpdatePMap()
2799 log = JFS_SBI(tblk->sb)->log; in diUpdatePMap()
2808 list_move(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2812 logdiff(difft, tblk->clsn, log); in diUpdatePMap()
2815 mp->clsn = tblk->clsn; in diUpdatePMap()
2821 list_add(&mp->synclist, &tblk->synclist); in diUpdatePMap()
2822 mp->clsn = tblk->clsn; in diUpdatePMap()
Djfs_dmap.h287 int free, s64 blkno, s64 nblocks, struct tblock * tblk);
Djfs_dtree.c2533 struct tblock *tblk = tid_to_tblock(tid); in dtInitRoot() local
2540 xflag_save = tblk->xflag; in dtInitRoot()
2541 tblk->xflag = 0; in dtInitRoot()
2553 tblk->xflag = xflag_save; in dtInitRoot()