NOENABLE(9F) Kernel Functions for Drivers NOENABLE(9F)
noenable - prevent a queue from being scheduled
#include <sys/stream.h>
#include <sys/ddi.h>
void noenable(queue_t *q);
Architecture independent level 1 (DDI/DKI).
q
Pointer to the queue.
The noenable() function prevents the q from being scheduled for
service by insq(9F), putq(9F) or putbq(9F) when enqueuing an ordinary
priority message. The queue can be re-enabled with the enableok(9F)
function.
The noenable() function can be called from user, interrupt, or kernel
context.
enableok(9F), insq(9F), putbq(9F), putq(9F), qenable(9F)
Writing Device Drivers
STREAMS Programming Guide
January 16, 2006 NOENABLE(9F)
NAME
noenable - prevent a queue from being scheduled
SYNOPSIS
#include <sys/stream.h>
#include <sys/ddi.h>
void noenable(queue_t *q);
INTERFACE LEVEL
Architecture independent level 1 (DDI/DKI).
PARAMETERS
q
Pointer to the queue.
DESCRIPTION
The noenable() function prevents the q from being scheduled for
service by insq(9F), putq(9F) or putbq(9F) when enqueuing an ordinary
priority message. The queue can be re-enabled with the enableok(9F)
function.
CONTEXT
The noenable() function can be called from user, interrupt, or kernel
context.
SEE ALSO
enableok(9F), insq(9F), putbq(9F), putq(9F), qenable(9F)
Writing Device Drivers
STREAMS Programming Guide
January 16, 2006 NOENABLE(9F)