Specifications

Operating System Routines
EXE$DEBIT_BYTCNT_ALO, EXE$DEBIT_BYTCNT_BYTLM_ALO
EXE$DEBIT_BYTCNT_ALO, EXE$DEBIT_BYTCNT_BYTLM_ALO
Determine whether a job’s buffered I/O byte count quota usage permits the
process to be granted additional buffered I/O and, if so, allocates the requested
amount of nonpaged pool and adjust the job’s byte count quota and byte limit.
Module
EXSUBROUT
Input
Location Contents
R1 Number of bytes to be allocated (including the 12
bytes required for the buffers header) and deducted;
bit 31, when set, disables the routine’s check against
IOC$GW_MAXBUF
R4 Address of current PCB
PCB$L_STS PCB$V_SSRWAIT clear if the process should wait
for buffered-I/O byte quota; set if resource wait
mode is disabled
IOC$GW_MAXBUF Maximum number of buffered I/O bytes the system
allows to a single request
JIB$L_BYTCNT Job’s byte count usage quota
JIB$L_BYTLM Job’s byte limit (used by EXE$DEBIT_BYTCNT_
BYTLM_ALO)
Output
Location Contents
R0 SS$_NORMAL, SS$_EXQUOTA, or SS$_INSFMEM
R1 Number of bytes deducted; bit 31 cleared
R2 Address of requested buffer
R3 Destroyed
JIB$L_BYTCNT Updated if successful
JIB$L_BYTLM Updated if successful (by EXE$DEBIT_BYTCNT_
BYTLM_ALO)
IRP$W_SIZE (in allocated
buffer)
Size of requested buffer in bytes
IRP$B_TYPE (in allocated
buffer)
DYN$C_BUFIO
3–26