Lines Matching refs:newsize
2248 u_int64_t newsize;
2255 error = sysctl_quad(oldp, oldlenp, newp, newlen, (quad_t *)&newsize);
2259 error = hfs_extendfs(hfsmp, newsize, context);
3269 hfs_extendfs(struct hfsmount *hfsmp, u_int64_t newsize, vfs_context_t context)
3337 if ((sectorsize * sectorcnt) < newsize) {
3354 if ((newsize <= oldsize) || (newsize % sectorsize) || (newsize % phys_sectorsize)) {
3358 newblkcnt = newsize / vcb->blockSize;
3512 hfsmp->hfs_logical_block_count = newsize / sectorsize;
3613 hfs_truncatefs(struct hfsmount *hfsmp, u_int64_t newsize, vfs_context_t context)
3643 newblkcnt = newsize / hfsmp->blockSize;
3647 if ((newsize < HFS_MIN_SIZE) ||
3648 (newsize >= oldsize) ||
3649 (newsize % hfsmp->hfs_logical_block_size) ||
3650 (newsize % hfsmp->hfs_physical_block_size)) {
3771 hfsmp->hfs_logical_block_count = newsize / hfsmp->hfs_logical_block_size;