[BACK]Return to nfs_srvcache.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / nfs

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/nfs/nfs_srvcache.c between version 1.15 and 1.16

version 1.15, 1998/08/09 21:19:51 version 1.16, 2000/03/30 12:51:16
Line 165  nfsrv_initcache()
Line 165  nfsrv_initcache()
  */   */
 int  int
 nfsrv_getcache(nd, slp, repp)  nfsrv_getcache(nd, slp, repp)
         register struct nfsrv_descript *nd;          struct nfsrv_descript *nd;
         struct nfssvc_sock *slp;          struct nfssvc_sock *slp;
         struct mbuf **repp;          struct mbuf **repp;
 {  {
         register struct nfsrvcache *rp;          struct nfsrvcache *rp;
         struct mbuf *mb;          struct mbuf *mb;
         struct sockaddr_in *saddr;          struct sockaddr_in *saddr;
         caddr_t bpos;          caddr_t bpos;
Line 278  loop:
Line 278  loop:
  */   */
 void  void
 nfsrv_updatecache(nd, repvalid, repmbuf)  nfsrv_updatecache(nd, repvalid, repmbuf)
         register struct nfsrv_descript *nd;          struct nfsrv_descript *nd;
         int repvalid;          int repvalid;
         struct mbuf *repmbuf;          struct mbuf *repmbuf;
 {  {
         register struct nfsrvcache *rp;          struct nfsrvcache *rp;
   
         if (!nd->nd_nam2)          if (!nd->nd_nam2)
                 return;                  return;
Line 329  loop:
Line 329  loop:
 void  void
 nfsrv_cleancache()  nfsrv_cleancache()
 {  {
         register struct nfsrvcache *rp, *nextrp;          struct nfsrvcache *rp, *nextrp;
   
         for (rp = nfsrvlruhead.tqh_first; rp != 0; rp = nextrp) {          for (rp = nfsrvlruhead.tqh_first; rp != 0; rp = nextrp) {
                 nextrp = rp->rc_lru.tqe_next;                  nextrp = rp->rc_lru.tqe_next;

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

CVSweb <webmaster@jp.NetBSD.org>