Home
last modified time | relevance | path

Searched refs:RelatedFileObject (Results 1 – 25 of 25) sorted by relevance

/reactos/drivers/filesystems/npfs/
H A Dcreate.c367 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 Dcreate.c270 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 Dfile.c154 !(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 Dvolume.c89 Raw = !RemainingName->Length && !OpenPacket->RelatedFileObject; in IopCheckVpbMounted()
/reactos/modules/rostests/kmtests/ntos_io/
H A DIoCreateFile.c120 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 Dpin.c448 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 Dcreate.c204 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 Dverfysup.c171 (IrpSp->FileObject->RelatedFileObject == NULL) && in _Requires_lock_held_()
556 ForceVerify = (IrpSp->FileObject->RelatedFileObject == NULL) && in CdVerifyVcb()
H A Dcdprocs.h1400 (IrpSp->FileObject->RelatedFileObject == NULL)); in CdOperationIsDasdOpen()
/reactos/drivers/filesystems/ntfs/
H A Dcreate.c262 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 Dcreate.c580 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 Dverfysup.c329 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 Dexcept.c222 (IrpContext->FileObject->RelatedFileObject == NULL) && in Ext2ExceptionHandler()
H A Dcreate.c925 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 Ddevice.c602 if (IoStack->FileObject->RelatedFileObject != NULL) in IKsDevice_Create()
605 ObjectHeader = (PKSIOBJECT_HEADER)IoStack->FileObject->RelatedFileObject->FsContext2; in IKsDevice_Create()
H A Dirp.c1912 if (IoStack->FileObject->RelatedFileObject != NULL) in KspCreate()
1915 ObjectHeader = (PKSIOBJECT_HEADER)IoStack->FileObject->RelatedFileObject->FsContext2; in KspCreate()
/reactos/drivers/filesystems/mup/
H A Dmup.c2198 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 Dcreate.c4498 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 Dverfysup.cpp559 (IrpSp->FileObject->RelatedFileObject == NULL) && in UDFPerformVerify()
H A Dfileinfo.cpp1970 PFILE_OBJECT DirObject1 = FileObject1->RelatedFileObject; in UDFRename()
2552 DirObject2 = FileObject1->RelatedFileObject; in UDFHardLink()
H A Dcreate.cpp301 PtrRelatedFileObject = PtrNewFileObject->RelatedFileObject; in UDFCommonCreate()
/reactos/sdk/lib/drivers/rdbsslib/
H A Drdbss.c1372 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 Dio.h374 PFILE_OBJECT RelatedFileObject; member
/reactos/sdk/lib/drivers/rxce/
H A Drxce.c8817 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 Diotypes.h1977 struct _FILE_OBJECT *RelatedFileObject; member