Searched refs:lsn (Results 1 - 25 of 46) sorted by relevance

12

/linux-master/fs/xfs/
H A Dxfs_trans_ail.c42 xfs_lsn_t lsn; variable
59 lsn = lip->li_lsn;
62 (prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0) &&
63 (next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0))
68 ASSERT(prev_lsn == NULLCOMMITLSN || XFS_LSN_CMP(prev_lsn, lsn) <= 0);
69 ASSERT(next_lsn == NULLCOMMITLSN || XFS_LSN_CMP(next_lsn, lsn) >= 0);
110 * We need the AIL lock in order to get a coherent read of the lsn of the last
128 xfs_lsn_t lsn; local
131 lsn = __xfs_ail_min_lsn(ailp);
134 return lsn;
144 xfs_lsn_t lsn = 0; local
231 xfs_trans_ail_cursor_first( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) argument
258 __xfs_trans_ail_cursor_last( struct xfs_ail *ailp, xfs_lsn_t lsn) argument
278 xfs_trans_ail_cursor_last( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, xfs_lsn_t lsn) argument
295 xfs_ail_splice( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct list_head *list, xfs_lsn_t lsn) argument
424 xfs_lsn_t lsn; local
837 xfs_trans_ail_insert( struct xfs_ail *ailp, struct xfs_log_item *lip, xfs_lsn_t lsn) argument
859 xfs_lsn_t lsn = lip->li_lsn; local
[all...]
H A Dxfs_trans_priv.h74 xfs_lsn_t lsn) __releases(ailp->ail_lock);
91 xfs_lsn_t lsn) __releases(ailp->ail_lock)
93 xfs_trans_ail_update_bulk(ailp, NULL, &lip, 1, lsn);
97 xfs_lsn_t lsn);
112 xfs_lsn_t lsn);
115 xfs_lsn_t lsn);
H A Dxfs_log_priv.h224 xfs_lsn_t commit_lsn; /* chkpt commit record lsn */
394 * The reservation head lsn is not made up of a cycle number and block number.
439 /* lsn of last LR on disk */
441 /* lsn of 1st LR with unflushed * buffers */
449 /* log recovery lsn tracking (for buffer submission */
534 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) argument
536 xfs_lsn_t val = atomic64_read(lsn);
546 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) argument
548 atomic64_set(lsn, xlog_assign_lsn(cycle, block));
637 xfs_lsn_t lsn)
635 xlog_valid_lsn( struct xlog *log, xfs_lsn_t lsn) argument
[all...]
H A Dxfs_buf_item_recover.c718 xfs_lsn_t lsn = -1; local
747 lsn = be64_to_cpu(btb->bb_u.s.bb_lsn);
755 lsn = be64_to_cpu(btb->bb_u.l.bb_lsn);
760 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn);
764 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn);
768 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn);
772 lsn = be64_to_cpu(((struct xfs_dsymlink_hdr *)blk)->sl_lsn);
778 lsn = be64_to_cpu(((struct xfs_dir3_blk_hdr *)blk)->lsn);
798 lsn
895 xfs_lsn_t lsn; local
[all...]
H A Dxfs_dquot_item_recover.c140 * than the lsn of the transaction we are replaying.
143 xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn); local
145 if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) >= 0) {
H A Dxfs_inode_item_recover.c172 xfs_lsn_t lsn)
206 to->di_lsn = cpu_to_be64(lsn);
342 * inode's LSN is older than the lsn of the transaction we are
357 xfs_lsn_t lsn = be64_to_cpu(dip->di_lsn); local
359 if (lsn && lsn != -1 && XFS_LSN_CMP(lsn, current_lsn) > 0) {
169 xfs_log_dinode_to_disk( struct xfs_log_dinode *from, struct xfs_dinode *to, xfs_lsn_t lsn) argument
H A Dxfs_inode_item.c516 xfs_lsn_t lsn)
554 to->di_lsn = lsn;
770 * at the given lsn. Since we always re-log all dirty data in an inode, the
772 * simply return the given lsn.
792 xfs_lsn_t lsn)
801 return lsn;
867 * flush. Thus, we only bother if the inode's lsn has not changed.
880 xfs_lsn_t lsn; local
897 lsn = xfs_ail_delete_one(ailp, lip);
898 if (!tail_lsn && lsn)
513 xfs_inode_to_log_dinode( struct xfs_inode *ip, struct xfs_log_dinode *to, xfs_lsn_t lsn) argument
790 xfs_inode_item_committed( struct xfs_log_item *lip, xfs_lsn_t lsn) argument
[all...]
H A Dxfs_log.c560 * Hence if NEED_FUA is set and the current iclog tail lsn is empty, write the
563 * the checkpoint commit that wrote the initial tail lsn value. The tail lsn in
565 * always capture the tail lsn on the iclog on the first NEED_FUA release
1722 * Don't pass in an lsn greater than the lsn of the last
1723 * log record known to be on disk. Use a snapshot of the last sync lsn
1736 * policy which pushes on an lsn which is further along in the log once we
2448 * B. If this is first write, save away start lsn
2668 xfs_lsn_t lowest_lsn = 0, lsn; local
3137 xfs_lsn_t lsn = be64_to_cpu(iclog->ic_header.h_lsn); local
3267 xlog_force_lsn( struct xlog *log, xfs_lsn_t lsn, uint flags, int *log_flushed, bool already_slept) argument
3367 xfs_lsn_t lsn; local
3837 xfs_log_check_lsn( struct xfs_mount *mp, xfs_lsn_t lsn) argument
[all...]
H A Dxfs_refcount_item.c581 xfs_lsn_t lsn)
607 xlog_recover_intent_item(log, &cuip->cui_item, lsn,
629 xfs_lsn_t lsn)
577 xlog_recover_cui_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
625 xlog_recover_cud_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
H A Dxfs_bmap_item.c637 xfs_lsn_t lsn)
669 xlog_recover_intent_item(log, &buip->bui_item, lsn,
691 xfs_lsn_t lsn)
633 xlog_recover_bui_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
687 xlog_recover_bud_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
H A Dxfs_extfree_item.c726 xfs_lsn_t lsn)
749 xlog_recover_intent_item(log, &efip->efi_item, lsn,
771 xfs_lsn_t lsn)
722 xlog_recover_efi_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
767 xlog_recover_efd_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
H A Dxfs_attr_item.c699 xfs_lsn_t lsn)
764 xlog_recover_intent_item(log, &attrip->attri_item, lsn,
782 xfs_lsn_t lsn)
695 xlog_recover_attri_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
778 xlog_recover_attrd_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
H A Dxfs_rmap_item.c635 xfs_lsn_t lsn)
661 xlog_recover_intent_item(log, &ruip->rui_item, lsn,
683 xfs_lsn_t lsn)
631 xlog_recover_rui_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
679 xlog_recover_rud_commit_pass2( struct xlog *log, struct list_head *buffer_list, struct xlog_recover_item *item, xfs_lsn_t lsn) argument
/linux-master/fs/jfs/
H A Djfs_logmgr.c45 * lsn - 64-bit monotonically increasing integer vs
220 * RETURN: lsn - offset to the next log record to write (end-of-log);
228 int lsn; local
248 * initialize/update page/transaction recovery lsn
250 lsn = log->lsn;
255 * initialize page lsn if first log write of the page
257 if (mp->lsn == 0) {
259 mp->lsn = lsn;
347 int lsn = 0; /* end-of-log address */ local
929 int lsn; local
1248 int lsn = 0; local
1635 int lsn; local
[all...]
H A Djfs_logmgr.h392 int lsn; /* 4: end-of-log */ member in struct:jfs_log
469 s32 lsn; /* log sequence number */ member in struct:logsyncblk
482 /* compute the difference in bytes of lsn from sync point */
483 #define logdiff(diff, lsn, log)\
485 diff = (lsn) - (log)->syncpt;\
H A Djfs_metapage.h16 int lsn; member in struct:metapage
104 * This serializes access to mp->lsn when metapages are added to logsynclist
H A Djfs_metapage.c180 mp->lsn = 0;
286 * acquiring logsync lock, recheck lsn
292 if (mp->lsn) {
294 mp->lsn = 0;
310 if (mp->lsn)
547 if (mp->lsn)
782 } else if (mp->lsn) /* discard_metapage doesn't remove it */
824 if (mp->lsn)
H A Djfs_txnmgr.h30 s32 lsn; /* recovery lsn */ member in struct:tblock
44 s32 clsn; /* commit lsn */
/linux-master/arch/s390/include/asm/
H A Dchpid.h14 u8 lsn; member in struct:channel_path_desc_fmt0
/linux-master/fs/xfs/libxfs/
H A Dxfs_log_recover.h60 struct xlog_recover_item *item, xfs_lsn_t lsn);
108 xfs_lsn_t r_lsn; /* xact lsn */
160 xfs_lsn_t lsn, const struct xfs_defer_op_type *ops);
H A Dxfs_inode_buf.h26 xfs_lsn_t lsn);
H A Dxfs_log_format.h50 /* get lsn fields */
51 #define CYCLE_LSN(lsn) ((uint)((lsn)>>32))
52 #define BLOCK_LSN(lsn) ((uint)(lsn))
55 #define CYCLE_LSN_DISK(lsn) (((__be32 *)&(lsn))[0])
168 __be64 h_lsn; /* lsn of this LR : 8 */
169 __be64 h_tail_lsn; /* lsn of 1st LR w/ buffers not committed: 8 */
H A Dxfs_da_format.h50 __be64 lsn; /* sequence number of last write */ member in struct:xfs_da3_blkinfo
327 __be64 lsn; /* sequence number of last write */ member in struct:xfs_dir3_blk_hdr
/linux-master/fs/ntfs3/
H A Dfslog.c262 __le64 last_end_lsn; // 0x08: lsn for the last log record which ends on the page,
396 struct LFS_RECORD_HDR *lrh; // Log record header of the current lsn.
411 /* Find the oldest lsn from active clients. */
417 u64 lsn = le64_to_cpu(cr->oldest_lsn); local
419 /* Ignore this block if it's oldest lsn is 0. */
420 if (lsn && lsn < *oldest_lsn)
421 *oldest_lsn = lsn;
1060 static inline u32 lsn_to_vbo(struct ntfs_log *log, const u64 lsn) argument
1062 u32 vbo = (lsn << lo
1074 lsn_to_page_off(struct ntfs_log *log, u64 lsn) argument
1084 is_lsn_in_file(struct ntfs_log *log, u64 lsn) argument
1099 base_lsn(struct ntfs_log *log, const struct RECORD_PAGE_HDR *hdr, u64 lsn) argument
1116 verify_client_lsn(struct ntfs_log *log, const struct CLIENT_REC *client, u64 lsn) argument
1403 final_log_off(struct ntfs_log *log, u64 lsn, u32 data_len) argument
1444 next_log_lsn(struct ntfs_log *log, const struct LFS_RECORD_HDR *rh, u64 *lsn) argument
1550 u64 lsn = le64_to_cpu(rhdr->lsn); local
2235 u64 lsn = le64_to_cpu(rh->this_lsn); local
2299 read_rst_area(struct ntfs_log *log, struct NTFS_RESTART **rst_, u64 *lsn) argument
2365 find_log_rec(struct ntfs_log *log, u64 lsn, struct lcb *lcb) argument
2432 read_log_rec_lcb(struct ntfs_log *log, u64 lsn, u32 ctx_mode, struct lcb **lcb_) argument
2479 find_client_next_lsn(struct ntfs_log *log, struct lcb *lcb, u64 *lsn) argument
2556 read_next_log_rec(struct ntfs_log *log, struct lcb *lcb, u64 *lsn) argument
2796 u64 lsn; local
[all...]
/linux-master/drivers/hwmon/
H A Dsch56xx-common.c229 int msb, lsn; local
236 lsn = sch56xx_read_virtual_reg(addr, lsn_reg);
237 if (lsn < 0)
238 return lsn;
241 return (msb << 4) | (lsn >> 4);
243 return (msb << 4) | (lsn & 0x0f);

Completed in 242 milliseconds

12