The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    vhold , vdrop , vdropl
    
     - acquire/release a hold on a vnode
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/vnode.h>
    void vhold (struct vnode *vp);
    void vdrop (struct vnode *vp);
    void vdropl (struct vnode *vp);
     

    DESCRIPTION

    The vhold ();
    function increments the v_holdcnt of the given vnode. If the vnode has already been added to the free list and is still referenced, it will be removed.

    The vdrop ();
    and vdropl ();
    functions decrement the v_holdcnt of the vnode. If the holdcount is less than or equal to zero prior to calling vdrop ();
    or vdropl (,);
    the system will panic. If the vnode is no longer referenced, it will be freed.

    The difference between vdrop ();
    and vdropl ();
    is that vdrop ();
    locks the vnode interlock and then calls vdropl ();
    while vdropl ();
    expects the interlock to already be locked.  

    SEE ALSO

    vbusy(9), vfree(9)  

    AUTHORS

    This manual page was written by An Chad David Aq davidc@acns.ab.ca .


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    SEE ALSO
    AUTHORS


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




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

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