]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/hfs/hfs.h
xnu-792.21.3.tar.gz
[apple/xnu.git] / bsd / hfs / hfs.h
index 76b23b70ffae2d83ff307461e920e2a3f4543263..55645f8fe238ae17deda80fe62f5e86ff96daff0 100644 (file)
 
 #define HFS_MAX_DEFERED_ALLOC  (1024*1024)
 
-// 400 mb is a "big" file (i.e. one that when deleted
+// 32 gigs is a "big" file (i.e. one that when deleted
 // would touch enough data that we should break it into
 // multiple separate transactions
-#define HFS_BIGFILE_SIZE (400LL * 1024LL * 1024LL)
+#define HFS_BIGFILE_SIZE (32LL * 1024LL * 1024LL * 1024LL)
 
 
 enum { kMDBSize = 512 };                               /* Size of I/O transfer to read entire MDB */
@@ -254,10 +254,6 @@ typedef struct hfsmount {
        lck_mtx_t      hfs_mutex;      /* protects access to hfsmount data */
        void          *hfs_freezing_proc;  /* who froze the fs */
        lck_rw_t       hfs_insync;     /* protects sync/freeze interaction */
-
-       /* Resize variables: */
-       u_int32_t               hfs_resize_filesmoved;
-       u_int32_t               hfs_resize_totalfiles;
 } hfsmount_t;
 
 typedef hfsmount_t  ExtendedVCB;
@@ -285,7 +281,6 @@ typedef hfsmount_t  ExtendedVCB;
 #define HFS_FRAGMENTED_FREESPACE  0x100
 #define HFS_NEED_JNL_RESET        0x200
 #define HFS_HAS_SPARSE_DEVICE     0x400
-#define HFS_RESIZE_IN_PROGRESS    0x800
 
 
 #define HFS_MOUNT_LOCK(hfsmp, metadata)                      \
@@ -502,7 +497,6 @@ extern void hfs_checkextendedsecurity(struct hfsmount *hfsmp);
 
 extern int  hfs_extendfs(struct hfsmount *, u_int64_t, vfs_context_t);
 extern int  hfs_truncatefs(struct hfsmount *, u_int64_t, vfs_context_t);
-extern int  hfs_resize_progress(struct hfsmount *, u_int32_t *);
 
 extern int  hfs_isallocated(struct hfsmount *, u_long, u_long);