ipt t= 0sp = class="*/ _(argscri 0sp = class="*/ _logoinka //LXR fs/cifs/fs k + .hi 0/sp =ri 0!-- --ript t= = 0sp = id="*/ _pri= "ipt t= = s ty = 0= ha a if(m="+pri= =fs/cifs/fs k + .h"; this.u"iali" id="pri= _= hacri = extbutt(me submii" class="pri= "ript t= t= = 0imgicon.png" type="itextpri= itle="alt="Pri= "ript t= t= = 0/butt(mty = 0/= haript t= = 0/sp =ript t= = 0sp = id="*/ _save"ipt t= = s ty = 0= ha a if(m="+save=fs/cifs/fs k + .h"; this.u"iali" id="save_= hacri = extbutt(me submii" class="save"ript t= t= = 0imgicon.png" type="itextsaveitle="alt="Save"ript t= t= = 0/butt(mty = 0/= haript t= = 0/sp =ript t= 0/sp =ri ipt t= 0ddenclass="*/ _ !=ucri 0sp = class="*/ _versf(mcri = 0a i = ex // i = ext/spamri ext/formri exta i = ex href="../linux+v3.7.5/fs/cifs/fscache.h">i = extimg src="../.static/gfx/right.png" alt=">>">i t/spamrii tspam class="lxr_search">i =
i = extinput typ; "hidden" nam; "navtarget" a[i]; "">i = extinput typ; "text" nam; "search" id "search">i = extbutt(metyp; "submit">Searchi = exPrefsi ext/a>i t/spamri= ex xt/divri= ex xtform acif(m="ajax+*" method="post" onsubmit="return false;">i tinput typ; "hidden" nam; "ajax_lookup" id "ajax_lookup" a[i]; "">i= ex xt/formrii= ex xtdiv class="headingbott(m">i tdiv id "file_contents"r
x x1t/a>tspam class="comment">/*t/spamrix x2t/a>tspam class="comment"> *x xfs/cifs/fscache.h - CIFS filesystem cache interface definiif(mst/spamrix x3t/a>tspam class="comment"> *t/spamrix x4t/a>tspam class="comment"> *x xCopyright (c) 2010 Novell, Inc.t/spamrix x5t/a>tspam class="comment"> *x xAuthors(s): Suresh Jayaramam (sjayaramam@suse.de>t/spamrix x6t/a>tspam class="comment"> *t/spamrix x7t/a>tspam class="comment"> *x xThis library is free software; you can redistribute it and/or modifyt/spamrix x8t/a>tspam class="comment"> *x xit under the terms of the GNU Lesser General Public License as publishedt/spamrix x9t/a>tspam class="comment"> *x xby the Free Software Foundaif(m; either versf(me2.1 of the License, ort/spamrix 10tspam class="comment"> *x x(at your opif(m) any later versf(m.t/spamrix 11t/a>tspam class="comment"> *t/spamrix 12t/a>tspam class="comment"> *x xThis library is distributed in the hope that it will be useful,t/spamrix 13t/a>tspam class="comment"> *x xbut WITHOUT ANY WARRANTY; without even the implied warranty oft/spamrix 14t/a>tspam class="comment"> *x xMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  Seet/spamrix 15t/a>tspam class="comment"> *x xthe GNU Lesser General Public License for more details.t/spamrix 16t/a>tspam class="comment"> *t/spamrix 17t/a>tspam class="comment"> *x xYou should have received a copy of the GNU Lesser General Public Licenset/spamrix 18t/a>tspam class="comment"> *x xalong with this library; if not, write to the Free Softwaret/spamrix 19t/a>tspam class="comment"> *x xFoundaif(m, Inc., 59 Temple Place, Suite 330, Bost(m, MA 02111-1307 USAt/spamrix 20tspam class="comment"> */t/spamrix 21t/a>#ifndefxta href="+code=_CIFS_FSCACHE_H" class="sref">_CIFS_FSCACHE_Ht/a>ix 22t/a>#definexta href="+code=_CIFS_FSCACHE_H" class="sref">_CIFS_FSCACHE_Ht/a>ix 23t/a>ix 24t/a>#include <ta href="include/linux/fscache.h" class="fref">linux/fscache.ht/a>>ix 25t/a>ix 26t/a>#include "ta href="fs/cifs/cifsglob.h" class="fref">cifsglob.ht/a>"ix 27t/a>ix 28t/a>#ifdefxta href="+code=CONFIG_CIFS_FSCACHE" class="sref">CONFIG_CIFS_FSCACHEt/a>ix 29t/a>ix 30extern structxta href="+code=fscache_netfs" class="sref">fscache_netfsxta href="+code=cifs_fscache_netfs" class="sref">cifs_fscache_netfs;ix 31extern c(mst structxta href="+code=fscache_cookie_def" class="sref">fscache_cookie_defxta href="+code=cifs_fscache_server_index_def" class="sref">cifs_fscache_server_index_def;ix 32extern c(mst structxta href="+code=fscache_cookie_def" class="sref">fscache_cookie_defxta href="+code=cifs_fscache_super_index_def" class="sref">cifs_fscache_super_index_def;ix 33extern c(mst structxta href="+code=fscache_cookie_def" class="sref">fscache_cookie_defxta href="+code=cifs_fscache_inode_object_def" class="sref">cifs_fscache_inode_object_def;ix 34t/a>ix 35extern intxta href="+code=cifs_fscache_register" class="sref">cifs_fscache_register(void);ix 36extern voidxta href="+code=cifs_fscache_unregister" class="sref">cifs_fscache_unregister(void);ix 37t/a>ix 38t/a>tspam class="comment">/*t/spamrix 39t/a>tspam class="comment"> *xfscache.ct/spamrix 40tspam class="comment"> */t/spamrix 41extern voidxta href="+code=cifs_fscache_get_client_cookie" class="sref">cifs_fscache_get_client_cookie(structxta href="+code=TCP_Server_Info" class="sref">TCP_Server_Infox*);ix 42extern voidxta href="+code=cifs_fscache_release_client_cookie" class="sref">cifs_fscache_release_client_cookie(structxta href="+code=TCP_Server_Info" class="sref">TCP_Server_Infox*);ix 43extern voidxta href="+code=cifs_fscache_get_super_cookie" class="sref">cifs_fscache_get_super_cookie(structxta href="+code=cifs_tc(m" class="sref">cifs_tc(mx*);ix 44extern voidxta href="+code=cifs_fscache_release_super_cookie" class="sref">cifs_fscache_release_super_cookie(structxta href="+code=cifs_tc(m" class="sref">cifs_tc(mx*);ix 45t/a>ix 46extern voidxta href="+code=cifs_fscache_release_inode_cookie" class="sref">cifs_fscache_release_inode_cookie(structxta href="+code=inode" class="sref">inodex*);ix 47extern voidxta href="+code=cifs_fscache_set_inode_cookie" class="sref">cifs_fscache_set_inode_cookie(structxta href="+code=inode" class="sref">inodex*, structxta href="+code=file" class="sref">filex*);ix 48extern voidxta href="+code=cifs_fscache_reset_inode_cookie" class="sref">cifs_fscache_reset_inode_cookie(structxta href="+code=inode" class="sref">inodex*);ix 49t/a>ix 50extern voidxta href="+code=__cifs_fscache_invalidate_page" class="sref">__cifs_fscache_invalidate_page(structxta href="+code=page" class="sref">pagex*, structxta href="+code=inode" class="sref">inodex*);ix 51extern intxta href="+code=cifs_fscache_release_page" class="sref">cifs_fscache_release_page(structxta href="+code=page" class="sref">pagex*ta href="+code=page" class="sref">page,xta href="+code=gfp_t" class="sref">gfp_txta href="+code=gfp" class="sref">gfp);ix 52extern intxta href="+code=__cifs_readpage_from_fscache" class="sref">__cifs_readpage_from_fscache(structxta href="+code=inode" class="sref">inodex*, structxta href="+code=page" class="sref">pagex*);ix 53extern intxta href="+code=__cifs_readpages_from_fscache" class="sref">__cifs_readpages_from_fscache(structxta href="+code=inode" class="sref">inodex*,ix 54                                         structxta href="+code=address_space" class="sref">address_spacex*,ix 55                                         structxta href="+code=list_head" class="sref">list_headx*,ix 56                                         unsignedx*);ix 57t/a>ix 58extern voidxta href="+code=__cifs_readpage_to_fscache" class="sref">__cifs_readpage_to_fscache(structxta href="+code=inode" class="sref">inodex*, structxta href="+code=page" class="sref">pagex*);ix 59t/a>ix 60staticxta href="+code=inline" class="sref">inlinexvoidxta href="+code=cifs_fscache_invalidate_page" class="sref">cifs_fscache_invalidate_page(structxta href="+code=page" class="sref">pagex*ta href="+code=page" class="sref">page,ix 61                                               structxta href="+code=inode" class="sref">inodex*ta href="+code=inode" class="sref">inode)ix 62{ix 63        if (ta href="+code=PageFsCache" class="sref">PageFsCache(ta href="+code=page" class="sref">page))ix 64                ta href="+code=__cifs_fscache_invalidate_page" class="sref">__cifs_fscache_invalidate_page(ta href="+code=page" class="sref">page,xta href="+code=inode" class="sref">inode);ix 65}ix 66t/a>ix 67staticxta href="+code=inline" class="sref">inlinexintxta href="+code=cifs_readpage_from_fscache" class="sref">cifs_readpage_from_fscache(structxta href="+code=inode" class="sref">inodex*ta href="+code=inode" class="sref">inode,ix 68                                             structxta href="+code=page" class="sref">pagex*ta href="+code=page" class="sref">page)ix 69{ix 70        if (ta href="+code=CIFS_I" class="sref">CIFS_I(ta href="+code=inode" class="sref">inode)->ta href="+code=fscache" class="sref">fscache)ix 71                return ta href="+code=__cifs_readpage_from_fscache" class="sref">__cifs_readpage_from_fscache(ta href="+code=inode" class="sref">inode,xta href="+code=page" class="sref">page);ix 72t/a>ix 73        return -ta href="+code=ENOBUFS" class="sref">ENOBUFS;ix 74}ix 75t/a>ix 76staticxta href="+code=inline" class="sref">inlinexintxta href="+code=cifs_readpages_from_fscache" class="sref">cifs_readpages_from_fscache(structxta href="+code=inode" class="sref">inodex*ta href="+code=inode" class="sref">inode,iextern void{26.22.4"i	= rass="l/fsca/a>extee terms of the GNU Lesser General Public Lsref">page);i *x xThis libcif9o ( oblr/a>tspam class="comment"> *x xT License as pf9o ( o" class="line" nam; "L55">x 55                            s_readpage_from_fscche_netfs" class_fscchref="fs/cifs/fscaaublr/a>tspam cla*ta href7"+code=page" class="sre7">pag79>tspam class="comment"> *x xT License as pf9o ( o" class="lis_readpage_fromnr__fscche_netfs" classnr__fscc" class="sref">inode)->ta h8" id "L68" class="line" nam; "L68">x 680/a>)i8scach81/a>{ix 70        if (ta href="+code=CIFS_I" class="sref">CIFS_I(ta href="+code=inode" class="sref">inode)->ta h8ta href=8+code=page" class="sref8>page82/a>)ix 53extern intxta href="+code=__cicifs_readpage_from_fscache" class="sref">__cifs_readpage_from Public Lsref">page);ix 83>tspam class="comment"> *x xT License as pf9o ( o""""""""s_readpage_fromnr__fscche_netfs" classnr__fscc" cla">x 73        return -ta h8ef="+cod8=ENOBUFS" class="sref">8NOBUF84t/a>ix 73        return -ta h8" id "L78" class="line" nam; "L78">x 78/a>);ix 8}ix 60statid "L58" class="line" nam; "L58">x extern voidxta href="+code=__cifs_readpage_to_fscache" class="sref">__cifs_reages_from_fscache(structxta href="+code=inode" class="sref">inodex*8 you can  redistribute it and/or  oblr8a>tspam class="comment"> *x xT License as pf9o ( ss="line" nam; "L68">x 68                                             structxta href="+code=page" class="sref">page8*ta href8"+code=page" class="sre8">pag8)ix 69{ix 63        if (ta href="+code=PageFsCache" class="sref">PageFsCache9ef="+cod9=fscache" class="sref">9scach9)ix 58extern voidxta href="+codcifs_readpage_from_fscache" class="sref">__cifs_readpage_from_fscache(ta href="+code=inode" class="sref">inode,9ta href=9+code=page" class="sref9>page92a>);ix 9Ht/a>i9NOBUF93t/a>ielse ix 28t/a>#che.h#L40" id "L40" class="line" nam; "9" id "L79" class="line" nam; "L79">x 795t/a>ix 76stat" id "L35" class="line" nam; "L35">x 35extern intxta href= {f="fs/ci0; ix 95t/a>ix 36extern voidxta href="+co {iipag9spamricifs/fscache.h#L36" id "L36" class="line" nam; "L41">x 41extern voidxta href="+code=cifs_fscache_get_client_cookie" class="sref">cifs_fscache_get_client_cookieget_client_cook>xta h">cifs_fscache_>xta hcode= {ix e,"t/a>ix e,1pamricifs/fscache.h#L36" id "L36" class="line" nam; "L42">x 42extern voidxta href="+code=cifs_fscache_release_client_cookie" class="sref">cifs_fscache_release_client_cookieget_client_cook>xta h">cifs_fscache_>xta hcode= {ix 110t/a>tspam class="comment02>x e,2t/a>ix 43extern voidxta href="+code=cifs_fscache_get_super_cookie" class="sref">cifs_fscache_get_supee_get_super_cooclass="sref">cifs_fe_get_su= {ix e,4pamricifs/fscache.h#L36" id "L36" class="line" nam; "L44">x 44extern voidxta href="+code=cifs_fscache_release_super_cookie" class="sref">cifs_fscache_release_supee_get_super_cooclass="sref">cifs_fe_get_su= {i}ix 46extern voidxta href="+code=cifs_fscache_release_inode_cookie" class="sref">cifs_fscache_rele "L70">x 70        if (ta href="+code=CIF {ix 160t/a>tspam class="comment07 x e,6t/a>ix 60stati id "L47" class="line" nam; "L47">x 47extern voidxta href="+code=cifs_fscache_set_inode_cookie" class="sref">cifs_fscache_ges_from_fscache(structxta href="+code=inode" class="sref">inodex*10the GNU L0esser General Public Lic08 x e,a>tspam class="comment"> *x xT License as pf9o ( o" ( ss="line" nam; "L68">xuctxta href="+code=inode" clae" nam; "L68">xuct">page,xta huct"e=CIF {ix 48extern voidxta href="+code=cifs_fscache_reset_inode_cookie" class="sref">cifs_fscache_re "L70">x 70        if (ta href="+code=CIF {iix 51extern intxta href="+code=cifs_fscache_release_page" class="sref">cifs_fscache_release_page(structxta href="+code=page" class="sref">pagex*ta href="+code=page" class="sref">page,xta href="+cox 111t/a>tspam class="commentt"> *112/a>)iix 60staticxta href="+code=inline" class="sref">inlinexvoidxta href="+code=cifs_fscache_invalidate_page" class="sref">cifs_fscache_invalidate_page(structxta href="+code=page" class="sref">page1neral Publlic License for more detaails.11a>x*,icifs_fscache_re "L70">x 70        if (ta href="+code=CIF {ix 166t/a>tspam class="commentt"> *116t/a>ix 60statid "L58" cf="+code=inline" class="sref">inlinexintxta href="+code=cifs_readpage_from_fscache" class="sref">cifs_readpage_from_fscache(structxta href="+code=in ss="line" nam; "L68">x 68                                             structxta href="+code=page" class="sref">page1ry; if nott, write to the Free Softtware11)ix 73        return -ta h1L20">x 201tspam class="comment1"> */1/spamrix 11tt/a>tspam class="comment""> *12/a>);i_CIFS_F1SCACH123t/a>ix 76staticxta href="+code=inline" class="sref">inlinexintxta href="+code=cifs_readpages_from_fscache" class="sref">cifs_readpages_from_fscache(structxta href="+code=inode" class="sref">inodex*123" id "L123" class="line" nam; "L123">x12a>x*,iextee terms of the GNU Lesser General Public Lsref">page);ilinux/fscac1he.ht12a>x*,ix 55                            s_readpage_from_fscche_netfs" class_fscchref="fs/cifs/fscaaublr/a>tspam cl125" id "L125" class="line" nam; "L125">x12a>x*,iinode)->ta h1cifsglob.1h" class="fref">cifsglob1.ht/a1"ix128/a>)ix 73        return -ta h1Ly; if notclass="sref">CONFIG_CIFS1_FSCA1HEt/a>ix129t/a>x 201class="sref">cifs_fscach1e_net1s;ix 60statid "L58" class="line" nam; "L58">x extern voidxta href="+code=__cifs_readpage_to_fscache" class="sref">__cifs_reages_from_fscache(structxta href="+code=inode" class="sref">scache.h#L612L11">x 11">cifs_fscache_server_in1dex_d132/a>)i                                             structxta href="+cod {icifs_fscache_super_in1dex_d13Ht/a>icifs_fscache_inode_obj1ect_d133t/a>iendif ix 28t/a>#che.h#L40" id "L40" class="line" nam; "134" id "L134" class="line" nam; "L134">x13}icifs_fscache_registe1r1void);iendif ix che.h#L40" id "L40" class="line" nam; "13ifsglob.1">cifs_fscache_unregiste1r1void);te.hid "L40" mailto:lxl@lL24".no   xl@lL24".node=i.
xtaices >ince 1995.