/linux-4.4.14/fs/xfs/ |
D | xfs_trans_ail.c | 104 xfs_lsn_t lsn = 0; in xfs_ail_min_lsn() local 110 lsn = lip->li_lsn; in xfs_ail_min_lsn() 113 return lsn; in xfs_ail_min_lsn() 123 xfs_lsn_t lsn = 0; in xfs_ail_max_lsn() local 129 lsn = lip->li_lsn; in xfs_ail_max_lsn() 132 return lsn; in xfs_ail_max_lsn() 213 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first() argument 219 if (lsn == 0) { in xfs_trans_ail_cursor_first() 225 if (XFS_LSN_CMP(lip->li_lsn, lsn) >= 0) in xfs_trans_ail_cursor_first() 239 xfs_lsn_t lsn) in __xfs_trans_ail_cursor_last() argument [all …]
|
D | xfs_log_priv.h | 472 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument 474 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn() 484 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument 486 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn() 572 xfs_lsn_t lsn) in xlog_valid_lsn() argument 594 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn() 595 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) { in xlog_valid_lsn() 606 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn() 607 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) in xlog_valid_lsn()
|
D | xfs_trans_priv.h | 87 xfs_lsn_t lsn) __releases(ailp->xa_lock); 104 xfs_lsn_t lsn) __releases(ailp->xa_lock) in xfs_trans_ail_update() argument 106 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update() 145 xfs_lsn_t lsn); 148 xfs_lsn_t lsn);
|
D | xfs_dquot_item.c | 112 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committed() argument 118 return lsn; in xfs_qm_dquot_logitem_committed() 230 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committing() argument 352 xfs_lsn_t lsn) in xfs_qm_qoff_logitem_committed() argument 354 return lsn; in xfs_qm_qoff_logitem_committed() 360 xfs_lsn_t lsn) in xfs_qm_qoffend_logitem_committed() argument
|
D | xfs_export.c | 231 xfs_lsn_t lsn = 0; in xfs_fs_nfs_commit_metadata() local 235 lsn = ip->i_itemp->ili_last_lsn; in xfs_fs_nfs_commit_metadata() 238 if (!lsn) in xfs_fs_nfs_commit_metadata() 240 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_fs_nfs_commit_metadata()
|
D | xfs_extfree_item.c | 160 xfs_lsn_t lsn) in xfs_efi_item_committed() argument 162 return lsn; in xfs_efi_item_committed() 175 xfs_lsn_t lsn) in xfs_efi_item_committing() argument 414 xfs_lsn_t lsn) in xfs_efd_item_committed() argument 440 xfs_lsn_t lsn) in xfs_efd_item_committing() argument
|
D | xfs_log.c | 519 xfs_lsn_t lsn = 0; in xfs_log_done() local 527 (xlog_commit_record(log, ticket, iclog, &lsn)))) { in xfs_log_done() 528 lsn = (xfs_lsn_t) -1; in xfs_log_done() 553 return lsn; in xfs_log_done() 802 xfs_lsn_t lsn; in xfs_log_unmount_write() local 850 error = xlog_write(log, &vec, tic, &lsn, in xfs_log_unmount_write() 2594 xfs_lsn_t lowest_lsn, lsn; in xlog_get_lowest_lsn() local 2600 lsn = be64_to_cpu(lsn_log->ic_header.h_lsn); in xlog_get_lowest_lsn() 2601 if ((lsn && !lowest_lsn) || in xlog_get_lowest_lsn() 2602 (XFS_LSN_CMP(lsn, lowest_lsn) < 0)) { in xlog_get_lowest_lsn() [all …]
|
D | xfs_log_recover.c | 1838 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn() local 1854 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn() 1862 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn() 1867 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn() 1871 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn() 1875 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn() 1879 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn); in xlog_recover_get_buf_lsn() 1885 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn() 1905 lsn = be64_to_cpu(((struct xfs_dsb *)blk)->sb_lsn); in xlog_recover_get_buf_lsn() 1915 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn() [all …]
|
D | xfs_icreate_item.c | 107 xfs_lsn_t lsn) in xfs_icreate_item_committed() argument 129 xfs_lsn_t lsn) in xfs_icreate_item_committing() argument
|
D | xfs_log.h | 139 xfs_lsn_t lsn, 143 xfs_lsn_t lsn,
|
D | xfs_file.c | 191 xfs_lsn_t lsn = 0; in xfs_dir_fsync() local 197 lsn = ip->i_itemp->ili_last_lsn; in xfs_dir_fsync() 200 if (!lsn) in xfs_dir_fsync() 202 return _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_dir_fsync() 217 xfs_lsn_t lsn = 0; in xfs_file_fsync() local 261 lsn = ip->i_itemp->ili_last_lsn; in xfs_file_fsync() 264 if (lsn) { in xfs_file_fsync() 265 error = _xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, &log_flushed); in xfs_file_fsync()
|
D | xfs_inode_item.c | 516 xfs_lsn_t lsn) in xfs_inode_item_committed() argument 525 return lsn; in xfs_inode_item_committed() 535 xfs_lsn_t lsn) in xfs_inode_item_committing() argument 537 INODE_ITEM(lip)->ili_last_lsn = lsn; in xfs_inode_item_committing()
|
D | xfs_trace.h | 1038 __field(xfs_lsn_t, lsn) 1045 __entry->lsn = lip->li_lsn; 1050 CYCLE_LSN(__entry->lsn), BLOCK_LSN(__entry->lsn), 1056 TP_PROTO(struct xfs_mount *mp, xfs_lsn_t lsn), 1057 TP_ARGS(mp, lsn), 1060 __field(xfs_lsn_t, lsn) 1064 __entry->lsn = lsn; 1068 __entry->lsn) 1475 __field(xfs_lsn_t, lsn) 1480 __entry->lsn = trans->t_commit_lsn; [all …]
|
D | xfs_buf_item.c | 680 xfs_lsn_t lsn) in xfs_buf_item_committed() argument 688 return lsn; in xfs_buf_item_committed()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_logmgr.c | 241 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 …]
|
D | jfs_logmgr.h | 405 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;\
|
D | jfs_metapage.c | 192 mp->lsn = 0; in alloc_metapage() 304 if (mp->lsn) { in remove_from_logsync() 306 mp->lsn = 0; in remove_from_logsync() 322 if (mp->lsn) in last_write_complete() 559 if (mp->lsn) in metapage_releasepage() 760 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage() 802 if (mp->lsn) in __invalidate_metapages()
|
D | jfs_metapage.h | 29 int lsn; member
|
D | jfs_imap.c | 2747 int lsn, difft, diffp; in diUpdatePMap() local 2820 lsn = tblk->lsn; in diUpdatePMap() 2823 if (mp->lsn != 0) { in diUpdatePMap() 2825 logdiff(difft, lsn, log); in diUpdatePMap() 2826 logdiff(diffp, mp->lsn, log); in diUpdatePMap() 2828 mp->lsn = lsn; in diUpdatePMap() 2840 mp->lsn = lsn; in diUpdatePMap()
|
D | jfs_dmap.c | 435 int lsn, difft, diffp; in dbUpdatePMap() local 448 lsn = tblk->lsn; in dbUpdatePMap() 450 logdiff(difft, lsn, log); in dbUpdatePMap() 542 if (mp->lsn != 0) { in dbUpdatePMap() 544 logdiff(diffp, mp->lsn, log); in dbUpdatePMap() 546 mp->lsn = lsn; in dbUpdatePMap() 559 mp->lsn = lsn; in dbUpdatePMap()
|
D | jfs_txnmgr.h | 43 s32 lsn; /* recovery lsn */ member
|
D | jfs_txnmgr.c | 431 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin() 559 jfs_info("log barrier off: 0x%x", log->lsn); in txEnd() 720 if ((tid == 0) && mp->lsn) in txLock() 981 if (tblk->lsn) { in txUnlock() 2669 if (mp->xflag & COMMIT_PAGE && mp->lsn) in txAbort()
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_log_format.h | 66 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) argument 67 #define BLOCK_LSN(lsn) ((uint)(lsn)) argument 70 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) argument
|
D | xfs_da_format.h | 62 __be64 lsn; /* sequence number of last write */ member 359 __be64 lsn; /* sequence number of last write */ member
|
D | xfs_dir2_data.c | 228 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_data_verify() 302 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify()
|
D | xfs_dir2_block.c | 75 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_block_verify() 120 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify()
|
D | xfs_dir2_leaf.c | 168 if (!xfs_log_check_lsn(mp, be64_to_cpu(leaf3->info.lsn))) in xfs_dir3_leaf_verify() 214 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in __write_verify()
|
D | xfs_dir2_node.c | 101 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->lsn))) in xfs_dir3_free_verify() 147 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
|
D | xfs_da_btree.c | 154 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->info.lsn))) in xfs_da3_node_verify() 198 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify()
|
D | xfs_attr_leaf.c | 270 if (!xfs_log_check_lsn(mp, be64_to_cpu(hdr3->info.lsn))) in xfs_attr3_leaf_verify() 303 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_attr3_leaf_write_verify()
|
/linux-4.4.14/drivers/hwmon/ |
D | sch56xx-common.c | 239 int msb, lsn; in sch56xx_read_virtual_reg12() local 246 lsn = sch56xx_read_virtual_reg(addr, lsn_reg); in sch56xx_read_virtual_reg12() 247 if (lsn < 0) in sch56xx_read_virtual_reg12() 248 return lsn; in sch56xx_read_virtual_reg12() 251 return (msb << 4) | (lsn >> 4); in sch56xx_read_virtual_reg12() 253 return (msb << 4) | (lsn & 0x0f); in sch56xx_read_virtual_reg12()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | chpid.h | 13 u8 lsn; member
|
/linux-4.4.14/fs/ntfs/ |
D | logfile.c | 351 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()
|
D | layout.h | 333 /* 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
|
D | mft.c | 2053 m->lsn = 0; in ntfs_mft_record_layout()
|
/linux-4.4.14/drivers/s390/cio/ |
D | chsc.h | 26 u8 lsn; member
|
/linux-4.4.14/Documentation/filesystems/ |
D | xfs-self-describing-metadata.txt | 196 __be64 lsn; /* last modification in log, not logged */ 315 hdr->lsn = cpu_to_be64(bip->bli_item.li_lsn);
|