Manages the list of free character buffers.
#include <sys/types.h> #include <sys/errno.h> #include <cblock.h>
int pincf (delta) int delta;
|delta||Specifies the amount by which to change the number of free-pinned character buffers.|
The pincf service is used to control the size of the list of free-pinned character buffers. A positive value for the delta parameter increases the size of this list, while a negative value decreases the size.
All device drivers that use character blocks need to use the pincf service. These drivers must indicate with a positive delta value the maximum number of character blocks they expect to be using concurrently. Device drivers typically call this service with a positive value when the ddopen routine is called. They should call the pincf service with a negative value of the same amount when they no longer need the pinned character blocks. This occurs typically when the ddclose routine is called.
The pincf kernel service can be called in the process environment only.
The pincf service returns a value representing the amount by which the service changed the number of free-pinned character buffers.
The pincf kernel service is part of Base Operating System (BOS) Runtime.
The waitcfree kernel service.
I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.