Lines Matching refs:buf_f
160 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_reorder() local
162 if (buf_f->blf_flags & XFS_BLF_CANCEL) in xlog_recover_buf_reorder()
164 if (buf_f->blf_flags & XFS_BLF_INODE_BUF) in xlog_recover_buf_reorder()
174 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_ra_pass2() local
176 xlog_buf_readahead(log, buf_f->blf_blkno, buf_f->blf_len, NULL); in xlog_recover_buf_ra_pass2()
217 struct xfs_buf_log_format *buf_f, in xlog_recover_validate_buf_type() argument
240 switch (xfs_blft_from_flags(buf_f)) { in xlog_recover_validate_buf_type()
403 xfs_blft_from_flags(buf_f)); in xlog_recover_validate_buf_type()
452 struct xfs_buf_log_format *buf_f, in xlog_recover_do_reg_buffer() argument
461 trace_xfs_log_recover_buf_reg_buf(mp->m_log, buf_f); in xlog_recover_do_reg_buffer()
466 bit = xfs_next_bit(buf_f->blf_data_map, in xlog_recover_do_reg_buffer()
467 buf_f->blf_map_size, bit); in xlog_recover_do_reg_buffer()
470 nbits = xfs_contig_bits(buf_f->blf_data_map, in xlog_recover_do_reg_buffer()
471 buf_f->blf_map_size, bit); in xlog_recover_do_reg_buffer()
495 if (buf_f->blf_flags & in xlog_recover_do_reg_buffer()
529 xlog_recover_validate_buf_type(mp, bp, buf_f, current_lsn); in xlog_recover_do_reg_buffer()
547 struct xfs_buf_log_format *buf_f) in xlog_recover_do_dquot_buffer() argument
551 trace_xfs_log_recover_buf_dquot_buf(log, buf_f); in xlog_recover_do_dquot_buffer()
560 if (buf_f->blf_flags & XFS_BLF_UDQUOT_BUF) in xlog_recover_do_dquot_buffer()
562 if (buf_f->blf_flags & XFS_BLF_PDQUOT_BUF) in xlog_recover_do_dquot_buffer()
564 if (buf_f->blf_flags & XFS_BLF_GDQUOT_BUF) in xlog_recover_do_dquot_buffer()
572 xlog_recover_do_reg_buffer(mp, item, bp, buf_f, NULLCOMMITLSN); in xlog_recover_do_dquot_buffer()
593 struct xfs_buf_log_format *buf_f) in xlog_recover_do_inode_buffer() argument
606 trace_xfs_log_recover_buf_inode_buf(mp->m_log, buf_f); in xlog_recover_do_inode_buffer()
629 bit = xfs_next_bit(buf_f->blf_data_map, in xlog_recover_do_inode_buffer()
630 buf_f->blf_map_size, bit); in xlog_recover_do_inode_buffer()
639 nbits = xfs_contig_bits(buf_f->blf_data_map, in xlog_recover_do_inode_buffer()
640 buf_f->blf_map_size, bit); in xlog_recover_do_inode_buffer()
702 struct xfs_buf_log_format *buf_f, in xlog_recover_do_primary_sb_buffer() argument
709 xlog_recover_do_reg_buffer(mp, item, bp, buf_f, current_lsn); in xlog_recover_do_primary_sb_buffer()
775 struct xfs_buf_log_format *buf_f) in xlog_recover_get_buf_lsn() argument
793 blft = xfs_blft_from_flags(buf_f); in xlog_recover_get_buf_lsn()
954 struct xfs_buf_log_format *buf_f = item->ri_buf[0].i_addr; in xlog_recover_buf_commit_pass2() local
965 if (buf_f->blf_flags & XFS_BLF_CANCEL) { in xlog_recover_buf_commit_pass2()
966 if (xlog_put_buffer_cancelled(log, buf_f->blf_blkno, in xlog_recover_buf_commit_pass2()
967 buf_f->blf_len)) in xlog_recover_buf_commit_pass2()
971 if (xlog_is_buffer_cancelled(log, buf_f->blf_blkno, in xlog_recover_buf_commit_pass2()
972 buf_f->blf_len)) in xlog_recover_buf_commit_pass2()
976 trace_xfs_log_recover_buf_recover(log, buf_f); in xlog_recover_buf_commit_pass2()
979 if (buf_f->blf_flags & XFS_BLF_INODE_BUF) in xlog_recover_buf_commit_pass2()
982 error = xfs_buf_read(mp->m_ddev_targp, buf_f->blf_blkno, buf_f->blf_len, in xlog_recover_buf_commit_pass2()
1006 lsn = xlog_recover_get_buf_lsn(mp, bp, buf_f); in xlog_recover_buf_commit_pass2()
1008 trace_xfs_log_recover_buf_skip(log, buf_f); in xlog_recover_buf_commit_pass2()
1009 xlog_recover_validate_buf_type(mp, bp, buf_f, NULLCOMMITLSN); in xlog_recover_buf_commit_pass2()
1023 if (buf_f->blf_flags & XFS_BLF_INODE_BUF) { in xlog_recover_buf_commit_pass2()
1024 error = xlog_recover_do_inode_buffer(mp, item, bp, buf_f); in xlog_recover_buf_commit_pass2()
1027 } else if (buf_f->blf_flags & in xlog_recover_buf_commit_pass2()
1031 dirty = xlog_recover_do_dquot_buffer(mp, log, item, bp, buf_f); in xlog_recover_buf_commit_pass2()
1034 } else if ((xfs_blft_from_flags(buf_f) & XFS_BLFT_SB_BUF) && in xlog_recover_buf_commit_pass2()
1036 error = xlog_recover_do_primary_sb_buffer(mp, item, bp, buf_f, in xlog_recover_buf_commit_pass2()
1041 xlog_recover_do_reg_buffer(mp, item, bp, buf_f, current_lsn); in xlog_recover_buf_commit_pass2()
1074 trace_xfs_log_recover_buf_cancel(log, buf_f); in xlog_recover_buf_commit_pass2()