MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2AllocateEntry

Function Ext2AllocateEntry

Ext4Fsd/memory.c:416–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416struct dentry * Ext2AllocateEntry()
417{
418 struct dentry *de;
419
420 de = (struct dentry *)ExAllocateFromNPagedLookasideList(
421 &(Ext2Global->Ext2DentryLookasideList));
422 if (!de) {
423 return NULL;
424 }
425
426 RtlZeroMemory(de, sizeof(struct dentry));
427 INC_MEM_COUNT(PS_DENTRY, de, sizeof(struct dentry));
428
429 return de;
430}
431
432VOID Ext2FreeEntry (IN struct dentry *de)
433{

Callers 1

Ext2BuildEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected