Lines Matching refs:reclaimblks
144 static int hfs_reclaimspace(struct hfsmount *hfsmp, u_long startblk, u_long reclaimblks, vfs_context_t context);
3618 u_int32_t reclaimblks = 0;
3644 reclaimblks = hfsmp->totalBlocks - newblkcnt;
3656 if (reclaimblks >= hfs_freeblks(hfsmp, 1)) {
3657 printf("hfs_truncatefs: insufficient space (need %u blocks; have %u blocks)\n", reclaimblks, hfs_freeblks(hfsmp, 1));
3685 hfsmp->freeBlocks -= reclaimblks;
3692 if (hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks)) {
3701 if (hfs_reclaimspace(hfsmp, hfsmp->allocLimit, reclaimblks, context) != 0) {
3713 if (hfs_isallocated(hfsmp, hfsmp->allocLimit, reclaimblks)) {
3804 hfsmp->freeBlocks += reclaimblks;
4468 hfs_reclaimspace(struct hfsmount *hfsmp, u_long startblk, u_long reclaimblks, vfs_context_t context)
4552 maxfilecnt = MIN((u_long)maxfilecnt, reclaimblks);