/reactos/drivers/bus/acpi/acpica/resources/ |
H A D | rsdump.c | 274 UINT8 *Target = NULL; in AcpiRsDumpDescriptor() local 286 PreviousTarget = Target; in AcpiRsDumpDescriptor() 324 AcpiRsOutInteger8 (Name, ACPI_GET8 (Target)); in AcpiRsDumpDescriptor() 330 AcpiRsOutInteger16 (Name, ACPI_GET16 (Target)); in AcpiRsDumpDescriptor() 335 AcpiRsOutInteger32 (Name, ACPI_GET32 (Target)); in AcpiRsDumpDescriptor() 340 AcpiRsOutInteger64 (Name, ACPI_GET64 (Target)); in AcpiRsDumpDescriptor() 409 ACPI_CAST_PTR (UINT32, Target)); in AcpiRsDumpDescriptor() 430 ACPI_RESOURCE_DATA, Target)); in AcpiRsDumpDescriptor() 438 ACPI_RESOURCE_SOURCE, Target)); in AcpiRsDumpDescriptor() 446 ACPI_RESOURCE_LABEL, Target)); in AcpiRsDumpDescriptor() [all …]
|
H A D | rsmisc.c | 85 char *Target; in AcpiRsConvertAmlToResource() local 120 Target = NULL; in AcpiRsConvertAmlToResource() 200 Target = ACPI_ADD_PTR (void, Aml, Info->Value); in AcpiRsConvertAmlToResource() 222 if (ACPI_GET16 (Target)) in AcpiRsConvertAmlToResource() 372 Target = ACPI_ADD_PTR (char, Resource, in AcpiRsConvertAmlToResource() 378 Destination, Aml, Target); in AcpiRsConvertAmlToResource() 392 ACPI_SET8 (Target, ItemCount); in AcpiRsConvertAmlToResource() 408 ACPI_SET8 (Target, ItemCount); in AcpiRsConvertAmlToResource() 485 char *Target; in AcpiRsConvertResourceToAml() local 590 ACPI_SET16 (Target, AmlLength); in AcpiRsConvertResourceToAml() [all …]
|
/reactos/ntoskrnl/fstub/ |
H A D | translate.c | 41 OUT PCM_PARTIAL_RESOURCE_DESCRIPTOR Target) in FstubTranslateResource() argument 53 Target->Type = Source->Type; in FstubTranslateResource() 54 Target->ShareDisposition = Source->ShareDisposition; in FstubTranslateResource() 55 Target->Flags = Source->Flags; in FstubTranslateResource() 64 Target->u.Interrupt.Level = Irql; in FstubTranslateResource() 65 Target->u.Interrupt.Affinity = Affinity; in FstubTranslateResource() 93 Target->u.Interrupt.Affinity = -1; in FstubTranslateResource() 95 Target->u.Interrupt.Level = MinimumVector; in FstubTranslateResource() 117 OUT PIO_RESOURCE_DESCRIPTOR *Target) in FstubTranslateRequirement() argument 127 if (!*Target) in FstubTranslateRequirement() [all …]
|
/reactos/sdk/include/xdk/ |
H A D | interlocked.h | 313 for (Old = *Target; ; Old = Prev) in _InlineInterlockedExchange64() 330 for (Old = *Target; ; Old = Prev) in _InlineInterlockedAdd64() 349 for (Old = *Target; ; Old = Prev) in _InlineInterlockedExchangeAdd64() 367 for (Old = *Target; ; Old = Prev) in _InlineInterlockedAnd64() 385 for (Old = *Target; ; Old = Prev) in _InlineInterlockedOr64() 403 for (Old = *Target; ; Old = Prev) in _InlineInterlockedXor64() 419 return _InterlockedAdd64(Target, 1); in _InlineInterlockedIncrement64() 429 return _InterlockedAdd64(Target, -1); in _InlineInterlockedDecrement64() 486 _Inout_ _Interlocked_operand_ volatile LONG *Target, in _InterlockedBitTestAndSet() argument 498 _Inout_ _Interlocked_operand_ volatile LONG *Target, in _InterlockedBitTestAndReset() argument [all …]
|
/reactos/win32ss/user/winsrv/consrv/ |
H A D | alias.c | 23 UNICODE_STRING Target; member 41 PWCHAR* Target, in ConvertInputAnsiToUnicode() argument 44 ASSERT(Source && Target && TargetLength); in ConvertInputAnsiToUnicode() 51 if (*Target == NULL) return FALSE; in ConvertInputAnsiToUnicode() 71 ASSERT(Source && Target && TargetLength); in ConvertInputUnicodeToAnsi() 272 PVOID Target, in IntCreateAliasEntry() argument 284 TargetU.Buffer = Target; in IntCreateAliasEntry() 327 Entry->Target.Length = 0; in IntCreateAliasEntry() 412 Length += CurEntry->Target.Length; in IntGetAllConsoleAliasesLength() 573 RtlCopyMemory(lpTarget, Entry->Target.Buffer, Entry->Target.Length); in CON_API() [all …]
|
/reactos/ntoskrnl/mm/ |
H A D | balance.c | 98 ULONG Target = InitialTarget; in MiTrimMemoryConsumer() local 112 Target = (ULONG)max(Target, MiMinimumAvailablePages - MmAvailablePages); in MiTrimMemoryConsumer() 117 …Target = max(Target, MiMemoryConsumers[Consumer].PagesUsed - MiMemoryConsumers[Consumer].PagesTarg… in MiTrimMemoryConsumer() 120 if (Target) in MiTrimMemoryConsumer() 149 while (CurrentPage != 0 && Target > 0) in MmTrimUserMemory() 157 Target--; in MmTrimUserMemory() 263 Target--; in MmTrimUserMemory() 349 _In_ ULONG Target, 377 ULONG Target; in MiBalancerThread() local 392 if (Target) in MiBalancerThread() [all …]
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | dispatcher.cpp | 30 return DispatchContext->Target->DeviceIoControl(DeviceObject, Irp); in Dispatch_fnDeviceIoControl() 49 return DispatchContext->Target->Read(DeviceObject, Irp); in Dispatch_fnRead() 68 return DispatchContext->Target->Write(DeviceObject, Irp); in Dispatch_fnWrite() 87 return DispatchContext->Target->Flush(DeviceObject, Irp); in Dispatch_fnFlush() 106 Status = DispatchContext->Target->Close(DeviceObject, Irp); in Dispatch_fnClose() 133 return DispatchContext->Target->QuerySecurity(DeviceObject, Irp); in Dispatch_fnQuerySecurity() 152 return DispatchContext->Target->SetSecurity(DeviceObject, Irp); in Dispatch_fnSetSecurity() 195 …return DispatchContext->Target->FastRead(FileObject, FileOffset, Length, Wait, LockKey, Buffer, Io… in Dispatch_fnFastRead() 236 IN IIrpTarget * Target, in NewDispatchObject() argument 265 DispatchContext->Target = Target; in NewDispatchObject() [all …]
|
/reactos/ntoskrnl/cache/ |
H A D | fssup.c | 423 LARGE_INTEGER Target, End; in CcZeroData() local 452 Target.QuadPart, in CcZeroData() 456 &Target, in CcZeroData() 476 &Target, in CcZeroData() 487 Target.QuadPart += PAGE_SIZE; in CcZeroData() 496 Target.QuadPart); in CcZeroData() 499 &Target, in CcZeroData() 509 Target.QuadPart += PAGE_SIZE; in CcZeroData() 516 Target.QuadPart, in CcZeroData() 520 &Target, in CcZeroData() [all …]
|
/reactos/modules/rostests/apitests/kernel32/ |
H A D | dosdev.c | 37 CHAR Buffer[MAX_PATH], Target[MAX_PATH]; in test_DefineDosDeviceA() local 47 CharCount = GetSystemWindowsDirectoryA(Target, MAX_PATH); in test_DefineDosDeviceA() 49 c = Target[3]; in test_DefineDosDeviceA() 50 Target[3] = '\0'; in test_DefineDosDeviceA() 51 SystemDriveType = GetDriveTypeA(Target); in test_DefineDosDeviceA() 52 Target[3] = c; in test_DefineDosDeviceA() 56 Result = DefineDosDeviceA(0, SUBST_DRIVE, Target); in test_DefineDosDeviceA() 107 Result = DefineDosDeviceA(0, SUBST_DRIVE, Target); in test_DefineDosDeviceA() 293 Result = DefineDosDeviceA(0, "!QHello:", Target); in test_DefineDosDeviceA() 347 CHAR Buffer[MAX_PATH], Target[MAX_PATH]; in test_QueryDosDeviceA() local [all …]
|
/reactos/win32ss/user/ntuser/misc/ |
H A D | copy.c | 6 _Out_writes_bytes_all_(Bytes) PVOID Target, in _IRQL_requires_max_() 19 RtlCopyMemory(Target, Source, Bytes); in _IRQL_requires_max_() 33 _Out_writes_bytes_all_(Bytes) PVOID Target, in _IRQL_requires_max_() 45 ProbeForWrite(Target, Bytes, 1); in _IRQL_requires_max_() 46 RtlCopyMemory(Target, Source, Bytes); in _IRQL_requires_max_()
|
/reactos/base/applications/network/ping/ |
H A D | ping.c | 66 static PADDRINFOW Target = NULL; variable 116 … if (WSAAddressToStringW(Target->ai_addr, (DWORD)Target->ai_addrlen, NULL, Address, &StrLen) != 0) in wmain() 119 FreeAddrInfoW(Target); in wmain() 133 FreeAddrInfoW(Target); in wmain() 160 FreeAddrInfoW(Target); in wmain() 386 Status = GetAddrInfoW(target, NULL, &hints, &Target); in ResolveTarget() 391 Status = GetAddrInfoW(target, NULL, &hints, &Target); in ResolveTarget() 398 wcsncpy(CanonName, Target->ai_canonname, wcslen(Target->ai_canonname)); in ResolveTarget() 402 Status = GetNameInfoW(Target->ai_addr, Target->ai_addrlen, in ResolveTarget() 412 Family = Target->ai_family; in ResolveTarget() [all …]
|
/reactos/sdk/lib/pseh/i386/ |
H A D | pseh3.c | 62 C_ASSERT(SEH3_SCOPE_TABLE_Target == FIELD_OFFSET(SEH3$_SCOPE_TABLE, Target)); 155 if (Frame->ScopeTable->Target == NULL) in _SEH3$_AutoCleanup() 171 if (Record->ScopeTable->Target == NULL) in _SEH3$_GetFilterResult() 227 [Target] "m" (RegistrationFrame->ScopeTable->Target) in _SEH3$_JumpToTarget() 245 [Target] "m" (RegistrationFrame->ScopeTable->Target) in _SEH3$_JumpToTarget() 293 if (CurrentFrame->ScopeTable->Target != NULL) in _SEH3$_except_handler() 336 if (CurrentFrame->ScopeTable->Target == NULL) in _SEH3$_except_handler()
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | create.c | 81 PEXT2_MCB Target = NULL; in Ext2FollowLink() local 164 &Target, in Ext2FollowLink() 167 if (Target == NULL) { in Ext2FollowLink() 176 if (Target) { in Ext2FollowLink() 182 Mcb->Target = NULL; in Ext2FollowLink() 187 ASSERT(Target->Target != NULL); in Ext2FollowLink() 188 Ext2ReferMcb(Target->Target); in Ext2FollowLink() 189 Mcb->Target = Target->Target; in Ext2FollowLink() 191 ASSERT(!IsMcbSymLink(Target->Target)); in Ext2FollowLink() 198 Mcb->Target = Target; in Ext2FollowLink() [all …]
|
/reactos/drivers/network/dd/ne2000/ne2000/ |
H A D | 8390.c | 644 PUSHORT Target, in NICReadDataAlign() argument 701 ULONG_PTR Target, in NICWriteDataAlign() argument 793 PUCHAR Target, in NICReadData() argument 811 *Target = (UCHAR)(Tmp >> 8); in NICReadData() 813 Target++; in NICReadData() 822 Target = (PUCHAR)((ULONG_PTR) Target + Tmp); in NICReadData() 826 *Target = (UCHAR)(Tmp & 0x00FF); in NICReadData() 835 ULONG_PTR Target, in NICWriteData() argument 850 if (Target & 0x01) { in NICWriteData() 862 Target += 1; in NICWriteData() [all …]
|
/reactos/modules/rostests/winetests/winmm/ |
H A D | mixer.c | 464 target_type(mixerlineA.Target.dwType)); in mixer_test_deviceA() 466 mixerlineA.Target.dwDeviceID, in mixer_test_deviceA() 467 mixerlineA.Target.szPname, in mixer_test_deviceA() 468 mixerlineA.Target.vDriverVersion >> 8, in mixer_test_deviceA() 470 mixerlineA.Target.wMid, mixerlineA.Target.wPid); in mixer_test_deviceA() 502 mixerlineA.Target.dwDeviceID, in mixer_test_deviceA() 503 mixerlineA.Target.szPname, in mixer_test_deviceA() 506 mixerlineA.Target.wMid, mixerlineA.Target.wPid); in mixer_test_deviceA() 860 mixerlineW.Target.dwDeviceID,szPname, in mixer_test_deviceW() 863 mixerlineW.Target.wMid, mixerlineW.Target.wPid); in mixer_test_deviceW() [all …]
|
/reactos/base/applications/cmdutils/fsutil/ |
H A D | hardlink.c | 22 TCHAR Source[MAX_PATH], Target[MAX_PATH]; in CreateMain() local 33 if (GetFullPathName(argv[1], MAX_PATH, Target, NULL) == 0) in CreateMain() 46 if (!CreateHardLink(Target, Source, NULL)) in CreateMain() 53 _ftprintf(stdout, _T("Hard link created for %s <=> %s\n"), Target, Source); in CreateMain()
|
/reactos/ntoskrnl/cc/ |
H A D | lazywrite.c | 119 ULONG Target, Count; in CcWriteBehind() local 121 Target = CcTotalDirtyPages / 8; in CcWriteBehind() 122 if (Target != 0) in CcWriteBehind() 125 DPRINT("Lazy writer starting (%d)\n", Target); in CcWriteBehind() 126 CcRosFlushDirtyPages(Target, &Count, FALSE, TRUE); in CcWriteBehind() 148 ULONG Target; in CcLazyWriteScan() local 170 Target = CcTotalDirtyPages / 8; in CcLazyWriteScan() 171 if (Target != 0) in CcLazyWriteScan()
|
/reactos/sdk/include/vcruntime/mingw32/ |
H A D | intrin_ppc.h | 81 PPC_QUAL long _InterlockedExchange(volatile long * const Target, const long Value) in _InterlockedExchange() argument 85 return __sync_lock_test_and_set(Target, Value); in _InterlockedExchange() 88 PPC_QUAL void * _InterlockedExchangePointer(void * volatile * const Target, void * const Value) in _InterlockedExchangePointer() argument 92 return __sync_lock_test_and_set(Target, Value); in _InterlockedExchangePointer() 201 PPC_QUAL long long _InterlockedCompareExchange64(volatile long long * const Target, const long long… in _InterlockedCompareExchange64() argument 203 long long capture = *Target; in _InterlockedCompareExchange64() 204 if (*Target == Comperand) *Target = Exchange; in _InterlockedCompareExchange64() 214 PPC_QUAL long _InterlockedExchange(volatile long * const Target, const long Value) in _InterlockedExchange() argument 224 : "b" (Target), "b" (Value) in _InterlockedExchange() 229 PPC_QUAL void * _InterlockedExchangePointer(void * volatile * const Target, void * const Value) in _InterlockedExchangePointer() argument [all …]
|
/reactos/dll/win32/kernel32/client/console/ |
H A D | alias.c | 24 LPCVOID Target, in IntAddConsoleAlias() argument 52 if (Target) /* The target can be optional */ in IntAddConsoleAlias() 85 if (Target) /* The target can be optional */ in IntAddConsoleAlias() 88 (PVOID)Target, in IntAddConsoleAlias() 90 (PVOID*)&ConsoleAliasRequest->Target); in IntAddConsoleAlias() 94 ConsoleAliasRequest->Target = NULL; in IntAddConsoleAlias() 167 LPVOID Target, in IntGetConsoleAlias() argument 178 if (Source == NULL || Target == NULL) in IntGetConsoleAlias() 225 (PVOID*)&ConsoleAliasRequest->Target); in IntGetConsoleAlias() 243 RtlCopyMemory(Target, in IntGetConsoleAlias() [all …]
|
/reactos/drivers/bus/acpi/acpica/executer/ |
H A D | exconfig.c | 345 ACPI_OPERAND_OBJECT *Target, in AcpiExLoadOp() argument 359 if (Target->Common.DescriptorType == ACPI_DESC_TYPE_NAMED) in AcpiExLoadOp() 361 Target = AcpiNsGetAttachedObject (ACPI_CAST_PTR (ACPI_NAMESPACE_NODE, Target)); in AcpiExLoadOp() 363 if (Target->Common.Type != ACPI_TYPE_INTEGER) in AcpiExLoadOp() 365 ACPI_ERROR ((AE_INFO, "Type not integer: %X", Target->Common.Type)); in AcpiExLoadOp() 369 Target->Integer.Value = 0; in AcpiExLoadOp() 547 Target->Integer.Value = 0xFFFFFFFFFFFFFFFF; in AcpiExLoadOp()
|
/reactos/drivers/storage/port/storport/ |
H A D | fdo.c | 321 Srb.TargetId = PdoExtension->Target; in PortSendInquiry() 403 DPRINT("Data overrun at TargetId %d\n", PdoExtension->Target); in PortSendInquiry() 464 ULONG Bus, Target; //, Lun; in PortFdoScanBus() local 479 … for (Target = 0; Target < DeviceExtension->Miniport.PortConfig.MaximumNumberOfTargets; Target++) in PortFdoScanBus() 481 DPRINT(" Scanning target %ld:%ld\n", Bus, Target); in PortFdoScanBus() 483 DPRINT(" Scanning logical unit %ld:%ld:%ld\n", Bus, Target, 0); in PortFdoScanBus() 484 Status = PortCreatePdo(DeviceExtension, Bus, Target, 0, &PdoExtension); in PortFdoScanBus() 507 DPRINT(" Scanning logical unit %ld:%ld:%ld\n", Bus, Target, Lun); in PortFdoScanBus() 508 Status = PortSendInquiry(DeviceExtension->Device, Bus, Target, Lun); in PortFdoScanBus()
|
/reactos/sdk/lib/drivers/wdf/shared/core/ |
H A D | fxrequestbase.cpp | 300 __in FxIoTarget* Target in ValidateTarget() argument 317 if (Target->HasValidStackSize() == FALSE) { in ValidateTarget() 326 Target->GetHandle(), status); in ValidateTarget() 328 else if (pIrp != NULL && Target->HasEnoughStackLocations(&fxIrp)) { in ValidateTarget() 335 pIrp = FxIrp::AllocateIrp(Target->m_TargetStackSize, Target->GetDevice()); in ValidateTarget() 342 " %!STATUS!", GetTraceObjectHandle(), Target->GetHandle(), status); in ValidateTarget() 367 " %!STATUS!", GetTraceObjectHandle(), Target->GetHandle(), status); in ValidateTarget()
|
/reactos/dll/win32/setupapi/ |
H A D | queue.c | 214 pathsA.Target = strdupWtoA( pathsW->Target ); in QUEUE_callback_WtoA() 220 HeapFree( GetProcessHeap(), 0, (void *)pathsA.Target ); in QUEUE_callback_WtoA() 1167 filepaths.Target = target; in do_file_copyW() 1357 paths.Source = paths.Target = NULL; in SetupCommitFileQueueW() 1431 debugstr_w(paths.Target) ); in SetupCommitFileQueueW() 1485 HeapFree( GetProcessHeap(), 0, (void *)paths.Target ); in SetupCommitFileQueueW() 1533 paths.Source = paths.Target = NULL; in SetupScanFileQueueW() 1556 HeapFree( GetProcessHeap(), 0, (void *)paths.Target ); in SetupScanFileQueueW() 1686 TRACE( "start delete %s\n", debugstr_a(paths->Target) ); in SetupDefaultQueueCallbackA() 1689 TRACE( "end delete %s\n", debugstr_a(paths->Target) ); in SetupDefaultQueueCallbackA() [all …]
|
/reactos/sdk/lib/drivers/sound/mmixer/ |
H A D | mixer.c | 213 MixerLine->Target.szPname[MAXPNAMELEN-1] = L'\0'; in MMixerGetLineInfo() 263 MixerLine->Target.szPname[MAXPNAMELEN-1] = L'\0'; in MMixerGetLineInfo() 290 MixerLine->Target.szPname[MAXPNAMELEN-1] = L'\0'; in MMixerGetLineInfo() 313 MixerLine->Target.szPname[MAXPNAMELEN-1] = L'\0'; in MMixerGetLineInfo() 726 DPRINT1("Target.dwType %lu\n", DstMixerLine->Line.Target.dwType); in MMixerPrintMixers() 727 DPRINT1("Target.szName %S\n", DstMixerLine->Line.Target.szPname); in MMixerPrintMixers() 729 DPRINT1("Target.wMid %lx\n", DstMixerLine->Line.Target.wMid ); in MMixerPrintMixers() 730 DPRINT1("Target.wPid %lx\n", DstMixerLine->Line.Target.wPid); in MMixerPrintMixers() 756 DPRINT1("Target.dwType %lu\n", SrcMixerLine->Line.Target.dwType); in MMixerPrintMixers() 759 DPRINT1("Target.wMid %lx\n", SrcMixerLine->Line.Target.wMid ); in MMixerPrintMixers() [all …]
|
/reactos/modules/rosapps/applications/cmdutils/arping/ |
H A D | arping.c | 33 SOCKADDR_IN Target; variable 223 IN_ADDR Target; in Setup() local 255 Target.S_un.S_addr = TargetAddr; in Setup() 256 swprintf(TargetIP, L"%d.%d.%d.%d", Target.S_un.S_un_b.s_b1, in Setup() 257 Target.S_un.S_un_b.s_b2, in Setup() 258 Target.S_un.S_un_b.s_b3, in Setup() 259 Target.S_un.S_un_b.s_b4); in Setup()
|