Lines Matching refs:use_block

651 	xfs_dir2_db_t		use_block;	/* data block number */  in xfs_dir2_leaf_addname()  local
685 for (use_block = -1, lep = &ents[index]; in xfs_dir2_leaf_addname()
694 use_block = i; in xfs_dir2_leaf_addname()
701 if (use_block == -1) { in xfs_dir2_leaf_addname()
707 use_block == -1) in xfs_dir2_leaf_addname()
708 use_block = i; in xfs_dir2_leaf_addname()
710 use_block = i; in xfs_dir2_leaf_addname()
721 if (use_block == -1) in xfs_dir2_leaf_addname()
728 if (use_block != -1 && bestsp[use_block] == cpu_to_be16(NULLDATAOFF)) in xfs_dir2_leaf_addname()
729 use_block = -1; in xfs_dir2_leaf_addname()
773 return use_block == -1 ? -ENOSPC : 0; in xfs_dir2_leaf_addname()
779 if (args->total == 0 && use_block == -1) { in xfs_dir2_leaf_addname()
805 if (use_block == -1) { in xfs_dir2_leaf_addname()
810 &use_block))) { in xfs_dir2_leaf_addname()
817 if ((error = xfs_dir3_data_init(args, use_block, &dbp))) { in xfs_dir2_leaf_addname()
825 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname()
838 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block); in xfs_dir2_leaf_addname()
841 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
849 xfs_dir2_db_to_da(args->geo, use_block), in xfs_dir2_leaf_addname()
900 if (be16_to_cpu(bestsp[use_block]) != be16_to_cpu(bf[0].length)) { in xfs_dir2_leaf_addname()
901 bestsp[use_block] = bf[0].length; in xfs_dir2_leaf_addname()
903 xfs_dir3_leaf_log_bests(args, lbp, use_block, use_block); in xfs_dir2_leaf_addname()
914 xfs_dir2_db_off_to_dataptr(args->geo, use_block, in xfs_dir2_leaf_addname()