cegger
b8817e4aed
ansify function definitions
2009-03-15 17:14:40 +00:00
dsl
454af1c0e8
Change about 4500 of the K&R function definitions to ANSI ones.
...
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
2009-03-14 15:35:58 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
cegger
9b87d582bd
kill MALLOC and FREE macros.
2008-12-17 20:51:31 +00:00
ad
e071d39c84
- Convert hashinit() to use kmem_alloc(). The hash tables can be large
...
and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.
2008-05-05 17:11:16 +00:00
ad
3490efcc63
Replace struct lock on vnodes with a simpler lock object built on
...
krwlock_t. This is a step towards removing lockmgr and simplifying
vnode locking. Discussed on tech-kern.
2008-01-30 09:50:19 +00:00
ad
4a780c9ae2
Merge vmlocking2 to head.
2008-01-02 11:48:20 +00:00
ad
7dad9f7391
Merge from vmlocking:
...
- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.
2007-10-10 20:42:20 +00:00
ad
0b43c20288
Remove useless cast.
2007-03-11 22:07:32 +00:00
ad
b89010bfa3
Destroy the hash locks on final unmount.
2007-02-27 16:11:51 +00:00
ad
9abeea588a
Replace some uses of lockmgr() / simplelocks.
2007-02-15 15:40:50 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
xtraeme
af97f2e875
Remove __P()
2005-08-30 20:08:01 +00:00
perry
477853c351
nuke trailing whitespace
2005-02-26 22:58:54 +00:00
cl
a2a2784bfd
remove code no longer needed since the type/permission information
...
is available in the entry's struct kern_target and every entry has a
(possibly shared) struct kern_target now.
2004-05-07 15:20:29 +00:00
darcy
566d30be44
Changes as discussed with itojun on tech-kern. I have modified the enums
...
to have KFS or PFS differentiators. Further I have wrapped the enum in
procfs in "#ifdef _KERNEL" as it is done in kernfs.
To see the discussion go to http://mail-index.NetBSD.org/tech-kern/2003/09/
and look for "Mismatched enums in include files" in the list.
2003-09-27 13:29:02 +00:00
atatat
ce41526125
Make kernfs peacefully co-exist with procfs.
2003-09-26 03:08:18 +00:00
itojun
e0517a16a6
fix permission of /kern/hostname to 0644
2003-09-10 03:42:07 +00:00
dan
843d91726f
test against kt to get the right node of the given type, from enami@
2003-09-10 03:31:29 +00:00
itojun
8ca90bd4e4
add /kern/ipsecsa and /kern/ipsecsp, which can be inspected by setkey(8).
...
it allows easier access to ipsecsa/sp. it works around problem where
setkey -D does not work with large number of ipsec SAs due to socket buffer
size.
2003-09-08 06:51:53 +00:00