/Linux-v5.4/fs/xfs/ |
D | xfs_trans_ail.c | 40 xfs_lsn_t lsn; in xfs_ail_check() local 57 lsn = lip->li_lsn; in xfs_ail_check() 60 (prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0) && in xfs_ail_check() 61 (next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0)) in xfs_ail_check() 66 ASSERT(prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0); in xfs_ail_check() 67 ASSERT(next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0); in xfs_ail_check() 115 xfs_lsn_t lsn = 0; in xfs_ail_min_lsn() local 121 lsn = lip->li_lsn; in xfs_ail_min_lsn() 124 return lsn; in xfs_ail_min_lsn() 134 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 | 72 xfs_lsn_t lsn) __releases(ailp->ail_lock); 89 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update() argument 91 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn); in xfs_trans_ail_update() 121 xfs_lsn_t lsn); 124 xfs_lsn_t lsn);
|
D | xfs_export.c | 226 xfs_lsn_t lsn = 0; in xfs_fs_nfs_commit_metadata() local 230 lsn = ip->i_itemp->ili_last_lsn; in xfs_fs_nfs_commit_metadata() 233 if (!lsn) in xfs_fs_nfs_commit_metadata() 235 return xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_fs_nfs_commit_metadata()
|
D | xfs_log.c | 518 xfs_lsn_t lsn = 0; in xfs_log_done() local 526 (xlog_commit_record(log, ticket, iclog, &lsn)))) { in xfs_log_done() 527 lsn = (xfs_lsn_t) -1; in xfs_log_done() 552 return lsn; in xfs_log_done() 832 xfs_lsn_t lsn; in xfs_log_write_unmount_record() local 856 error = xlog_write(log, &vec, tic, &lsn, NULL, flags); in xfs_log_write_unmount_record() 2639 xfs_lsn_t lowest_lsn = 0, lsn; in xlog_get_lowest_lsn() local 2645 lsn = be64_to_cpu(iclog->ic_header.h_lsn); in xlog_get_lowest_lsn() 2646 if ((lsn && !lowest_lsn) || XFS_LSN_CMP(lsn, lowest_lsn) < 0) in xlog_get_lowest_lsn() 2647 lowest_lsn = lsn; in xlog_get_lowest_lsn() [all …]
|
D | xfs_log_recover.c | 2194 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn() local 2212 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn() 2220 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn() 2225 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn() 2229 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn() 2233 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn() 2237 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn); in xlog_recover_get_buf_lsn() 2243 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn() 2263 lsn = be64_to_cpu(((struct xfs_dsb *)blk)->sb_lsn); in xlog_recover_get_buf_lsn() 2273 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn() [all …]
|
D | xfs_file.c | 84 xfs_lsn_t lsn = 0; in xfs_dir_fsync() local 90 lsn = ip->i_itemp->ili_last_lsn; in xfs_dir_fsync() 93 if (!lsn) in xfs_dir_fsync() 95 return xfs_log_force_lsn(mp, lsn, XFS_LOG_SYNC, NULL); in xfs_dir_fsync() 110 xfs_lsn_t lsn = 0; in xfs_file_fsync() local 151 lsn = ip->i_itemp->ili_last_lsn; in xfs_file_fsync() 154 if (lsn) { in xfs_file_fsync() 155 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()
|
D | xfs_log.h | 113 int xfs_log_force_lsn(struct xfs_mount *mp, xfs_lsn_t lsn, uint flags,
|
D | xfs_trace.h | 1023 __field(xfs_lsn_t, lsn) 1030 __entry->lsn = lip->li_lsn; 1035 CYCLE_LSN(__entry->lsn), BLOCK_LSN(__entry->lsn), 1041 TP_PROTO(struct xfs_mount *mp, xfs_lsn_t lsn, unsigned long caller_ip), 1042 TP_ARGS(mp, lsn, caller_ip), 1045 __field(xfs_lsn_t, lsn) 1050 __entry->lsn = lsn; 1055 __entry->lsn, (void *)__entry->caller_ip) 1972 __field(xfs_lsn_t, lsn) 1979 __entry->lsn = be64_to_cpu(rhead->h_lsn); [all …]
|
/Linux-v5.4/fs/jfs/ |
D | jfs_logmgr.c | 228 int lsn; in lmLog() local 250 lsn = log->lsn; in lmLog() 257 if (mp->lsn == 0) { in lmLog() 259 mp->lsn = lsn; in lmLog() 284 if (tblk->lsn == 0) { in lmLog() 286 tblk->lsn = mp->lsn; in lmLog() 297 logdiff(diffp, mp->lsn, log); in lmLog() 298 logdiff(difft, tblk->lsn, log); in lmLog() 301 tblk->lsn = mp->lsn; in lmLog() 314 lsn = lmWriteRecord(log, tblk, lrd, tlck); in lmLog() [all …]
|
D | jfs_logmgr.h | 392 int lsn; /* 4: end-of-log */ member 469 s32 lsn; /* log sequence number */ member 483 #define logdiff(diff, lsn, log)\ argument 485 diff = (lsn) - (log)->syncpt;\
|
D | jfs_metapage.c | 179 mp->lsn = 0; in alloc_metapage() 291 if (mp->lsn) { in remove_from_logsync() 293 mp->lsn = 0; in remove_from_logsync() 309 if (mp->lsn) in last_write_complete() 548 if (mp->lsn) in metapage_releasepage() 754 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage() 796 if (mp->lsn) in __invalidate_metapages()
|
D | jfs_metapage.h | 16 int lsn; member
|
D | jfs_dmap.c | 422 int lsn, difft, diffp; in dbUpdatePMap() local 435 lsn = tblk->lsn; in dbUpdatePMap() 437 logdiff(difft, lsn, log); in dbUpdatePMap() 529 if (mp->lsn != 0) { in dbUpdatePMap() 531 logdiff(diffp, mp->lsn, log); in dbUpdatePMap() 533 mp->lsn = lsn; in dbUpdatePMap() 546 mp->lsn = lsn; in dbUpdatePMap()
|
D | jfs_imap.c | 2727 int lsn, difft, diffp; in diUpdatePMap() local 2800 lsn = tblk->lsn; in diUpdatePMap() 2803 if (mp->lsn != 0) { in diUpdatePMap() 2805 logdiff(difft, lsn, log); in diUpdatePMap() 2806 logdiff(diffp, mp->lsn, log); in diUpdatePMap() 2808 mp->lsn = lsn; in diUpdatePMap() 2820 mp->lsn = lsn; in diUpdatePMap()
|
D | jfs_txnmgr.h | 30 s32 lsn; /* recovery lsn */ member
|
/Linux-v5.4/drivers/hwmon/ |
D | sch56xx-common.c | 223 int msb, lsn; in sch56xx_read_virtual_reg12() local 230 lsn = sch56xx_read_virtual_reg(addr, lsn_reg); in sch56xx_read_virtual_reg12() 231 if (lsn < 0) in sch56xx_read_virtual_reg12() 232 return lsn; in sch56xx_read_virtual_reg12() 235 return (msb << 4) | (lsn >> 4); in sch56xx_read_virtual_reg12() 237 return (msb << 4) | (lsn & 0x0f); in sch56xx_read_virtual_reg12()
|
/Linux-v5.4/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);
|
D | xfs_da_format.h | 50 __be64 lsn; /* sequence number of last write */ member 328 __be64 lsn; /* sequence number of last write */ member
|
/Linux-v5.4/arch/s390/include/asm/ |
D | chpid.h | 14 u8 lsn; member
|
/Linux-v5.4/fs/ntfs/ |
D | logfile.c | 338 LSN *lsn) in ntfs_check_and_load_restart_page() argument 438 if (lsn) { in ntfs_check_and_load_restart_page() 440 *lsn = sle64_to_cpu(ra->current_lsn); in ntfs_check_and_load_restart_page() 442 *lsn = sle64_to_cpu(rp->chkdsk_lsn); in ntfs_check_and_load_restart_page()
|
D | layout.h | 319 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member 388 /* 8*/ le64 lsn; /* $LogFile sequence number for this record. member 2044 /* 8*/ sle64 lsn; /* $LogFile sequence number of the last member
|
/Linux-v5.4/drivers/s390/cio/ |
D | chsc.h | 27 u8 lsn; member
|