X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d7e50217d7adf6e52786a38bcaa4cd698cb9a79e..55e303ae13a4cf49d70f2294092726f2fffb9ef2:/bsd/miscfs/specfs/specdev.h diff --git a/bsd/miscfs/specfs/specdev.h b/bsd/miscfs/specfs/specdev.h index bcaf8d9fd..0a67d1894 100644 --- a/bsd/miscfs/specfs/specdev.h +++ b/bsd/miscfs/specfs/specdev.h @@ -76,7 +76,8 @@ struct specinfo { struct vnode *si_specnext; long si_flags; dev_t si_rdev; - daddr_t si_size; /* block device size in bytes */ + daddr_t si_size; /* device block size in bytes */ + u_int64_t si_devsize; /* actual device size in bytes */ }; /* * Exported shorthand @@ -86,6 +87,7 @@ struct specinfo { #define v_specnext v_specinfo->si_specnext #define v_specflags v_specinfo->si_flags #define v_specsize v_specinfo->si_size +#define v_specdevsize v_specinfo->si_devsize /* * Flags for specinfo