Home
last modified time | relevance | path

Searched refs:Subtask (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/DiskIoDxe/
DDiskIo.c365 IN DISK_IO_SUBTASK *Subtask in DiskIoDestroySubtask() argument
370 if (Subtask->Task != NULL) { in DiskIoDestroySubtask()
371 EfiAcquireLock (&Subtask->Task->SubtasksLock); in DiskIoDestroySubtask()
373 Link = RemoveEntryList (&Subtask->Link); in DiskIoDestroySubtask()
374 if (Subtask->Task != NULL) { in DiskIoDestroySubtask()
375 EfiReleaseLock (&Subtask->Task->SubtasksLock); in DiskIoDestroySubtask()
378 if (!Subtask->Blocking) { in DiskIoDestroySubtask()
379 if (Subtask->WorkingBuffer != NULL) { in DiskIoDestroySubtask()
381 Subtask->WorkingBuffer, in DiskIoDestroySubtask()
382 Subtask->Length < Instance->BlockIo->Media->BlockSize in DiskIoDestroySubtask()
[all …]
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/
DMisc.c61 FAT_SUBTASK *Subtask; in FatDestroyTask() local
65 Subtask = CR (Link, FAT_SUBTASK, Link, FAT_SUBTASK_SIGNATURE); in FatDestroyTask()
66 Link = FatDestroySubtask (Subtask); in FatDestroyTask()
103 FAT_SUBTASK *Subtask in FatDestroySubtask() argument
108 gBS->CloseEvent (Subtask->DiskIo2Token.Event); in FatDestroySubtask()
110 Link = RemoveEntryList (&Subtask->Link); in FatDestroySubtask()
111 FreePool (Subtask); in FatDestroySubtask()
135 FAT_SUBTASK *Subtask; in FatQueueTask() local
156 Subtask = CR (Link, FAT_SUBTASK, Link, FAT_SUBTASK_SIGNATURE); in FatQueueTask()
157 if (Subtask->Write) { in FatQueueTask()
[all …]
DFat.h1078 FAT_SUBTASK *Subtask
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NvmExpressDxe/
DNvmExpressBlockIo.c365 NVME_BLKIO2_SUBTASK *Subtask; in AsyncIoCallback() local
372 Subtask = (NVME_BLKIO2_SUBTASK *) Context; in AsyncIoCallback()
373 Completion = (NVME_CQ *) Subtask->CommandPacket->NvmeCompletion; in AsyncIoCallback()
374 Request = Subtask->BlockIo2Request; in AsyncIoCallback()
397 RemoveEntryList (&Subtask->Link); in AsyncIoCallback()
408 FreePool (Subtask->CommandPacket->NvmeCmd); in AsyncIoCallback()
409 FreePool (Subtask->CommandPacket->NvmeCompletion); in AsyncIoCallback()
410 FreePool (Subtask->CommandPacket); in AsyncIoCallback()
411 FreePool (Subtask); in AsyncIoCallback()
441 NVME_BLKIO2_SUBTASK *Subtask; in AsyncReadSectors() local
[all …]
DNvmExpress.c541 NVME_BLKIO2_SUBTASK *Subtask; in ProcessAsyncTaskList() local
559 Subtask = NVME_BLKIO2_SUBTASK_FROM_LINK (Link); in ProcessAsyncTaskList()
560 BlkIo2Request = Subtask->BlockIo2Request; in ProcessAsyncTaskList()
580 FreePool (Subtask->CommandPacket->NvmeCmd); in ProcessAsyncTaskList()
581 FreePool (Subtask->CommandPacket->NvmeCompletion); in ProcessAsyncTaskList()
582 FreePool (Subtask->CommandPacket); in ProcessAsyncTaskList()
583 FreePool (Subtask); in ProcessAsyncTaskList()
590 Subtask->NamespaceId, in ProcessAsyncTaskList()
591 Subtask->CommandPacket, in ProcessAsyncTaskList()
592 Subtask->Event in ProcessAsyncTaskList()
[all …]