CLIENTWAITQ

Block client queue

Synopsis:

typedef struct client_waitq_entry
{
    CLIENTWAIT     *elems;
    CLIENTWAIT     *head;
    CLIENTWAIT     *tail;
    size_t          cnt;
} CLIENTWAITQ;

Description:

The CLIENTWAITQ structure lists blocked client elements, representing either the currently blocked clients that are waiting for driver response, or free client slots available for new clients.

There are separate blocked client and available client slot lists for each device serviced by the driver.

The members include:

elems

A pointer to the preallocated array of CLIENTWAIT instances.

head

The head of the client wait queue; a pointer to the CLIENTWAIT instance.

tail

The tail of the client wait queue; a pointer to the CLIENTWAIT instance.

cnt

The number of clients waiting.

Page updated: