linux/fs/ceph/locks.c
<<
>>
Prefs
   1#include <linux/ceph/ceph_debug.h>
   2
   3#include <linux/file.h>
   4#include <linux/namei.h>
   5
   6#include "super.h"
   7#include "mds_client.h"
   8#include <linux/ceph/pagelist.h>
   9
  10
  
i*ction="aL10" class="line" name="L10   1##include <
   */ction="aL10" class="line" name="L10   31#include <
 ks.c"
	   code=eph/l nam_mess/lo 
< < < < < < < ks.c" code=emd
< < < < < v2.6.16.52 32.4L10" 2ckait="li valephntry51o.6.15.7mds_cl1ient.h" v2.6.16.51 v2.6 &lc id="L10" class="line" name1s="fref"1>linux/ceph/pagelist.h<1/a>&g18 1 10 v2.6.16.51 v2.6req" id="L10" class="line" name2 i*ctio2="aL10" class="line" na2e="L120.6.16.51" /div> < " id="L10" class="line" name2 * Impl2on> fcntl and f nam n2m 21.6.16.51" < ength struc ks.c" engthion> 0" id="L10" class="line" name2L3"> 3<#include <2code=eph2l nam_mess/lo <2 2ckait="li va" &lc_createtrequesr ks.c" code=emd <2div> 2< < < " < )" id="L10" class="line" name2s="fref"2>linux/ceph/pagelist.h<2/a>&g28ude/linux/file.h" class="fref">2="L10"> 2 10##include <art 2art 2 ks.c" 3 i*ctio3="aL10" class="line" na3e="L130 < 2ckait="li valref="fs/ceph/locks1.c#4L10" 2ckait="li vall_e2 fcntl and f nam n3m 31 ength struc ks.c" engthion> 0" id="L10" class="line" name3L3"> 33#include <> ength struc ks.c" engthion> 2ckait="li valref="fs/ceph/locks1.c#4L10" 2ckait="li vall_e2art1.c# + 1" id="L10" class="line" name3 3> ks.c" code=emd <3div> 34ude/linux/file.h" class="fref">lame="L103 61#include "3a hre35.6.16.51" < ##include > ing"nclude/" code= nam_d: ruld: %d, op: %d, pid: %llu,i >art: %llu,i8" id="i1nclud1/linu;"> ks.c" 3.6.16.523/option> 8L3"> 38#include < ks.c" 8linux/fi8le.h> < < " code=cl < linux/n8amei.h> 84 ;<16linu 4}" > v8L6"> 68#include " < " id="L10" class="line" name8er.h8" < " id="L10" class="line" name8">mds_cl8ient.h" < >linux/ceph/pagelist.h&g88.6.16.51" < 8 10 9 i*ctio9="aL10" class="line" na9e="L190.6.16.51" < < fcntl and f nam n9m 91.6.16.51" < ##include > ing"nclude/" cod, ks_pid:%d8" id="i1nclu, ode=u16 lref="fs/ceph/locks1.c#4L10" 2ckait="li vall_pidef="fs/ceph/locks_pid co)" id="L10" class="line" name9L3"> 39#include <9linux/fi9le.h> ##include < ks.c" 9>linux/n9amei.h> 9< < 69#include " < 9" < mds_cl9ient.h" linux/ceph/pagelist.h<9/a>&g98ude/linux/file.h" class="fref">9="L10"> 10).116 v2.6.32.45 i*ction=="aL10" class="line" namee="Lmee < 2ckait="li vaCEPH_LOCK_SHARED< fcntl and f nam na01="Lme1.6.16.51" else if < ).116 v2.6.32.45 */ction0="aL10" class="line" nam02="Lme2 2ckait="li vaCEPH_LOCK_EXCL< < 03="Lme3.6.16.51" else id="L10" class="line" name10 i0> ks.c" code=emd < 2ckait="li vaCEPH_LOCK_UNLOCK< #include "sup10.6.16.52<0/option> < .c < linclude <de < < mds_cl10ient.h" ) ;<16linu 4}" > v20s="fref"10>linux/ceph/pagelist.h<108/"Lme8 < v10="L10"> 10 10##include > ing"nclude/ &l ed, f="f ally8" id="i1nclu)" id="L10" class="line" name1 i*ctionn="aL10" class="line" namme="L110 err 2ckait="li vaposix e" nelinclude < lref="fs/ceph/locks1.c#u NULL< fcntl and f nam nam1="Lm11 err && < 2ckait="li va << v2 */ctionn="aL10" class="line" namme="L112 ##include < ks.c" 1 code=eph//l nam_mess/lo < 1#include < ks.c" 1 ii> ks.c" code=emd 114 31#include < ks.c" name="L10 61#include "< < .c < linclude < ks.c" n.6.16.52< 12="L10"> 12 10 3 i*ctio13="aL10" class="line" na13e="L130 < < " code=cl < v23L3"> 313#include < < " id="L10" class="line" name13linux/fi1lle.h> ks.c" code=emd <13div>134.6.16.51" < v> < sup13.6.16.5213/option> mds_cl13ient.h" ##include > ing"nclude/" f cod, ks_pid:%d8" id="i1nclu, ode=u16 lref="fs/ceph/locks1.c#4L10" 2ckait="li vall_pidef="fs/ceph/locks_pid co)" id="L10" class="line" name13s="fref"13>linux/ceph/pagelist.h<13/a>&138ude/linux/file.h" class="fref">13="L10"> 13 10##include < ks.c" 4 i*ctio14="aL10" class="line" na14e="L140 < LOCK_NB.c" code=waLOCK_NB1.c#L61 id="{2.6.32.45 > * Impl14on> fcntl and f nam n14m 141 v> < L3"> 314#include < < LOCK_EX0 LOCK_UN0> ##include < ks.c" 4 i>> ks.c" code=emd 144 31#include < ks.c" 4ame="L1014 61#include "14a hr145.6.16.51" if < mds_cl14ient.h" < linux/ceph/pagelist.h<14/a>&148 2ckait="li vaCEPH_LOCK_EXCL< 14 10 < 2ckait="li vaCEPH_LOCK_UNLOCK< fcntl and f nam n15m 151ude/linux/file.h" class="fref">15L3"> 315#include < 2ckait="li va" code= nam_d < < ud1/linu;"> ks.c" 5linux/fi15le.h> linclude <de < < linux/n15amei.h> 15< ) ;<16linu 4}" > v25L6"> 61<#include " 2ckait="li vaf cod e" nelinc_v> < ="a < ) ;<16linu 4}" > v25">mds_cl15ient.h" < v25s="fref"15>linux/ceph/pagelist.h<15/a>&158 ud1/linu;"> ks.c" 5="L10"> 15 10 doutef="fs/ceph/locdout="a ##include > ing"nclude/got %d on f cod e" nelinc_v> , undid 8" id="i1nclu, o 2ckait="li vaerr)" id="L10" class="line" name16 * Impl16on> fcntl and f nam n16m 161 16L3"> 316#include < v26linux/fi16le.h> doutef="fs/ceph/locdout="a ##include > ing"nclude/undof="f k\n8" id="i1nclu)" id="L10" class="line" name16>linux/n16amei.h> 16< < v26L6"> 616#include " CEPH_MDS_OP_SETFILELOCK< ud1/linu;"> ks.c" 6.6.16.52 17 * Impl17on> fcntl and f nam n17m 17unmit="s.ction="aL10" classef="innclud116 v2.6.32.45 17L3"> 317#include < 17linux/fi17le.h> 17>linux/n17amei.h> 174 31#include < 17L6"> 617#include "1#include < ks.c" 17er.h17" < mds_cl1iient.h" v27s="fref"17>linux/ceph/pagelist.h<17/a>&178 < 17 10 8 i*ctio18="aL10" class="line" na18e="L180 1 fcntl and f nam n18m 181 1 318#include <18linux/fi18le.h> 4L10" 2ckait="li vaiuf8 cllinu)aL10" classe" name= ! 2ckait="li vaNULL< cllinu)aL10" classe" name= 2ckait="li va < ) ;<16linu 4}" > v28>linux/n18amei.h> 18< < 618#include "1 18" mds_cl18ient.h" 1 >linux/ceph/pagelist.h<1//a>&188.6.16.51" }.116 v2.6.32.45 18="L10"> 18 10##include > ing"nclude/"ounted %d k < 1 fcntl and f nam n19m 191.6.1}.116 v2.6.32.45 19L3"> 319#include <19linux/fi19le.h> 19>linux/n19amei.h> 194 31#include < 19L6"> 619#include "1#include < 19er.h19" 19">mds_cl19ient.h" 19">mds_cl19ient.hs="fref"19>linux/ceph/pagelist.h<19/a>&198ude//a>1#include < 19="L10"> 1 10##include < 19">mds_cl19ient2 i*ctio2=="aL10" class="line" na2ee="L20 1##include < ks.c" 20 * Impl20on> fcntl and f nam n201="L2e1.6.1/lolinu(ks.c" code=uena h _/opti < v2.6plgelistu <203="L2e3.6.1;<16linu 4}" > v20 20> ks.c" code=emd <204="L2e< < #include " " fue= cod " cod < 0" id="L10" class="line" name20">mds_cl20ient.h" < 0" id="L10" class="line" name208>mds_cl20>linux/ceph/pagelist.h<208/"L2e8 < 0" id="L10" class="line" name209>mds_cl20 10 2 i*ctio2n="aL10" class="line" na2me="L210.6.16.51" < ##include > ing"nclude/ena hf="f%d k < fcntl and f nam n2m1="L211 L" id="L10" class="line" name2 */ctio2n="aL10" class="line" na2me="L212.6.16.51" < 2ckait="li va" plgelist_appens.c" code=was plgelist_appens="a < u < #inclu, ks.c"32.6.1L)" id="L10" class="line" nsup2 code=eph2/l nam_mess/lo <2 ks.c" code=emd <2/div>21< 4L10" 2ckait="li vaiuf8 cllinu)aL10" classe" name= ! 2ckait="li vaNULL< cllinu)aL10" classe" name= 2ckait="li va < ) ;<16linu 4}" > v2n.6.16.522 v2n">mds_cl21ient.h" < " id="L10" class="line" name2n8>mds_cl21>linux/ceph/pagelist.h<21/a>&218 < L10".inu(ks.c" cnum_kL10 /optiL ;<16linu 4}" > v2n9>mds_cl21 10 -/div> < " id="L10" class="line" name22 i*ctio22="aL10" class="line" na22e="L220 fcntl and f nam n22m 221 22L3"> 32<#include < 2ckait="li va cod tot; fue= cod < <22 < ) id="L10" class="line" nsup22 22> ks.c" code=emd <22div>22< 2ckait="li va" plgelist_appens.c" code=was plgelist_appens="a < mds_cl22ient.h" < ) id="L10" class="line" nsup229>mds_cl22 10 23L3"> 323#include < 2ckait="li va" plgelist_appens.c" code=was plgelist_appens="a < < #inclu, ks.c"32.6.1L)" id="L10" class="line" nsup23linux/fi2lle.h> ks.c" code=emd <23div>23< 4L10" 2ckait="li vaiuf8 cllinu)aL10" classe" name= ! 2ckait="li vaNULL< cllinu)aL10" classe" name= 2ckait="li va < ) ;<16linu 4}" > v23.6.16.5223/option> v23">mds_cl23ient.h" < " id="L10" class="line" name2l8>mds_cl23>linux/ceph/pagelist.h<23/a>&238 < L10".inu(ks.c" cnum_k cod e" ni v239>mds_cl23 10 -/div> < " id="L10" class="line" name24 i*ctio24="aL10" class="line" na24e="L240 * Impl24on> fcntl and f nam n24m 241 2>L3"> 324#include < 2ckait="li va cod tot; fue= cod < < ) id="L10" class="line" nsup24 2>> ks.c" code=emd <2ddiv>24< 2ckait="li va" plgelist_appens.c" code=was plgelist_appens="a < mds_cl24ient.h" linux/ceph/pagelist.h<24/a>&248 < ) id="L10" class="line" nsup249>mds_cl24 10 25L3"> 325#include < < " id="L10" class="line" name25linux/fi25le.h> #include "1#include < 25.6.16.5225/option> 25">mds_cl25ient.h" ks.c" 25s="fref"25>linux/ceph/pagelist.h<25/a>&258 < < 25 10 " fue= cod1 v26 * Impl26on> fcntl and f nam n26m 261 < 0" id="L10" class="line" name26L3"> 326#include <26linux/fi26le.h> u ks.c"pu totle6a="a < 2ckait="li va"pu totle6amei.hu ks.c"pu totle6a="a < - 2ckait="li va < #include "1 2ckait="li va"pu totle6amei.hu ks.c"pu totle6a="a <0)" id="L102.6.32.45 26.6.16.522//option> 25L3">Impl18on>2 fcntl and f nam n18m 2181 <28hemdlinu, ks.c" ode=u16 v> ).116 "L10" class="line" name14">m2c 317> 18&qu2t; The original LXR softwplgeby valu v2.6.32http://source age.net/proj /lxr">LXR &quosubfooter"> axr.t; ux.no kindappeos%by v2.6.32http://www.redpill-t; pro.no nRedpill L; pro AS, &providera spL; uxvertsaul%%oedrations services sith#t1995.