Home
last modified time | relevance | path

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

12

/linux/fs/xfs/
A Dxfs_trans_ail.c42 xfs_lsn_t lsn; in xfs_ail_check() local
59 lsn = lip->li_lsn; in xfs_ail_check()
128 xfs_lsn_t lsn; in xfs_ail_min_lsn() local
134 return lsn; in xfs_ail_min_lsn()
153 return lsn; in xfs_ail_max_lsn()
234 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first() argument
240 if (lsn == 0) { in xfs_trans_ail_cursor_first()
260 xfs_lsn_t lsn) in __xfs_trans_ail_cursor_last() argument
281 xfs_lsn_t lsn) in xfs_trans_ail_cursor_last() argument
299 xfs_lsn_t lsn) in xfs_ail_splice() argument
[all …]
A Dxfs_buf_item_recover.c709 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn() local
738 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn); in xlog_recover_get_buf_lsn()
746 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn); in xlog_recover_get_buf_lsn()
769 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn); in xlog_recover_get_buf_lsn()
799 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
802 return lsn; in xlog_recover_get_buf_lsn()
811 lsn = be64_to_cpu(((struct xfs_da3_blkinfo *)blk)->lsn); in xlog_recover_get_buf_lsn()
818 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
821 return lsn; in xlog_recover_get_buf_lsn()
886 xfs_lsn_t lsn; in xlog_recover_buf_commit_pass2() local
[all …]
A Dxfs_log_priv.h538 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument
540 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn()
550 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument
552 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn()
641 xfs_lsn_t lsn) in xlog_valid_lsn() argument
663 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn()
664 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) { in xlog_valid_lsn()
675 if ((CYCLE_LSN(lsn) > cur_cycle) || in xlog_valid_lsn()
676 (CYCLE_LSN(lsn) == cur_cycle && BLOCK_LSN(lsn) > cur_block)) in xlog_valid_lsn()
A Dxfs_trans_priv.h72 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()
95 xfs_lsn_t lsn);
110 xfs_lsn_t lsn);
113 xfs_lsn_t lsn);
A Dxfs_dquot_item_recover.c141 xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn); in xlog_recover_dquot_commit_pass2() local
143 if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) >= 0) { in xlog_recover_dquot_commit_pass2()
A Dxfs_inode_item_recover.c149 xfs_lsn_t lsn) in xfs_log_dinode_to_disk() argument
186 to->di_lsn = cpu_to_be64(lsn); in xfs_log_dinode_to_disk()
281 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_commit_pass2() local
283 if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) > 0) { in xlog_recover_inode_commit_pass2()
A Dxfs_inode_item.c365 xfs_lsn_t lsn) in xfs_inode_to_log_dinode() argument
406 to->di_lsn = lsn; in xfs_inode_to_log_dinode()
631 xfs_lsn_t lsn) in xfs_inode_item_committed() argument
640 return lsn; in xfs_inode_item_committed()
717 xfs_lsn_t lsn; in xfs_iflush_ail_updates() local
723 lsn = xfs_ail_delete_one(ailp, lip); in xfs_iflush_ail_updates()
724 if (!tail_lsn && lsn) in xfs_iflush_ail_updates()
725 tail_lsn = lsn; in xfs_iflush_ail_updates()
A Dxfs_log.c2754 xfs_lsn_t lowest_lsn = 0, lsn; in xlog_get_lowest_lsn() local
2762 if ((lsn && !lowest_lsn) || XFS_LSN_CMP(lsn, lowest_lsn) < 0) in xlog_get_lowest_lsn()
2763 lowest_lsn = lsn; in xlog_get_lowest_lsn()
3364 xfs_lsn_t lsn, in xlog_force_lsn() argument
3462 xfs_lsn_t lsn; in xfs_log_force_seq() local
3469 lsn = xlog_cil_force_seq(log, seq); in xfs_log_force_seq()
3470 if (lsn == NULLCOMMITLSN) in xfs_log_force_seq()
3937 xfs_lsn_t lsn) in xfs_log_check_lsn() argument
3954 if (lsn == NULLCOMMITLSN) in xfs_log_check_lsn()
3957 valid = xlog_valid_lsn(mp->m_log, lsn); in xfs_log_check_lsn()
[all …]
A Dxfs_refcount_item.c648 xfs_lsn_t lsn) in xlog_recover_cui_commit_pass2() argument
668 xfs_trans_ail_insert(log->l_ailp, &cuip->cui_item, lsn); in xlog_recover_cui_commit_pass2()
690 xfs_lsn_t lsn) in xlog_recover_cud_commit_pass2() argument
A Dxfs_bmap_item.c632 xfs_lsn_t lsn) in xlog_recover_bui_commit_pass2() argument
656 xfs_trans_ail_insert(log->l_ailp, &buip->bui_item, lsn); in xlog_recover_bui_commit_pass2()
678 xfs_lsn_t lsn) in xlog_recover_bud_commit_pass2() argument
A Dxfs_rmap_item.c654 xfs_lsn_t lsn) in xlog_recover_rui_commit_pass2() argument
674 xfs_trans_ail_insert(log->l_ailp, &ruip->rui_item, lsn); in xlog_recover_rui_commit_pass2()
696 xfs_lsn_t lsn) in xlog_recover_rud_commit_pass2() argument
A Dxfs_extfree_item.c712 xfs_lsn_t lsn) in xlog_recover_efi_commit_pass2() argument
732 xfs_trans_ail_insert(log->l_ailp, &efip->efi_item, lsn); in xlog_recover_efi_commit_pass2()
754 xfs_lsn_t lsn) in xlog_recover_efd_commit_pass2() argument
/linux/fs/jfs/
A Djfs_logmgr.c228 int lsn; in lmLog() local
250 lsn = log->lsn; in lmLog()
259 mp->lsn = lsn; in lmLog()
286 tblk->lsn = mp->lsn; in lmLog()
301 tblk->lsn = mp->lsn; in lmLog()
324 log->lsn = lsn; in lmLog()
329 return lsn; in lmLog()
937 int lsn; in lmLogSync() local
981 lsn = log->lsn; in lmLogSync()
1397 log->lsn = lsn; in lmLogInit()
[all …]
A Djfs_logmgr.h392 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;\
A Djfs_metapage.c180 mp->lsn = 0; in alloc_metapage()
292 if (mp->lsn) { in remove_from_logsync()
294 mp->lsn = 0; in remove_from_logsync()
310 if (mp->lsn) in last_write_complete()
549 if (mp->lsn) in metapage_releasepage()
755 } else if (mp->lsn) /* discard_metapage doesn't remove it */ in release_metapage()
797 if (mp->lsn) in __invalidate_metapages()
A Djfs_dmap.c422 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()
A Djfs_imap.c2725 int lsn, difft, diffp; in diUpdatePMap() local
2798 lsn = tblk->lsn; in diUpdatePMap()
2801 if (mp->lsn != 0) { in diUpdatePMap()
2803 logdiff(difft, lsn, log); in diUpdatePMap()
2804 logdiff(diffp, mp->lsn, log); in diUpdatePMap()
2806 mp->lsn = lsn; in diUpdatePMap()
2818 mp->lsn = lsn; in diUpdatePMap()
/linux/fs/ntfs3/
A Dfslog.c420 if (lsn && lsn < *oldest_lsn) in oldest_client_lsn()
1515 *lsn = 0; in next_log_lsn()
1576 u64 lsn = le64_to_cpu(rhdr->lsn); in check_subseq_log_page() local
1831 cur_page->rhdr.lsn == page->rhdr.lsn && in last_log_lsn()
2285 if (lsn > le64_to_cpu(ph->rhdr.lsn)) { in read_log_rec_buf()
2303 lsn > le64_to_cpu(ph->rhdr.lsn)) { in read_log_rec_buf()
2334 *lsn = 0; in read_rst_area()
2510 *lsn = 0; in find_client_next_lsn()
2588 if (!*lsn) in read_next_log_rec()
2816 u64 lsn; in check_lsn() local
[all …]
/linux/drivers/hwmon/
A Dsch56xx-common.c223 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/fs/xfs/libxfs/
A Dxfs_log_format.h51 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32)) argument
52 #define BLOCK_LSN(lsn) ((uint)(lsn)) argument
55 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0]) argument
A Dxfs_inode_buf.h26 xfs_lsn_t lsn);
A Dxfs_da_format.h50 __be64 lsn; /* sequence number of last write */ member
315 __be64 lsn; /* sequence number of last write */ member
A Dxfs_log_recover.h59 struct xlog_recover_item *item, xfs_lsn_t lsn);
/linux/fs/ntfs/
A Dlogfile.c338 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()
/linux/arch/s390/include/asm/
A Dchpid.h14 u8 lsn; member

Completed in 81 milliseconds

12