bp_mapout(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

bp_mapout(9f)

bp_mapout(9F)                  Kernel Functions                  bp_mapout(9F)

NAME
       bp_mapout - deallocate virtual address space

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

       void bp_mapout(struct buf *bp);

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

PARAMETERS
       bp    Pointer to the buffer header structure.


DESCRIPTION
       bp_mapout()  deallocates  system  virtual  address space allocated by a
       previous call to bp_mapin(9F).bp_mapout()  should  only  be  called  on
       buffers  which  have been allocated and are owned by the device driver.
       It must not be called on buffers  passed  to  the  driver  through  the
       strategy(9E)   entry   point   (for   example  a  filesystem).  Because
       bp_mapin(9F) does not keep a reference count, bp_mapout() will wipe out
       any kernel mapping that a layer above the device driver might rely on.

CONTEXT
       bp_mapout() can be called from user context only.

SEE ALSO
       strategy(9E), bp_mapin(9F), bp_copyin(9F), bp_copyout(9F), buf(9S)


       Writing Device Drivers in Oracle Solaris 11.4

Oracle Solaris 11.4               23 Feb 2023                    bp_mapout(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3