summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs/nwfs_subr.c
Commit message (Collapse)AuthorAgeFilesLines
* Garbage collect NWFS and NCP bits which are now completely disconnectedattilio2013-03-091-553/+0
| | | | | | from the tree since few months. This patch is not targeted for MFC.
* Switch to our preferred 2-clause BSD license.joel2010-04-071-6/+0
| | | | Approved by: bp
* Remove unused local variables.bz2009-01-311-2/+0
| | | | | | Submitted by: Christoph Mallon christoph.mallon@gmx.de Reviewed by: kib MFC after: 2 weeks
* - Handle buffer lock waiters count directly in the buffer cache insteadattilio2008-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | than rely on the lockmgr support [1]: * bump the waiters only if the interlock is held * let brelvp() return the waiters count * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check for the waiters number - Remove a namespace pollution introduced recently with lockmgr.h including lock.h by including lock.h directly in the consumers and making it mandatory for using lockmgr. - Modify flags accepted by lockinit(): * introduce LK_NOPROFILE which disables lock profiling for the specified lockmgr * introduce LK_QUIET which disables ktr tracing for the specified lockmgr [2] * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it can only be used on a per-instance basis - Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer used This patch breaks KPI so __FreBSD_version will be bumped and manpages updated by further commits. Additively, 'struct buf' changes results in a disturbed ABI also. [2] Really, currently there is no ktr tracing in the lockmgr, but it will be added soon. [1] Submitted by: kib Tested by: pho, Andrea Barberio <insomniac at slackware dot it>
* Drop crummy fattime to timespec conversion routines.phk2006-10-241-163/+12
| | | | Leave a XXX here for anybody able to test.
* Use utc_offset() where applicable, and hide the internals of itphk2006-10-021-5/+3
| | | | as static variables.
* First part of a little cleanup in the calendar/timezone/RTC handling.phk2006-10-021-0/+1
| | | | | | Move relevant variables to <sys/clock.h> and fix #includes as necessary. Use libkern's much more time- & spamce-efficient BCD routines.
* Normalize a significant number of kernel malloc type names:rwatson2005-10-311-1/+1
| | | | | | | | | | | | | | | | | | | - Prefer '_' to ' ', as it results in more easily parsed results in memory monitoring tools such as vmstat. - Remove punctuation that is incompatible with using memory type names as file names, such as '/' characters. - Disambiguate some collisions by adding subsystem prefixes to some memory types. - Generally prefer lower case to upper case. - If the same type is defined in multiple architecture directories, attempt to use the same name in additional cases. Not all instances were caught in this change, so more work is required to finish this conversion. Similar changes are required for UMA zone names.
* Do not dereference dvp pointer before doing a NULL check.kan2005-05-111-1/+2
| | | | Noticed by: Coverity Prevent analysis tool.
* /* -> /*- for copyright notices, minor format tweaks as necessaryimp2005-01-061-1/+1
|
* Split the global timezone structure into two integer fields tophk2003-02-031-2/+2
| | | | | | | | | | prevent the compiler from optimizing assignments into byte-copy operations which might make access to the individual fields non-atomic. Use the individual fields throughout, and don't bother locking them with Giant: it is no longer needed. Inspired by: tjr
* Add a missing #include <sys/lockmgr.h>.iedowse2002-09-011-0/+1
|
* Update to C99, s/__FUNCTION__/__func__/,obrien2001-12-101-1/+1
| | | | also don't use ANSI string concatenation.
* KSE Milestone 2julian2001-09-121-33/+33
| | | | | | | | | | | | | | Note ALL MODULES MUST BE RECOMPILED make the kernel aware that there are smaller units of scheduling than the process. (but only allow one thread per process at this time). This is functionally equivalent to teh previousl -current except that there is a thread associated with each process. Sorry john! (your next MFC will be a doosie!) Reviewed by: peter@freebsd.org, dillon@freebsd.org X-MFC after: ha ha ha ha
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-261-3/+3
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Slightly reorganize allocation of new vnode. Use bit NVOLUME to detectedbp2001-03-101-1/+1
| | | | | vnodes which represent volumes (before it was done via strcmp()). Turn n_refparent into bit in the n_flag field.
* Synch with changes in the NCP requester.bp2001-03-101-178/+223
|
* Get rid from the legacy __P() macro. Remove 'register' keywords.bp2000-10-021-2/+2
|
* Try to obtain timezone offset from an environment of mount program.bp2000-04-051-10/+10
| | | | This helps in cases where CMOS clock set to UTC time.
* Remove unnessary includes.bp1999-10-121-3/+0
|
* Import kernel part of ncplib: netncp and nwfsbp1999-10-021-0/+669
Reviewed by: msmith, peter Obtained from: ncplib
OpenPOWER on IntegriCloud