Home
last modified time | relevance | path

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

/fs/xfs/
Dxfs_trans_priv.h22 xfs_lsn_t commit_lsn, bool aborted);
56 xfs_lsn_t ail_target;
57 xfs_lsn_t ail_target_prev;
60 xfs_lsn_t ail_last_pushed_lsn;
72 xfs_lsn_t lsn) __releases(ailp->ail_lock);
89 xfs_lsn_t lsn) __releases(ailp->ail_lock) in xfs_trans_ail_update()
94 xfs_lsn_t xfs_ail_delete_one(struct xfs_ail *ailp, struct xfs_log_item *lip);
95 void xfs_ail_update_finish(struct xfs_ail *ailp, xfs_lsn_t old_lsn)
115 void xfs_ail_push(struct xfs_ail *, xfs_lsn_t);
119 xfs_lsn_t xfs_ail_min_lsn(struct xfs_ail *ailp);
[all …]
Dxfs_trans_ail.c38 xfs_lsn_t prev_lsn = NULLCOMMITLSN; in xfs_ail_check()
39 xfs_lsn_t next_lsn = NULLCOMMITLSN; in xfs_ail_check()
40 xfs_lsn_t lsn; in xfs_ail_check()
111 static xfs_lsn_t
122 xfs_lsn_t
126 xfs_lsn_t lsn; in xfs_ail_min_lsn()
138 static xfs_lsn_t
142 xfs_lsn_t lsn = 0; in xfs_ail_max_lsn()
232 xfs_lsn_t lsn) in xfs_trans_ail_cursor_first()
258 xfs_lsn_t lsn) in __xfs_trans_ail_cursor_last()
[all …]
Dxfs_log.h80 static inline xfs_lsn_t _lsn_cmp(xfs_lsn_t lsn1, xfs_lsn_t lsn2) in _lsn_cmp()
108 xfs_lsn_t xfs_log_done(struct xfs_mount *mp,
113 int xfs_log_force_lsn(struct xfs_mount *mp, xfs_lsn_t lsn, uint flags,
121 xfs_lsn_t xlog_assign_tail_lsn(struct xfs_mount *mp);
122 xfs_lsn_t xlog_assign_tail_lsn_locked(struct xfs_mount *mp);
141 xfs_lsn_t *commit_lsn, bool regrant);
147 bool xfs_log_check_lsn(struct xfs_mount *, xfs_lsn_t);
150 xfs_lsn_t xlog_grant_push_threshold(struct xlog *log, int need_bytes);
Dxfs_log_priv.h240 xfs_lsn_t sequence; /* chkpt sequence # */
241 xfs_lsn_t start_lsn; /* first LSN of chkpt commit */
242 xfs_lsn_t commit_lsn; /* chkpt commit record lsn */
278 xfs_lsn_t xc_push_seq;
281 xfs_lsn_t xc_current_sequence;
447 xfs_lsn_t l_recovery_lsn;
494 xfs_lsn_t *start_lsn,
508 xfs_lsn_t val = atomic64_read(lsn); in xlog_crack_atomic_lsn()
564 xfs_lsn_t
567 xfs_lsn_t sequence);
[all …]
Dxfs_trans.h33 xfs_lsn_t li_lsn; /* last on-disk lsn */
50 xfs_lsn_t li_seq; /* CIL commit seq */
76 void (*iop_committing)(struct xfs_log_item *, xfs_lsn_t commit_lsn);
78 xfs_lsn_t (*iop_committed)(struct xfs_log_item *, xfs_lsn_t);
Dxfs_log.c32 xfs_lsn_t *commitlsnp);
104 xfs_lsn_t tail_lsn);
529 xfs_lsn_t
537 xfs_lsn_t lsn = 0; in xfs_log_done()
546 lsn = (xfs_lsn_t) -1; in xfs_log_done()
851 xfs_lsn_t lsn; in xfs_log_write_unmount_record()
1147 xfs_lsn_t
1153 xfs_lsn_t tail_lsn; in xlog_assign_tail_lsn_locked()
1172 xfs_lsn_t
1176 xfs_lsn_t tail_lsn; in xlog_assign_tail_lsn()
[all …]
Dxfs_inode_item.h19 xfs_lsn_t ili_flush_lsn; /* lsn at last flush */
20 xfs_lsn_t ili_last_lsn; /* lsn at last transaction */
Dxfs_dquot_item.c221 xfs_lsn_t commit_lsn) in xfs_qm_dquot_logitem_committing()
304 STATIC xfs_lsn_t
307 xfs_lsn_t lsn) in xfs_qm_qoffend_logitem_committed()
316 return (xfs_lsn_t)-1; in xfs_qm_qoffend_logitem_committed()
Dxfs_log_cil.c657 xfs_lsn_t commit_lsn; in xlog_cil_push()
658 xfs_lsn_t push_seq; in xlog_cil_push()
966 xfs_lsn_t push_seq) in xlog_cil_push_now()
1024 xfs_lsn_t *commit_lsn, in xfs_log_commit_cil()
1030 xfs_lsn_t xc_commit_lsn; in xfs_log_commit_cil()
1084 xfs_lsn_t
1087 xfs_lsn_t sequence) in xlog_cil_force_lsn()
1091 xfs_lsn_t commit_lsn = NULLCOMMITLSN; in xlog_cil_force_lsn()
Dxfs_inode_item.c302 xfs_lsn_t lsn) in xfs_inode_to_log_dinode()
605 STATIC xfs_lsn_t
608 xfs_lsn_t lsn) in xfs_inode_item_committed()
623 xfs_lsn_t commit_lsn) in xfs_inode_item_committing()
733 xfs_lsn_t tail_lsn = 0; in xfs_iflush_done()
746 xfs_lsn_t lsn = xfs_ail_delete_one(ailp, blip); in xfs_iflush_done()
Dxfs_trans.c690 xfs_lsn_t commit_lsn) in xfs_log_item_batch_insert()
730 xfs_lsn_t commit_lsn, in xfs_trans_committed_bulk()
746 xfs_lsn_t item_lsn; in xfs_trans_committed_bulk()
762 if (XFS_LSN_CMP(item_lsn, (xfs_lsn_t)-1) == 0) in xfs_trans_committed_bulk()
831 xfs_lsn_t commit_lsn = -1; in __xfs_trans_commit()
Dxfs_log_recover.c46 xfs_lsn_t);
1316 xfs_lsn_t tail_lsn; in xlog_find_tail()
1676 xfs_lsn_t tail_lsn) in xlog_clear_stale_blocks()
2185 static xfs_lsn_t
2195 xfs_lsn_t lsn = -1; in xlog_recover_get_buf_lsn()
2276 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
2294 if (lsn != (xfs_lsn_t)-1) { in xlog_recover_get_buf_lsn()
2323 return (xfs_lsn_t)-1; in xlog_recover_get_buf_lsn()
2340 xfs_lsn_t current_lsn) in xlog_recover_validate_buf_type()
2576 xfs_lsn_t current_lsn) in xlog_recover_do_reg_buffer()
[all …]
Dxfs_dquot_item.h17 xfs_lsn_t qli_flush_lsn; /* lsn at last flush */
Dxfs_trace.h948 __field(xfs_lsn_t, tail_lsn)
1024 __field(xfs_lsn_t, lsn)
1042 TP_PROTO(struct xfs_mount *mp, xfs_lsn_t lsn, unsigned long caller_ip),
1046 __field(xfs_lsn_t, lsn)
1069 TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn),
1076 __field(xfs_lsn_t, old_lsn)
1077 __field(xfs_lsn_t, new_lsn)
1098 TP_PROTO(struct xfs_log_item *lip, xfs_lsn_t old_lsn, xfs_lsn_t new_lsn), \
1105 TP_PROTO(struct xlog *log, xfs_lsn_t new_lsn),
1109 __field(xfs_lsn_t, new_lsn)
[all …]
Dxfs_buf_item.c643 xfs_lsn_t commit_lsn) in xfs_buf_item_committing()
666 STATIC xfs_lsn_t
669 xfs_lsn_t lsn) in xfs_buf_item_committed()
Dxfs_file.c100 xfs_lsn_t lsn = 0; in xfs_file_fsync()
Dxfs_inode.c3965 xfs_lsn_t lsn = 0; in xfs_log_force_inode()
/fs/xfs/libxfs/
Dxfs_types.h23 typedef int64_t xfs_lsn_t; /* log sequence number */ typedef
55 #define NULLCOMMITLSN ((xfs_lsn_t)-1)
Dxfs_log_format.h60 static inline xfs_lsn_t xlog_assign_lsn(uint cycle, uint block) in xlog_assign_lsn()
62 return ((xfs_lsn_t)cycle << 32) | block; in xlog_assign_lsn()
414 xfs_lsn_t di_lsn; /* flush sequence */
Dxfs_log_recover.h38 xfs_lsn_t r_lsn; /* xact lsn */
Dxfs_inode_buf.h56 xfs_lsn_t lsn);
Dxfs_defer.c377 xfs_lsn_t threshold_lsn = NULLCOMMITLSN; in xfs_defer_relog()
Dxfs_inode_buf.c256 xfs_lsn_t lsn) in xfs_inode_to_disk()
Dxfs_format.h175 xfs_lsn_t sb_lsn; /* last write sequence */