Home
last modified time | relevance | path

Searched refs:lsn (Results 1 – 23 of 23) sorted by relevance

/fs/xfs/
Dxfs_trans_ail.c57 xfs_lsn_t lsn; in xfs_trans_ail_tail() local
63 lsn = (xfs_lsn_t)0; in xfs_trans_ail_tail()
65 lsn = lip->li_lsn; in xfs_trans_ail_tail()
69 return lsn; in xfs_trans_ail_tail()
220 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first() argument
226 if (lsn == 0) in xfs_trans_ail_cursor_first()
230 if (XFS_LSN_CMP(lip->li_lsn, lsn) >= 0) in xfs_trans_ail_cursor_first()
250 xfs_lsn_t lsn; in xfsaild_push() local
283 lsn = lip->li_lsn; in xfsaild_push()
304 last_pushed_lsn = lsn; in xfsaild_push()
[all …]
Dxfs_log.h23 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) argument
24 #define BLOCK_LSN(lsn) ((uint)(lsn)) argument
27 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) argument
143 xfs_lsn_t lsn,
147 xfs_lsn_t lsn,
Dxfs_extfree_item.c188 xfs_efi_item_committed(xfs_efi_log_item_t *efip, xfs_lsn_t lsn) in xfs_efi_item_committed() argument
190 return lsn; in xfs_efi_item_committed()
214 xfs_efi_item_committing(xfs_efi_log_item_t *efip, xfs_lsn_t lsn) in xfs_efi_item_committing() argument
475 xfs_efd_item_committed(xfs_efd_log_item_t *efdp, xfs_lsn_t lsn) in xfs_efd_item_committed() argument
508 xfs_efd_item_committing(xfs_efd_log_item_t *efip, xfs_lsn_t lsn) in xfs_efd_item_committing() argument
Dxfs_trans_priv.h89 struct xfs_log_item *lip, xfs_lsn_t lsn)
102 xfs_lsn_t lsn);
Dxfs_log.c83 xfs_lsn_t lsn,
337 xfs_lsn_t lsn = 0; in xfs_log_done() local
346 (xlog_in_core_t **)iclog, &lsn)))) { in xfs_log_done()
347 lsn = (xfs_lsn_t) -1; in xfs_log_done()
373 return lsn; in xfs_log_done()
393 xfs_lsn_t lsn, in _xfs_log_force() argument
409 if (lsn == 0) in _xfs_log_force()
412 return xlog_state_sync(log, lsn, flags, log_flushed); in _xfs_log_force()
423 xfs_lsn_t lsn, in xfs_log_force() argument
427 error = _xfs_log_force(mp, lsn, flags, NULL); in xfs_log_force()
[all …]
Dxfs_trans.h806 #define IOP_COMMITTED(ip, lsn) (*(ip)->li_ops->iop_committed)(ip, lsn) argument
809 #define IOP_COMMITTING(ip, lsn) (*(ip)->li_ops->iop_committing)(ip, lsn) argument
Dxfs_inode_item.c745 xfs_lsn_t lsn) in xfs_inode_item_committed() argument
747 return (lsn); in xfs_inode_item_committed()
890 xfs_lsn_t lsn) in xfs_inode_item_committing() argument
892 iip->ili_last_lsn = lsn; in xfs_inode_item_committing()
Dxfs_buf_item.c619 xfs_lsn_t lsn) in xfs_buf_item_committed() argument
626 return (lsn); in xfs_buf_item_committed()
Dxfs_trans.c1387 xfs_lsn_t lsn, in xfs_trans_chunk_committed() argument
1412 item_lsn = IOP_COMMITTED(lip, lsn); in xfs_trans_chunk_committed()
Dxfs_log_recover.c1484 xfs_lsn_t lsn) in xlog_recover_new_tid() argument
1490 trans->r_lsn = lsn; in xlog_recover_new_tid()
2666 xfs_lsn_t lsn, in xlog_recover_do_efi_trans() argument
2694 xfs_trans_ail_update(log->l_ailp, (xfs_log_item_t *)efip, lsn); in xlog_recover_do_efi_trans()
Dxfs_alloc.c2690 xfs_lsn_t lsn; in xfs_alloc_search_busy() local
2724 lsn = bsy->busy_tp->t_commit_lsn; in xfs_alloc_search_busy()
2726 xfs_log_force(mp, lsn, XFS_LOG_FORCE|XFS_LOG_SYNC); in xfs_alloc_search_busy()
/fs/jfs/
Djfs_logmgr.c239 int lsn; in lmLog() local
261 lsn = log->lsn; in lmLog()
268 if (mp->lsn == 0) { in lmLog()
270 mp->lsn = lsn; in lmLog()
295 if (tblk->lsn == 0) { in lmLog()
297 tblk->lsn = mp->lsn; in lmLog()
308 logdiff(diffp, mp->lsn, log); in lmLog()
309 logdiff(difft, tblk->lsn, log); in lmLog()
312 tblk->lsn = mp->lsn; in lmLog()
325 lsn = lmWriteRecord(log, tblk, lrd, tlck); in lmLog()
[all …]
Djfs_logmgr.h405 int lsn; /* 4: end-of-log */ member
482 s32 lsn; /* log sequence number */ member
496 #define logdiff(diff, lsn, log)\ argument
498 diff = (lsn) - (log)->syncpt;\
Djfs_metapage.c190 mp->lsn = 0; in init_once()
310 if (mp->lsn) { in remove_from_logsync()
312 mp->lsn = 0; in remove_from_logsync()
328 if (mp->lsn) in last_write_complete()
556 if (mp->lsn) in metapage_releasepage()
758 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage()
800 if (mp->lsn) in __invalidate_metapages()
Djfs_dmap.c428 int lsn, difft, diffp; in dbUpdatePMap() local
442 lsn = tblk->lsn; in dbUpdatePMap()
444 logdiff(difft, lsn, log); in dbUpdatePMap()
536 if (mp->lsn != 0) { in dbUpdatePMap()
538 logdiff(diffp, mp->lsn, log); in dbUpdatePMap()
540 mp->lsn = lsn; in dbUpdatePMap()
553 mp->lsn = lsn; in dbUpdatePMap()
Djfs_imap.c2756 int lsn, difft, diffp; in diUpdatePMap() local
2832 lsn = tblk->lsn; in diUpdatePMap()
2835 if (mp->lsn != 0) { in diUpdatePMap()
2837 logdiff(difft, lsn, log); in diUpdatePMap()
2838 logdiff(diffp, mp->lsn, log); in diUpdatePMap()
2840 mp->lsn = lsn; in diUpdatePMap()
2852 mp->lsn = lsn; in diUpdatePMap()
Djfs_metapage.h29 int lsn; member
Djfs_txnmgr.h43 s32 lsn; /* recovery lsn */ member
Djfs_txnmgr.c432 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin()
560 jfs_info("log barrier off: 0x%x", log->lsn); in txEnd()
721 if ((tid == 0) && mp->lsn) in txLock()
982 if (tblk->lsn) { in txUnlock()
1146 int lsn; in txCommit() local
1313 lsn = lmLog(log, tblk, lrd, NULL); in txCommit()
2671 if (mp->xflag & COMMIT_PAGE && mp->lsn) in txAbort()
/fs/xfs/quota/
Dxfs_dquot_item.c169 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committed() argument
175 return (lsn); in xfs_qm_dquot_logitem_committed()
382 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committing() argument
532 xfs_qm_qoff_logitem_committed(xfs_qoff_logitem_t *qf, xfs_lsn_t lsn) in xfs_qm_qoff_logitem_committed() argument
534 return (lsn); in xfs_qm_qoff_logitem_committed()
553 xfs_lsn_t lsn) in xfs_qm_qoffend_logitem_committed() argument
/fs/ntfs/
Dlogfile.c350 LSN *lsn) in ntfs_check_and_load_restart_page() argument
450 if (lsn) { in ntfs_check_and_load_restart_page()
452 *lsn = sle64_to_cpu(ra->current_lsn); in ntfs_check_and_load_restart_page()
454 *lsn = sle64_to_cpu(rp->chkdsk_lsn); in ntfs_check_and_load_restart_page()
Dlayout.h344 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member
413 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member
2069 /* 8*/ sle64 lsn; /* $LogFile sequence number of the last member
Dmft.c2053 m->lsn = 0; in ntfs_mft_record_layout()