/fs/xfs/ |
H A D | xfs_export.c | 231 xfs_lsn_t lsn = 0; local 235 lsn = ip->i_itemp->ili_last_lsn; 238 if (!lsn) 240 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL);
|
H A D | xfs_icreate_item.c | 108 xfs_lsn_t lsn) 130 xfs_lsn_t lsn) 106 xfs_icreate_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 128 xfs_icreate_item_committing( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
|
H A D | xfs_trans_ail.c | 98 * We need the AIL lock in order to get a coherent read of the lsn of the last 105 xfs_lsn_t lsn = 0; local 111 lsn = lip->li_lsn; 114 return lsn; 118 * Return the maximum lsn held in the AIL, or zero if the AIL is empty. 124 xfs_lsn_t lsn = 0; local 130 lsn = lip->li_lsn; 133 return lsn; 205 * Find the first item in the AIL with the given @lsn by searching in ascending 207 * ascending traversal. Pass a @lsn o 211 xfs_trans_ail_cursor_first( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) argument 238 __xfs_trans_ail_cursor_last( struct xfs_ail *ailp, xfs_lsn_t lsn) argument 258 xfs_trans_ail_cursor_last( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) argument 275 xfs_ail_splice( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct list_head *list, xfs_lsn_t lsn) argument 336 xfs_lsn_t lsn; local [all...] |
H A D | xfs_dquot_item.c | 114 xfs_lsn_t lsn) 120 return lsn; 225 * this needs to stamp an lsn into the dquot, I think. 232 xfs_lsn_t lsn) 349 * so simply return the lsn at which it's been logged. 354 xfs_lsn_t lsn) 356 return lsn; 362 xfs_lsn_t lsn) 390 * one that does nothing and one that stamps in the lsn that matters 112 xfs_qm_dquot_logitem_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 230 xfs_qm_dquot_logitem_committing( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 352 xfs_qm_qoff_logitem_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 360 xfs_qm_qoffend_logitem_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
|
H A D | xfs_extfree_item.c | 181 * the lsn at which it's been logged. 186 xfs_lsn_t lsn) 188 return lsn; 201 xfs_lsn_t lsn) 437 xfs_lsn_t lsn) 462 xfs_lsn_t lsn) 184 xfs_efi_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 199 xfs_efi_item_committing( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 435 xfs_efd_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 460 xfs_efd_item_committing( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
|
H A D | xfs_inode_item.c | 497 * at the given lsn. Since we always re-log all dirty data in an inode, the 499 * simply return the given lsn. 519 xfs_lsn_t lsn) 528 return lsn; 538 xfs_lsn_t lsn) 540 INODE_ITEM(lip)->ili_last_lsn = lsn; 656 * if the ili_logged flag is set and the inode's lsn has not 657 * changed. First we check the lsn outside 517 xfs_inode_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument 536 xfs_inode_item_committing( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
|
H A D | xfs_buf_item.c | 662 * write of it completed at the given lsn. 665 * those cases we simply return the given lsn. 674 * by returning the original lsn of that transaction here rather than 680 xfs_lsn_t lsn) 688 return lsn; 678 xfs_buf_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
|
H A D | xfs_file.c | 148 xfs_lsn_t lsn = 0; local 154 lsn = ip->i_itemp->ili_last_lsn; 157 if (!lsn) 159 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); 174 xfs_lsn_t lsn = 0; local 209 lsn = ip->i_itemp->ili_last_lsn; 213 if (lsn) 214 error = _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, &log_flushed);
|
H A D | xfs_log_priv.h | 252 xfs_lsn_t commit_lsn; /* chkpt commit record lsn */ 354 * The reservation head lsn is not made up of a cycle number and block number. 400 /* lsn of last LR on disk */ 402 /* lsn of 1st LR with unflushed * buffers */ 470 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) argument 472 xfs_lsn_t val = atomic64_read(lsn); 482 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) argument 484 atomic64_set(lsn, xlog_assign_lsn(cycle, block));
|
H A D | xfs_log.c | 520 xfs_lsn_t lsn = 0; local 528 (xlog_commit_record(log, ticket, iclog, &lsn)))) { 529 lsn = (xfs_lsn_t) -1; 557 return lsn; 788 xfs_lsn_t lsn; local 836 error = xlog_write(log, &vec, tic, &lsn, 1487 * ticket. Return the lsn of the commit record. 1518 * log space. This code pushes on the lsn which would supposedly free up 1520 * pushes on an lsn which is further along in the log once we reach the high 1562 * Don't pass in an lsn greate 2551 xfs_lsn_t lowest_lsn, lsn; local 3179 xfs_lsn_t lsn; local 3319 _xfs_log_force_lsn( struct xfs_mount *mp, xfs_lsn_t lsn, uint flags, int *log_flushed) argument 3439 xfs_log_force_lsn( xfs_mount_t *mp, xfs_lsn_t lsn, uint flags) argument [all...] |
H A D | xfs_log_recover.c | 877 * a sync lsn embedded in it. LSNs hold block numbers, so it is easy 882 * lsn. The entire log record does not need to be valid. We only care 999 * Save the current tail lsn to use to pass to 1001 * unmount record if there is one, so we pass the lsn of the 1058 * We use the lsn from before modifying it so that we'll never 1317 * The tail lsn is passed in rather than taken from 1841 xfs_lsn_t lsn = -1; local 1857 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); 1865 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); 1870 lsn 2320 xfs_lsn_t lsn; local 2585 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); local 2898 xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn); local 2929 xlog_recover_efi_pass2( struct xlog *log, struct xlog_recover_item *item, xfs_lsn_t lsn) argument [all...] |
/fs/jfs/ |
H A D | jfs_metapage.h | 29 int lsn; member in struct:metapage 117 * This serializes access to mp->lsn when metapages are added to logsynclist
|
H A D | jfs_txnmgr.h | 43 s32 lsn; /* recovery lsn */ member in struct:tblock 57 s32 clsn; /* commit lsn */
|
H A D | jfs_imap.c | 2747 int lsn, difft, diffp; local 2818 * update iag lsn 2820 lsn = tblk->lsn; 2823 if (mp->lsn != 0) { 2824 /* inherit older/smaller lsn */ 2825 logdiff(difft, lsn, log); 2826 logdiff(diffp, mp->lsn, log); 2828 mp->lsn = lsn; [all...] |
H A D | jfs_logmgr.c | 58 * lsn - 64-bit monotonically increasing integer vs 233 * RETURN: lsn - offset to the next log record to write (end-of-log); 241 int lsn; local 261 * initialize/update page/transaction recovery lsn 263 lsn = log->lsn; 268 * initialize page lsn if first log write of the page 270 if (mp->lsn == 0) { 272 mp->lsn = lsn; 360 int lsn = 0; /* end-of-log address */ local 950 int lsn; local 1270 int lsn = 0; local 1658 int lsn; local [all...] |
H A D | jfs_logmgr.h | 405 int lsn; /* 4: end-of-log */ member in struct:jfs_log 482 s32 lsn; /* log sequence number */ member in struct:logsyncblk 495 /* compute the difference in bytes of lsn from sync point */ 496 #define logdiff(diff, lsn, log)\ 498 diff = (lsn) - (log)->syncpt;\
|
H A D | jfs_dmap.c | 435 int lsn, difft, diffp; local 447 /* compute delta of transaction lsn from log syncpt */ 448 lsn = tblk->lsn; 450 logdiff(difft, lsn, log); 534 * update dmap lsn 542 if (mp->lsn != 0) { 543 /* inherit older/smaller lsn */ 544 logdiff(diffp, mp->lsn, log); 546 mp->lsn [all...] |
/fs/ntfs/ |
H A D | logfile.c | 328 * @lsn: [OUT] set to the current logfile lsn on success 341 * Simillarly, if @lsn is not NULL, on success *@lsn will be set to the current 342 * logfile lsn according to this restart page. On failure, *@lsn is undefined. 351 LSN *lsn) 451 if (lsn) { 453 *lsn = sle64_to_cpu(ra->current_lsn); 455 *lsn 349 ntfs_check_and_load_restart_page(struct inode *vi, RESTART_PAGE_HEADER *rp, s64 pos, RESTART_PAGE_HEADER **wrp, LSN *lsn) argument [all...] |
H A D | layout.h | 333 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member in struct:__anon417 402 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member in struct:__anon418 2058 /* 8*/ sle64 lsn; /* $LogFile sequence number of the last member in struct:__anon477
|
/fs/xfs/libxfs/ |
H A D | xfs_da_format.h | 62 __be64 lsn; /* sequence number of last write */ member in struct:xfs_da3_blkinfo 359 __be64 lsn; /* sequence number of last write */ member in struct:xfs_dir3_blk_hdr
|