The NetBSD Project

CVS log for src/sys/netsmb/Attic/smb_rq.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / netsmb

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.37, Sat Apr 4 15:43:22 2020 UTC (7 weeks, 3 days ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, HEAD
Changes since 1.36: +2 -2 lines
FILE REMOVED

remove SMBFS and nsmb(4) - kernel part

it's unmaintained and supports only obsolete SMB1

Revision 1.36 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:36 2018 UTC (20 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, netbsd-9-base, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.35 / (download) - annotate - [select for diffs], Mon Aug 15 08:17:35 2016 UTC (3 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.34: +4 -4 lines
Diff to previous 1.34 (colored)

Uninitialized vars, found by brainy

Revision 1.34 / (download) - annotate - [select for diffs], Fri Dec 17 13:05:29 2010 UTC (9 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, khorben-n900, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.33: +2 -5 lines
Diff to previous 1.33 (colored)

unifdef -D__NetBSD__

Revision 1.33 / (download) - annotate - [select for diffs], Sat Sep 12 12:52:21 2009 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: rmind-uvmplock
Changes since 1.32: +19 -18 lines
Diff to previous 1.32 (colored)

Convert POOL_INITs to proper cons/destructors.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 6 11:46:49 2009 UTC (10 years, 10 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, jymxensuspend-base
Changes since 1.31: +6 -3 lines
Diff to previous 1.31 (colored)

Do initialise the callout when fetching a new request structure from
the pool, not when starting the timer. Likewise, destroy the callout
when giving back the item to the pool.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Mar 18 16:00:24 2009 UTC (11 years, 2 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

bzero -> memset

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jun 24 10:37:19 2008 UTC (11 years, 11 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Changes since 1.29: +11 -11 lines
Diff to previous 1.29 (colored)

Remove gcc variadic macros with comma elimination.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:03 2008 UTC (12 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

Merge vmlocking2 to head.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Mar 12 18:18:36 2007 UTC (13 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.27: +6 -6 lines
Diff to previous 1.27 (colored)

Pass an ipl argument to pool_init/POOL_INIT to be used when initializing
the pool's lock.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:16 2005 UTC (14 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, vmlocking
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

merge ktrace-lwp.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 26 22:39:50 2005 UTC (15 years, 3 months ago) by perry
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.25: +5 -5 lines
Diff to previous 1.25 (colored)

nuke trailing whitespace

Revision 1.25 / (download) - annotate - [select for diffs], Sun Apr 25 16:42:42 2004 UTC (16 years, 1 month ago) by simonb
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.24: +10 -4 lines
Diff to previous 1.24 (colored)

Initialise (most) pools from a link set instead of explicit calls
to pool_init.  Untouched pools are ones that either in arch-specific
code, or aren't initialiased during initial system startup.

 Convert struct session, ucred and lockf to pools.

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 29 22:32:10 2003 UTC (16 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Branch point for: ktrace-lwp
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:15 2003 UTC (16 years, 11 months ago) by darrenr
Branch: MAIN
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 8 21:10:33 2003 UTC (17 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.21: +7 -3 lines
Diff to previous 1.21 (colored)

add a comment on SMB packet PID purpose to smb_rq_new()
adjust the commented out code to be compilable, but keep using '1' as the PID

Revision 1.21 / (download) - annotate - [select for diffs], Tue Apr 8 18:13:41 2003 UTC (17 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

fix pasto in smb_rq_setcallback(), mistakely used SMBRQ_SLOCK() instead
of SMBRQ_SUNLOCK()
found during LOCKDEBUG PR kern/21067 hunt

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 7 19:35:40 2003 UTC (17 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.19: +25 -15 lines
Diff to previous 1.19 (colored)

use pools instead of malloc(9) for allocation of smb request structures

convert all code to use smb_{rq|t2}_alloc() instead of allocating
structures on stack, make smb_rq_init()/smb_t2_init() static and not
exported outside smb_rq.c

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 7 11:23:02 2003 UTC (17 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.18: +12 -6 lines
Diff to previous 1.18 (colored)

add support for asynchronous execution of SMB requests:
* add receive hook - if set, this function is called when request is finished
* unstatic smb_rq_enqueue(), smb_rq_reply() so that code can use that
  independant of smb_rq_simple() et al
this is needed for NT DIRECTORY CHANGE NOTIFY SMB, since they typically
take very long to complete and we want to be able to use single kernel thread
to handle them all

add support for 'nowait' requests (flag SMBR_NOWAIT), which don't expect
and answer from server and are marked as 'processed' immediatelly
after they are sent to server - needed for NT CANCEL SMB

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 2 15:01:52 2003 UTC (17 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.17: +4 -6 lines
Diff to previous 1.17 (colored)

we now use rqp->sr_timo for request timeout value, so don't
reset it in smb_rq_simple(); 5 ticks (vc_timo) would be generally
too small timeout anyway

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 30 11:58:17 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

use callout for request timeout, so that it could expire independantly
of iod calling smb_iod_sendall()
g/c now unneeded request timeout expire check from smb_iod_sendall()

make it possible to override default request timeout - set timeout
value in smb_rq_init() to default value, caller can adjust the value
before calling smb_iod_sendrq(); value <=0  means no timeout

Revision 1.16 / (download) - annotate - [select for diffs], Mon Mar 24 07:51:04 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

fix pasto in smb_t2_request() - t2_flags use SMBT2_RESTART, not SMBR_RESTART

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 23 16:57:51 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.14: +9 -7 lines
Diff to previous 1.14 (colored)

struct smb_rq diet - g/c unused structure members, and move some stuff
around to not waste space with alignment padding

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 23 16:46:41 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

md_get_uint16le() doesn't like NULL target; change to md_get_uint16()

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 23 11:43:09 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.12: +13 -15 lines
Diff to previous 1.12 (colored)

smb_rq_reply():
* no need to use dummy variables for md_get_*(), just use NULL
* don't bother storing rpflags/rpflags2, it's not used anywhere
* g/c local variable rperror

Revision 1.12 / (download) - annotate - [select for diffs], Sun Mar 23 08:30:37 2003 UTC (17 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.11: +3 -5 lines
Diff to previous 1.11 (colored)

smb_rq_new(): use MB_MZERO instead of MB_MSYSTEM+dummy tzero[]

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 26 19:30:52 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

prefix tsleep() wmesg with 'smb', rather than '90'
drop #ifndef __NetBSD__ msleep() code, it only obfuscates the code

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 25 09:12:11 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

add __KERNEL_RCSID

Revision 1.9 / (download) - annotate - [select for diffs], Mon Feb 24 21:13:13 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.8: +18 -19 lines
Diff to previous 1.8 (colored)

make sure sr_bcount, sr_rqtid and sr_rquid are wrote in alignment-safe way
problem pointed out by Martin Husemann

while here, turn some checks/SMBERROR()s to #ifdef DIAGNOSTIC panic()s

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 24 19:31:45 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

make M_SMBRQ static

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 21 19:52:58 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.6: +7 -10 lines
Diff to previous 1.6 (colored)

smb_rq_enqueue(): use classic plain interruptible sleep instead
of noniterruptible sleep + smb_proc_intr()

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 18 11:21:01 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

disable debug printf mistakely enabled in previous commit

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 18 10:20:50 2003 UTC (17 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.4: +18 -18 lines
Diff to previous 1.4 (colored)

smb_rq_bend(): s/htoles/htole16/
smb_rq_reply(): don't bother saving error from md_get_* call when it's ignored

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 1 06:23:48 2003 UTC (17 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 4 02:39:43 2002 UTC (18 years, 4 months ago) by deberg
Branch: MAIN
CVS Tags: newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.2: +231 -523 lines
Diff to previous 1.2 (colored)

resolve conflicts

Revision 1.2 / (download) - annotate - [select for diffs], Tue Nov 13 01:04:47 2001 UTC (18 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.1: +4 -1 lines
Diff to previous 1.1 (colored)

add RCSIDs

Revision 1.1 / (download) - annotate - [select for diffs], Thu Dec 7 03:48:10 2000 UTC (19 years, 5 months ago) by deberg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej_scsipi, nathanw_sa, kqueue

initial stab at SMB stack, needed for smbfs.  originally for freebsd by
boris popov, first ported to 1.4 branch by Christian Limpach
<chris@nice.ch>.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>