/reactos/drivers/filesystems/npfs/ |
H A D | create.c | 367 PFILE_OBJECT RelatedFileObject; in NpFsdCreate() local 380 RelatedFileObject = FileObject->RelatedFileObject; in NpFsdCreate() 389 if (RelatedFileObject) in NpFsdCreate() 404 !(RelatedFileObject)) in NpFsdCreate() 413 else if (!(RelatedFileObject) || (Type == NPFS_NTC_VCB)) in NpFsdCreate() 431 if (RelatedFileObject) in NpFsdCreate() 796 PFILE_OBJECT RelatedFileObject; in NpFsdCreateNamedPipe() local 812 RelatedFileObject = FileObject->RelatedFileObject; in NpFsdCreateNamedPipe() 825 if (RelatedFileObject) in NpFsdCreateNamedPipe() 827 Fcb = (PNP_FCB)((ULONG_PTR)RelatedFileObject->FsContext & ~1); in NpFsdCreateNamedPipe() [all …]
|
/reactos/drivers/filesystems/vfatfs/ |
H A D | create.c | 270 if (FileObject->RelatedFileObject) in VfatOpenFile() 272 DPRINT("'%wZ'\n", &FileObject->RelatedFileObject->FileName); in VfatOpenFile() 274 *ParentFcb = FileObject->RelatedFileObject->FsContext; in VfatOpenFile() 461 (FileObject->RelatedFileObject == NULL || in VfatCreateFile() 462 FileObject->RelatedFileObject->FsContext2 != NULL || in VfatCreateFile() 463 FileObject->RelatedFileObject->FsContext == DeviceExt->VolumeFcb)) in VfatCreateFile() 474 …(FileObject->RelatedFileObject == NULL || FileObject->RelatedFileObject->FsContext2 == NULL || Fil… in VfatCreateFile() 523 if (FileObject->RelatedFileObject != NULL && in VfatCreateFile() 524 FileObject->RelatedFileObject->FsContext == DeviceExt->VolumeFcb) in VfatCreateFile() 602 …ParentFcb = (FileObject->RelatedFileObject != NULL) ? FileObject->RelatedFileObject->FsContext : N… in VfatCreateFile() [all …]
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | file.c | 154 !(OpenPacket->RelatedFileObject) && in IopCheckDeviceAndDriver() 387 if (OpenPacket->RelatedFileObject) in IopParseDevice() 439 if ((OpenPacket->RelatedFileObject) && in IopParseDevice() 592 !(OpenPacket->RelatedFileObject) && in IopParseDevice() 606 if ((OpenPacket->RelatedFileObject) && in IopParseDevice() 613 if (OpenPacket->RelatedFileObject->Vpb) in IopParseDevice() 616 Vpb = OpenPacket->RelatedFileObject->Vpb; in IopParseDevice() 946 FileObject->RelatedFileObject = OpenPacket->RelatedFileObject; in IopParseDevice() 1178 OpenPacket->RelatedFileObject = NULL; in IopParseDevice() 1232 if ((!(FileObject->RelatedFileObject) || in IopParseDevice() [all …]
|
H A D | volume.c | 89 Raw = !RemainingName->Length && !OpenPacket->RelatedFileObject; in IopCheckVpbMounted()
|
/reactos/modules/rostests/kmtests/ntos_io/ |
H A D | IoCreateFile.c | 120 ok_eq_pointer(ParentFileObject->RelatedFileObject, NULL); in KernelModeTest() 197 ok_eq_pointer(ParentFileObject->RelatedFileObject, SystemRootFileObject); in KernelModeTest() 198 … ok(ParentFileObject->RelatedFileObject != TargetFileObject, "File objects must be different\n"); in KernelModeTest() 251 ok_eq_pointer(ParentFileObject->RelatedFileObject, NULL); in KernelModeTest() 326 ok_eq_pointer(ParentFileObject->RelatedFileObject, SystemRootFileObject); in KernelModeTest() 327 … ok(ParentFileObject->RelatedFileObject != TargetFileObject, "File objects must be different\n"); in KernelModeTest()
|
/reactos/drivers/wdm/audio/sysaudio/ |
H A D | pin.c | 448 ASSERT(IoStack->FileObject->RelatedFileObject); in DispatchCreateSysAudioPin() 449 ASSERT(IoStack->FileObject->RelatedFileObject->FsContext); in DispatchCreateSysAudioPin() 452 DeviceEntry = (PKSAUDIO_DEVICE_ENTRY)IoStack->FileObject->RelatedFileObject->FsContext; in DispatchCreateSysAudioPin()
|
/reactos/drivers/filesystems/cdfs/ |
H A D | create.c | 204 PFILE_OBJECT RelatedFileObject; in _Requires_lock_held_() local 301 RelatedFileObject = NULL; in _Requires_lock_held_() 310 if ((FileObject->RelatedFileObject != NULL) && !OpenByFileId) { in _Requires_lock_held_() 312 RelatedFileObject = FileObject->RelatedFileObject; in _Requires_lock_held_() 313 FileObject->Vpb = RelatedFileObject->Vpb; in _Requires_lock_held_() 315 … RelatedTypeOfOpen = CdDecodeFileObject( IrpContext, RelatedFileObject, &NextFcb, &RelatedCcb ); in _Requires_lock_held_() 331 RelatedFileName = &RelatedFileObject->FileName; in _Requires_lock_held_()
|
H A D | verfysup.c | 171 (IrpSp->FileObject->RelatedFileObject == NULL) && in _Requires_lock_held_() 556 ForceVerify = (IrpSp->FileObject->RelatedFileObject == NULL) && in CdVerifyVcb()
|
H A D | cdprocs.h | 1400 (IrpSp->FileObject->RelatedFileObject == NULL)); in CdOperationIsDasdOpen()
|
/reactos/drivers/filesystems/ntfs/ |
H A D | create.c | 262 if (FileObject->RelatedFileObject) in NtfsOpenFile() 266 Status = NtfsMakeAbsoluteFilename(FileObject->RelatedFileObject, in NtfsOpenFile() 393 … (FileObject->RelatedFileObject == NULL || FileObject->RelatedFileObject->FsContext2 != NULL)) in NtfsCreateFile()
|
/reactos/drivers/filesystems/fastfat/ |
H A D | create.c | 580 PFILE_OBJECT RelatedFileObject; in _Requires_lock_held_() local 650 DebugTrace( 0, Dbg, " ->RelatedFileObject = %p\n", IrpSp->FileObject->RelatedFileObject ); in _Requires_lock_held_() 698 RelatedFileObject = FileObject->RelatedFileObject; in _Requires_lock_held_() 712 if ( RelatedFileObject != NULL ) { in _Requires_lock_held_() 713 FileObject->Vpb = RelatedFileObject->Vpb; in _Requires_lock_held_() 907 if (RelatedFileObject == NULL || in _Requires_lock_held_() 908 FatDecodeFileObject( RelatedFileObject, in _Requires_lock_held_() 913 NT_ASSERT( RelatedFileObject == NULL || Vcb == DecodeVcb ); in _Requires_lock_held_() 957 if (RelatedFileObject != NULL) { in _Requires_lock_held_() 964 TypeOfOpen = FatDecodeFileObject( RelatedFileObject, in _Requires_lock_held_() [all …]
|
H A D | verfysup.c | 329 if ((IrpSp->FileObject->RelatedFileObject == NULL) && in FatVerifyVcb() 1873 (IrpSp->FileObject->RelatedFileObject == NULL) ) { in _Requires_lock_held_() 1957 (FileObject->RelatedFileObject == NULL) && in _Requires_lock_held_()
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | except.c | 222 (IrpContext->FileObject->RelatedFileObject == NULL) && in Ext2ExceptionHandler()
|
H A D | create.c | 925 if (IrpSp->FileObject->RelatedFileObject) { in Ext2CreateFile() 926 ParentFcb = (PEXT2_FCB)(IrpSp->FileObject->RelatedFileObject->FsContext); in Ext2CreateFile() 966 if (IrpSp->FileObject->RelatedFileObject && FileName.Buffer[0] == L'\\') { in Ext2CreateFile() 2014 (IrpSp->FileObject->RelatedFileObject == NULL)) || in Ext2Create()
|
/reactos/drivers/ksfilter/ks/ |
H A D | device.c | 602 if (IoStack->FileObject->RelatedFileObject != NULL) in IKsDevice_Create() 605 ObjectHeader = (PKSIOBJECT_HEADER)IoStack->FileObject->RelatedFileObject->FsContext2; in IKsDevice_Create()
|
H A D | irp.c | 1912 if (IoStack->FileObject->RelatedFileObject != NULL) in KspCreate() 1915 ObjectHeader = (PKSIOBJECT_HEADER)IoStack->FileObject->RelatedFileObject->FsContext2; in KspCreate()
|
/reactos/drivers/filesystems/mup/ |
H A D | mup.c | 2198 PFILE_OBJECT FileObject, RelatedFileObject; in MupCreate() local 2213 RelatedFileObject = FileObject->RelatedFileObject; in MupCreate() 2216 …if (FileObject->FileName.Length != 0 || (RelatedFileObject != NULL && ((PMUP_FCB)(RelatedFileObjec… in MupCreate()
|
/reactos/drivers/filesystems/btrfs/ |
H A D | create.c | 4498 if (FileObject->RelatedFileObject && FileObject->RelatedFileObject->FsContext2) { 4499 struct _ccb* relatedccb = FileObject->RelatedFileObject->FsContext2; 4925 if (IrpSp->FileObject->RelatedFileObject) { in _Function_class_() 4926 fcb* relatedfcb = IrpSp->FileObject->RelatedFileObject->FsContext; in _Function_class_() 4936 if (IrpSp->FileObject->FileName.Length == 0 && !IrpSp->FileObject->RelatedFileObject) { in _Function_class_() 5001 if (IrpSp->FileObject->RelatedFileObject) in _Function_class_() 5002 TRACE("related file = %p\n", IrpSp->FileObject->RelatedFileObject); in _Function_class_()
|
/reactos/drivers/filesystems/udfs/ |
H A D | verfysup.cpp | 559 (IrpSp->FileObject->RelatedFileObject == NULL) && in UDFPerformVerify()
|
H A D | fileinfo.cpp | 1970 PFILE_OBJECT DirObject1 = FileObject1->RelatedFileObject; in UDFRename() 2552 DirObject2 = FileObject1->RelatedFileObject; in UDFHardLink()
|
H A D | create.cpp | 301 PtrRelatedFileObject = PtrNewFileObject->RelatedFileObject; in UDFCommonCreate()
|
/reactos/sdk/lib/drivers/rdbsslib/ |
H A D | rdbss.c | 1372 if (capFileObject->RelatedFileObject == NULL) in RxCanonicalizeNameAndObtainNetRoot() 1385 Fcb = capFileObject->RelatedFileObject->FsContext; in RxCanonicalizeNameAndObtainNetRoot() 1386 if (Fcb == NULL || capFileObject->RelatedFileObject->FsContext2 == NULL) in RxCanonicalizeNameAndObtainNetRoot() 2457 if (FileObject->FileName.Length == 0 && FileObject->RelatedFileObject == NULL) in RxCommonCreate() 2487 if (FileObject->RelatedFileObject != NULL) in RxCommonCreate() 2489 RelatedFcb = FileObject->RelatedFileObject->FsContext; in RxCommonCreate() 2490 … DPRINT("Rel FO: %p, path: %wZ\n", FileObject->RelatedFileObject, RelatedFcb->FcbTableEntry.Path); in RxCommonCreate() 6263 …= RxDeviceFCBVector && (FileObject->FileName.Length != 0 || FileObject->RelatedFileObject != NULL)) in RxFsdCommonDispatch()
|
/reactos/ntoskrnl/include/internal/ |
H A D | io.h | 374 PFILE_OBJECT RelatedFileObject; member
|
/reactos/sdk/lib/drivers/rxce/ |
H A D | rxce.c | 8817 PFILE_OBJECT RelatedFileObject; in RxVerifyOperationIsLegal() local 8820 RelatedFileObject = FileObject->RelatedFileObject; in RxVerifyOperationIsLegal() 8821 if (RelatedFileObject != NULL) in RxVerifyOperationIsLegal() 8825 Fcb = RelatedFileObject->FsContext; in RxVerifyOperationIsLegal()
|
/reactos/sdk/include/xdk/ |
H A D | iotypes.h | 1977 struct _FILE_OBJECT *RelatedFileObject; member
|