Lines Matching refs:fbp
411 struct xfs_buf *fbp; /* freespace buffer */ in xfs_dir2_leaf_to_node() local
436 error = xfs_dir3_free_get_buf(args, fdb, &fbp); in xfs_dir2_leaf_to_node()
440 xfs_dir2_free_hdr_from_disk(dp->i_mount, &freehdr, fbp->b_addr); in xfs_dir2_leaf_to_node()
467 xfs_dir2_free_hdr_to_disk(dp->i_mount, fbp->b_addr, &freehdr); in xfs_dir2_leaf_to_node()
468 xfs_dir2_free_log_bests(args, &freehdr, fbp, 0, freehdr.nvalid - 1); in xfs_dir2_leaf_to_node()
469 xfs_dir2_free_log_header(args, fbp); in xfs_dir2_leaf_to_node()
1185 struct xfs_buf *fbp, in xfs_dir3_data_block_free() argument
1199 xfs_dir2_free_log_bests(args, &freehdr, fbp, findex, findex); in xfs_dir3_data_block_free()
1227 xfs_dir2_free_log_header(args, fbp); in xfs_dir3_data_block_free()
1236 error = xfs_dir2_shrink_inode(args, fdb, fbp); in xfs_dir3_data_block_free()
1238 fbp = NULL; in xfs_dir3_data_block_free()
1251 xfs_dir2_free_log_bests(args, &freehdr, fbp, findex, findex); in xfs_dir3_data_block_free()
1343 struct xfs_buf *fbp; /* freeblock buffer */ in xfs_dir2_leafn_remove() local
1354 &fbp); in xfs_dir2_leafn_remove()
1357 free = fbp->b_addr; in xfs_dir2_leafn_remove()
1398 fdb, findex, fbp, longest); in xfs_dir2_leafn_remove()
1691 struct xfs_buf *fbp; in xfs_dir2_node_add_datablk() local
1713 xfs_dir2_db_to_da(args->geo, fbno), &fbp); in xfs_dir2_node_add_datablk()
1721 if (!fbp) { in xfs_dir2_node_add_datablk()
1746 error = xfs_dir3_free_get_buf(args, fbno, &fbp); in xfs_dir2_node_add_datablk()
1749 xfs_dir2_free_hdr_from_disk(mp, hdr, fbp->b_addr); in xfs_dir2_node_add_datablk()
1756 xfs_dir2_free_hdr_from_disk(mp, hdr, fbp->b_addr); in xfs_dir2_node_add_datablk()
1775 xfs_dir2_free_hdr_to_disk(mp, fbp->b_addr, hdr); in xfs_dir2_node_add_datablk()
1776 xfs_dir2_free_log_header(args, fbp); in xfs_dir2_node_add_datablk()
1784 *fbpp = fbp; in xfs_dir2_node_add_datablk()
1800 struct xfs_buf *fbp = NULL; in xfs_dir2_node_find_freeblk() local
1816 fbp = fblk->bp; in xfs_dir2_node_find_freeblk()
1818 xfs_dir2_free_hdr_from_disk(dp->i_mount, hdr, fbp->b_addr); in xfs_dir2_node_find_freeblk()
1833 xfs_trans_brelse(tp, fbp); in xfs_dir2_node_find_freeblk()
1834 fbp = NULL; in xfs_dir2_node_find_freeblk()
1860 &fbp); in xfs_dir2_node_find_freeblk()
1863 if (!fbp) in xfs_dir2_node_find_freeblk()
1866 xfs_dir2_free_hdr_from_disk(dp->i_mount, hdr, fbp->b_addr); in xfs_dir2_node_find_freeblk()
1878 xfs_trans_brelse(tp, fbp); in xfs_dir2_node_find_freeblk()
1883 *fbpp = fbp; in xfs_dir2_node_find_freeblk()
1906 struct xfs_buf *fbp; /* freespace buffer */ in xfs_dir2_node_addname_int() local
1918 error = xfs_dir2_node_find_freeblk(args, fblk, &dbno, &fbp, &freehdr, in xfs_dir2_node_addname_int()
1940 error = xfs_dir2_node_add_datablk(args, fblk, &dbno, &dbp, &fbp, in xfs_dir2_node_addname_int()
1993 xfs_dir2_free_log_bests(args, &freehdr, fbp, findex, findex); in xfs_dir2_node_addname_int()