}\r
\r
/* Device ID is "IBA\SID_<sid> where <sid> is the IPoIB Service ID. */\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOU_DEV_ID_SIZE, 'didq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOU_DEV_ID_SIZE, 'didq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR, \r
return STATUS_NO_SUCH_DEVICE;\r
}\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOU_HW_ID_SIZE, 'dihq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOU_HW_ID_SIZE, 'dihq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR, \r
\r
UNUSED_PARAM( p_dev_obj );\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, sizeof(IOU_COMPAT_ID), 'dicq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, sizeof(IOU_COMPAT_ID), 'dicq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR, \r
}\r
\r
/* The instance ID is the port GUID. */\r
- p_string = ExAllocatePoolWithTag( PagedPool, sizeof(WCHAR) * 33, 'diuq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, sizeof(WCHAR) * 33, 'diuq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR, \r
}\r
\r
/* The instance ID is the port GUID. */\r
- p_string = ExAllocatePoolWithTag( PagedPool,\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool,\r
sizeof(WCHAR) * sizeof(p_ext->desc),\r
'sedq' );\r
if( !p_string )\r
return STATUS_NO_SUCH_DEVICE;\r
}\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOU_LOCATION_SIZE, 'colq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOU_LOCATION_SIZE, 'colq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR, \r
\r
*p_action = IrpComplete;\r
\r
- p_bus_info = ExAllocatePoolWithTag( PagedPool, sizeof(PNP_BUS_INFORMATION), 'subq' );\r
+ p_bus_info = ExAllocatePoolWithTag( NonPagedPool, sizeof(PNP_BUS_INFORMATION), 'subq' );\r
if( !p_bus_info )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
dev_id_size = p_ext->pdo.p_pdo_device_info->device_id_size;\r
\r
/* Device ID is "IBA\SID_<sid> where <sid> is the IO device Service ID. */\r
- p_string = ExAllocatePoolWithTag( PagedPool, dev_id_size, 'vedq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, dev_id_size, 'vedq' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
\r
dev_id_size = p_ext->pdo.p_pdo_device_info->hardware_id_size;\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, dev_id_size, 'ihqp' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, dev_id_size, 'ihqp' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
\r
dev_id_size = p_ext->pdo.p_pdo_device_info->compatible_id_size;\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, dev_id_size, 'ihqp' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, dev_id_size, 'ihqp' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
}\r
\r
/* The instance ID is the port GUID. */\r
- p_string = ExAllocatePoolWithTag( PagedPool, sizeof(WCHAR) * 21, 'iuqp' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, sizeof(WCHAR) * 21, 'iuqp' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
}\r
\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, p_ext->pdo.p_pdo_device_info->description_size, 'edqp' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, p_ext->pdo.p_pdo_device_info->description_size, 'edqp' );\r
\r
if( !p_string )\r
{\r
return STATUS_INSUFFICIENT_RESOURCES;\r
}\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, size, 'olqp' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, size, 'olqp' );\r
if( !p_string )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
\r
*p_action = IrpComplete;\r
\r
- p_bus_info = ExAllocatePoolWithTag( PagedPool, sizeof(PNP_BUS_INFORMATION), 'ibqp' );\r
+ p_bus_info = ExAllocatePoolWithTag( NonPagedPool, sizeof(PNP_BUS_INFORMATION), 'ibqp' );\r
if( !p_bus_info )\r
{\r
BUS_TRACE_EXIT( BUS_DBG_ERROR,\r
alloc_size += (sizeof(PDEVICE_OBJECT) * p_old_rel->Count);\r
\r
/* Allocate the new relations structure. */\r
- p_rel = ExAllocatePoolWithTag( PagedPool, alloc_size, 'ralc' );\r
+ p_rel = ExAllocatePoolWithTag( NonPagedPool, alloc_size, 'ralc' );\r
p_irp->IoStatus.Information = (ULONG_PTR)p_rel;\r
if( !p_rel )\r
{\r
{\r
\r
dev_id_size = (p_ext->pdo.p_pdo_device_info)->device_id_size;\r
- p_string = ExAllocatePoolWithTag( PagedPool, dev_id_size, 'didq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, dev_id_size, 'didq' );\r
\r
if( !p_string )\r
{\r
} \r
else \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOC_DEV_ID_SIZE, 'didq' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOC_DEV_ID_SIZE, 'didq' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
{\r
hw_id_size = p_ext->pdo.p_pdo_device_info->hardware_id_size;\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, hw_id_size, 'ihqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, hw_id_size, 'ihqi' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
} \r
else \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOC_HW_ID_SIZE, 'ihqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOC_HW_ID_SIZE, 'ihqi' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
\r
compat_id_size = p_ext->pdo.p_pdo_device_info->compatible_id_size;\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, compat_id_size, 'icqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, compat_id_size, 'icqi' );\r
\r
if( !p_string )\r
{\r
} \r
else \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool, IOC_COMPAT_ID_SIZE, 'icqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, IOC_COMPAT_ID_SIZE, 'icqi' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
if ( p_ext->pdo.p_pdo_device_info ) \r
{\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, sizeof(WCHAR) * 41, 'iuqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, sizeof(WCHAR) * 41, 'iuqi' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
} \r
else \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool, sizeof(WCHAR) * 33, 'iuqi' );\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, sizeof(WCHAR) * 33, 'iuqi' );\r
if( !p_string )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
\r
if ( p_ext->pdo.p_pdo_device_info ) \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool, p_ext->pdo.p_pdo_device_info->description_size, \r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, p_ext->pdo.p_pdo_device_info->description_size, \r
'edqi' );\r
if( !p_string )\r
{\r
} \r
else \r
{\r
- p_string = ExAllocatePoolWithTag( PagedPool,\r
+ p_string = ExAllocatePoolWithTag( NonPagedPool,\r
sizeof(WCHAR) * sizeof(p_ext->info.profile.id_string),\r
'edqi');\r
if( !p_string )\r
return STATUS_NO_SUCH_DEVICE;\r
}\r
\r
- p_string = ExAllocatePoolWithTag( PagedPool, \r
+ p_string = ExAllocatePoolWithTag( NonPagedPool, \r
max( IOC_LOCATION_SIZE, sizeof( WCHAR ) *\r
( sizeof( p_ext->info.profile.id_string ) + 1 )),\r
'olqi');\r
\r
*p_action = IrpComplete;\r
\r
- p_iou_info = ExAllocatePoolWithTag( PagedPool, sizeof(PNP_BUS_INFORMATION), 'ibqi' );\r
+ p_iou_info = ExAllocatePoolWithTag( NonPagedPool, sizeof(PNP_BUS_INFORMATION), 'ibqi' );\r
if( !p_iou_info )\r
{\r
IOU_PRINT_EXIT( TRACE_LEVEL_ERROR, IOU_DBG_ERROR,\r
SIZE_T size, i;\r
\r
size = pIndexList->Size + (PAGE_SIZE / sizeof(INDEX_ENTRY));\r
- array = ExAllocatePoolWithTag(PagedPool, size * sizeof(INDEX_ENTRY), 'xdni');\r
+ array = ExAllocatePoolWithTag(NonPagedPool, size * sizeof(INDEX_ENTRY), 'xdni');\r
if (array == NULL) {\r
return FALSE;\r
}\r
HCA_ENTER( HCA_DBG_PNP );\r
\r
pIfc =\r
- (ci_interface_t*)ExAllocatePoolWithTag( PagedPool, sizeof(ci_interface_t), MT_TAG_KERNEL );\r
+ (ci_interface_t*)ExAllocatePoolWithTag( NonPagedPool, sizeof(ci_interface_t), MT_TAG_KERNEL );\r
if( !pIfc )\r
{\r
HCA_PRINT( TRACE_LEVEL_ERROR,HCA_DBG_PNP, \r
\r
HCA_ENTER( HCA_DBG_PNP );\r
\r
- pIfc = (ci_interface_t*)ExAllocatePoolWithTag( PagedPool,\r
+ pIfc = (ci_interface_t*)ExAllocatePoolWithTag( NonPagedPool,\r
sizeof(ci_interface_t), MT_TAG_KERNEL );\r
if( !pIfc )\r
{\r
\r
HCA_ENTER( HCA_DBG_PNP );\r
\r
- pIfc = (ci_interface_t*)ExAllocatePoolWithTag( PagedPool,\r
+ pIfc = (ci_interface_t*)ExAllocatePoolWithTag( NonPagedPool,\r
sizeof(ci_interface_t),\r
'pnpa' );\r
if( !pIfc )\r