Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys regen



details:   https://anonhg.NetBSD.org/src/rev/5ad1aca0db69
branches:  trunk
changeset: 822416:5ad1aca0db69
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Mar 19 10:21:25 2017 +0000

description:
regen

diffstat:

 sys/rump/include/rump/rump_namei.h |   4 ++--
 sys/sys/namei.h                    |  12 +++++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (53 lines):

diff -r 6129d13193b6 -r 5ad1aca0db69 sys/rump/include/rump/rump_namei.h
--- a/sys/rump/include/rump/rump_namei.h        Sun Mar 19 10:21:02 2017 +0000
+++ b/sys/rump/include/rump/rump_namei.h        Sun Mar 19 10:21:25 2017 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: rump_namei.h,v 1.29 2017/03/18 21:04:24 riastradh Exp $        */
+/*     $NetBSD: rump_namei.h,v 1.30 2017/03/19 10:21:25 riastradh Exp $        */
 
 
 /*
  * WARNING: GENERATED FILE.  DO NOT EDIT
  * (edit namei.src and run make namei in src/sys/sys)
  *   by:   NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp 
- *   from: NetBSD: namei.src,v 1.39 2017/03/18 21:03:28 riastradh Exp 
+ *   from: NetBSD: namei.src,v 1.40 2017/03/19 10:21:02 riastradh Exp 
  */
 
 #ifndef _RUMP_RUMP_NAMEI_H_
diff -r 6129d13193b6 -r 5ad1aca0db69 sys/sys/namei.h
--- a/sys/sys/namei.h   Sun Mar 19 10:21:02 2017 +0000
+++ b/sys/sys/namei.h   Sun Mar 19 10:21:25 2017 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: namei.h,v 1.95 2017/03/18 21:04:24 riastradh Exp $     */
+/*     $NetBSD: namei.h,v 1.96 2017/03/19 10:21:25 riastradh Exp $     */
 
 
 /*
  * WARNING: GENERATED FILE.  DO NOT EDIT
  * (edit namei.src and run make namei in src/sys/sys)
  *   by:   NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp 
- *   from: NetBSD: namei.src,v 1.39 2017/03/18 21:03:28 riastradh Exp 
+ *   from: NetBSD: namei.src,v 1.40 2017/03/19 10:21:02 riastradh Exp 
  */
 
 /*
@@ -215,13 +215,15 @@
  *      -       stable after initialization
  *      L       namecache_lock
  *      C       struct nchcpu::cpu_lock
+ *      L/C     insert/delete needs L and C, read needs L or any C,
+ *              must hold L and all C after (or during) delete before free
  *      N       struct namecache::nc_lock
  */
 struct namecache {
-       LIST_ENTRY(namecache) nc_hash;  /* L hash chain */
+       LIST_ENTRY(namecache) nc_hash;  /* L/C hash chain */
        LIST_ENTRY(namecache) nc_vhash; /* L directory hash chain */
-       struct  vnode *nc_dvp;          /* - vnode of parent of name */
-       struct  vnode *nc_vp;           /* - vnode the name refers to */
+       struct  vnode *nc_dvp;          /* N vnode of parent of name */
+       struct  vnode *nc_vp;           /* N vnode the name refers to */
        int     nc_flags;               /* - copy of componentname ISWHITEOUT */
        char    nc_nlen;                /* - length of name */
        char    nc_name[NCHNAMLEN];     /* - segment name */



Home | Main Index | Thread Index | Old Index