/*
* dmBuf |-------------------------------------------------| DM_MAX_BUFFER_SIZE(4096)
- * dmIo |----------| size of dm_ioctl
+ * dmIo |----------| size of dm_ioctl
*/
auto dmIo = (struct dm_ioctl *)dmBuf;
/*
* dmBuf |-------------------------------------------------| DM_MAX_BUFFER_SIZE(4096)
- * dmIo |----------| size of dm_ioctl
- * dmTs |--------------| size of dm_Target_spec
+ * dmIo |----------| size of dm_ioctl
+ * dmTs |--------------| size of dm_target_spec
*/
auto dmTs = (struct dm_target_spec *)(dmBuf + sizeof(struct dm_ioctl));
/*
* dmBuf |-------------------------------------------------| DM_MAX_BUFFER_SIZE(4096)
- * dmIo |----------| size of dm_ioctl
- * dmTs |--------------| size of dm_Target_spec
- * cryptParams |---------------------|
+ * dmIo |----------| size of dm_ioctl
+ * dmTs |--------------| size of dm_target_spec
+ * cryptParams |---------------------|
*/
char *cryptParams = dmBuf + sizeof(struct dm_ioctl) + sizeof(struct dm_target_spec);