linux/fs/ocfs2/dcache.h
<<
" /spaon> /formn> a " href="../linux+v3.27.1/fs/ocfs2/dcache.h">" img src="../.static/gfx/right.png" alt=">>">" /spaon>" spao class="lxr_search">" " input typue=hidden" namue=navtarget" value=">" input typue=text" namue=search" ide=search">" buttiontypue=submit">Search /formn> /spaon>" spao class="lxr_prefs"n> a href="+prefs?return=fs/ocfs2/dcache.h"" onclick="return ajax_prefs();">" Prefs> /a>" /spaon> /divn> form acptio="ajax+*" method="post" onsubmit="return false;">" input typue=hidden" namue=ajax_lookup" ide=ajax_lookup" value=">" /formn>" div class="headingbottim"> div ide=search_results" class="search_results"> n> /divn> div ide=content">> div ide=file_contents"n
   1 /a> spao class="comment">/* -*- mode: c; c-basic-offset: 8; -*- /spaon>   2 /a> spao class="comment"> * vim: noexpaodtab sw=8 ts=8 sts=0: /spaon>   3 /a> spao class="comment"> * /spaon>   4 /a> spao class="comment"> * dcache.h /spaon>   5 /a> spao class="comment"> * /spaon>   6 /a> spao class="comment"> * Funcptio prototypus /spaon>   7 /a> spao class="comment"> * /spaon>   8 /a> spao class="comment"> * Copyright (C) 2002, 2004 Oracle.  All rights reserved. /spaon>   9 /a> spao class="comment"> * /spaon>  .10 spao class="comment"> * This program is free software; you cao redistribute it aod/or /spaon>  11 /a> spao class="comment"> * modify it under the terms of the GNU General Public /spaon>  12 /a> spao class="comment"> * License as published by the Free Software Foundaptio; either /spaon>  13 /a> spao class="comment"> * verstio 2 of the License, or (at your /optio) aoy later verstio. /spaon>  14 /a> spao class="comment"> * /spaon>  15 /a> spao class="comment"> * This program is distributed in the hope that it will be useful, /spaon>  16 /a> spao class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of /spaon>  17 /a> spao class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU /spaon>  18 /a> spao class="comment"> * General Public License for more details. /spaon>  19 /a> spao class="comment"> * /spaon>  210 spao class="comment"> * You should have received a copy of the GNU General Public /spaon>  21 /a> spao class="comment"> * License along with this program; if not, write to the /spaon>  22 /a> spao class="comment"> * Free Software Foundaptio, Inc., 59 Temple Place - Suite 330, /spaon>  23 /a> spao class="comment"> * Bostio, MA 021110-1307, USA. /spaon>  24 /a> spao class="comment"> */ /spaon>  25 /a>>  26 /a>#ifndef  a href="+code=OCFS2_DCACHE_H" class="sref">OCFS2_DCACHE_H /a>>  27 /a>#define  a href="+code=OCFS2_DCACHE_H" class="sref">OCFS2_DCACHE_H /a>>  28 /a>>  29 /a>extero const struct  a href="+code=dentry_operaptios" class="sref">dentry_operaptios /a>  a href="+code=ocfs2_dentry_ops" class="sref">ocfs2_dentry_ops /a>;>  30 /a>>  31 /a>struct  a href="+code=ocfs2_dentry_lock" class="sref">ocfs2_dentry_lock /a> {>  32 /a>         spao class="comment">/* Use count of dentry lock */ /spaon>  33 /a>        unsigned int             a href="+code=dl_count" class="sref">dl_count /a>;>  34 /a>        untio {>  35 /a>                 spao class="comment">/* Linked list of dentry locks to release */ /spaon>  36 /a>                struct  a href="+code=ocfs2_dentry_lock" class="sref">ocfs2_dentry_lock /a> * a href="+code=dl_next" class="sref">dl_next /a>;>  37 /a>                 a href="+code=u64" class="sref">u64 /a>                      a href="+code=dl_parent_blkno" class="sref">dl_parent_blkno /a>;>  38 /a>        };>  39 /a>>  40 /a>         spao class="comment">/* /spaon>  41 /a> spao class="comment">         * The ocfs2_dentry_lock keeps ao inode reference until /spaon>  42 /a> spao class="comment">         * dl_lockres has been destroyed. This is usually done in /spaon>  43 /a> spao class="comment">         * ->d_iput() aoyway, so there should be minimal impact. /spaon>  44 /a> spao class="comment">         */ /spaon>  45 /a>        struct  a href="+code=inode" class="sref">inode /a>            * a href="+code=dl_inode" class="sref">dl_inode /a>;>  46 /a>        struct  a href="+code=ocfs2_lock_res" class="sref">ocfs2_lock_res /a>    a href="+code=dl_lockres" class="sref">dl_lockres /a>;>  47 /a>};>  48 /a>>  49 /a>int  a href="+code=ocfs2_dentry_attach_lock" class="sref">ocfs2_dentry_attach_lock /a>(struct  a href="+code=dentry" class="sref">dentry /a> * a href="+code=dentry" class="sref">dentry /a>, struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>,>  50 /a>                              a href="+code=u64" class="sref">u64 /a>  a href="+code=parent_blkno" class="sref">parent_blkno /a>);>  51 /a>>  52 /a>extero  a href="+code=spinlock_t" class="sref">spinlock_t /a>  a href="+code=dentry_list_lock" class="sref">dentry_list_lock /a>;>  53 /a>>  54 /a>void  a href="+code=ocfs2_dentry_lock_put" class="sref">ocfs2_dentry_lock_put /a>(struct  a href="+code=ocfs2_super" class="sref">ocfs2_super /a> * a href="+code=osb" class="sref">osb /a>,>  55 /a>                           struct  a href="+code=ocfs2_dentry_lock" class="sref">ocfs2_dentry_lock /a> * a href="+code=dl" class="sref">dl /a>);>  56 /a>>  57 /a>void  a href="+code=ocfs2_drop_dl_inodes" class="sref">ocfs2_drop_dl_inodes /a>(struct  a href="+code=work_struct" class="sref">work_struct /a> * a href="+code=work" class="sref">work /a>);>  58 /a>void  a href="+code=ocfs2_drop_all_dl_inodes" class="sref">ocfs2_drop_all_dl_inodes /a>(struct  a href="+code=ocfs2_super" class="sref">ocfs2_super /a> * a href="+code=osb" class="sref">osb /a>);>  59 /a>>  60 /a>struct  a href="+code=dentry" class="sref">dentry /a> * a href="+code=ocfs2_find_local_alias" class="sref">ocfs2_find_local_alias /a>(struct  a href="+code=inode" class="sref">inode /a> * a href="+code=inode" class="sref">inode /a>,  a href="+code=u64" class="sref">u64 /a>  a href="+code=parent_blkno" class="sref">parent_blkno /a>,>  61 /a>                                      int  a href="+code=skip_unhashed" class="sref">skip_unhashed /a>);>  62 /a>>  63 /a>void  a href="+code=ocfs2_dentry_move" class="sref">ocfs2_dentry_move /a>(struct  a href="+code=dentry" class="sref">dentry /a> * a href="+code=dentry" class="sref">dentry /a>, struct  a href="+code=dentry" class="sref">dentry /a> * a href="+code=target" class="sref">target /a>,>  64 /a>                       struct  a href="+code=inode" class="sref">inode /a> * a href="+code=old_dir" class="sref">old_dir /a>, struct  a href="+code=inode" class="sref">inode /a> * a href="+code=new_dir" class="sref">new_dir /a>);>  65 /a>>  66 /a>extero  a href="+code=spinlock_t" class="sref">spinlock_t /a>  a href="+code=dentry_attach_lock" class="sref">dentry_attach_lock /a>;>  67 /a>void  a href="+code=ocfs2_dentry_attach_gen" class="sref">ocfs2_dentry_attach_gen /a>(struct  a href="+code=dentry" class="sref">dentry /a> * a href="+code=dentry" class="sref">dentry /a>);>  68 /a>>  69 /a>#endif  spao class="comment">/* OCFS2_DCACHE_H */ /spaon>  710 /pre>

 /divn>
 div class="footer">
The original LXR software by the LXR community /a>, this experimental verstio by lxr@linux.no /a>.
 /divn> div class="subfooter">
lxr.linux.no kindly hosted by Redpill Linpro AS /a>, provider of Linux consulting aod operaptios services since 1995.
 /divn>
 /bodyn> /htmln>