The ffs routine returns the bit position of the first bit you set in the mask argument. The scan proceeds from the least significant bit to the most significant bit of the mask.
The flushband interface flushes messages associated with the priority band specified by the pri argument. If pri is zero (0), flushband flushes only normal and high priority messages. Otherwise, flush...
The flushq interface frees messages and their associated data structures by calling the freemsg interface. If the queue's count falls below the low-water mark and the QWANTW bit is set, flushq enable...
The freeb interface deallocates a message block. If the reference count of the db_ref member of the datab structure is greater than the value 1, freeb decrements the count. If db_ref equals the value ...
The freemsg interface calls the freeb interface to free all message and data blocks associated with the message pointed to by the message_block_ptr argument.
The getnewbuf routine allocates a buf structure for performing I/O operations. This routine guarantees that the members of the structure are properly initialized prior to initiating the I/O request. D...
The getq interface is used by a service interface to retrieve its enqueued messages. A module or driver may include a service interface to process enqueued messages. Once the STREAMS scheduler calls t...
The get_info routine returns system-specific data assigned to the hardware platform that the driver operates on. For example, a device driver might request system-specific information for the followin...
The get_random_bytes() routine returns the requested number of random bytes and stores them in a buffer. This routine is for kernel modules that cannot be in a wait state.
The get_random_bytes_wait() routine returns the requested number of random bytes and places them in a buffer. This routine is for kernel modules that can be in a wait state.