Lines Matching refs:bp
212 struct xfs_buf *bp; in xfs_attr_node_list_lookup() local
221 error = xfs_da3_node_read(tp, dp, cursor->blkno, &bp, in xfs_attr_node_list_lookup()
225 node = bp->b_addr; in xfs_attr_node_list_lookup()
260 xfs_trans_brelse(tp, bp); in xfs_attr_node_list_lookup()
273 *pbp = bp; in xfs_attr_node_list_lookup()
277 xfs_buf_mark_corrupt(bp); in xfs_attr_node_list_lookup()
278 xfs_trans_brelse(tp, bp); in xfs_attr_node_list_lookup()
290 struct xfs_buf *bp; in xfs_attr_node_list() local
304 bp = NULL; in xfs_attr_node_list()
306 error = xfs_da3_node_read(context->tp, dp, cursor->blkno, &bp, in xfs_attr_node_list()
310 if (bp) { in xfs_attr_node_list()
313 node = bp->b_addr; in xfs_attr_node_list()
318 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
319 bp = NULL; in xfs_attr_node_list()
323 leaf = bp->b_addr; in xfs_attr_node_list()
330 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
331 bp = NULL; in xfs_attr_node_list()
335 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
336 bp = NULL; in xfs_attr_node_list()
341 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
342 bp = NULL; in xfs_attr_node_list()
352 if (bp == NULL) { in xfs_attr_node_list()
353 error = xfs_attr_node_list_lookup(context, cursor, &bp); in xfs_attr_node_list()
354 if (error || !bp) in xfs_attr_node_list()
357 ASSERT(bp != NULL); in xfs_attr_node_list()
365 leaf = bp->b_addr; in xfs_attr_node_list()
366 error = xfs_attr3_leaf_list_int(bp, context); in xfs_attr_node_list()
373 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
375 &bp); in xfs_attr_node_list()
379 xfs_trans_brelse(context->tp, bp); in xfs_attr_node_list()
388 struct xfs_buf *bp, in xfs_attr3_leaf_list_int() argument
401 leaf = bp->b_addr; in xfs_attr3_leaf_list_int()
487 struct xfs_buf *bp; in xfs_attr_leaf_list() local
493 error = xfs_attr3_leaf_read(context->tp, context->dp, 0, &bp); in xfs_attr_leaf_list()
497 error = xfs_attr3_leaf_list_int(bp, context); in xfs_attr_leaf_list()
498 xfs_trans_brelse(context->tp, bp); in xfs_attr_leaf_list()