Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_ail.c133 xfs_lsn_t lsn = 0; in xfs_ail_min_lsn() local
139 lsn = lip->li_lsn; in xfs_ail_min_lsn()
142 return lsn; in xfs_ail_min_lsn()
152 xfs_lsn_t lsn = 0; in xfs_ail_max_lsn() local
158 lsn = lip->li_lsn; in xfs_ail_max_lsn()
161 return lsn; in xfs_ail_max_lsn()
243 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first() argument
249 if (lsn == 0) { in xfs_trans_ail_cursor_first()
255 if (XFS_LSN_CMP(lip->li_lsn, lsn) >= 0) in xfs_trans_ail_cursor_first()
269 xfs_lsn_t lsn) in __xfs_trans_ail_cursor_last() argument
[all …]
Dxfs_log.h22 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) argument
23 #define BLOCK_LSN(lsn) ((uint)(lsn)) argument
26 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) argument
143 xfs_lsn_t lsn,
147 xfs_lsn_t lsn,
Dxfs_trans_priv.h82 xfs_lsn_t lsn) __releases(ailp->xa_lock);
87 xfs_lsn_t lsn) __releases(ailp->xa_lock) in xfs_trans_ail_update() argument
89 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update()
109 xfs_lsn_t lsn);
112 xfs_lsn_t lsn);
Dxfs_dquot_item.c146 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committed() argument
152 return lsn; in xfs_qm_dquot_logitem_committed()
290 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committing() argument
427 xfs_lsn_t lsn) in xfs_qm_qoff_logitem_committed() argument
429 return lsn; in xfs_qm_qoff_logitem_committed()
446 xfs_lsn_t lsn) in xfs_qm_qoffend_logitem_committed() argument
Dxfs_export.c235 xfs_lsn_t lsn = 0; in xfs_fs_nfs_commit_metadata() local
239 lsn = ip->i_itemp->ili_last_lsn; in xfs_fs_nfs_commit_metadata()
242 if (!lsn) in xfs_fs_nfs_commit_metadata()
244 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_fs_nfs_commit_metadata()
Dxfs_extfree_item.c184 xfs_lsn_t lsn) in xfs_efi_item_committed() argument
189 return lsn; in xfs_efi_item_committed()
213 xfs_lsn_t lsn) in xfs_efi_item_committing() argument
438 xfs_lsn_t lsn) in xfs_efd_item_committed() argument
473 xfs_lsn_t lsn) in xfs_efd_item_committing() argument
Dxfs_file.c142 xfs_lsn_t lsn = 0; in xfs_dir_fsync() local
148 lsn = ip->i_itemp->ili_last_lsn; in xfs_dir_fsync()
151 if (!lsn) in xfs_dir_fsync()
153 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_dir_fsync()
168 xfs_lsn_t lsn = 0; in xfs_file_fsync() local
203 lsn = ip->i_itemp->ili_last_lsn; in xfs_file_fsync()
207 if (lsn) in xfs_file_fsync()
208 error = _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, &log_flushed); in xfs_file_fsync()
Dxfs_log.c472 xfs_lsn_t lsn = 0; in xfs_log_done() local
480 (xlog_commit_record(log, ticket, iclog, &lsn)))) { in xfs_log_done()
481 lsn = (xfs_lsn_t) -1; in xfs_log_done()
509 return lsn; in xfs_log_done()
684 xfs_lsn_t lsn; in xfs_log_unmount_write() local
732 error = xlog_write(log, &vec, tic, &lsn, in xfs_log_unmount_write()
2206 xfs_lsn_t lowest_lsn, lsn; in xlog_get_lowest_lsn() local
2212 lsn = be64_to_cpu(lsn_log->ic_header.h_lsn); in xlog_get_lowest_lsn()
2213 if ((lsn && !lowest_lsn) || in xlog_get_lowest_lsn()
2214 (XFS_LSN_CMP(lsn, lowest_lsn) < 0)) { in xlog_get_lowest_lsn()
[all …]
Dxfs_log_priv.h580 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument
582 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn()
592 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument
594 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
Dxfs_trans.h362 #define IOP_COMMITTED(ip, lsn) (*(ip)->li_ops->iop_committed)(ip, lsn) argument
365 #define IOP_COMMITTING(ip, lsn) (*(ip)->li_ops->iop_committing)(ip, lsn) argument
Dxfs_inode_item.c604 xfs_lsn_t lsn) in xfs_inode_item_committed() argument
613 return lsn; in xfs_inode_item_committed()
703 xfs_lsn_t lsn) in xfs_inode_item_committing() argument
705 INODE_ITEM(lip)->ili_last_lsn = lsn; in xfs_inode_item_committing()
Dxfs_trace.h862 __field(xfs_lsn_t, lsn)
869 __entry->lsn = lip->li_lsn;
874 CYCLE_LSN(__entry->lsn), BLOCK_LSN(__entry->lsn),
1217 __field(xfs_lsn_t, lsn)
1222 __entry->lsn = trans->t_commit_lsn;
1227 __entry->lsn)
Dxfs_buf_item.c595 xfs_lsn_t lsn) in xfs_buf_item_committed() argument
603 return lsn; in xfs_buf_item_committed()
Dxfs_log_recover.c1443 xfs_lsn_t lsn) in xlog_recover_new_tid() argument
1449 trans->r_lsn = lsn; in xlog_recover_new_tid()
2578 xfs_lsn_t lsn) in xlog_recover_efi_pass2() argument
2599 xfs_trans_ail_update(log->l_ailp, &efip->efi_item, lsn); in xlog_recover_efi_pass2()
/fs/jfs/
Djfs_logmgr.c241 int lsn; in lmLog() local
263 lsn = log->lsn; in lmLog()
270 if (mp->lsn == 0) { in lmLog()
272 mp->lsn = lsn; in lmLog()
297 if (tblk->lsn == 0) { in lmLog()
299 tblk->lsn = mp->lsn; in lmLog()
310 logdiff(diffp, mp->lsn, log); in lmLog()
311 logdiff(difft, tblk->lsn, log); in lmLog()
314 tblk->lsn = mp->lsn; in lmLog()
327 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.c191 mp->lsn = 0; in init_once()
311 if (mp->lsn) { in remove_from_logsync()
313 mp->lsn = 0; in remove_from_logsync()
329 if (mp->lsn) in last_write_complete()
565 if (mp->lsn) in metapage_releasepage()
766 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage()
808 if (mp->lsn) in __invalidate_metapages()
Djfs_dmap.c429 int lsn, difft, diffp; in dbUpdatePMap() local
443 lsn = tblk->lsn; in dbUpdatePMap()
445 logdiff(difft, lsn, log); in dbUpdatePMap()
537 if (mp->lsn != 0) { in dbUpdatePMap()
539 logdiff(diffp, mp->lsn, log); in dbUpdatePMap()
541 mp->lsn = lsn; in dbUpdatePMap()
554 mp->lsn = lsn; in dbUpdatePMap()
Djfs_imap.c2753 int lsn, difft, diffp; in diUpdatePMap() local
2829 lsn = tblk->lsn; in diUpdatePMap()
2832 if (mp->lsn != 0) { in diUpdatePMap()
2834 logdiff(difft, lsn, log); in diUpdatePMap()
2835 logdiff(diffp, mp->lsn, log); in diUpdatePMap()
2837 mp->lsn = lsn; in diUpdatePMap()
2849 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()
2670 if (mp->xflag & COMMIT_PAGE && mp->lsn) in txAbort()
/fs/ntfs/
Dlogfile.c351 LSN *lsn) in ntfs_check_and_load_restart_page() argument
451 if (lsn) { in ntfs_check_and_load_restart_page()
453 *lsn = sle64_to_cpu(ra->current_lsn); in ntfs_check_and_load_restart_page()
455 *lsn = sle64_to_cpu(rp->chkdsk_lsn); in ntfs_check_and_load_restart_page()
Dlayout.h333 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member
402 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member
2058 /* 8*/ sle64 lsn; /* $LogFile sequence number of the last member
Dmft.c2053 m->lsn = 0; in ntfs_mft_record_layout()