The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    VFS_LOCK_GIANT
    
     
    VFS_UNLOCK_GIANT
    
     - conditionally lock and unlock Giant around entry into VFS
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/mount.h>
       #include <sys/vnode.h>
    int VFS_LOCK_GIANT (struct mount *mp);
    void VFS_UNLOCK_GIANT (int vfslocked);
     

    DESCRIPTION

    VFS_LOCK_GIANT ();
    will conditionally acquire the Giant lock if the file system referenced by Fa mp is marked as MPSAFE or not, returning a flag indicating whether Giant was set, which may later be passed to VFS_UNLOCK_GIANT (.);
    The value of Fa mp will typically be derived from the mount pointer in a Vt vnode on which a VFS operation will be performed.

    VFS_UNLOCK_GIANT ();
    conditionally releases the Giant lock if the passed Fa vfslocked argument is non-zero. It is expected that the argument will be derived from the return values of VFS_LOCK_GIANT ();
    or NDHASGIANT(9).  

    RETURN VALUES

    VFS_LOCK_GIANT ();
    returns a boolean indicating whether or not Giant was acquired.  

    SEE ALSO

    mutex(9), NDHASGIANT(9), vnode(9)  

    AUTHORS

    An -nosplit MPSAFE VFS support for Fx was implemented by An Jeff Roberson .

    This manual page was written by An Robert Watson .  

    BUGS

    Non-MPSAFE file systems exist, requiring callers conditional locking and unlocking of Giant


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO
    AUTHORS
    BUGS


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




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

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