Searched refs:dmdsa (Results 1 – 4 of 4) sorted by relevance
/reactos/sdk/lib/fslib/btrfslib/ |
H A D | btrfslib.c | 1299 DEVICE_MANAGE_DATA_SET_ATTRIBUTES dmdsa; local 1301 RtlZeroMemory(&dmdsa, sizeof(DEVICE_MANAGE_DATA_SET_ATTRIBUTES)); 1303 dmdsa.Size = sizeof(DEVICE_MANAGE_DATA_SET_ATTRIBUTES); 1304 dmdsa.Action = DeviceDsmAction_Trim; 1305 dmdsa.Flags = DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE | DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED; 1306 dmdsa.ParameterBlockOffset = 0; 1307 dmdsa.ParameterBlockLength = 0; 1308 dmdsa.DataSetRangesOffset = 0; 1309 dmdsa.DataSetRangesLength = 0; 1311 …le(h, NULL, NULL, NULL, &iosb, IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES, &dmdsa, sizeof(DEVICE_MAN…
|
/reactos/drivers/filesystems/btrfs/ |
H A D | balance.c | 2803 DEVICE_MANAGE_DATA_SET_ATTRIBUTES* dmdsa; variable 2859 dmdsa = ExAllocatePoolWithTag(PagedPool, datalen, ALLOC_TAG); 2860 if (!dmdsa) { 2865 dmdsa->Size = sizeof(DEVICE_MANAGE_DATA_SET_ATTRIBUTES); 2866 dmdsa->Action = DeviceDsmAction_Trim; 2867 dmdsa->Flags = DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED; 2868 dmdsa->ParameterBlockOffset = 0; 2869 dmdsa->ParameterBlockLength = 0; 2871 dmdsa->DataSetRangesLength = dev->num_trim_entries * sizeof(DEVICE_DATA_SET_RANGE); 2873 ranges = (DEVICE_DATA_SET_RANGE*)((uint8_t*)dmdsa + dmdsa->DataSetRangesOffset); [all …]
|
H A D | flushthread.c | 283 DEVICE_MANAGE_DATA_SET_ATTRIBUTES* dmdsa; member 493 if (!stripe->dmdsa) { in clean_space_cache() 498 stripe->dmdsa->Size = sizeof(DEVICE_MANAGE_DATA_SET_ATTRIBUTES); in clean_space_cache() 499 stripe->dmdsa->Action = DeviceDsmAction_Trim; in clean_space_cache() 500 stripe->dmdsa->Flags = DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED; in clean_space_cache() 501 stripe->dmdsa->ParameterBlockOffset = 0; in clean_space_cache() 502 stripe->dmdsa->ParameterBlockLength = 0; in clean_space_cache() 506 … ranges = (DEVICE_DATA_SET_RANGE*)((uint8_t*)stripe->dmdsa + stripe->dmdsa->DataSetRangesOffset); in clean_space_cache() 536 stripe->Irp->AssociatedIrp.SystemBuffer = stripe->dmdsa; in clean_space_cache() 566 if (context.stripes[num].dmdsa) in clean_space_cache() [all …]
|
H A D | fsctl.c | 2717 DEVICE_MANAGE_DATA_SET_ATTRIBUTES dmdsa; in trim_whole_device() local 2722 dmdsa.Size = sizeof(DEVICE_MANAGE_DATA_SET_ATTRIBUTES); in trim_whole_device() 2723 dmdsa.Action = DeviceDsmAction_Trim; in trim_whole_device() 2724 dmdsa.Flags = DEVICE_DSM_FLAG_ENTIRE_DATA_SET_RANGE | DEVICE_DSM_FLAG_TRIM_NOT_FS_ALLOCATED; in trim_whole_device() 2725 dmdsa.ParameterBlockOffset = 0; in trim_whole_device() 2726 dmdsa.ParameterBlockLength = 0; in trim_whole_device() 2727 dmdsa.DataSetRangesOffset = 0; in trim_whole_device() 2728 dmdsa.DataSetRangesLength = 0; in trim_whole_device() 2730 …Status = dev_ioctl(dev->devobj, IOCTL_STORAGE_MANAGE_DATA_SET_ATTRIBUTES, &dmdsa, sizeof(DEVICE_MA… in trim_whole_device()
|