Specifications

OpenVMS System Routines Called by OpenVMS AXP Device Drivers
IOC$ALLOC_CNT_RES
IOC$ALLOC_CNT_RES
Allocates the requested number of items of a counted resource.
Module
ALLOC_CNT_RES
Format
IOC$ALLOC_CNT_RES crab ,crctx
Context
IOC$ALLOC_CNT_RES conforms to the OpenVMS AXP calling standard. Its
caller must be executing at fork IPL, holding the corresponding fork lock.
Arguments
crab
VMS Usage: address
type: longword (signed)
access: read only
mechanism: by reference
Address of CRAB that describes the counted resource. For adapters that supply
a counted resource, such as map registers, ADP$L_CRAB often contains this
address.
crctx
VMS Usage: address
type: longword (signed)
access: read only
mechanism: by reference
Address of CRCTX structure that describes the request for the counted resource.
Returns
VMS Usage: cond_value
type: longword_unsigned
access: longword (unsigned)
mechanism: write only—by value
Status indicating the success or failure of the operation.
Return Values
SS$_NORMAL The routine completed successfully.
A–2