The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

pmap_extract (9)
  • >> pmap_extract (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    
    
    pmap_extract
    
     
    pmap_extract_and_hold
    
     - map a virtual address to a physical page
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <vm/vm.h>
       #include <vm/pmap.h>
    vm_paddr_t pmap_extract (pmap_t pmap vm_offset_t va);
    vm_paddr_t pmap_extract_and_hold (pmap_t pmap vm_offset_t va vm_prot_t prot);
     

    DESCRIPTION

    The pmap_extract ();
    function maps a virtual address to a physical page. In certain situations, callers may use pmap_extract_and_hold ();
    instead, to ensure that the returned page is held.

    The pmap_extract_and_hold ();
    function maps a virtual address to a physical page, and atomically holds the returned page for use by the caller, only if the mapping permits the given page protection.  

    IMPLEMENTATION NOTES

    Currently, the page protection requested by the caller is not verified.  

    RETURN VALUES

    The pmap_extract ();
    function will return the physical page address associated with the virtual address Fa va inside the physical map Fa pmap . If the mapping does not exist, or if the Fa pmap parameter is NULL then NULL will be returned.

    The pmap_extract_and_hold ();
    function will return the physical page address associated with the virtual address Fa va inside the physical map Fa pmap . If the mapping does not exist, the result is a no-op, and NULL will be returned.  

    SEE ALSO

    mutex(9), pmap(9)  

    AUTHORS

    An -nosplit The pmap_extract_and_hold ();
    function was implemented by An Alan L. Cox Aq alc@imimic.com . This manual page was written by An Bruce M Simpson Aq bms@spc.org .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    IMPLEMENTATION NOTES
    RETURN VALUES
    SEE ALSO
    AUTHORS


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру