The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    vget
    
     - get a vnode from the free list
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/vnode.h>
    int vget (struct vnode *vp int lockflag struct thread *td);
     

    DESCRIPTION

    Get a vnode from the free list and increment its reference count.

    Fa vp
    The vnode to remove from the free list.
    Fa lockflag
    If non-zero, the vnode will also be locked.

    When not in use, vnodes are kept on a free list. The vnodes still reference valid files but may be reused to refer to a new file at any time. Often, these vnodes are also held in caches in the system, such as the name cache.

    When a vnode which is on the free list is used again, for instance if the vnode was found in the name cache as a result of a call to VOP_LOOKUP9 then the new user must call vget ();
    to increment the reference count and remove it from the free list.  

    SEE ALSO

    vnode(9), vput(9), vref(9), vrele(9)  

    AUTHORS

    This manual page was written by An Doug Rabson .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHORS


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




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

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