ZwCreateDirectoryObjectEx

NTSTATUS __stdcall ZwCreateDirectoryObjectEx(
        PVOID *DirectoryHandle,
        UINT64 DesiredAccess,
        OBJECT_ATTRIBUTES *ObjectAttributes,
        PVOID ShadowDirectoryHandle,
        UINT64 Flags){
  NTSTATUS result; 
  _disable();
  __readeflags();
  KiServiceInternal();
  return result;
}

Referenced by:

MiCreatePartitionNamespace
ObCreateSiloRootDirectory
ObpCreateDosDevicesDirectory
ObpInitializeRootNamespace