ad
5c3b2b3f2d
Merge ffs locking & brelse changes from the vmlocking branch.
2007-10-08 18:01:27 +00:00
elad
1e70d64818
Consistent usage of KAUTH_GENERIC_ISSUSER.
2007-01-04 16:55:29 +00:00
chs
975004d9f1
several ext2fs fixes provided by Barry Bouwsma:
...
- set ip->i_e2fs_dtime to time_second, not time_uptime.
- don't allow ipref to go negative
- fs->e2fs.e2fs_icount is a valid inode number, allow it.
2006-12-09 22:07:48 +00:00
christos
168cd830d2
__unused removal on arguments; approved by core.
2006-11-16 01:32:37 +00:00
christos
4d595fd7b1
- sprinkle __unused on function decls.
...
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
kardel
de4337ab21
merge FreeBSD timecounters from branch simonb-timecounters
...
- struct timeval time is gone
time.tv_sec -> time_second
- struct timeval mono_time is gone
mono_time.tv_sec -> time_uptime
- access to time via
{get,}{micro,nano,bin}time()
get* versions are fast but less precise
- support NTP nanokernel implementation (NTP API 4)
- further reading:
Timecounter Paper: http://phk.freebsd.dk/pubs/timecounter.pdf
NTP Nanokernel: http://www.eecis.udel.edu/~mills/ntp/html/kern.html
2006-06-07 22:33:33 +00:00
elad
fc9422c9d9
integrate kauth.
2006-05-14 21:31:52 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
yamt
a748ea88dd
merge yamt-vop branch. remove following VOPs.
...
VOP_BLKATOFF
VOP_VALLOC
VOP_BALLOC
VOP_REALLOCBLKS
VOP_VFREE
VOP_TRUNCATE
VOP_UPDATE
2005-11-02 12:38:58 +00:00
xtraeme
23ebf62d26
* Remove __P()
...
* Use ANSI function declarations on ext2fs and mfs
2005-08-30 22:01:12 +00:00
christos
50f8955b6e
64 bit inode changes.
2005-08-19 02:04:03 +00:00
christos
273df63602
- sprinkle const
...
- avoid shadow variables.
2005-05-29 21:25:24 +00:00
perry
bcfcddbac1
nuke trailing whitespace
2005-02-26 22:31:44 +00:00
bouyer
35decc6ed6
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
2004-03-22 19:23:08 +00:00
bouyer
7b066791c8
Remove references to University of California from my copyright notices.
2003-10-05 17:48:49 +00:00
agc
aad01611e7
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
fvdl
d5aece61d6
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
...
and need to be examined and discussed more.
2003-06-29 22:28:00 +00:00
thorpej
a06b275edc
Undo part of the ktrace/lwp changes. In particular:
...
* Remove the "lwp *" argument that was added to vget(). Turns out
that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
just to appease the above.
2003-06-29 18:43:21 +00:00
darrenr
960df3c8d1
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
2003-06-28 14:20:43 +00:00
gmcgarry
0645f99b01
More ufs2 merge fall-out. Pass the correct pointer to the dinode
...
for clearing. Fixes PR#21241.
2003-04-24 08:05:35 +00:00
fvdl
a3ff3a3038
Bump daddr_t to 64 bits. Replace it with int32_t in all places where
...
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
lukem
ec6245465a
add RCSID
2001-11-08 02:39:06 +00:00
lukem
99147a7648
remove #include <ufs/ufs/quota.h> where it was just to appease
...
<ufs/ufs/inode.h>, since the latter now includes the former. leave the former
in source that obviously uses specific bits of it (for completeness.)
2001-10-26 05:56:06 +00:00
wiz
251b3464be
heirarchy -> hierarchy
2001-08-24 10:24:45 +00:00
toshii
4866f1a22b
Fix typo. s/extention/extension/
2001-07-05 08:38:24 +00:00
mrg
419501093a
remove include of <vm/vm.h> and <uvm/uvm_extern.h>
2000-06-28 14:16:37 +00:00
thorpej
f636538446
NULL != 0
2000-05-19 04:34:39 +00:00
augustss
169ac5b3c1
Remove register declarations.
2000-03-30 12:41:09 +00:00
bouyer
22d556f6cf
Make sure a buffer optained from bread() is always bresle()'d in case of
...
error. Closes PR kern/1448 from Wolfgang Solfrank.
1999-02-10 13:14:08 +00:00
thorpej
978c3d97f5
For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead
...
of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
1998-10-23 00:33:23 +00:00
perry
27ca6798df
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-09 20:15:38 +00:00
fvdl
e5bc90f40c
Merge with Lite2 + local changes
1998-03-01 02:20:01 +00:00
bouyer
6ab3092b11
Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
...
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
bouyer
9e3c291da4
The ext2fs layer, based on the ffs/ufs one. Uses a few functions from
...
sys/ufs/ufs/
1997-06-11 09:33:37 +00:00