Searched refs:bip (Results 1 – 16 of 16) sorted by relevance
80 struct xfs_buf_log_item *bip; in _xfs_trans_bjoin() local90 bip = bp->b_fspriv; in _xfs_trans_bjoin()91 ASSERT(!(bip->bli_flags & XFS_BLI_STALE)); in _xfs_trans_bjoin()92 ASSERT(!(bip->__bli_format.blf_flags & XFS_BLF_CANCEL)); in _xfs_trans_bjoin()93 ASSERT(!(bip->bli_flags & XFS_BLI_LOGGED)); in _xfs_trans_bjoin()95 bip->bli_recur = 0; in _xfs_trans_bjoin()100 atomic_inc(&bip->bli_refcount); in _xfs_trans_bjoin()105 xfs_trans_add_item(tp, &bip->bli_item); in _xfs_trans_bjoin()142 xfs_buf_log_item_t *bip; in xfs_trans_get_buf_map() local162 bip = bp->b_fspriv; in xfs_trans_get_buf_map()[all …]
64 struct xfs_buf_log_item *bip, in xfs_buf_item_size_segment() argument69 struct xfs_buf *bp = bip->bli_buf; in xfs_buf_item_size_segment()138 struct xfs_buf_log_item *bip = BUF_ITEM(lip); in xfs_buf_item_size() local141 ASSERT(atomic_read(&bip->bli_refcount) > 0); in xfs_buf_item_size()142 if (bip->bli_flags & XFS_BLI_STALE) { in xfs_buf_item_size()148 trace_xfs_buf_item_size_stale(bip); in xfs_buf_item_size()149 ASSERT(bip->__bli_format.blf_flags & XFS_BLF_CANCEL); in xfs_buf_item_size()150 *nvecs += bip->bli_format_count; in xfs_buf_item_size()151 for (i = 0; i < bip->bli_format_count; i++) { in xfs_buf_item_size()152 *nbytes += xfs_buf_log_format_size(&bip->bli_formats[i]); in xfs_buf_item_size()[all …]
465 TP_PROTO(struct xfs_buf_log_item *bip),466 TP_ARGS(bip),482 __entry->dev = bip->bli_buf->b_target->bt_dev;483 __entry->bli_flags = bip->bli_flags;484 __entry->bli_recur = bip->bli_recur;485 __entry->bli_refcount = atomic_read(&bip->bli_refcount);486 __entry->buf_bno = bip->bli_buf->b_bn;487 __entry->buf_len = BBTOB(bip->bli_buf->b_length);488 __entry->buf_flags = bip->bli_buf->b_flags;489 __entry->buf_hold = atomic_read(&bip->bli_buf->b_hold);[all …]
2618 struct xfs_buf_log_item *bip; in xlog_recover_validate_buf_type() local2623 bip = bp->b_fspriv; in xlog_recover_validate_buf_type()2624 bip->bli_item.li_lsn = current_lsn; in xlog_recover_validate_buf_type()
151 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_symlink_write_verify() local163 if (bip) { in xfs_symlink_write_verify()165 dsl->sl_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_symlink_write_verify()
676 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_sb_write_verify() local689 if (bip) in xfs_sb_write_verify()690 XFS_BUF_TO_SBP(bp)->sb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_sb_write_verify()
293 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_data_write_verify() local305 if (bip) in xfs_dir3_data_write_verify()306 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_data_write_verify()
107 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_block_write_verify() local119 if (bip) in xfs_dir3_block_write_verify()120 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_block_write_verify()
599 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_agfl_write_verify() local611 if (bip) in xfs_agfl_write_verify()612 XFS_BUF_TO_AGFL(bp)->agfl_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_agfl_write_verify()2587 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_agf_write_verify() local2598 if (bip) in xfs_agf_write_verify()2599 XFS_BUF_TO_AGF(bp)->agf_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_agf_write_verify()
201 struct xfs_buf_log_item *bip = bp->b_fspriv; in __write_verify() local213 if (bip) in __write_verify()214 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in __write_verify()
249 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_btree_lblock_calc_crc() local253 if (bip) in xfs_btree_lblock_calc_crc()254 block->bb_u.l.bb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_btree_lblock_calc_crc()287 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_btree_sblock_calc_crc() local291 if (bip) in xfs_btree_sblock_calc_crc()292 block->bb_u.s.bb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_btree_sblock_calc_crc()
134 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_free_write_verify() local146 if (bip) in xfs_dir3_free_write_verify()147 hdr3->lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_dir3_free_write_verify()
2564 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_agi_write_verify() local2575 if (bip) in xfs_agi_write_verify()2576 XFS_BUF_TO_AGI(bp)->agi_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_agi_write_verify()
185 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_da3_node_write_verify() local197 if (bip) in xfs_da3_node_write_verify()198 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_da3_node_write_verify()
296 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_attr3_leaf_write_verify() local308 if (bip) in xfs_attr3_leaf_write_verify()309 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_attr3_leaf_write_verify()
275 struct xfs_buf_log_item *bip; in xfs_bmap_get_bp() local276 bip = (struct xfs_buf_log_item *)lidp->lid_item; in xfs_bmap_get_bp()277 if (bip->bli_item.li_type == XFS_LI_BUF && in xfs_bmap_get_bp()278 XFS_BUF_ADDR(bip->bli_buf) == bno) in xfs_bmap_get_bp()279 return bip->bli_buf; in xfs_bmap_get_bp()