/reactos/drivers/storage/mountmgr/ |
H A D | uniqueid.c | 379 PUNIQUE_ID_REPLICATE ReplicatedUniqueId, NewEntry; in UpdateReplicatedUniqueIds() local 411 NewEntry = AllocatePool(sizeof(UNIQUE_ID_REPLICATE)); in UpdateReplicatedUniqueIds() 412 if (!NewEntry) in UpdateReplicatedUniqueIds() 418 NewEntry->UniqueId = AllocatePool(DatabaseEntry->UniqueIdLength + sizeof(MOUNTDEV_UNIQUE_ID)); in UpdateReplicatedUniqueIds() 419 if (!NewEntry->UniqueId) in UpdateReplicatedUniqueIds() 421 FreePool(NewEntry); in UpdateReplicatedUniqueIds() 426 NewEntry->UniqueId->UniqueIdLength = DatabaseEntry->UniqueIdLength; in UpdateReplicatedUniqueIds() 427 RtlCopyMemory(NewEntry->UniqueId->UniqueId, in UpdateReplicatedUniqueIds() 431 …InsertTailList(&DeviceInformation->ReplicatedUniqueIdsListHead, &NewEntry->ReplicatedUniqueIdsList… in UpdateReplicatedUniqueIds()
|
H A D | database.c | 1917 PDATABASE_ENTRY Entry, NewEntry; in ChangeRemoteDatabaseUniqueId() local 1956 if (!NewEntry) in ChangeRemoteDatabaseUniqueId() 1965 NewEntry->EntryReferences = Entry->EntryReferences; in ChangeRemoteDatabaseUniqueId() 1966 NewEntry->SymbolicNameOffset = sizeof(DATABASE_ENTRY); in ChangeRemoteDatabaseUniqueId() 1969 NewEntry->UniqueIdLength = NewUniqueId->UniqueIdLength; in ChangeRemoteDatabaseUniqueId() 1970 RtlCopyMemory((PVOID)((ULONG_PTR)NewEntry + NewEntry->SymbolicNameOffset), in ChangeRemoteDatabaseUniqueId() 1972 NewEntry->SymbolicNameLength); in ChangeRemoteDatabaseUniqueId() 1973 RtlCopyMemory((PVOID)((ULONG_PTR)NewEntry + NewEntry->UniqueIdOffset), in ChangeRemoteDatabaseUniqueId() 1981 FreePool(NewEntry); in ChangeRemoteDatabaseUniqueId() 1986 Status = AddRemoteDatabaseEntry(Database, NewEntry); in ChangeRemoteDatabaseUniqueId() [all …]
|
/reactos/base/setup/lib/utils/ |
H A D | linklist.h | 10 #define InsertAscendingList(ListHead, NewEntry, Type, ListEntryField, SortField) \ argument 16 (NewEntry)->SortField) \ 23 InsertTailList(current, &((NewEntry)->ListEntryField)); \
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | interrupt.cpp | 273 PSYNC_ENTRY NewEntry; in RegisterServiceRoutine() local 278 NewEntry = (PSYNC_ENTRY)AllocateItem(NonPagedPool, sizeof(SYNC_ENTRY), TAG_PORTCLASS); in RegisterServiceRoutine() 279 if (!NewEntry) in RegisterServiceRoutine() 282 NewEntry->SyncRoutine = Routine; in RegisterServiceRoutine() 283 NewEntry->DynamicContext = DynamicContext; in RegisterServiceRoutine() 286 InsertHeadList(&m_ServiceRoutines, &NewEntry->ListEntry); in RegisterServiceRoutine() 288 InsertTailList(&m_ServiceRoutines, &NewEntry->ListEntry); in RegisterServiceRoutine()
|
/reactos/drivers/filesystems/ntfs/ |
H A D | btree.c | 1266 if (!NewEntry) in UpdateIndexAllocation() 1277 NewEntry->Length += sizeof(ULONGLONG); in UpdateIndexAllocation() 1282 CurrentKey->IndexEntry = NewEntry; in UpdateIndexAllocation() 1366 if (!NewEntry) in UpdateIndexNode() 1380 CurrentKey->IndexEntry = NewEntry; in UpdateIndexNode() 1469 if (!NewEntry) in CreateBTreeKeyFromFilename() 1476 RtlZeroMemory(NewEntry, EntrySize); in CreateBTreeKeyFromFilename() 1478 NewEntry->Length = EntrySize; in CreateBTreeKeyFromFilename() 1479 NewEntry->KeyLength = AttributeSize; in CreateBTreeKeyFromFilename() 1489 ExFreePoolWithTag(NewEntry, TAG_NTFS); in CreateBTreeKeyFromFilename() [all …]
|
/reactos/ntoskrnl/ob/ |
H A D | obdir.c | 50 POBJECT_DIRECTORY_ENTRY NewEntry; in ObpInsertEntryDirectory() local 69 NewEntry = ExAllocatePoolWithTag(PagedPool, in ObpInsertEntryDirectory() 72 if (!NewEntry) return FALSE; in ObpInsertEntryDirectory() 75 NewEntry->HashValue = Context->HashValue; in ObpInsertEntryDirectory() 84 NewEntry->ChainLink = *AllocatedEntry; in ObpInsertEntryDirectory() 85 *AllocatedEntry = NewEntry; in ObpInsertEntryDirectory() 88 NewEntry->Object = &ObjectHeader->Body; in ObpInsertEntryDirectory()
|
H A D | obhandle.c | 1320 HANDLE_TABLE_ENTRY NewEntry; in ObpCreateUnnamedHandle() local 1342 NewEntry.Object = ObjectHeader; in ObpCreateUnnamedHandle() 1345 NewEntry.ObAttributes |= HandleAttributes & OBJ_HANDLE_ATTRIBUTES; in ObpCreateUnnamedHandle() 1397 NewEntry.GrantedAccess = GrantedAccess; in ObpCreateUnnamedHandle() 1407 NewEntry.Object, NewEntry.ObAttributes & 3, NewEntry.GrantedAccess); in ObpCreateUnnamedHandle() 1408 Handle = ExCreateHandle(HandleTable, &NewEntry); in ObpCreateUnnamedHandle() 1508 HANDLE_TABLE_ENTRY NewEntry; in ObpCreateHandle() local 1540 NewEntry.Object = ObjectHeader; in ObpCreateHandle() 1617 NewEntry.GrantedAccess = GrantedAccess; in ObpCreateHandle() 1627 NewEntry.Object, NewEntry.ObAttributes & 3, NewEntry.GrantedAccess); in ObpCreateHandle() [all …]
|
/reactos/ntoskrnl/ex/ |
H A D | handle.c | 831 PHANDLE_TABLE_ENTRY NewEntry; in ExCreateHandle() local 838 NewEntry = ExpAllocateHandleTableEntry(HandleTable, &Handle); in ExCreateHandle() 839 if (NewEntry) in ExCreateHandle() 845 *NewEntry = *HandleTableEntry; in ExCreateHandle() 848 ExUnlockHandleTableEntry(HandleTable, NewEntry); in ExCreateHandle() 1079 PHANDLE_TABLE_ENTRY HandleTableEntry, NewEntry; in ExDupHandleTable() local 1135 *NewEntry = *HandleTableEntry; in ExDupHandleTable() 1141 NewEntry)) in ExDupHandleTable() 1162 NewEntry->Object = NULL; in ExDupHandleTable() 1163 NewEntry->NextFreeTableEntry = NewTable->FirstFree; in ExDupHandleTable() [all …]
|
/reactos/drivers/filesystems/udfs/ |
H A D | dldetect.cpp | 381 …POWNER_ENTRY NewEntry = (POWNER_ENTRY)ExAllocatePoolWithTag(NonPagedPool, sizeof(OWNER_ENTRY)*NewS… in DLDpFindCurrentThread() local 382 RtlZeroMemory(NewEntry,sizeof(OWNER_ENTRY)*NewSize); in DLDpFindCurrentThread() 384 RtlMoveMemory(NewEntry,Resource->OwnerTable,sizeof(OWNER_ENTRY)*OldSize); in DLDpFindCurrentThread() 387 Resource->OwnerTable = NewEntry; in DLDpFindCurrentThread() 393 return &(NewEntry[OldSize]); in DLDpFindCurrentThread()
|
/reactos/sdk/lib/rtl/ |
H A D | unicodeprefix.c | 542 PUNICODE_PREFIX_TABLE_ENTRY Entry, RefEntry, NewEntry; in RtlRemoveUnicodePrefix() local 653 NewEntry = CONTAINING_RECORD(SplayLinks, in RtlRemoveUnicodePrefix() 666 NewEntry->NodeTypeCode = PFX_NTC_ROOT; in RtlRemoveUnicodePrefix() 669 RefEntry->NextPrefixTree = NewEntry; in RtlRemoveUnicodePrefix() 672 NewEntry->NextPrefixTree = Entry->NextPrefixTree; in RtlRemoveUnicodePrefix()
|
H A D | rangelist.c | 152 PRTL_RANGE_ENTRY NewEntry; in RtlCopyRangeList() local 162 NewEntry = RtlpAllocateMemory(sizeof(RTL_RANGE_ENTRY), 'elRR'); in RtlCopyRangeList() 163 if (NewEntry == NULL) in RtlCopyRangeList() 166 RtlCopyMemory(&NewEntry->Range, in RtlCopyRangeList() 171 &NewEntry->Entry); in RtlCopyRangeList()
|
/reactos/sdk/lib/drivers/wdf/kmdf/src/support/ |
H A D | fxrelateddevicelist.cpp | 75 __in FxTransactionedEntry *NewEntry in ProcessAdd() argument 82 pNew = CONTAINING_RECORD(NewEntry, FxRelatedDevice, m_TransactionedEntry); in ProcessAdd()
|
/reactos/ntoskrnl/mm/ARM3/ |
H A D | sysldr.c | 2244 PLDR_DATA_TABLE_ENTRY LdrEntry, NewEntry; in MiInitializeLoadedModuleList() local 2285 if (!NewEntry) return FALSE; in MiInitializeLoadedModuleList() 2288 *NewEntry = *LdrEntry; in MiInitializeLoadedModuleList() 2291 NewEntry->FullDllName.Buffer = in MiInitializeLoadedModuleList() 2296 if (!NewEntry->FullDllName.Buffer) in MiInitializeLoadedModuleList() 2298 ExFreePoolWithTag(NewEntry, TAG_MODULE_OBJECT); in MiInitializeLoadedModuleList() 2303 NewEntry->BaseDllName.Buffer = (PVOID)(NewEntry + 1); in MiInitializeLoadedModuleList() 2306 RtlCopyMemory(NewEntry->FullDllName.Buffer, in MiInitializeLoadedModuleList() 2309 RtlCopyMemory(NewEntry->BaseDllName.Buffer, in MiInitializeLoadedModuleList() 2314 NewEntry->BaseDllName.Buffer[NewEntry->BaseDllName.Length / in MiInitializeLoadedModuleList() [all …]
|
/reactos/win32ss/user/winsrv/consrv/ |
H A D | alias.c | 343 PALIAS_ENTRY NewEntry) in IntInsertAliasEntry() argument 351 Diff = RtlCompareUnicodeString(&NewEntry->Source, &CurrentEntry->Source, TRUE); in IntInsertAliasEntry() 357 *LastLink = NewEntry; in IntInsertAliasEntry() 358 NewEntry->Next = CurrentEntry; in IntInsertAliasEntry()
|
H A D | history.c | 214 UNICODE_STRING NewEntry; in HistoryAddEntry() local 217 NewEntry = Hist->Entries[i]; in HistoryAddEntry() 220 Hist->Entries[Hist->NumEntries - 1] = NewEntry; in HistoryAddEntry()
|
/reactos/boot/freeldr/freeldr/include/ |
H A D | peloader.h | 51 OUT PLDR_DATA_TABLE_ENTRY *NewEntry);
|
/reactos/drivers/filesystems/ext2/src/ |
H A D | fileinfo.c | 1352 struct dentry *NewEntry = NULL; in Ext2SetRenameInfo() local 1536 Status = Ext2AddEntry(IrpContext, Vcb, TargetDcb, &Mcb->Inode, &FileName, &NewEntry); in Ext2SetRenameInfo() 1540 Ext2AddEntry(IrpContext, Vcb, ParentDcb, &Mcb->Inode, &Mcb->ShortName, &NewEntry); in Ext2SetRenameInfo() 1562 *(Mcb->de) = *NewEntry; in Ext2SetRenameInfo() 1563 NewEntry->d_name.name = np; in Ext2SetRenameInfo() 1647 if (NewEntry) in Ext2SetRenameInfo() 1648 Ext2FreeEntry(NewEntry); in Ext2SetRenameInfo()
|
/reactos/boot/freeldr/freeldr/lib/ |
H A D | peloader.c | 715 OUT PLDR_DATA_TABLE_ENTRY *NewEntry) in PeLdrAllocateDataTableEntry() argument 820 *NewEntry = DataTableEntry; in PeLdrAllocateDataTableEntry()
|
/reactos/base/system/diskpart/ |
H A D | partlist.c | 17 #define InsertAscendingList(ListHead, NewEntry, Type, ListEntryField, SortField)\ argument 25 (NewEntry)->SortField)\ 32 InsertTailList(current, &((NewEntry)->ListEntryField));\
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | freetype.c | 3831 PFONT_CACHE_ENTRY NewEntry; in IntGetBitmapGlyphWithCache() local 3852 NewEntry = ExAllocatePoolWithTag(PagedPool, sizeof(FONT_CACHE_ENTRY), TAG_FONT); in IntGetBitmapGlyphWithCache() 3853 if (!NewEntry) in IntGetBitmapGlyphWithCache() 3865 ExFreePoolWithTag(NewEntry, TAG_FONT); in IntGetBitmapGlyphWithCache() 3874 NewEntry->BitmapGlyph = BitmapGlyph; in IntGetBitmapGlyphWithCache() 3875 NewEntry->dwHash = Cache->dwHash; in IntGetBitmapGlyphWithCache() 3876 NewEntry->Hashed = Cache->Hashed; in IntGetBitmapGlyphWithCache() 3878 InsertHeadList(&g_FontCacheListHead, &NewEntry->ListEntry); in IntGetBitmapGlyphWithCache() 3881 NewEntry = CONTAINING_RECORD(g_FontCacheListHead.Blink, FONT_CACHE_ENTRY, ListEntry); in IntGetBitmapGlyphWithCache() 3882 RemoveCachedEntry(NewEntry); in IntGetBitmapGlyphWithCache()
|
/reactos/ntoskrnl/include/internal/ |
H A D | ex.h | 448 IN PHANDLE_TABLE_ENTRY NewEntry
|
/reactos/ntoskrnl/mm/ |
H A D | section.c | 5287 ULONG_PTR NewEntry = 0; in MmCheckDirtySegment() local 5293 NewEntry = MAKE_SWAP_SSE(SwapEntry); in MmCheckDirtySegment() 5297 MmSetPageEntrySectionSegment(Segment, Offset, NewEntry); in MmCheckDirtySegment()
|