bp_mapin man page on SmartOS

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

BP_MAPIN(9F)							  BP_MAPIN(9F)

NAME
       bp_mapin - allocate virtual address space

SYNOPSIS
       #include <sys/types.h>
       #include <sys/buf.h>

       void bp_mapin(struct buf *bp);

INTERFACE LEVEL
       Architecture independent level 1 (DDI/DKI).

PARAMETERS
       bp
	      Pointer to the buffer header structure.

DESCRIPTION
       bp_mapin()  is  used  to map virtual address space to a page list main‐
       tained by the buffer header during a  paged-  I/O  request.  bp_mapin()
       allocates  system  virtual  address  space, maps that space to the page
       list,  and  returns  the	 starting  address  of	the   space   in   the
       bp->b_un.b_addr	field  of the buf(9S) structure. Virtual address space
       is then deallocated using the bp_mapout(9F) function.

       If a null page list is encountered, bp_mapin() returns without allocat‐
       ing space and no mapping is performed.

CONTEXT
       bp_mapin() can be called from user and kernel contexts.

SEE ALSO
       bp_mapout(9F), buf(9S)

       Writing Device Drivers

				 Sep 13, 1992			  BP_MAPIN(9F)
[top]

List of man pages available for SmartOS

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