bp_mapin man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



bp_mapin(D3)							  bp_mapin(D3)

NAME
     bp_mapin - allocate virtual address space for buffer page list

SYNOPSIS
     #include <sys/types.h>
     #include <sys/buf.h>
     #include <sys/ddi.h>
     void bp_mapin(struct buf_t *bp);

   Arguments
     bp	       Pointer to the buffer header structure.

DESCRIPTION
     The bp_mapin function is used to map virtual address space to a page list
     maintained by the buffer header [see buf(D4)] during a paged-I/O request.

   Return Values
     None

USAGE
     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 strategy(D2)
     routine.

     bp_mapin allocates system virtual address space, maps that space to the
     page list, and returns the new virtual address in the b_un.b_addr field
     of the buf structure.  This address is the virtual address of the start
     of the page mappings, plus the offset given by the original value of bp-
     >b_un.b_addr.  After the I/O completes, the virtual address space can be
     deallocated using the bp_mapout(D3) function.

   Level
     Base only.

   Synchronization Constraints
     This routine may sleep if virtual space is not immediately available.

     Driver-defined basic locks and read/write locks may not be held across
     calls to this function.

     Driver-defined sleep locks may be held across calls to this function.

REFERENCES
     bp_mapout(D3), buf(D4), strategy(D2)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net