osf1 man page for buf_unlock

Query: buf_unlock

OS: osf1

Section: 9r

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

BUF_UNLOCK(9r)															    BUF_UNLOCK(9r)

NAME
BUF_UNLOCK - General: Unlocks the specified I/O buffer
SYNOPSIS
void BUF_UNLOCK( struct buf *bp );
ARGUMENTS
Specifies a pointer to a buf structure.
DESCRIPTION
The BUF_UNLOCK routine unlocks the specified I/O buffer that was locked in a previous call to BUF_LOCK. The routine masks all disk and tape controller interrupts (by calling the splbio routine). It resets the mutual exclusion buffer lock member, b_lock, of the specified buf structure pointer. The BUF_UNLOCK routine then resets the b_flags member of the specified buf structure pointer to indicate that this buffer is not being used. Finally, BUF_UNLOCK resets the CPU priority level (by calling the splx routine).
NOTES
You must have locked the specified I/O buffer by calling BUF_LOCK prior to calling the BUF_UNLOCK routine.
RETURN VALUES
None
SEE ALSO
Routines: BUF_LOCK(9r) BUF_UNLOCK(9r)
Related Man Pages
buf(9s) - osf1
biodone(9f) - sunos
biodone(9f) - php
biodone(9f) - debian
biodone(9f) - v7
Similar Topics in the Unix Linux Community
Low Impact PHP Errors and Logging Levels
PHP Write Man Pages to MySQL DB