head 1.7; access; symbols netbsd-10-0-RELEASE:1.7 netbsd-10-0-RC6:1.7 netbsd-10-0-RC5:1.7 netbsd-10-0-RC4:1.7 netbsd-10-0-RC3:1.7 netbsd-10-0-RC2:1.7 thorpej-ifq:1.7.0.176 thorpej-ifq-base:1.7 thorpej-altq-separation:1.7.0.174 thorpej-altq-separation-base:1.7 netbsd-10-0-RC1:1.7 netbsd-10:1.7.0.172 netbsd-10-base:1.7 bouyer-sunxi-drm:1.7.0.170 bouyer-sunxi-drm-base:1.7 netbsd-9-3-RELEASE:1.7 thorpej-i2c-spi-conf2:1.7.0.168 thorpej-i2c-spi-conf2-base:1.7 thorpej-futex2:1.7.0.166 thorpej-futex2-base:1.7 thorpej-cfargs2:1.7.0.164 thorpej-cfargs2-base:1.7 cjep_sun2x-base1:1.7 cjep_sun2x:1.7.0.162 cjep_sun2x-base:1.7 cjep_staticlib_x-base1:1.7 netbsd-9-2-RELEASE:1.7 cjep_staticlib_x:1.7.0.160 cjep_staticlib_x-base:1.7 thorpej-i2c-spi-conf:1.7.0.158 thorpej-i2c-spi-conf-base:1.7 thorpej-cfargs:1.7.0.156 thorpej-cfargs-base:1.7 thorpej-futex:1.7.0.154 thorpej-futex-base:1.7 netbsd-9-1-RELEASE:1.7 bouyer-xenpvh-base2:1.7 phil-wifi-20200421:1.7 bouyer-xenpvh-base1:1.7 phil-wifi-20200411:1.7 bouyer-xenpvh:1.7.0.152 bouyer-xenpvh-base:1.7 is-mlppp:1.7.0.150 is-mlppp-base:1.7 phil-wifi-20200406:1.7 netbsd-8-2-RELEASE:1.7 ad-namecache-base3:1.7 netbsd-9-0-RELEASE:1.7 netbsd-9-0-RC2:1.7 ad-namecache-base2:1.7 ad-namecache-base1:1.7 ad-namecache:1.7.0.148 ad-namecache-base:1.7 netbsd-9-0-RC1:1.7 phil-wifi-20191119:1.7 netbsd-9:1.7.0.146 netbsd-9-base:1.7 phil-wifi-20190609:1.7 netbsd-8-1-RELEASE:1.7 netbsd-8-1-RC1:1.7 isaki-audio2:1.7.0.144 isaki-audio2-base:1.7 pgoyette-compat-merge-20190127:1.7 pgoyette-compat-20190127:1.7 pgoyette-compat-20190118:1.7 pgoyette-compat-1226:1.7 pgoyette-compat-1126:1.7 pgoyette-compat-1020:1.7 pgoyette-compat-0930:1.7 pgoyette-compat-0906:1.7 netbsd-7-2-RELEASE:1.7 pgoyette-compat-0728:1.7 netbsd-8-0-RELEASE:1.7 phil-wifi:1.7.0.142 phil-wifi-base:1.7 pgoyette-compat-0625:1.7 netbsd-8-0-RC2:1.7 pgoyette-compat-0521:1.7 pgoyette-compat-0502:1.7 pgoyette-compat-0422:1.7 netbsd-8-0-RC1:1.7 pgoyette-compat-0415:1.7 pgoyette-compat-0407:1.7 pgoyette-compat-0330:1.7 pgoyette-compat-0322:1.7 pgoyette-compat-0315:1.7 netbsd-7-1-2-RELEASE:1.7 pgoyette-compat:1.7.0.140 pgoyette-compat-base:1.7 netbsd-7-1-1-RELEASE:1.7 tls-maxphys-base-20171202:1.7 matt-nb8-mediatek:1.7.0.138 matt-nb8-mediatek-base:1.7 nick-nhusb-base-20170825:1.7 perseant-stdc-iso10646:1.7.0.136 perseant-stdc-iso10646-base:1.7 netbsd-8:1.7.0.134 netbsd-8-base:1.7 prg-localcount2-base3:1.7 prg-localcount2-base2:1.7 prg-localcount2-base1:1.7 prg-localcount2:1.7.0.132 prg-localcount2-base:1.7 pgoyette-localcount-20170426:1.7 bouyer-socketcan-base1:1.7 jdolecek-ncq:1.7.0.130 jdolecek-ncq-base:1.7 pgoyette-localcount-20170320:1.7 netbsd-7-1:1.7.0.128 netbsd-7-1-RELEASE:1.7 netbsd-7-1-RC2:1.7 nick-nhusb-base-20170204:1.7 netbsd-7-nhusb-base-20170116:1.7 bouyer-socketcan:1.7.0.126 bouyer-socketcan-base:1.7 pgoyette-localcount-20170107:1.7 netbsd-7-1-RC1:1.7 nick-nhusb-base-20161204:1.7 pgoyette-localcount-20161104:1.7 netbsd-7-0-2-RELEASE:1.7 nick-nhusb-base-20161004:1.7 localcount-20160914:1.7 netbsd-7-nhusb:1.7.0.124 netbsd-7-nhusb-base:1.7 pgoyette-localcount-20160806:1.7 pgoyette-localcount-20160726:1.7 pgoyette-localcount:1.7.0.122 pgoyette-localcount-base:1.7 nick-nhusb-base-20160907:1.7 nick-nhusb-base-20160529:1.7 netbsd-7-0-1-RELEASE:1.7 nick-nhusb-base-20160422:1.7 nick-nhusb-base-20160319:1.7 nick-nhusb-base-20151226:1.7 netbsd-7-0:1.7.0.120 netbsd-7-0-RELEASE:1.7 nick-nhusb-base-20150921:1.7 netbsd-7-0-RC3:1.7 netbsd-7-0-RC2:1.7 netbsd-7-0-RC1:1.7 nick-nhusb-base-20150606:1.7 nick-nhusb-base-20150406:1.7 nick-nhusb:1.7.0.118 nick-nhusb-base:1.7 netbsd-5-2-3-RELEASE:1.7 netbsd-5-1-5-RELEASE:1.7 netbsd-6-0-6-RELEASE:1.7 netbsd-6-1-5-RELEASE:1.7 netbsd-7:1.7.0.116 netbsd-7-base:1.7 yamt-pagecache-base9:1.7 yamt-pagecache-tag8:1.7 netbsd-6-1-4-RELEASE:1.7 netbsd-6-0-5-RELEASE:1.7 tls-earlyentropy:1.7.0.114 tls-earlyentropy-base:1.7 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7 riastradh-drm2-base3:1.7 netbsd-6-1-3-RELEASE:1.7 netbsd-6-0-4-RELEASE:1.7 netbsd-5-2-2-RELEASE:1.7 netbsd-5-1-4-RELEASE:1.7 netbsd-6-1-2-RELEASE:1.7 netbsd-6-0-3-RELEASE:1.7 netbsd-5-2-1-RELEASE:1.7 netbsd-5-1-3-RELEASE:1.7 rmind-smpnet-nbase:1.7 netbsd-6-1-1-RELEASE:1.7 riastradh-drm2-base2:1.7 riastradh-drm2-base1:1.7 riastradh-drm2:1.7.0.112 riastradh-drm2-base:1.7 rmind-smpnet:1.7.0.104 rmind-smpnet-base:1.7 netbsd-6-1:1.7.0.110 netbsd-6-0-2-RELEASE:1.7 netbsd-6-1-RELEASE:1.7 khorben-n900:1.7.0.108 netbsd-6-1-RC4:1.7 netbsd-6-1-RC3:1.7 agc-symver:1.7.0.106 agc-symver-base:1.7 netbsd-6-1-RC2:1.7 netbsd-6-1-RC1:1.7 yamt-pagecache-base8:1.7 netbsd-5-2:1.7.0.102 netbsd-6-0-1-RELEASE:1.7 yamt-pagecache-base7:1.7 netbsd-5-2-RELEASE:1.7 netbsd-5-2-RC1:1.7 matt-nb6-plus-nbase:1.7 yamt-pagecache-base6:1.7 netbsd-6-0:1.7.0.100 netbsd-6-0-RELEASE:1.7 netbsd-6-0-RC2:1.7 tls-maxphys:1.7.0.98 tls-maxphys-base:1.7 matt-nb6-plus:1.7.0.96 matt-nb6-plus-base:1.7 netbsd-6-0-RC1:1.7 jmcneill-usbmp-base10:1.7 yamt-pagecache-base5:1.7 jmcneill-usbmp-base9:1.7 yamt-pagecache-base4:1.7 jmcneill-usbmp-base8:1.7 jmcneill-usbmp-base7:1.7 jmcneill-usbmp-base6:1.7 jmcneill-usbmp-base5:1.7 jmcneill-usbmp-base4:1.7 jmcneill-usbmp-base3:1.7 jmcneill-usbmp-pre-base2:1.7 jmcneill-usbmp-base2:1.7 netbsd-6:1.7.0.94 netbsd-6-base:1.7 netbsd-5-1-2-RELEASE:1.7 netbsd-5-1-1-RELEASE:1.7 jmcneill-usbmp:1.7.0.92 jmcneill-usbmp-base:1.7 jmcneill-audiomp3:1.7.0.90 jmcneill-audiomp3-base:1.7 yamt-pagecache-base3:1.7 yamt-pagecache-base2:1.7 yamt-pagecache:1.7.0.88 yamt-pagecache-base:1.7 rmind-uvmplock-nbase:1.7 cherry-xenmp:1.7.0.86 cherry-xenmp-base:1.7 bouyer-quota2-nbase:1.7 bouyer-quota2:1.7.0.84 bouyer-quota2-base:1.7 jruoho-x86intr:1.7.0.82 jruoho-x86intr-base:1.7 matt-mips64-premerge-20101231:1.7 matt-nb5-mips64-premerge-20101231:1.7 matt-nb5-pq3:1.7.0.80 matt-nb5-pq3-base:1.7 netbsd-5-1:1.7.0.78 netbsd-5-1-RELEASE:1.7 uebayasi-xip-base4:1.7 uebayasi-xip-base3:1.7 yamt-nfs-mp-base11:1.7 netbsd-5-1-RC4:1.7 matt-nb5-mips64-k15:1.7 uebayasi-xip-base2:1.7 yamt-nfs-mp-base10:1.7 netbsd-5-1-RC3:1.7 netbsd-5-1-RC2:1.7 uebayasi-xip-base1:1.7 netbsd-5-1-RC1:1.7 rmind-uvmplock:1.7.0.76 rmind-uvmplock-base:1.7 yamt-nfs-mp-base9:1.7 uebayasi-xip:1.7.0.74 uebayasi-xip-base:1.7 netbsd-5-0-2-RELEASE:1.7 matt-nb5-mips64-premerge-20091211:1.7 matt-premerge-20091211:1.7 yamt-nfs-mp-base8:1.7 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.7 matt-nb4-mips64-k7-u2a-k9b:1.7 matt-nb5-mips64-u1-k1-k5:1.7 yamt-nfs-mp-base7:1.7 matt-nb5-mips64:1.7.0.72 netbsd-5-0-1-RELEASE:1.7 jymxensuspend-base:1.7 yamt-nfs-mp-base6:1.7 yamt-nfs-mp-base5:1.7 yamt-nfs-mp-base4:1.7 jym-xensuspend-nbase:1.7 yamt-nfs-mp-base3:1.7 nick-hppapmap-base4:1.7 nick-hppapmap-base3:1.7 netbsd-5-0:1.7.0.70 netbsd-5-0-RELEASE:1.7 netbsd-5-0-RC4:1.7 netbsd-5-0-RC3:1.7 nick-hppapmap-base2:1.7 netbsd-5-0-RC2:1.7 jym-xensuspend:1.7.0.68 jym-xensuspend-base:1.7 netbsd-5-0-RC1:1.7 haad-dm-base2:1.7 haad-nbase2:1.7 ad-audiomp2:1.7.0.66 ad-audiomp2-base:1.7 netbsd-5:1.7.0.64 netbsd-5-base:1.7 nick-hppapmap:1.7.0.62 nick-hppapmap-base:1.7 matt-mips64-base2:1.7 matt-mips64:1.7.0.60 haad-dm-base1:1.7 wrstuden-revivesa-base-4:1.7 netbsd-4-0-1-RELEASE:1.7 wrstuden-revivesa-base-3:1.7 wrstuden-revivesa-base-2:1.7 wrstuden-fixsa-newbase:1.7 nick-csl-alignment-base5:1.7 haad-dm:1.7.0.58 haad-dm-base:1.7 wrstuden-revivesa-base-1:1.7 simonb-wapbl-nbase:1.7 yamt-pf42-base4:1.7 simonb-wapbl:1.7.0.56 simonb-wapbl-base:1.7 yamt-pf42-base3:1.7 hpcarm-cleanup-nbase:1.7 yamt-pf42-baseX:1.7 yamt-pf42-base2:1.7 yamt-nfs-mp-base2:1.7 wrstuden-revivesa:1.7.0.54 wrstuden-revivesa-base:1.7 yamt-nfs-mp:1.7.0.52 yamt-nfs-mp-base:1.7 yamt-pf42:1.7.0.50 yamt-pf42-base:1.7 ad-socklock-base1:1.7 yamt-lazymbuf-base15:1.7 yamt-lazymbuf-base14:1.7 keiichi-mipv6-nbase:1.7 mjf-devfs2:1.7.0.48 mjf-devfs2-base:1.7 nick-net80211-sync:1.7.0.46 nick-net80211-sync-base:1.7 keiichi-mipv6:1.7.0.44 keiichi-mipv6-base:1.7 ad-audiomp-base-1:1.7 bouyer-xeni386-merge1:1.7 matt-armv6-prevmlocking:1.7 wrstuden-fixsa-base-1:1.7 vmlocking2-base3:1.7 netbsd-4-0:1.7.0.42 netbsd-4-0-RELEASE:1.7 bouyer-xeni386-nbase:1.7 yamt-kmem-base3:1.7 cube-autoconf:1.7.0.40 cube-autoconf-base:1.7 yamt-kmem-base2:1.7 bouyer-xeni386:1.7.0.38 bouyer-xeni386-base:1.7 yamt-kmem:1.7.0.36 yamt-kmem-base:1.7 vmlocking2-base2:1.7 reinoud-bufcleanup-nbase:1.7 vmlocking2:1.7.0.34 vmlocking2-base1:1.7 netbsd-4-0-RC5:1.7 matt-nb4-arm:1.7.0.32 matt-nb4-arm-base:1.7 matt-armv6-nbase:1.7 jmcneill-base:1.7 netbsd-4-0-RC4:1.7 mjf-devfs:1.7.0.30 mjf-devfs-base:1.7 bouyer-xenamd64-base2:1.7 vmlocking-nbase:1.7 yamt-x86pmap-base4:1.7 bouyer-xenamd64:1.7.0.28 bouyer-xenamd64-base:1.7 netbsd-4-0-RC3:1.7 yamt-x86pmap-base3:1.7 yamt-x86pmap-base2:1.7 netbsd-4-0-RC2:1.7 yamt-x86pmap:1.7.0.26 yamt-x86pmap-base:1.7 netbsd-4-0-RC1:1.7 matt-armv6:1.7.0.24 matt-armv6-base:1.7 matt-mips64-base:1.7 jmcneill-pm:1.7.0.22 jmcneill-pm-base:1.7 hpcarm-cleanup:1.7.0.20 hpcarm-cleanup-base:1.7 nick-csl-alignment:1.7.0.18 nick-csl-alignment-base:1.7 netbsd-3-1-1-RELEASE:1.5 netbsd-3-0-3-RELEASE:1.5 yamt-idlelwp-base8:1.7 wrstuden-fixsa:1.7.0.16 wrstuden-fixsa-base:1.7 thorpej-atomic:1.7.0.14 thorpej-atomic-base:1.7 reinoud-bufcleanup:1.7.0.12 reinoud-bufcleanup-base:1.7 mjf-ufs-trans:1.7.0.10 mjf-ufs-trans-base:1.7 vmlocking:1.7.0.8 vmlocking-base:1.7 ad-audiomp:1.7.0.6 ad-audiomp-base:1.7 yamt-idlelwp:1.7.0.4 post-newlock2-merge:1.7 newlock2-nbase:1.7 yamt-splraiseipl-base5:1.7 yamt-splraiseipl-base4:1.7 yamt-splraiseipl-base3:1.7 abandoned-netbsd-4-base:1.6 abandoned-netbsd-4:1.6.0.18 netbsd-3-1:1.5.0.14 netbsd-3-1-RELEASE:1.5 netbsd-3-0-2-RELEASE:1.5 yamt-splraiseipl-base2:1.7 netbsd-3-1-RC4:1.5 yamt-splraiseipl:1.6.0.22 yamt-splraiseipl-base:1.6 netbsd-3-1-RC3:1.5 yamt-pdpolicy-base9:1.6 newlock2:1.6.0.20 newlock2-base:1.7 yamt-pdpolicy-base8:1.6 netbsd-3-1-RC2:1.5 netbsd-3-1-RC1:1.5 yamt-pdpolicy-base7:1.6 netbsd-4:1.7.0.2 netbsd-4-base:1.7 yamt-pdpolicy-base6:1.6 chap-midi-nbase:1.6 netbsd-3-0-1-RELEASE:1.5 gdamore-uart:1.6.0.16 gdamore-uart-base:1.6 simonb-timcounters-final:1.6 yamt-pdpolicy-base5:1.6 chap-midi:1.6.0.14 chap-midi-base:1.6 yamt-pdpolicy-base4:1.6 yamt-pdpolicy-base3:1.6 peter-altq-base:1.6 peter-altq:1.6.0.12 yamt-pdpolicy-base2:1.6 elad-kernelauth-base:1.6 elad-kernelauth:1.6.0.10 yamt-pdpolicy:1.6.0.8 yamt-pdpolicy-base:1.6 yamt-uio_vmspace-base5:1.6 simonb-timecounters:1.6.0.6 simonb-timecounters-base:1.6 rpaulo-netinet-merge-pcb:1.6.0.4 rpaulo-netinet-merge-pcb-base:1.6 yamt-uio_vmspace:1.6.0.2 netbsd-3-0:1.5.0.12 netbsd-3-0-RELEASE:1.5 netbsd-3-0-RC6:1.5 yamt-readahead-base3:1.5 netbsd-3-0-RC5:1.5 netbsd-3-0-RC4:1.5 netbsd-3-0-RC3:1.5 yamt-readahead-base2:1.5 netbsd-3-0-RC2:1.5 yamt-readahead-pervnode:1.5 yamt-readahead-perfile:1.5 yamt-readahead:1.5.0.10 yamt-readahead-base:1.5 netbsd-3-0-RC1:1.5 yamt-vop-base3:1.5 netbsd-2-0-3-RELEASE:1.4 netbsd-2-1:1.4.0.14 yamt-vop-base2:1.5 thorpej-vnode-attr:1.5.0.8 thorpej-vnode-attr-base:1.5 netbsd-2-1-RELEASE:1.4 yamt-vop:1.5.0.6 yamt-vop-base:1.5 netbsd-2-1-RC6:1.4 netbsd-2-1-RC5:1.4 netbsd-2-1-RC4:1.4 netbsd-2-1-RC3:1.4 netbsd-2-1-RC2:1.4 netbsd-2-1-RC1:1.4 yamt-lazymbuf:1.5.0.4 yamt-km-base4:1.5 netbsd-2-0-2-RELEASE:1.4 yamt-km-base3:1.5 netbsd-3:1.5.0.2 netbsd-3-base:1.5 yamt-km-base2:1.4 yamt-km:1.4.0.10 yamt-km-base:1.4 kent-audio2:1.4.0.8 kent-audio2-base:1.5 netbsd-2-0-1-RELEASE:1.4 kent-audio1-beforemerge:1.4 netbsd-2:1.4.0.6 netbsd-2-base:1.4 kent-audio1:1.4.0.4 kent-audio1-base:1.4 netbsd-2-0-RELEASE:1.4 netbsd-2-0-RC5:1.4 netbsd-2-0-RC4:1.4 netbsd-2-0-RC3:1.4 netbsd-2-0-RC2:1.4 netbsd-2-0-RC1:1.4 netbsd-2-0:1.4.0.2 netbsd-2-0-base:1.4 netbsd-1-6-PATCH002-RELEASE:1.3 netbsd-1-6-PATCH002:1.3 netbsd-1-6-PATCH002-RC4:1.3 netbsd-1-6-PATCH002-RC3:1.3 netbsd-1-6-PATCH002-RC2:1.3 netbsd-1-6-PATCH002-RC1:1.3 ktrace-lwp:1.3.0.22 ktrace-lwp-base:1.5 netbsd-1-6-PATCH001:1.3 netbsd-1-6-PATCH001-RELEASE:1.3 netbsd-1-6-PATCH001-RC3:1.3 netbsd-1-6-PATCH001-RC2:1.3 netbsd-1-6-PATCH001-RC1:1.3 nathanw_sa_end:1.2.4.1 nathanw_sa_before_merge:1.3 fvdl_fs64_base:1.3 gmcgarry_ctxsw:1.3.0.20 gmcgarry_ctxsw_base:1.3 gmcgarry_ucred:1.3.0.18 gmcgarry_ucred_base:1.3 nathanw_sa_base:1.3 kqueue-aftermerge:1.3 kqueue-beforemerge:1.3 netbsd-1-6-RELEASE:1.3 netbsd-1-6-RC3:1.3 netbsd-1-6-RC2:1.3 netbsd-1-6-RC1:1.3 netbsd-1-6:1.3.0.16 netbsd-1-6-base:1.3 gehenna-devsw:1.3.0.14 gehenna-devsw-base:1.3 eeh-devprop:1.3.0.12 eeh-devprop-base:1.3 newlock:1.3.0.10 newlock-base:1.3 ifpoll-base:1.3 thorpej-mips-cache:1.3.0.6 thorpej-mips-cache-base:1.3 thorpej-devvp-base3:1.3 thorpej-devvp-base2:1.3 post-chs-ubcperf:1.3 pre-chs-ubcperf:1.3 thorpej-devvp:1.3.0.4 thorpej-devvp-base:1.3 kqueue:1.3.0.2 kqueue-base:1.3 thorpej_scsipi_beforemerge:1.3 nathanw_sa:1.2.0.4 thorpej_scsipi_nbase:1.3 thorpej_scsipi_base:1.3 thorpej_scsipi:1.2.0.2 kame_15_20001214:1.1.1.1 kame:1.1.1; locks; strict; comment @ * @; 1.7 date 2006.10.12.19.59.08; author peter; state Exp; branches; next 1.6; 1.6 date 2005.12.11.12.16.03; author christos; state Exp; branches 1.6.12.1 1.6.20.1 1.6.22.1; next 1.5; 1.5 date 2005.02.26.23.04.16; author perry; state Exp; branches 1.5.4.1; next 1.4; 1.4 date 2003.11.09.22.11.12; author christos; state Exp; branches 1.4.8.1 1.4.10.1; next 1.3; 1.3 date 2001.04.13.23.29.56; author thorpej; state Exp; branches 1.3.22.1; next 1.2; 1.2 date 2000.12.14.08.49.51; author thorpej; state Exp; branches 1.2.2.1 1.2.4.1; next 1.1; 1.1 date 2000.12.14.08.42.41; author thorpej; state Exp; branches 1.1.1.1; next ; 1.6.12.1 date 2006.03.18.12.08.18; author peter; state Exp; branches; next ; 1.6.20.1 date 2006.11.18.21.39.03; author ad; state Exp; branches; next ; 1.6.22.1 date 2006.10.22.06.04.30; author yamt; state Exp; branches; next ; 1.5.4.1 date 2006.12.30.20.45.17; author yamt; state Exp; branches; next ; 1.4.8.1 date 2005.04.29.11.27.58; author kent; state Exp; branches; next ; 1.4.10.1 date 2005.03.19.08.32.44; author yamt; state Exp; branches; next ; 1.3.22.1 date 2004.08.03.10.30.47; author skrll; state Exp; branches; next 1.3.22.2; 1.3.22.2 date 2004.09.18.14.30.29; author skrll; state Exp; branches; next 1.3.22.3; 1.3.22.3 date 2004.09.21.13.11.19; author skrll; state Exp; branches; next 1.3.22.4; 1.3.22.4 date 2005.03.04.16.38.00; author skrll; state Exp; branches; next ; 1.2.2.1 date 2000.12.14.08.49.51; author bouyer; state dead; branches; next 1.2.2.2; 1.2.2.2 date 2001.01.05.17.39.37; author bouyer; state Exp; branches; next 1.2.2.3; 1.2.2.3 date 2001.04.21.17.46.12; author bouyer; state Exp; branches; next ; 1.2.4.1 date 2001.06.21.18.12.49; author nathanw; state Exp; branches; next ; 1.1.1.1 date 2000.12.14.08.42.41; author thorpej; state Exp; branches; next ; desc @@ 1.7 log @Merge the peter-altq branch. (sync with KAME & add support for using ALTQ with pf(4)). @ text @/* $NetBSD: altq_rmclass_debug.h,v 1.6.12.1 2006/03/18 12:08:18 peter Exp $ */ /* $KAME: altq_rmclass_debug.h,v 1.3 2002/11/29 04:36:24 kjc Exp $ */ /* * Copyright (c) Sun Microsystems, Inc. 1998 All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the SMCC Technology * Development Group at Sun Microsystems, Inc. * * 4. The name of the Sun Microsystems, Inc nor may not be used to endorse or * promote products derived from this software without specific prior * written permission. * * SUN MICROSYSTEMS DOES NOT CLAIM MERCHANTABILITY OF THIS SOFTWARE OR THE * SUITABILITY OF THIS SOFTWARE FOR ANY PARTICULAR PURPOSE. The software is * provided "as is" without express or implied warranty of any kind. * * These notices must be retained in any copies of any part of this software. */ #ifndef _ALTQ_ALTQ_RMCLASS_DEBUG_H_ #define _ALTQ_ALTQ_RMCLASS_DEBUG_H_ /* #pragma ident "@@(#)rm_class_debug.h 1.7 98/05/04 SMI" */ /* * Cbq debugging macros */ #ifdef __cplusplus extern "C" { #endif #ifdef CBQ_TRACE #ifndef NCBQTRACE #define NCBQTRACE (16 * 1024) #endif /* * To view the trace output, using adb, type: * adb -k /dev/ksyms /dev/mem , then type * cbqtrace_count/D to get the count, then type * cbqtrace_buffer,0tcount/Dp4C" "Xn * This will dump the trace buffer from 0 to count. */ /* * in ALTQ, "call cbqtrace_dump(N)" from DDB to display 20 events * from Nth event in the circular buffer. */ struct cbqtrace { int count; int function; /* address of function */ int trace_action; /* descriptive 4 characters */ int object; /* object operated on */ }; extern struct cbqtrace cbqtrace_buffer[]; extern struct cbqtrace *cbqtrace_ptr; extern int cbqtrace_count; #define CBQTRACEINIT() { \ if (cbqtrace_ptr == NULL) \ cbqtrace_ptr = cbqtrace_buffer; \ else { \ cbqtrace_ptr = cbqtrace_buffer; \ (void)memset(cbqtrace_ptr, 0, sizeof(cbqtrace_buffer)); \ cbqtrace_count = 0; \ } \ } #define LOCK_TRACE() splnet() #define UNLOCK_TRACE(x) splx(x) #define CBQTRACE(func, act, obj) { \ int __s = LOCK_TRACE(); \ int *_p = &cbqtrace_ptr->count; \ *_p++ = ++cbqtrace_count; \ *_p++ = (int)(func); \ *_p++ = (int)(act); \ *_p++ = (int)(obj); \ if ((struct cbqtrace *)(void *)_p >= &cbqtrace_buffer[NCBQTRACE])\ cbqtrace_ptr = cbqtrace_buffer; \ else \ cbqtrace_ptr = (struct cbqtrace *)(void *)_p; \ UNLOCK_TRACE(__s); \ } #else /* If no tracing, define no-ops */ #define CBQTRACEINIT() #define CBQTRACE(a, b, c) #endif /* !CBQ_TRACE */ #ifdef __cplusplus } #endif #endif /* _ALTQ_ALTQ_RMCLASS_DEBUG_H_ */ @ 1.6 log @merge ktrace-lwp. @ text @d1 2 a2 2 /* $NetBSD: altq_rmclass_debug.h,v 1.3.22.4 2005/03/04 16:38:00 skrll Exp $ */ /* $KAME: altq_rmclass_debug.h,v 1.2 2000/02/22 14:00:35 itojun Exp $ */ @ 1.6.20.1 log @Sync with head. @ text @d1 2 a2 2 /* $NetBSD: altq_rmclass_debug.h,v 1.7 2006/10/12 19:59:08 peter Exp $ */ /* $KAME: altq_rmclass_debug.h,v 1.3 2002/11/29 04:36:24 kjc Exp $ */ @ 1.6.22.1 log @sync with head @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_rmclass_debug.h,v 1.3 2002/11/29 04:36:24 kjc Exp $ */ @ 1.6.12.1 log @Sync with KAME. @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_rmclass_debug.h,v 1.3 2002/11/29 04:36:24 kjc Exp $ */ @ 1.5 log @nuke trailing whitespace @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.4 2003/11/09 22:11:12 christos Exp $ */ @ 1.5.4.1 log @sync with head. @ text @d1 2 a2 2 /* $NetBSD$ */ /* $KAME: altq_rmclass_debug.h,v 1.3 2002/11/29 04:36:24 kjc Exp $ */ @ 1.4 log @- kill bzero/bcopy - defopt stats and settings, removing their definitions from the files - make code compile by eliminating multicharacter constants!?! and rearranging variable declarations so they are defined before used!?! - help gcc with uninitialized variables @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.3 2001/04/13 23:29:56 thorpej Exp $ */ d30 1 a30 1 * @ 1.4.8.1 log @sync with -current @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.5 2005/02/26 23:04:16 perry Exp $ */ d30 1 a30 1 * @ 1.4.10.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.4 2003/11/09 22:11:12 christos Exp $ */ d30 1 a30 1 * @ 1.3 log @Remove the use of splimp() from the NetBSD kernel. splnet() and only splnet() is allowed for the protection of data structures used by network devices. @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.2 2000/12/14 08:49:51 thorpej Exp $ */ d80 1 a80 1 bzero((void *)cbqtrace_ptr, sizeof(cbqtrace_buffer)); \ @ 1.3.22.1 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.4 2003/11/09 22:11:12 christos Exp $ */ d80 1 a80 1 (void)memset(cbqtrace_ptr, 0, sizeof(cbqtrace_buffer)); \ @ 1.3.22.2 log @Sync with HEAD. @ text @@ 1.3.22.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.3.22.1 2004/08/03 10:30:47 skrll Exp $ */ @ 1.3.22.4 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.3.22.3 2004/09/21 13:11:19 skrll Exp $ */ d30 1 a30 1 * @ 1.2 log @Add NetBSD RCS IDs. @ text @d1 1 a1 1 /* $NetBSD$ */ d85 1 a85 1 #define LOCK_TRACE() splimp() @ 1.2.2.1 log @file altq_rmclass_debug.h was added on branch thorpej_scsipi on 2001-01-05 17:39:37 +0000 @ text @d1 113 @ 1.2.2.2 log @Sync with HEAD @ text @a0 113 /* $NetBSD: altq_rmclass_debug.h,v 1.2.2.1 2001/01/05 17:39:37 bouyer Exp $ */ /* $KAME: altq_rmclass_debug.h,v 1.2 2000/02/22 14:00:35 itojun Exp $ */ /* * Copyright (c) Sun Microsystems, Inc. 1998 All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the SMCC Technology * Development Group at Sun Microsystems, Inc. * * 4. The name of the Sun Microsystems, Inc nor may not be used to endorse or * promote products derived from this software without specific prior * written permission. * * SUN MICROSYSTEMS DOES NOT CLAIM MERCHANTABILITY OF THIS SOFTWARE OR THE * SUITABILITY OF THIS SOFTWARE FOR ANY PARTICULAR PURPOSE. The software is * provided "as is" without express or implied warranty of any kind. * * These notices must be retained in any copies of any part of this software. */ #ifndef _ALTQ_ALTQ_RMCLASS_DEBUG_H_ #define _ALTQ_ALTQ_RMCLASS_DEBUG_H_ /* #pragma ident "@@(#)rm_class_debug.h 1.7 98/05/04 SMI" */ /* * Cbq debugging macros */ #ifdef __cplusplus extern "C" { #endif #ifdef CBQ_TRACE #ifndef NCBQTRACE #define NCBQTRACE (16 * 1024) #endif /* * To view the trace output, using adb, type: * adb -k /dev/ksyms /dev/mem , then type * cbqtrace_count/D to get the count, then type * cbqtrace_buffer,0tcount/Dp4C" "Xn * This will dump the trace buffer from 0 to count. */ /* * in ALTQ, "call cbqtrace_dump(N)" from DDB to display 20 events * from Nth event in the circular buffer. */ struct cbqtrace { int count; int function; /* address of function */ int trace_action; /* descriptive 4 characters */ int object; /* object operated on */ }; extern struct cbqtrace cbqtrace_buffer[]; extern struct cbqtrace *cbqtrace_ptr; extern int cbqtrace_count; #define CBQTRACEINIT() { \ if (cbqtrace_ptr == NULL) \ cbqtrace_ptr = cbqtrace_buffer; \ else { \ cbqtrace_ptr = cbqtrace_buffer; \ bzero((void *)cbqtrace_ptr, sizeof(cbqtrace_buffer)); \ cbqtrace_count = 0; \ } \ } #define LOCK_TRACE() splimp() #define UNLOCK_TRACE(x) splx(x) #define CBQTRACE(func, act, obj) { \ int __s = LOCK_TRACE(); \ int *_p = &cbqtrace_ptr->count; \ *_p++ = ++cbqtrace_count; \ *_p++ = (int)(func); \ *_p++ = (int)(act); \ *_p++ = (int)(obj); \ if ((struct cbqtrace *)(void *)_p >= &cbqtrace_buffer[NCBQTRACE])\ cbqtrace_ptr = cbqtrace_buffer; \ else \ cbqtrace_ptr = (struct cbqtrace *)(void *)_p; \ UNLOCK_TRACE(__s); \ } #else /* If no tracing, define no-ops */ #define CBQTRACEINIT() #define CBQTRACE(a, b, c) #endif /* !CBQ_TRACE */ #ifdef __cplusplus } #endif #endif /* _ALTQ_ALTQ_RMCLASS_DEBUG_H_ */ @ 1.2.2.3 log @Sync with HEAD @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.2.2.2 2001/04/21 17:46:12 bouyer Exp $ */ d85 1 a85 1 #define LOCK_TRACE() splnet() @ 1.2.4.1 log @Catch up to -current. @ text @d1 1 a1 1 /* $NetBSD: altq_rmclass_debug.h,v 1.2 2000/12/14 08:49:51 thorpej Exp $ */ d85 1 a85 1 #define LOCK_TRACE() splnet() @ 1.1 log @Initial revision @ text @d1 1 @ 1.1.1.1 log @Import ALTQ from KAME. @ text @@