/usr/share/doc/HOWTO/ja-html/kernel-venus-protocol-5.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE> The Venus kernel interface: $B%_%K%-%c%C%7%e$H(B downcall </TITLE>
<LINK HREF="kernel-venus-protocol-6.html" REL=next>
<LINK HREF="kernel-venus-protocol-4.html" REL=previous>
<LINK HREF="kernel-venus-protocol.html#toc5" REL=contents>
</HEAD>
<BODY>
<A HREF="kernel-venus-protocol-6.html">$B<!$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol-4.html">$BA0$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol.html#toc5">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s5">5. $B%_%K%-%c%C%7%e$H(B downcall </A></H2>
<P>
<P>Coda FS $B%I%i%$%P$O!"(Bupcall $B$N2s?t$rM^@)$9$k$?$a$K!"(B<CODE>lookup</CODE> $B$*$h$S(B
<CODE>access</CODE> $B$N7k2L$r%-%c%C%7%e$G$-$^$9!#(Bupcall $B$O!"%W%m%;%9%3%s%F%-%9%H(B
$B%9%$%C%A$r9T$&I,MW$,$"$k$N$G!"%3%9%H$,$+$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EUSER is a venus->kernel call */
struct CodaCred cred;
} cfs_purgeuser;
</PRE>
<P><B>$B>\:Y(B</B> Cred $B$r;}$D%-%c%C%7%eFb$N$9$Y$F$N%(%s%H%j$r:o=|$7$^$9!#$3$N%3!<(B
$B%k$O!"%f!<%6MQ$N%H!<%/%s$N4|8B$,@Z$l$k$+%U%i%C%7%e$5$l$k;~$KH/9T$5$l$^$9!#(B
<P>
<H2><A NAME="ss5.4">5.4 ZAPFILE</A>
</H2>
<P>
<P><B>$B0z$-?t(B</B>
<PRE>
struct cfs_zapfile_out { /* CFS_ZAPFILE is a venus->kernel call */
ViceFid CodaFid;
} cfs_zapfile;
</PRE>
<P><B>$B>\:Y(B</B> $B%G%#%l%/%H%j$N(B vnode $B$HL>A0$NAH$_$r;}$D$9$Y$F$N%(%s%H%j$r:o=|(B
$B$7$^$9!#%-%c%C%7%e$5$l$?(B vnode $B$NB0@-$,<:8z$H$J$C$?7k2L!"H/9T$5$l$^$9!#(B
<P><B>$BCm5-(B</B> $B%3!<%k$O(B NetBSD $B$*$h$S(B Mach $B$G@5$7$$L>A0$G$O$"$j$^$;$s!#%_%K(B
$B%-%c%C%7%e$N(B <CODE>zapfile</CODE> $B%k!<%A%s$N0z$-?t$O0[$J$C$F$$$^$9!#(BLinux$B$O!"B0(B
$B@-$N<:8z$r@5$7$/<BAu$7$F$$$^$;$s!#(B
<P>
<P>
<H2><A NAME="ss5.5">5.5 ZAPDIR</A>
</H2>
<P>
<P><B>$B0z$-?t(B</B>
<PRE>
struct cfs_zapdir_out { /* CFS_ZAPDIR is a venus->kernel call */
ViceFid CodaFid;
} cfs_zapdir;
</PRE>
<P><B>$B>\:Y(B</B> $B%G%#%l%/%H%j(B <CODE>CodaFid</CODE> $B$*$h$S$3$N%G%#%l%/%H%j$N$9$Y$F$N;R$N(B
$B%(%s%H%j$r!"%-%c%C%7%e$NCf$+$i!"$9$Y$F:o=|$7$^$9!#(BVenus $B$,%G%#%l%/%H%j$N(B
callback $B$r<u$1<h$C$?;~$KH/9T$5$l$^$9!#(B
<P>
<H2><A NAME="ss5.6">5.6 ZAPVNODE</A>
</H2>
<P>
<P><B>$B0z$-?t(B</B>
<PRE>
struct cfs_zapvnode_out { /* CFS_ZAPVNODE is a venus->kernel call */
struct CodaCred cred;
ViceFid VFid;
} cfs_zapvnode;
</PRE>
<P><B>$B>\:Y(B</B> $B0z$-?t$GEO$5$l$k(B <CODE>cred</CODE> $B$*$h$S(B <CODE>VFid</CODE> $B$r;}$D%-%c%C%7%e$N(B
$BCf$N%(%s%H%j$r$9$Y$F:o=|$7$^$9!#$3$N%3!<%k$O$?$V$sH/9T$5$l$k$3$H$O$"$j$^(B
$B$;$s!#(B
<P>
<H2><A NAME="ss5.7">5.7 PURGEFID</A>
</H2>
<P>
<P><B>$B35MW(B</B>
<P><B>$B0z$-?t(B</B>
<PRE>
struct cfs_purgefid_out { /* CFS_PURGEFID is a venus->kernel call */
ViceFid CodaFid;
} cfs_purgefid;
</PRE>
<P><B>$B>\:Y(B</B> $B%U%!%$%k$N$?$a$NB0@-$r%U%i%C%7%e$7$^$9!#$=$l$,%G%#%l%/%H%j(B ($B$d(B
$BJQ$J(B vnode) $B$J$i!"%M!<%`%-%c%C%7%e$+$i$N$=$N;R$r=|5n$7!"%M!<%`%-%c%C%7%e(B
$B$+$i%U%!%$%k$r:o=|$7$^$9!#(B
<P>
<P>
<H2><A NAME="ss5.8">5.8 REPLACE</A>
</H2>
<P>
<P><B>$B35MW(B</B> $BL>A0$N%3%l%/%7%g%s$N$?$a$N(B Fid $B$rCV$-$+$($^$9!#(B
<P><B>$B0z$-?t(B</B>
<PRE>
struct cfs_replace_out { /* cfs_replace is a venus->kernel call */
ViceFid NewFid;
ViceFid OldFid;
} cfs_replace;
</PRE>
<P><B>$B>\:Y(B</B> $B$3$N%k!<%A%s$O%M!<%`%-%c%C%7%e$NCf$N(B ViceFid $B$rJL$N$b$N$KCV$-(B
$B$+$($^$9!#@ZCG$5$l$F$$$k4V%m!<%+%k$K3dEv$F$i$l$?%F%s%]%i%j(B fid $B$r%0%m!<(B
$B%P%k(B fid $B$KCV$-$+$($k$?$a$N:FE}9g$N4V!"$=$l$i$N(B fid $B$N;2>H%+%&%s%H$,(B 0
$B$G$J$$$H$-$G$5$(!"(BVenus $B$K5v2D$rDI2C$7$^$9!#(B
<P>
<HR>
<A HREF="kernel-venus-protocol-6.html">$B<!$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol-4.html">$BA0$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol.html#toc5">$BL\<!$X(B</A>
</BODY>
</HTML>
|