/Linux-v4.19/fs/xfs/ |
D | xfs_trans_ail.c | 39 xfs_lsn_t lsn; in xfs_ail_check() local 56 lsn = lip->li_lsn; in xfs_ail_check() 59 (prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0) && in xfs_ail_check() 60 (next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0)) in xfs_ail_check() 65 ASSERT(prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0); in xfs_ail_check() 66 ASSERT(next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0); in xfs_ail_check() 114 xfs_lsn_t lsn = 0; in xfs_ail_min_lsn() local 120 lsn = lip->li_lsn; in xfs_ail_min_lsn() 123 return lsn; in xfs_ail_min_lsn() 133 xfs_lsn_t lsn = 0; in xfs_ail_max_lsn() local [all …]
|
D | xfs_log_priv.h | 465 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument 467 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn() 477 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument 479 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn() 565 xfs_lsn_t lsn) in xlog_valid_lsn() argument 587 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn() 588 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) { in xlog_valid_lsn() 599 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn() 600 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) in xlog_valid_lsn()
|
D | xfs_trans_priv.h | 74 xfs_lsn_t lsn) __releases(ailp->ail_lock); 91 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update() argument 93 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update() 123 xfs_lsn_t lsn); 126 xfs_lsn_t lsn);
|
D | xfs_dquot_item.c | 100 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committed() argument 106 return lsn; in xfs_qm_dquot_logitem_committed() 248 xfs_lsn_t lsn) in xfs_qm_dquot_logitem_committing() argument 371 xfs_lsn_t lsn) in xfs_qm_qoff_logitem_committed() argument 373 return lsn; in xfs_qm_qoff_logitem_committed() 379 xfs_lsn_t lsn) in xfs_qm_qoffend_logitem_committed() argument
|
D | xfs_export.c | 228 xfs_lsn_t lsn = 0; in xfs_fs_nfs_commit_metadata() local 232 lsn = ip->i_itemp->ili_last_lsn; in xfs_fs_nfs_commit_metadata() 235 if (!lsn) in xfs_fs_nfs_commit_metadata() 237 return xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_fs_nfs_commit_metadata()
|
D | xfs_bmap_item.c | 160 xfs_lsn_t lsn) in xfs_bui_item_committed() argument 162 return lsn; in xfs_bui_item_committed() 175 xfs_lsn_t lsn) in xfs_bui_item_committing() argument 309 xfs_lsn_t lsn) in xfs_bud_item_committed() argument 335 xfs_lsn_t lsn) in xfs_bud_item_committing() argument
|
D | xfs_refcount_item.c | 159 xfs_lsn_t lsn) in xfs_cui_item_committed() argument 161 return lsn; in xfs_cui_item_committed() 174 xfs_lsn_t lsn) in xfs_cui_item_committing() argument 314 xfs_lsn_t lsn) in xfs_cud_item_committed() argument 340 xfs_lsn_t lsn) in xfs_cud_item_committing() argument
|
D | xfs_rmap_item.c | 158 xfs_lsn_t lsn) in xfs_rui_item_committed() argument 160 return lsn; in xfs_rui_item_committed() 173 xfs_lsn_t lsn) in xfs_rui_item_committing() argument 335 xfs_lsn_t lsn) in xfs_rud_item_committed() argument 361 xfs_lsn_t lsn) in xfs_rud_item_committing() argument
|
D | xfs_extfree_item.c | 170 xfs_lsn_t lsn) in xfs_efi_item_committed() argument 172 return lsn; in xfs_efi_item_committed() 185 xfs_lsn_t lsn) in xfs_efi_item_committing() argument 408 xfs_lsn_t lsn) in xfs_efd_item_committed() argument 434 xfs_lsn_t lsn) in xfs_efd_item_committing() argument
|
D | xfs_log.c | 506 xfs_lsn_t lsn = 0; in xfs_log_done() local 514 (xlog_commit_record(log, ticket, iclog, &lsn)))) { in xfs_log_done() 515 lsn = (xfs_lsn_t) -1; in xfs_log_done() 540 return lsn; in xfs_log_done() 850 xfs_lsn_t lsn; in xfs_log_write_unmount_record() local 874 error = xlog_write(log, &vec, tic, &lsn, NULL, flags); in xfs_log_write_unmount_record() 2678 xfs_lsn_t lowest_lsn, lsn; in xlog_get_lowest_lsn() local 2684 lsn = be64_to_cpu(lsn_log->ic_header.h_lsn); in xlog_get_lowest_lsn() 2685 if ((lsn && !lowest_lsn) || in xlog_get_lowest_lsn() 2686 (XFS_LSN_CMP(lsn, lowest_lsn) < 0)) { in xlog_get_lowest_lsn() [all …]
|
D | xfs_icreate_item.c | 95 xfs_lsn_t lsn) in xfs_icreate_item_committed() argument 117 xfs_lsn_t lsn) in xfs_icreate_item_committing() argument
|
D | xfs_log_recover.c | 2273 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn() local 2291 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn() 2299 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn() 2304 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn() 2308 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn() 2312 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn() 2316 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn); in xlog_recover_get_buf_lsn() 2322 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn() 2342 lsn = be64_to_cpu(((struct xfs_dsb *)blk)->sb_lsn); in xlog_recover_get_buf_lsn() 2352 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn() [all …]
|
D | xfs_file.c | 88 xfs_lsn_t lsn = 0; in xfs_dir_fsync() local 94 lsn = ip->i_itemp->ili_last_lsn; in xfs_dir_fsync() 97 if (!lsn) in xfs_dir_fsync() 99 return xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_dir_fsync() 114 xfs_lsn_t lsn = 0; in xfs_file_fsync() local 155 lsn = ip->i_itemp->ili_last_lsn; in xfs_file_fsync() 158 if (lsn) { in xfs_file_fsync() 159 error = xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, &log_flushed); in xfs_file_fsync()
|
D | xfs_inode_item.c | 301 xfs_lsn_t lsn) in xfs_inode_to_log_dinode() argument 348 to->di_lsn = lsn; in xfs_inode_to_log_dinode() 609 xfs_lsn_t lsn) in xfs_inode_item_committed() argument 618 return lsn; in xfs_inode_item_committed() 624 xfs_lsn_t lsn) in xfs_inode_item_committing() argument 626 INODE_ITEM(lip)->ili_last_lsn = lsn; in xfs_inode_item_committing()
|
/Linux-v4.19/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() 561 if (mp->lsn) in metapage_releasepage() 767 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage() 809 if (mp->lsn) in __invalidate_metapages()
|
D | jfs_metapage.h | 29 int lsn; member
|
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_imap.c | 2740 int lsn, difft, diffp; in diUpdatePMap() local 2813 lsn = tblk->lsn; in diUpdatePMap() 2816 if (mp->lsn != 0) { in diUpdatePMap() 2818 logdiff(difft, lsn, log); in diUpdatePMap() 2819 logdiff(diffp, mp->lsn, log); in diUpdatePMap() 2821 mp->lsn = lsn; in diUpdatePMap() 2833 mp->lsn = lsn; in diUpdatePMap()
|
/Linux-v4.19/drivers/hwmon/ |
D | sch56xx-common.c | 236 int msb, lsn; in sch56xx_read_virtual_reg12() local 243 lsn = sch56xx_read_virtual_reg(addr, lsn_reg); in sch56xx_read_virtual_reg12() 244 if (lsn < 0) in sch56xx_read_virtual_reg12() 245 return lsn; in sch56xx_read_virtual_reg12() 248 return (msb << 4) | (lsn >> 4); in sch56xx_read_virtual_reg12() 250 return (msb << 4) | (lsn & 0x0f); in sch56xx_read_virtual_reg12()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_log_format.h | 54 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) argument 55 #define BLOCK_LSN(lsn) ((uint)(lsn)) argument 58 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) argument
|
D | xfs_inode_buf.h | 60 xfs_lsn_t lsn);
|
/Linux-v4.19/arch/s390/include/asm/ |
D | chpid.h | 14 u8 lsn; member
|
/Linux-v4.19/fs/ntfs/ |
D | logfile.c | 352 LSN *lsn) in ntfs_check_and_load_restart_page() argument 452 if (lsn) { in ntfs_check_and_load_restart_page() 454 *lsn = sle64_to_cpu(ra->current_lsn); in ntfs_check_and_load_restart_page() 456 *lsn = sle64_to_cpu(rp->chkdsk_lsn); in ntfs_check_and_load_restart_page()
|