/reactos/drivers/filesystems/udfs/ |
H A D | fastio.cpp | 351 !ExIsResourceAcquiredExclusiveLite(&(NtReqFcb->PagingIoResource)) ) { in UDFFastIoAcqCreateSec() 363 UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), TRUE); in UDFFastIoAcqCreateSec() 396 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFFastIoRelCreateSec() 438 if (!UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), Wait)) in UDFAcqLazyWrite() 488 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFRelLazyWrite() 954 if(UDFAcquireResourceShared(&(NtReqFcb->PagingIoResource), FALSE)) { in UDFFastIoAcqModWrite() 956 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFFastIoAcqModWrite() 960 (*ResourceToRelease) = &(NtReqFcb->PagingIoResource); in UDFFastIoAcqModWrite() 1010 ASSERT(ResourceToRelease == &(NtReqFcb->PagingIoResource)); in UDFFastIoRelModWrite() 1055 UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), TRUE); in UDFFastIoAcqCcFlush() [all …]
|
H A D | write.cpp | 253 Res2Acq = UDFIsResourceAcquired(&(NtReqFcb->PagingIoResource)); in UDFCommonWrite() 482 UDFAcquireSharedStarveExclusive(&(NtReqFcb->PagingIoResource), TRUE ); in UDFCommonWrite() 483 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonWrite() 497 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonWrite() 510 UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), TRUE ); in UDFCommonWrite() 511 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonWrite() 542 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonWrite() 553 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonWrite() 662 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonWrite() 671 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonWrite() [all …]
|
H A D | read.cpp | 136 if ((Irp->Flags & IRP_PAGING_IO) && (Fcb->NTRequiredFCB->CommonFCBHeader.PagingIoResource)) { in UDFPostStackOverflowRead() 137 Resource = Fcb->NTRequiredFCB->CommonFCBHeader.PagingIoResource; in UDFPostStackOverflowRead() 474 Res2Acq = UDFIsResourceAcquired(&(NtReqFcb->PagingIoResource)); in UDFCommonRead() 570 UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), TRUE ); in UDFCommonRead() 571 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonRead() 580 if (!UDFAcquireResourceShared(&(NtReqFcb->PagingIoResource), CanWait)) { in UDFCommonRead() 584 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonRead() 590 if(!UDFAcquireSharedWaitForExclusive(&(NtReqFcb->PagingIoResource), CanWait)) { in UDFCommonRead() 593 PtrResourceAcquired2 = &(NtReqFcb->PagingIoResource); in UDFCommonRead() 724 if(UDFAcquireResourceSharedWithCheck(&(NtReqFcb->PagingIoResource))) in UDFCommonRead() [all …]
|
H A D | udffs.h | 298 ASSERT(!ExIsResourceAcquiredExclusiveLite(&(NTReqFCB->PagingIoResource))); \ 299 ASSERT(!ExIsResourceAcquiredSharedLite(&(NTReqFCB->PagingIoResource)));
|
H A D | cleanup.cpp | 362 UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource),TRUE); in UDFCommonCleanup() 369 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonCleanup() 401 … AcquiredPagingIo = UDFAcquireResourceExclusiveWithCheck(&(NtReqFcb->PagingIoResource)); in UDFCommonCleanup() 406 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonCleanup()
|
H A D | fileinfo.cpp | 376 if(!UDFAcquireResourceExclusive(&(NtReqFcb->PagingIoResource), CanWait)) { in UDFCommonFileInfo() 465 UDFReleaseResource(&(NtReqFcb->PagingIoResource)); in UDFCommonFileInfo() 1551 … AcquiredPagingIo = UDFAcquireResourceExclusiveWithCheck(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetAllocationInformation() 1574 UDFReleaseResource(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetAllocationInformation() 1611 UDFReleaseResource(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetAllocationInformation() 1695 … AcquiredPagingIo = UDFAcquireResourceExclusiveWithCheck(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetEOF() 1849 UDFReleaseResource(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetEOF() 1869 UDFReleaseResource(&(Fcb->NTRequiredFCB->PagingIoResource)); in UDFSetEOF()
|
H A D | struct.h | 208 ERESOURCE PagingIoResource; member
|
H A D | create.cpp | 2016 UDFAcquireResourceExclusive(PagingIoRes = &(NtReqFcb->PagingIoResource),TRUE); in UDFCommonCreate() 2537 …f(!NT_SUCCESS(status = UDFInitializeResourceLite(&(PtrNewFcb->NTRequiredFCB->PagingIoResource)))) { in UDFInitializeFCB() 2544 …PtrNewFcb->NTRequiredFCB->CommonFCBHeader.PagingIoResource = &(PtrNewFcb->NTRequiredFCB->PagingIoR… in UDFInitializeFCB() 2557 UDFDeleteResource(&(PtrNewFcb->NTRequiredFCB->PagingIoResource)); in UDFInitializeFCB() 2560 PtrNewFcb->NTRequiredFCB->CommonFCBHeader.PagingIoResource = NULL; in UDFInitializeFCB()
|
/reactos/sdk/lib/drivers/copysup/ |
H A D | copysup.c | 377 Fcb->PagingIoResource != NULL) in FsRtlCopyWrite2() 379 ExAcquireResourceExclusiveLite(Fcb->PagingIoResource, TRUE); in FsRtlCopyWrite2() 381 ExReleaseResourceLite(Fcb->PagingIoResource); in FsRtlCopyWrite2() 429 Fcb->PagingIoResource != NULL) in FsRtlCopyWrite2() 431 ExAcquireResourceExclusiveLite(Fcb->PagingIoResource, TRUE); in FsRtlCopyWrite2() 433 ExReleaseResourceLite(Fcb->PagingIoResource); in FsRtlCopyWrite2() 459 if (Fcb->PagingIoResource != NULL) in FsRtlCopyWrite2() 461 ExAcquireResourceExclusiveLite(Fcb->PagingIoResource, TRUE); in FsRtlCopyWrite2() 464 ExReleaseResourceLite(Fcb->PagingIoResource); in FsRtlCopyWrite2() 670 if (Fcb->PagingIoResource != NULL) in FsRtlCopyWrite2() [all …]
|
/reactos/ntoskrnl/fsrtl/ |
H A D | fastio.c | 518 if (FcbHeader->PagingIoResource != NULL) in FsRtlCopyWrite() 672 FcbHeader->PagingIoResource) in FsRtlCopyWrite() 734 FcbHeader->PagingIoResource) in FsRtlCopyWrite() 769 if (FcbHeader->PagingIoResource) in FsRtlCopyWrite() 1428 FcbHeader->PagingIoResource) in FsRtlPrepareMdlWriteDev() 1432 ExReleaseResourceLite(FcbHeader->PagingIoResource); in FsRtlPrepareMdlWriteDev() 1489 FcbHeader->PagingIoResource) in FsRtlPrepareMdlWriteDev() 1520 if (FcbHeader->PagingIoResource) in FsRtlPrepareMdlWriteDev() 1740 if (FcbHeader->PagingIoResource) in FsRtlAcquireFileForCcFlushEx() 1790 if (FcbHeader->PagingIoResource) ExReleaseResourceLite(FcbHeader->PagingIoResource); in FsRtlReleaseFileForCcFlush() [all …]
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | write.c | 94 ExAcquireSharedStarveExclusive(&Fcb->PagingIoResource, TRUE); in Ext2FloppyFlush() 95 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2FloppyFlush() 106 ExAcquireSharedStarveExclusive(&Vcb->PagingIoResource, TRUE); in Ext2FloppyFlush() 107 ExReleaseResourceLite(&Vcb->PagingIoResource); in Ext2FloppyFlush() 388 ExAcquireSharedStarveExclusive(&Vcb->PagingIoResource, TRUE); in Ext2WriteVolume() 389 ExReleaseResourceLite(&Vcb->PagingIoResource); in Ext2WriteVolume() 402 ExReleaseResourceLite(&Vcb->PagingIoResource); in Ext2WriteVolume() 983 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2WriteFile() 997 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2WriteFile() 1061 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2WriteFile() [all …]
|
H A D | cleanup.c | 256 ExAcquireResourceExclusiveLite(&Fcb->PagingIoResource, TRUE); in Ext2Cleanup() 275 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2Cleanup() 297 if (ExAcquireResourceExclusiveLite(&(Fcb->PagingIoResource), TRUE)) { in Ext2Cleanup() 298 ExReleaseResourceLite(&(Fcb->PagingIoResource)); in Ext2Cleanup() 377 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2Cleanup()
|
H A D | flush.c | 51 ExAcquireSharedStarveExclusive(&Vcb->PagingIoResource, TRUE); in Ext2FlushVolume() 52 ExReleaseResourceLite(&Vcb->PagingIoResource); in Ext2FlushVolume()
|
H A D | read.c | 576 &Fcb->PagingIoResource, in Ext2ReadFile() 603 if (ExAcquireResourceExclusiveLite(&(Fcb->PagingIoResource), TRUE)) { in Ext2ReadFile() 604 ExReleaseResourceLite(&(Fcb->PagingIoResource)); in Ext2ReadFile() 780 ExReleaseResourceLite(&Fcb->PagingIoResource); in Ext2ReadFile()
|
H A D | init.c | 441 CL_ASSERT((FIELD_OFFSET(EXT2_VCB, PagingIoResource) & 7) == 0); in Ext2EresourceAlignmentChecking() 449 CL_ASSERT((FIELD_OFFSET(EXT2_FCBVCB, PagingIoResource) & 7) == 0); in Ext2EresourceAlignmentChecking() 451 CL_ASSERT((FIELD_OFFSET(EXT2_FCB, PagingIoResource) & 7) == 0); in Ext2EresourceAlignmentChecking()
|
H A D | memory.c | 180 Fcb->Header.PagingIoResource = &(Fcb->PagingIoResource); in Ext2AllocateFcb() 192 ExInitializeResourceLite(&(Fcb->PagingIoResource)); in Ext2AllocateFcb() 257 ExDeleteResourceLite(&Fcb->PagingIoResource); in Ext2FreeFcb() 2374 Vcb->Header.PagingIoResource = &(Vcb->PagingIoResource); 2381 ExInitializeResourceLite(&Vcb->PagingIoResource); 2788 ExDeleteResourceLite(&Vcb->PagingIoResource); 2871 ExDeleteResourceLite(&Vcb->PagingIoResource);
|
/reactos/drivers/filesystems/fastfat/ |
H A D | resrcsup.c | 442 ((PFCB)Fcb)->Header.PagingIoResource, in _Requires_lock_held_() 535 ((PFCB)Fcb)->Header.PagingIoResource ); in _Requires_lock_held_() 738 if (Header->PagingIoResource) { in _Requires_lock_held_() 740 ExAcquireResourceSharedLite( Header->PagingIoResource, TRUE ); in _Requires_lock_held_() 784 if (Header->PagingIoResource) { in _Requires_lock_held_() 786 ExReleaseResourceLite( Header->PagingIoResource ); in _Requires_lock_held_()
|
H A D | write.c | 1194 ExAcquireResourceExclusiveLite( FcbOrDcb->Header.PagingIoResource, TRUE ); 1235 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 1316 FcbOrDcb->Header.PagingIoResource; 1602 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 2569 if (!ExAcquireSharedStarveExclusive( FcbOrDcb->Header.PagingIoResource, 2582 FcbOrDcb->Header.PagingIoResource; 2852 NT_ASSERT( FcbOrDcb->Header.PagingIoResource != NULL ); 2869 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 2933 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 3058 ExAcquireResourceSharedLite( FcbOrDcb->Header.PagingIoResource, TRUE ); [all …]
|
H A D | read.c | 331 if (FlagOn(Irp->Flags, IRP_PAGING_IO) && (Fcb->Header.PagingIoResource != NULL)) { in _Requires_lock_held_() 333 Resource = Fcb->Header.PagingIoResource; in _Requires_lock_held_() 979 ExAcquireResourceExclusiveLite( FcbOrDcb->Header.PagingIoResource, TRUE ); 988 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 998 ExAcquireResourceExclusiveLite( FcbOrDcb->Header.PagingIoResource, TRUE ); 999 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource ); 1009 if (!ExAcquireResourceSharedLite( FcbOrDcb->Header.PagingIoResource, 1020 FcbOrDcb->Header.PagingIoResource; 1649 ExReleaseResourceLite( FcbOrDcb->Header.PagingIoResource );
|
H A D | cleanup.c | 596 (VOID)ExAcquireResourceExclusiveLite( Fcb->Header.PagingIoResource, in _Requires_lock_held_() 601 ExReleaseResourceLite( Fcb->Header.PagingIoResource ); in _Requires_lock_held_() 774 (VOID)ExAcquireResourceExclusiveLite( Fcb->Header.PagingIoResource, in _Requires_lock_held_() 781 ExReleaseResourceLite( Fcb->Header.PagingIoResource ); in _Requires_lock_held_() 1006 ExAcquireResourceExclusiveLite( Fcb->Header.PagingIoResource, TRUE); in _Requires_lock_held_() 1007 ExReleaseResourceLite( Fcb->Header.PagingIoResource ); in _Requires_lock_held_()
|
H A D | strucsup.c | 1095 Dcb->Header.PagingIoResource = FatAllocateResource(); in _Requires_lock_held_() 1396 Fcb->Header.PagingIoResource = Fcb->Header.Resource; in FatCreateFcb() 1401 Fcb->Header.PagingIoResource = FatAllocateResource(); in FatCreateFcb() 1736 Dcb->Header.PagingIoResource = FatAllocateResource(); in FatCreateDcb() 2125 if (Fcb->Header.PagingIoResource != Fcb->Header.Resource) { in FatDeleteFcb() 2127 FatFreeResource( Fcb->Header.PagingIoResource ); in FatDeleteFcb()
|
/reactos/drivers/filesystems/vfatfs/ |
H A D | cleanup.c | 56 ExAcquireResourceExclusiveLite(&pFcb->PagingIoResource, TRUE); in VfatCleanupFile() 158 ExReleaseResourceLite(&pFcb->PagingIoResource); in VfatCleanupFile()
|
H A D | fcb.c | 150 ExInitializeResourceLite(&rcFCB->PagingIoResource); in vfatNewFCB() 154 rcFCB->RFCB.PagingIoResource = &rcFCB->PagingIoResource; in vfatNewFCB() 286 ExDeleteResourceLite(&pFCB->PagingIoResource); in vfatDestroyFCB()
|
/reactos/sdk/include/ddk/ |
H A D | rxprocs.h | 234 ExAcquireResourceExclusiveLite((Fcb)->Header.PagingIoResource, TRUE); \ 243 ExAcquireResourceSharedLite((Fcb)->Header.PagingIoResource, Flag); \ 256 AcquiredFile = ExAcquireResourceSharedLite((Fcb)->Header.PagingIoResource, Flag); \ 274 ExReleaseResourceLite((Fcb)->Header.PagingIoResource) 282 ExReleaseResourceForThreadLite((Fcb)->Header.PagingIoResource, (Thread))
|
/reactos/sdk/include/xdk/ |
H A D | fsrtltypes.h | 19 PERESOURCE PagingIoResource; \
|