zfs/modules/splat
behlendo e4f1d29f89 OK, some pretty substantial rework here. I've merged the spl-file
stuff which only inclused the getf()/releasef() in to the vnode area
where it will only really be used.  These calls allow a user to
grab an open file struct given only the known open fd for a particular
user context.  ZFS makes use of these, but they're a bit tricky to
test from within the kernel since you already need the file open
and know the fd.  So we basically spook the system calls to setup
the environment we need for the splat test case and verify given
just the know fd we can get the file, create the needed vnode, and
then use the vnode interface as usual to read and write from it.

While I was hacking away I also noticed a NULL termination issue
in the second kobj test case so I fixed that too.  In fact, I fixed
a few other things as well but all for the best!



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@51 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
2008-03-18 23:20:30 +00:00
..
Makefile.in OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
splat-condvar.c More cleanup. 2008-02-27 23:42:31 +00:00
splat-ctl.c OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
splat-internal.h OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
splat-kmem.c Fix kmem memory accounting 2008-03-14 20:56:26 +00:00
splat-kobj.c OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00
splat-mutex.c More cleanup. 2008-02-27 23:42:31 +00:00
splat-random.c More cleanup. 2008-02-27 23:42:31 +00:00
splat-rwlock.c More cleanup. 2008-02-27 23:42:31 +00:00
splat-taskq.c Fix systemic naming mistake 2008-03-10 19:04:14 +00:00
splat-thread.c Add highbit func, 2008-03-06 23:12:55 +00:00
splat-time.c More cleanup. 2008-02-27 23:42:31 +00:00
splat-vnode.c OK, some pretty substantial rework here. I've merged the spl-file 2008-03-18 23:20:30 +00:00