Home
last modified time | relevance | path

Searched refs:bip (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_trans_buf.c80 struct xfs_buf_log_item *bip; in _xfs_trans_bjoin() local
90 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() local
162 bip = bp->b_fspriv; in xfs_trans_get_buf_map()
[all …]
Dxfs_buf_item.c64 struct xfs_buf_log_item *bip, in xfs_buf_item_size_segment() argument
69 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() local
141 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 …]
Dxfs_trace.h465 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 …]
Dxfs_log_recover.c2618 struct xfs_buf_log_item *bip; in xlog_recover_validate_buf_type() local
2623 bip = bp->b_fspriv; in xlog_recover_validate_buf_type()
2624 bip->bli_item.li_lsn = current_lsn; in xlog_recover_validate_buf_type()
/fs/xfs/libxfs/
Dxfs_symlink_remote.c151 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_symlink_write_verify() local
163 if (bip) { in xfs_symlink_write_verify()
165 dsl->sl_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_symlink_write_verify()
Dxfs_sb.c676 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_sb_write_verify() local
689 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()
Dxfs_dir2_data.c293 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_data_write_verify() local
305 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()
Dxfs_dir2_block.c107 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_block_write_verify() local
119 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()
Dxfs_alloc.c599 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_agfl_write_verify() local
611 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() local
2598 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()
Dxfs_dir2_leaf.c201 struct xfs_buf_log_item *bip = bp->b_fspriv; in __write_verify() local
213 if (bip) in __write_verify()
214 hdr3->info.lsn = cpu_to_be64(bip->bli_item.li_lsn); in __write_verify()
Dxfs_btree.c249 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_btree_lblock_calc_crc() local
253 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() local
291 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()
Dxfs_dir2_node.c134 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_dir3_free_write_verify() local
146 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()
Dxfs_ialloc.c2564 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_agi_write_verify() local
2575 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()
Dxfs_da_btree.c185 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_da3_node_write_verify() local
197 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()
Dxfs_attr_leaf.c296 struct xfs_buf_log_item *bip = bp->b_fspriv; in xfs_attr3_leaf_write_verify() local
308 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()
Dxfs_bmap.c275 struct xfs_buf_log_item *bip; in xfs_bmap_get_bp() local
276 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()