Home
last modified time | relevance | path

Searched refs:linelock (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/fs/jfs/
Djfs_txnmgr.h157 struct linelock { struct
171 #define dt_lock linelock argument
287 extern struct linelock *txLinelock(struct linelock *);
Djfs_txnmgr.c586 struct linelock *linelock; in txLock() local
757 linelock = (struct linelock *) & tlck->lock; in txLock()
758 linelock->next = 0; in txLock()
759 linelock->flag = tlckLINELOCK; in txLock()
760 linelock->maxcnt = TLOCKSHORT; in txLock()
761 linelock->index = 0; in txLock()
765 linelock->l2linesize = L2DTSLOTSIZE; in txLock()
769 linelock->l2linesize = L2XTSLOTSIZE; in txLock()
771 xtlck = (struct xtlock *) linelock; in txLock()
793 linelock->l2linesize = L2INODESLOTSIZE; in txLock()
[all …]
Djfs_logmgr.c359 struct linelock *linelock; in lmWriteRecord() local
381 linelock = (struct linelock *) & tlck->lock; in lmWriteRecord()
389 linelock = (struct linelock *) & tlck->lock; in lmWriteRecord()
396 linelock = (struct linelock *) & tlck; in lmWriteRecord()
403 l2linesize = linelock->l2linesize; in lmWriteRecord()
406 ASSERT(linelock->index <= linelock->maxcnt); in lmWriteRecord()
408 lv = linelock->lv; in lmWriteRecord()
409 for (i = 0; i < linelock->index; i++, lv++) { in lmWriteRecord()
463 if ((i = linelock->next)) { in lmWriteRecord()
464 linelock = (struct linelock *) lid_to_tlock(i); in lmWriteRecord()
Djfs_imap.c597 struct linelock *dilinelock, *ilinelock; in diWrite()
654 dilinelock = (struct linelock *) & ditlck->lock; in diWrite()
682 ilinelock = (struct linelock *) & tlck->lock; in diWrite()
711 ilinelock = (struct linelock *) & tlck->lock; in diWrite()
Djfs_dtree.c295 struct linelock *llck; in lock_index()
299 llck = (struct linelock *) tlck->lock; in lock_index()
329 struct linelock *llck; in add_index()
413 llck = (struct linelock *) & tlck->lock; in add_index()