Home
last modified time | relevance | path

Searched refs:xfs_lsn_t (Results 1 – 25 of 30) sorted by relevance

12

/linux/fs/xfs/
H A Dxfs_trans_priv.h57 xfs_lsn_t ail_last_pushed_lsn;
58 xfs_lsn_t ail_head_lsn;
63 xfs_lsn_t ail_target;
75 xfs_lsn_t lsn) __releases(ailp->ail_lock);
92 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update()
98 xfs_lsn_t lsn);
100 xfs_lsn_t xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
101 void xfs_ail_update_finish(struct xfs_ail *ailp, xfs_lsn_t old_lsn)
116 static inline xfs_lsn_t xfs_ail_get_push_target(struct xfs_ail *ailp) in xfs_ail_get_push_target()
122 xfs_lsn_t xfs_ail_min_lsn(struct xfs_ail *ailp);
[all …]
H A Dxfs_trans_ail.c40 xfs_lsn_t prev_lsn = NULLCOMMITLSN; in xfs_ail_check()
41 xfs_lsn_t next_lsn = NULLCOMMITLSN; in xfs_ail_check()
42 xfs_lsn_t lsn; in xfs_ail_check()
113 static xfs_lsn_t
124 xfs_lsn_t
128 xfs_lsn_t lsn; in xfs_ail_min_lsn()
215 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first()
241 xfs_lsn_t lsn) in __xfs_trans_ail_cursor_last()
262 xfs_lsn_t lsn) in xfs_trans_ail_cursor_last()
280 xfs_lsn_t lsn) in xfs_ail_splice()
[all …]
H A Dxfs_log_priv.h223 xfs_lsn_t start_lsn; /* first LSN of chkpt commit */
224 xfs_lsn_t commit_lsn; /* chkpt commit record lsn */
448 xfs_lsn_t l_recovery_lsn;
532 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn()
564 xfs_lsn_t xlog_cil_force_seq(struct xlog *log, xfs_csn_t sequence);
599 xfs_lsn_t high, in xlog_lsn_sub()
600 xfs_lsn_t low) in xlog_lsn_sub()
613 void xlog_grant_return_space(struct xlog *log, xfs_lsn_t old_head,
614 xfs_lsn_t new_head);
625 xfs_lsn_t lsn) in xlog_valid_lsn()
H A Dxfs_log.h95 static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) in _lsn_cmp()
133 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
134 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp);
151 bool xfs_log_check_lsn(struct xfs_mount *, xfs_lsn_t);
H A Dxfs_buf_item_recover.c220 xfs_lsn_t current_lsn) in xlog_recover_validate_buf_type()
470 xfs_lsn_t current_lsn) in xlog_recover_do_reg_buffer()
720 xfs_lsn_t current_lsn) in xlog_recover_do_primary_sb_buffer()
811 static xfs_lsn_t
822 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn()
923 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
942 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
971 return (xfs_lsn_t)-1; in xlog_recover_get_buf_lsn()
1003 xfs_lsn_t current_lsn) in xlog_recover_buf_commit_pass2()
1009 xfs_lsn_t lsn; in xlog_recover_buf_commit_pass2()
H A Dxfs_trans.h33 xfs_lsn_t li_lsn; /* last on-disk lsn */
79 xfs_lsn_t (*iop_committed)(struct xfs_log_item *, xfs_lsn_t);
H A Dxfs_log_cil.c688 xfs_lsn_t commit_lsn) in xlog_cil_ail_insert_batch()
752 xfs_lsn_t old_head; in xlog_cil_ail_insert()
787 xfs_lsn_t item_lsn; in xlog_cil_ail_insert()
806 if (XFS_LSN_CMP(item_lsn, (xfs_lsn_t)-1) == 0) in xlog_cil_ail_insert()
943 xfs_lsn_t lsn = be64_to_cpu(iclog->ic_header.h_lsn); in xlog_cil_set_ctx_write_state()
1461 xfs_lsn_t plsn; in xlog_cil_push_work()
1624 xfs_lsn_t push_seq, in xlog_cil_push_now()
1817 xfs_lsn_t
1824 xfs_lsn_t commit_lsn = NULLCOMMITLSN; in xlog_cil_force_seq()
H A Dxfs_dquot_item_recover.c65 xfs_lsn_t current_lsn) in xlog_recover_dquot_commit_pass2()
143 xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn); in xlog_recover_dquot_commit_pass2()
H A Dxfs_dquot_item.h16 xfs_lsn_t qli_flush_lsn; /* lsn at last flush */
H A Dxfs_refcount_item.c713 xfs_lsn_t lsn) in xlog_recover_cui_commit_pass2()
755 xfs_lsn_t lsn) in xlog_recover_rtcui_commit_pass2()
791 xfs_lsn_t lsn) in xlog_recover_rtcui_commit_pass2()
816 xfs_lsn_t lsn) in xlog_recover_cud_commit_pass2()
842 xfs_lsn_t lsn) in xlog_recover_rtcud_commit_pass2()
H A Dxfs_inode_item.h36 xfs_lsn_t ili_flush_lsn; /* lsn at last flush */
H A Dxfs_rmap_item.c742 xfs_lsn_t lsn) in xlog_recover_rui_commit_pass2()
784 xfs_lsn_t lsn) in xlog_recover_rtrui_commit_pass2()
820 xfs_lsn_t lsn) in xlog_recover_rtrui_commit_pass2()
845 xfs_lsn_t lsn) in xlog_recover_rud_commit_pass2()
871 xfs_lsn_t lsn) in xlog_recover_rtrud_commit_pass2()
H A Dxfs_extfree_item.c864 xfs_lsn_t lsn) in xlog_recover_efi_commit_pass2()
903 xfs_lsn_t lsn) in xlog_recover_rtefi_commit_pass2()
936 xfs_lsn_t lsn) in xlog_recover_rtefi_commit_pass2()
961 xfs_lsn_t lsn) in xlog_recover_efd_commit_pass2()
998 xfs_lsn_t lsn) in xlog_recover_rtefd_commit_pass2()
H A Dxfs_inode_item.c564 xfs_lsn_t lsn) in xfs_inode_to_log_dinode()
846 STATIC xfs_lsn_t
849 xfs_lsn_t lsn) in xfs_inode_item_committed()
932 xfs_lsn_t tail_lsn = 0; in xfs_iflush_ail_updates()
937 xfs_lsn_t lsn; in xfs_iflush_ail_updates()
H A Dxfs_inode_item_recover.c174 xfs_lsn_t lsn) in xfs_log_dinode_to_disk()
312 xfs_lsn_t current_lsn) in xlog_recover_inode_commit_pass2()
395 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); in xlog_recover_inode_commit_pass2()
H A Dxfs_log.c161 xfs_lsn_t old_head, in xlog_grant_return_space()
162 xfs_lsn_t new_head) in xlog_grant_return_space()
2403 STATIC xfs_lsn_t
2408 xfs_lsn_t lowest_lsn = 0, lsn; in xlog_get_lowest_lsn()
2433 xfs_lsn_t lowest_lsn; in xlog_state_iodone_process_iclog()
2434 xfs_lsn_t header_lsn; in xlog_state_iodone_process_iclog()
2841 xfs_lsn_t lsn = be64_to_cpu(iclog->ic_header.h_lsn); in xlog_force_and_check_iclog()
2973 xfs_lsn_t lsn, in xlog_force_lsn()
3071 xfs_lsn_t lsn; in xfs_log_force_seq()
3271 xfs_lsn_t tail_lsn = be64_to_cpu(iclog->ic_header.h_tail_lsn); in xlog_verify_tail_lsn()
[all …]
H A Dxfs_exchmaps_item.c553 xfs_lsn_t lsn) in xlog_recover_xmi_commit_pass2()
597 xfs_lsn_t lsn) in xlog_recover_xmd_commit_pass2()
H A Dxfs_icreate_item.c146 xfs_lsn_t lsn) in xlog_recover_icreate_commit_pass2()
H A Dxfs_bmap_item.c650 xfs_lsn_t lsn) in xlog_recover_bui_commit_pass2()
704 xfs_lsn_t lsn) in xlog_recover_bud_commit_pass2()
H A Dxfs_buf_item.c794 STATIC xfs_lsn_t
797 xfs_lsn_t lsn) in xfs_buf_item_committed()
H A Dxfs_log_recover.c41 xfs_lsn_t);
1245 xfs_lsn_t tail_lsn; in xlog_find_tail()
1605 xfs_lsn_t tail_lsn) in xlog_clear_stale_blocks()
1979 xfs_lsn_t lsn, in xlog_recover_intent_item()
2597 xfs_lsn_t last_lsn; in xlog_recover_process_intents()
H A Dxfs_trace.h1540 __field(xfs_lsn_t, tail_lsn)
1613 __field(xfs_lsn_t, lsn)
1631 TP_PROTO(struct xfs_mount *mp, xfs_lsn_t lsn, unsigned long caller_ip),
1635 __field(xfs_lsn_t, lsn)
1663 TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn),
1670 __field(xfs_lsn_t, old_lsn)
1671 __field(xfs_lsn_t, new_lsn)
1692 TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn), \
1699 TP_PROTO(struct xlog *log, xfs_lsn_t new_lsn),
1703 __field(xfs_lsn_t, new_lsn)
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_log_recover.h60 struct xlog_recover_item *item, xfs_lsn_t lsn);
116 xfs_lsn_t r_lsn; /* xact lsn */
170 xfs_lsn_t lsn, const struct xfs_defer_op_type *ops);
H A Dxfs_types.h27 typedef int64_t xfs_lsn_t; /* log sequence number */ typedef
62 #define NULLCOMMITLSN ((xfs_lsn_t)-1)
H A Dxfs_log_format.h57 static inline xfs_lsn_t xlog_assign_lsn(uint cycle, uint block) in xlog_assign_lsn()
59 return ((xfs_lsn_t)cycle << 32) | block; in xlog_assign_lsn()
475 xfs_lsn_t di_lsn;

12