get next page pointer
Synopsis (Not in current DDI version)
page_t *getnextpg(buf_t *bp, page_t *pp);
getnextpg returns a pointer to the next page in a buffer header's
page list [see
during a paged-I/O request.
A paged-I/O request is identified by the B_PAGEIO flag
being set in the ``b_flags'' field of the buffer header passed
to a driver's
Given a buffer header, bp, and a pointer to the page, pp,
returned from the previous call to getnextpg, the next
page is returned.
If pp is NULL, the first page in the page list is returned.
Pointer to the buffer header structure.
Pointer to the previous page structure returned.
On success, a pointer to the next page structure
in the page list is returned.
If the end of the list is reached, NULL is returned.
B_PAGEIO won't be set unless the driver has the D_NOBRKUP flag set
Context and synchronization
Non-blockable, interrupt, user, or blockable
3, 5, 5mp, 6, 6mp, 7, 7mp, 7.1, 7.1mp
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005