hp_ux11i, hp_ux110, hp_ux1123 (See notes below for information on
getting missing header)
hp_ux102 (Client port possible, but db servers and utilities work)
- i386_fbsd_42, i386_fbsd_43, i386_fbsd_44, i386_fbsd_45,
- i386_fbsd_46, i386_fbsd_47, i386_fbsd_50, i386_fbsd_51,
- i386_fbsd_52, i386_fbsd_53, i386_fbsd_60, i386_fbsd_61,
- i386_fbsd_62, i386_fbsd_70, i386_fbsd_80
- (client may work on 70)
+ i386_fbsd_50, i386_fbsd_51, i386_fbsd_52, i386_fbsd_53,
+ i386_fbsd_60, i386_fbsd_61, i386_fbsd_62, i386_fbsd_70,
+ i386_fbsd_80, i386_fbsd_81, i386_fbsd_90, amd64_fbsd_50,
+ amd64_fbsd_51, amd64_fbsd_52, amd64_fbsd_53, amd64_fbsd_60,
+ amd64_fbsd_61, amd64_fbsd_62, amd64_fbsd_70, amd64_fbsd_80,
+ amd64_fbsd_81, amd64_fbsd_90
+ (client may work on 70 and later)
i386_linux22, i386_linux24, i386_linux26
i386_nbsd15, i386_nbsd16, i386_nbsd20, i386_nbsd21, i386_nbsd30,
i386_nbsd40
BSD_KERNEL_BUILD="$with_bsd_kernel_build"
else
case $AFS_SYSNAME in
- *_fbsd_4?)
- BSD_KERNEL_BUILD="${BSD_KERNEL_PATH}/compile/GENERIC"
- ;;
*_fbsd_*)
BSD_KERNEL_BUILD="${BSD_KERNEL_PATH}/${HOST_CPU}/compile/GENERIC"
;;
osi_Panic("UFSOpen called for non-UFS cache\n");
afile = (struct osi_file *)osi_AllocSmallSpace(sizeof(struct osi_file));
AFS_GUNLOCK();
-#if defined(AFS_FBSD50_ENV)
code = VFS_VGET(afs_cacheVfsp, (ino_t) ainode->ufs, LK_EXCLUSIVE, &vp);
-#else
- code = VFS_VGET(afs_cacheVfsp, (ino_t) ainode->ufs, &vp);
-#endif
AFS_GLOCK();
if (code == 0 && vp->v_type == VNON)
code = ENOENT;
#include <afsconfig.h>
#include "afs/param.h"
#include <sys/param.h>
-#ifdef AFS_FBSD50_ENV
#include <sys/sysproto.h>
-#endif
#include "afs/sysincludes.h"
#include <sys/queue.h>
#include <sys/lock.h>
#include <ufs/ufs/dinode.h>
-#if defined(AFS_FBSD50_ENV)
#include <ufs/ufs/extattr.h>
-#endif
#include <ufs/ufsmount.h>
int
register struct ufsmount *ump;
register struct mount *mp;
-#if defined(AFS_FBSD50_ENV)
mtx_lock(&mountlist_mtx);
-#else
- simple_lock(&mountlist_slock);
-#endif
if ((mp = TAILQ_FIRST(&mountlist)) != NULL)
do {
/*
}
mp = TAILQ_NEXT(mp, mnt_list);
} while (mp != TAILQ_FIRST(&mountlist));
-#if defined(AFS_FBSD50_ENV)
mtx_unlock(&mountlist_mtx);
-#else
- simple_unlock(&mountlist_slock);
-#endif
if (!fs)
return (ENXIO);
}
-#if defined(AFS_FBSD50_ENV)
code = VFS_VGET(fs, inode, 0, &vp);
-#else
- code = VFS_VGET(fs, inode, &vp);
-#endif
if (code != 0) {
*perror = BAD_IGET;
return code;
#include <sys/lock.h>
#include <sys/time.h>
-#if defined(AFS_FBSD50_ENV)
#include <sys/mutex.h>
-#endif
#include <sys/vnode.h>
#if defined(AFS_FBSD80_ENV)
#include <sys/priv.h>
#else
#define osi_vinvalbuf(vp, flags, slpflag, slptimeo) \
vinvalbuf((vp), (flags), (curthread), (slpflag), (slptimeo))
+#define osi_curproc() (curthread)
#endif
#undef gop_lookupname
struct nameidata n;
int flags, error, glocked;
-#ifdef AFS_FBSD50_ENV
glocked = ISAFS_GLOCK();
if (glocked)
AFS_GUNLOCK();
-#endif
flags = 0;
flags = LOCKLEAF;
#endif
NDINIT(&n, LOOKUP, flags, seg, aname, curthread);
if ((error = namei(&n)) != 0) {
-#ifdef AFS_FBSD50_ENV
if (glocked)
AFS_GLOCK();
-#endif
return error;
}
*vpp = n.ni_vp;
VOP_UNLOCK(n.ni_vp, 0, curthread);
#endif
NDFREE(&n, NDF_ONLY_PNBUF);
-#ifdef AFS_FBSD50_ENV
if (glocked)
AFS_GLOCK();
-#endif
return 0;
}
void
afs_osi_SetTime(osi_timeval_t * atv)
{
-#ifdef AFS_FBSD50_ENV
printf("afs attempted to set clock; use \"afsd -nosettime\"\n");
-#else
- struct timespec ts;
- struct timeval tv, delta;
- int s;
-
- AFS_GUNLOCK();
- s = splclock();
- microtime(&tv);
- delta = *atv;
- timevalsub(&delta, &tv);
- ts.tv_sec = atv->tv_sec;
- ts.tv_nsec = atv->tv_usec * 1000;
- set_timecounter(&ts);
- (void)splsoftclock();
- lease_updatetime(delta.tv_sec);
- splx(s);
- resettodr();
- AFS_GLOCK();
-#endif
}
/*
osi_fbsd_alloc(size_t size, int dropglobal)
{
void *rv;
-#ifdef AFS_FBSD50_ENV
int glocked;
if (dropglobal) {
if (glocked)
AFS_GLOCK();
} else
-#endif
rv = malloc(size, M_AFS, M_NOWAIT);
return (rv);
AFS_GUNLOCK();
#if defined(AFS_FBSD60_ENV)
if (getnewvnode(MOUNT_AFS, afs_globalVFS, &afs_vnodeops, &vp))
-#elif defined(AFS_FBSD50_ENV)
- if (getnewvnode(MOUNT_AFS, afs_globalVFS, afs_vnodeop_p, &vp))
#else
- if (getnewvnode(VT_AFS, afs_globalVFS, afs_vnodeop_p, &vp))
+ if (getnewvnode(MOUNT_AFS, afs_globalVFS, afs_vnodeop_p, &vp))
#endif
panic("afs getnewvnode"); /* can't happen */
#ifdef AFS_FBSD70_ENV
if (tvp) {
struct vnode *vp = AFSTOV(tvp);
-#ifdef AFS_FBSD50_ENV
ASSERT_VI_UNLOCKED(vp, "afs_root");
-#endif
AFS_GUNLOCK();
/*
* I'm uncomfortable about this. Shouldn't this happen at a
* higher level, and shouldn't we busy the top-level directory
* to prevent recycling?
*/
-#ifdef AFS_FBSD50_ENV
error = vget(vp, LK_EXCLUSIVE | LK_RETRY, td);
vp->v_vflag |= VV_ROOT;
-#else
- error = vget(vp, LK_EXCLUSIVE | LK_RETRY, p);
- vp->v_flag |= VROOT;
-#endif
AFS_GLOCK();
if (error != 0)
goto tryagain;
afs_init,
afs_uninit,
vfs_stdextattrctl,
-#ifdef AFS_FBSD50_ENV
vfs_stdsysctl,
-#endif
};
#endif
#include <sys/malloc.h>
#include <sys/namei.h>
#include <sys/unistd.h>
-#ifndef AFS_FBSD50_ENV
-#include <vm/vm_zone.h>
-#endif
#include <vm/vm_page.h>
#include <vm/vm_object.h>
#include <vm/vm_pager.h>
int afs_vop_ioctl(struct vop_ioctl_args *);
static int afs_vop_pathconf(struct vop_pathconf_args *);
int afs_vop_poll(struct vop_poll_args *);
-#ifndef AFS_FBSD50_ENV
-int afs_vop_mmap(struct vop_mmap_args *);
-#endif
int afs_vop_fsync(struct vop_fsync_args *);
int afs_vop_remove(struct vop_remove_args *);
int afs_vop_link(struct vop_link_args *);
{&vop_access_desc, (vop_t *) afs_vop_access}, /* access */
{&vop_advlock_desc, (vop_t *) afs_vop_advlock}, /* advlock */
{&vop_bmap_desc, (vop_t *) afs_vop_bmap}, /* bmap */
-#ifndef AFS_FBSD50_ENV
- {&vop_bwrite_desc, (vop_t *) vop_stdbwrite},
-#endif
{&vop_close_desc, (vop_t *) afs_vop_close}, /* close */
{&vop_createvobject_desc, (vop_t *) vop_stdcreatevobject},
{&vop_destroyvobject_desc, (vop_t *) vop_stddestroyvobject},
{&vop_lookup_desc, (vop_t *) afs_vop_lookup}, /* lookup */
{&vop_mkdir_desc, (vop_t *) afs_vop_mkdir}, /* mkdir */
{&vop_mknod_desc, (vop_t *) afs_vop_mknod}, /* mknod */
-#ifndef AFS_FBSD50_ENV
- {&vop_mmap_desc, (vop_t *) afs_vop_mmap}, /* mmap */
-#endif
{&vop_open_desc, (vop_t *) afs_vop_open}, /* open */
{&vop_pathconf_desc, (vop_t *) afs_vop_pathconf}, /* pathconf */
{&vop_poll_desc, (vop_t *) afs_vop_poll}, /* select */
#define DROPNAME() FREE(name, M_TEMP)
-/* This is a bit of a cheat... */
-#ifdef AFS_FBSD50_ENV
-#define a_p a_td
-#endif
-
#if defined(AFS_FBSD80_ENV)
#define ma_vn_lock(vp, flags, p) (vn_lock(vp, flags))
#define MA_VOP_LOCK(vp, flags, p) (VOP_LOCK(vp, flags))
struct vnode *vp;
struct vcache *avc;
-#ifdef AFS_FBSD50_ENV
GIANT_REQUIRED;
-#endif
vp = ap->a_vp;
avc = VTOAFS(vp);
if ((object = vp->v_object) == NULL) {
{
vm_page_t m = ap->a_m[ap->a_reqpage];
-#ifdef AFS_FBSD50_ENV
VM_OBJECT_LOCK(object);
vm_page_lock_queues();
-#endif
if (m->valid != 0) {
/* handled by vm_fault now */
/* vm_page_zero_invalid(m, TRUE); */
if (i != ap->a_reqpage)
vm_page_free(ap->a_m[i]);
}
-#ifdef AFS_FBSD50_ENV
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(object);
-#endif
return (0);
}
-#ifdef AFS_FBSD50_ENV
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(object);
-#endif
}
bp = getpbuf(&afs_pbuf_freecnt);
kva = (vm_offset_t) bp->b_data;
pmap_qenter(kva, ap->a_m, npages);
-#ifdef AFS_FBSD50_ENV
cnt.v_vnodein++;
cnt.v_vnodepgsin += npages;
-#endif
iov.iov_base = (caddr_t) kva;
iov.iov_len = ap->a_count;
relpbuf(bp, &afs_pbuf_freecnt);
if (code && (uio.uio_resid == ap->a_count)) {
-#ifdef AFS_FBSD50_ENV
VM_OBJECT_LOCK(object);
vm_page_lock_queues();
-#endif
for (i = 0; i < npages; ++i) {
if (i != ap->a_reqpage)
vm_page_free(ap->a_m[i]);
}
-#ifdef AFS_FBSD50_ENV
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(object);
-#endif
return VM_PAGER_ERROR;
}
size = ap->a_count - uio.uio_resid;
-#ifdef AFS_FBSD50_ENV
VM_OBJECT_LOCK(object);
vm_page_lock_queues();
-#endif
for (i = 0, toff = 0; i < npages; i++, toff = nextoff) {
vm_page_t m;
nextoff = toff + PAGE_SIZE;
}
}
}
-#ifdef AFS_FBSD50_ENV
vm_page_unlock_queues();
VM_OBJECT_UNLOCK(object);
-#endif
return 0;
}
struct vnode *vp;
struct vcache *avc;
-#ifdef AFS_FBSD50_ENV
GIANT_REQUIRED;
-#endif
vp = ap->a_vp;
avc = VTOAFS(vp);
kva = (vm_offset_t) bp->b_data;
pmap_qenter(kva, ap->a_m, npages);
-#ifdef AFS_FBSD50_ENV
cnt.v_vnodeout++;
cnt.v_vnodepgsout += ap->a_count;
-#endif
iov.iov_base = (caddr_t) kva;
iov.iov_len = ap->a_count;
afs_InactiveVCache(VTOAFS(vp), 0); /* decrs ref counts */
AFS_GUNLOCK();
#ifndef AFS_FBSD80_ENV
- MA_VOP_UNLOCK(vp, 0, ap->a_p);
+ MA_VOP_UNLOCK(vp, 0, ap->a_td);
#endif
return 0;
}
code = VOP_READ(tfile->vnode, &tuio, 0, afs_osi_credp);
VOP_UNLOCK(tfile->vnode, 0);
AFS_GLOCK();
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
AFS_GUNLOCK();
VOP_LOCK(tfile->vnode, LK_EXCLUSIVE, curthread);
code = VOP_READ(tfile->vnode, &tuio, 0, afs_osi_credp);
ReleaseReadLock(&tvc->lock);
osi_Assert(credp);
#endif
-#ifdef AFS_FBSD50_ENV
+#ifdef AFS_FBSD_ENV
if (abp->b_iocmd == BIO_READ) {
#else
if ((abp->b_flags & B_READ) == B_READ) {
#if defined (AFS_XBSD_ENV)
if (code) {
abp->b_error = code;
-#if !defined(AFS_FBSD50_ENV)
+#if !defined(AFS_FBSD_ENV)
abp->b_flags |= B_ERROR;
#endif
}
crfree(credp);
#elif defined(AFS_FBSD60_ENV)
(*abp->b_iodone)(abp);
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
biodone(&abp->b_io);
#elif defined(AFS_XBSD_ENV)
biodone(abp);
code = VOP_WRITE(tfile->vnode, &tuio, 0, afs_osi_credp);
VOP_UNLOCK(tfile->vnode, 0);
AFS_GLOCK();
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
AFS_GUNLOCK();
VOP_LOCK(tfile->vnode, LK_EXCLUSIVE, curthread);
code = VOP_WRITE(tfile->vnode, &tuio, 0, afs_osi_credp);
#elif defined(AFS_DARWIN80_ENV)
afs_cacheVfsp = vnode_mount(filevp);
if (afs_cacheVfsp && ((st = *(vfs_statfs(afs_cacheVfsp))),1))
-#elif defined(AFS_DARWIN_ENV)
- if (!VFS_STATFS(filevp->v_mount, &st, current_proc()))
#elif defined(AFS_FBSD80_ENV)
if (!VFS_STATFS(filevp->v_mount, &st))
-#elif defined(AFS_FBSD50_ENV)
- if (!VFS_STATFS(filevp->v_mount, &st, curthread))
-#elif defined(AFS_XBSD_ENV)
- if (!VFS_STATFS(filevp->v_mount, &st, curproc))
+#elif defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
+ if (!VFS_STATFS(filevp->v_mount, &st, osi_curproc()))
#else
if (!VFS_STATFS(filevp->v_vfsp, &st))
#endif /* SGI... */
#endif
#if defined(AFS_DARWIN_ENV)
+thread_t afs_global_owner;
#ifdef AFS_DARWIN80_ENV
lck_mtx_t *afs_global_lock;
#else
#endif
#endif
-#if defined(AFS_XBSD_ENV) && !defined(AFS_FBSD50_ENV)
+#if defined(AFS_XBSD_ENV) && !defined(AFS_FBSD_ENV)
struct lock afs_global_lock;
afs_proc_t *afs_global_owner;
-#endif
-#ifdef AFS_FBSD50_ENV
+#elif defined(AFS_FBSD_ENV)
struct mtx afs_global_mtx;
struct thread *afs_global_owner;
#endif
-#if defined(AFS_DARWIN_ENV)
-thread_t afs_global_owner;
-#endif /* AFS_DARWIN_ENV */
-
#if defined(AFS_AIX41_ENV)
simple_lock_data afs_global_lock;
#endif
#include "h/types.h"
#include "h/param.h"
-#ifdef AFS_FBSD50_ENV
+#ifdef AFS_FBSD_ENV
#include <sys/condvar.h>
#endif
* is going on in the system. So if ps cannot show thread IDs it is
* likely to be the process ID instead.
*/
-#ifdef AFS_FBSD50_ENV
+#ifdef AFS_FBSD_ENV
/* should use curthread, but 'ps' can't display it */
#define osi_ThreadUnique() (curproc->p_pid)
#elif defined(AFS_LINUX_ENV)
ma_critical_exit();
return 0;
}
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
/* can't sleep in a critical section */
ma_critical_exit();
osi_vnhold(tvc, 0);
#ifdef AFS_OBSD_ENV
#include "h/syscallargs.h"
#endif
-#ifdef AFS_FBSD50_ENV
+#ifdef AFS_FBSD_ENV
#include "h/sysproto.h"
#endif
#ifdef AFS_NBSD40_ENV
return (code);
}
#elif defined(AFS_XBSD_ENV)
-# if defined(AFS_FBSD50_ENV)
+# if defined(AFS_FBSD_ENV)
# define arg data
int
afs_xioctl(struct thread *td, register struct ioctl_args *uap,
}
if (!ioctlDone) {
-# if defined(AFS_FBSD50_ENV)
+# if defined(AFS_FBSD_ENV)
return ioctl(td, uap);
-# elif defined(AFS_FBSD_ENV)
- return ioctl(p, uap);
# elif defined(AFS_OBSD_ENV)
code = sys_ioctl(p, uap, retval);
# elif defined(AFS_NBSD_ENV)
# endif
}
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
int
afs_pioctl(struct thread *td, void *args, int *retval)
{
#elif defined(AFS_DARWIN_ENV) || defined(AFS_XBSD_ENV)
int
-# if defined(AFS_FBSD_ENV)
-afs_pioctl(struct thread *td, void *args)
-# else
afs_pioctl(afs_proc_t *p, void *args, int *retval)
-# endif
{
struct a {
char *path;
code =
afs_syscall_pioctl(uap->parm1, uap->parm2, uap->parm3,
uap->parm4, rvp, CRED());
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
code =
afs_syscall_pioctl(uap->parm1, uap->parm2, uap->parm3,
uap->parm4, p->td_ucred);
afs_GCPAGs_cred_count++;
pag = PagInCred(pcred);
-#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD40_ENV) || defined(AFS_LINUX22_ENV)
+#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV) || defined(AFS_LINUX22_ENV)
uid = (pag != NOPAG ? pag : afs_cr_uid(pcred));
#elif defined(AFS_SUN510_ENV)
uid = (pag != NOPAG ? pag : crgetruid(pcred));
vinvalbuf(vp, V_SAVE, curthread, PINOD, 0);
if (!iheldthelock)
VOP_UNLOCK(vp, LK_EXCLUSIVE, curthread);
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
iheldthelock = VOP_ISLOCKED(vp, curthread);
if (!iheldthelock)
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, curthread);
vinvalbuf(vp, V_SAVE, osi_curcred(), curthread, PINOD, 0);
if (!iheldthelock)
VOP_UNLOCK(vp, LK_EXCLUSIVE, curthread);
-#elif defined(AFS_FBSD40_ENV)
- iheldthelock = VOP_ISLOCKED(vp, curproc);
- if (!iheldthelock)
- vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, curproc);
- vinvalbuf(vp, V_SAVE, osi_curcred(), curproc, PINOD, 0);
- if (!iheldthelock)
- VOP_UNLOCK(vp, LK_EXCLUSIVE, curproc);
#elif defined(AFS_OBSD_ENV)
iheldthelock = VOP_ISLOCKED(vp, curproc);
if (!iheldthelock)
# include "h/user.h"
# endif /* AFS_SGI64_ENV */
# define MACH_USER_API 1
-# if defined(AFS_FBSD50_ENV)
+# if defined(AFS_FBSD_ENV)
# include "h/bio.h"
# include "h/filedesc.h"
# endif
# endif
# endif /* AFS_HPUX_ENV */
# if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-# if defined(AFS_FBSD50_ENV)
+# if defined(AFS_FBSD_ENV)
struct vop_getwritemount_args;
# endif
# include <sys/uio.h>
# ifndef AFS_NBSD40_ENV
# include <sys/malloc.h>
# endif
-# ifndef AFS_FBSD_ENV
-# include <sys/ubc.h>
-# define timeout_fcn_t mach_timeout_fcn_t
-# include <kern/sched_prim.h>
-# else
+# ifdef AFS_FBSD_ENV
MALLOC_DECLARE(M_AFS);
# include <ufs/ufs/dinode.h>
# include <vm/vm.h>
# include <vm/vm_map.h>
# include <sys/lock.h>
# include <sys/user.h>
+# else
+# include <sys/ubc.h>
+# define timeout_fcn_t mach_timeout_fcn_t
+# include <kern/sched_prim.h>
# endif
# undef timeout_fcn_t
# define _DIR_H_
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD53_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD62_ENV 1
#define AFS_FBSD70_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD70_ENV 1
#define AFS_FBSD71_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD71_ENV 1
#define AFS_FBSD80_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD80_ENV 1
#define AFS_FBSD81_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BITUSERPOINTER_ENV 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD81_ENV 1
#define AFS_FBSD90_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_42"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_42"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_42
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_43"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_43
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_43"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_43
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD44_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_44"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_44
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_44"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_44
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD45_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_45"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_45
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_45"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_45
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_46"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_46
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_46"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_46
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
+++ /dev/null
-#ifndef UKERNEL
-/* This section for kernel libafs compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-#ifndef IGNORE_STDS_H
-#include <sys/param.h>
-#endif
-
-#define AFS_XBSD_ENV 1 /* {Free,Open,Net}BSD */
-#define AFS_X86_XBSD_ENV 1
-
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
-#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
-#define AFS_X86_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-#define O_SYNC O_FSYNC
-#define FTRUNC O_TRUNC
-
-#define IUPD 0x0010
-#define IACC 0x0020
-#define ICHG 0x0040
-#define IMOD 0x0080
-
-#define IN_LOCK(ip) lockmgr(&ip->i_lock, LK_EXCLUSIVE, \
- NULL, curproc)
-#define IN_UNLOCK(ip) lockmgr(&ip->i_lock, LK_RELEASE, \
- NULL, curproc)
-
-#include <afs/afs_sysnames.h>
-
-#define AFS_VM_RDWR_ENV 1
-#define AFS_VFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_GREEDY43_ENV 1
-#define AFS_ENV 1
-
-#define AFS_SYSCALL 210
-#define AFS_MOUNT_AFS "afs"
-
-#ifndef MOUNT_UFS
-#define MOUNT_UFS "ufs"
-#endif
-
-#ifndef MOUNT_AFS
-#define MOUNT_AFS AFS_MOUNT_AFS
-#endif
-#define SYS_NAME "i386_fbsd_47"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_47
-
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't supports statvfs */
-
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-#define AFS_USE_GETTIMEOFDAY 1 /* use gettimeofday to implement rx clock */
-
-#define AFSLITTLE_ENDIAN 1
-
-/* Extra kernel definitions (from kdefs file) */
-#ifdef _KERNEL
-#define AFS_GLOBAL_SUNLOCK 1
-#define AFS_VFS34 1 /* What is VFS34??? */
-#define AFS_SHORTGID 1 /* are group id's short? */
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_resid uio_resid
-#define AFS_UIOSYS UIO_SYSSPACE
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES CLBYTES
-#define osi_GetTime(x) microtime(x)
-#define AFS_KALLOC(x) osi_fbsd_alloc((x), 1)
-#undef AFS_KALLOC_NOSLEEP
-#define AFS_KALLOC_NOSLEEP(x) osi_fbsd_alloc((x), 0)
-#define AFS_KFREE(x,y) osi_fbsd_free((x))
-#define v_count v_usecount
-#define v_vfsp v_mount
-#define vfs_bsize mnt_stat.f_bsize
-#define vfs_fsid mnt_stat.f_fsid
-#define va_nodeid va_fileid
-#define vfs_vnodecovered mnt_vnodecovered
-#define direct dirent
-#define vnode_t struct vnode
-
-#ifndef MUTEX_DEFAULT
-#define MUTEX_DEFAULT 0
-#endif /* MUTEX_DEFAULT */
-
-#ifndef SSYS
-#define SSYS 0x00002
-#endif /* SSYS */
-
-#define p_rcred p_ucred
-
-#if !defined(ASSEMBLER) && !defined(__LANGUAGE_ASSEMBLY__)
-enum vcexcl { NONEXCL, EXCL };
-
-#ifdef KERNEL
-#ifndef MIN
-#define MIN(A,B) ((A) < (B) ? (A) : (B))
-#endif
-#ifndef MAX
-#define MAX(A,B) ((A) > (B) ? (A) : (B))
-#endif
-#endif /* KERNEL */
-
-#endif /* ! ASSEMBLER & ! __LANGUAGE_ASSEMBLY__ */
-#endif /* _KERNEL */
-
-#endif /* AFS_PARAM_H */
-
-#else /* !defined(UKERNEL) */
-
-/* This section for user space compiles only */
-
-#ifndef AFS_PARAM_H
-#define AFS_PARAM_H
-
-
-#define UKERNEL 1 /* user space kernel */
-#define AFS_ENV 1
-#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
-#define AFS_USR_FBSD_ENV 1
-#undef AFS_NONFSTRANS
-#define AFS_NONFSTRANS 1
-
-#define O_SYNC O_FSYNC
-
-#define AFS_MOUNT_AFS "afs" /* The name of the filesystem type. */
-#define AFS_SYSCALL 210
-#define AFS_NAMEI_ENV 1 /* User space interface to file system */
-#define AFS_64BIT_ENV 1
-#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
-#include <afs/afs_sysnames.h>
-
-#define AFS_USERSPACE_IP_ADDR 1
-#define RXK_LISTENER_ENV 1
-#define AFS_GCPAGS 0 /* if nonzero, garbage collect PAGs */
-
-/* Machine / Operating system information */
-#define SYS_NAME "i386_fbsd_47"
-#define SYS_NAME_ID SYS_NAME_ID_i386_fbsd_47
-#define AFSLITTLE_ENDIAN 1
-#define AFS_HAVE_FFS 1 /* Use system's ffs. */
-#define AFS_HAVE_STATVFS 0 /* System doesn't support statvfs */
-#define AFS_VM_RDWR_ENV 1 /* read/write implemented via VM */
-
-#define afsio_iov uio_iov
-#define afsio_iovcnt uio_iovcnt
-#define afsio_offset uio_offset
-#define afsio_seg uio_segflg
-#define afsio_fmode uio_fmode
-#define afsio_resid uio_resid
-#define AFS_UIOSYS 1
-#define AFS_UIOUSER UIO_USERSPACE
-#define AFS_CLBYTES MCLBYTES
-#define AFS_MINCHANGE 2
-#define VATTR_NULL usr_vattr_null
-
-#define AFS_DIRENT
-#ifndef CMSERVERPREF
-#define CMSERVERPREF
-#endif
-
-#include <limits.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/mount.h>
-#include <sys/fcntl.h>
-#include <netinet/in.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
-
-#endif /* AFS_PARAM_H */
-
-#endif /* !defined(UKERNEL) */
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD_ENV 1
#undef AFS_NONFSTRANS
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD53_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD53_ENV 1
#define AFS_FBSD60_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD60_ENV 1
#define AFS_FBSD61_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_ENV 1
#undef AFS_NONFSTRANS
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD61_ENV 1
#define AFS_FBSD62_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD62_ENV 1
#define AFS_FBSD70_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD70_ENV 1
#define AFS_FBSD71_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD71_ENV 1
#define AFS_FBSD80_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD80_ENV 1
#define AFS_FBSD81_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
#define AFS_64BIT_CLIENT 1
#define AFS_64BIT_IOPS_ENV 1 /* Needed for NAMEI */
#define AFS_FBSD_ENV 1
-#define AFS_FBSD40_ENV 1
-#define AFS_FBSD42_ENV 1
-#define AFS_FBSD43_ENV 1
-#define AFS_FBSD44_ENV 1
-#define AFS_FBSD45_ENV 1
-#define AFS_FBSD46_ENV 1
-#define AFS_FBSD47_ENV 1
#define AFS_FBSD50_ENV 1
#define AFS_FBSD51_ENV 1
#define AFS_FBSD52_ENV 1
#define AFS_FBSD81_ENV 1
#define AFS_FBSD90_ENV 1
#define AFS_X86_FBSD_ENV 1
-#define AFS_X86_FBSD40_ENV 1
-#define AFS_X86_FBSD42_ENV 1
-#define AFS_X86_FBSD43_ENV 1
-#define AFS_X86_FBSD46_ENV 1
-#define AFS_X86_FBSD47_ENV 1
#define AFS_X86_FBSD50_ENV 1
#define AFS_X86_FBSD60_ENV 1 /* added at 70--ie, some changes should port <-- */
#define AFS_X86_FBSD62_ENV 1
#define UKERNEL 1 /* user space kernel */
#define AFS_ENV 1
#define AFS_VFSINCL_ENV 1
-#define AFS_USR_FBSD40_ENV 1
-#define AFS_USR_FBSD42_ENV 1
-#define AFS_USR_FBSD43_ENV 1
-#define AFS_USR_FBSD44_ENV 1
-#define AFS_USR_FBSD45_ENV 1
-#define AFS_USR_FBSD46_ENV 1
-#define AFS_USR_FBSD47_ENV 1
#define AFS_USR_FBSD50_ENV 1
#define AFS_USR_FBSD51_ENV 1
#define AFS_USR_FBSD52_ENV 1
KDEFS=-Wall -nostdinc -I/usr/include -D_KERNEL -DKLD_MODULE \
-elf \
-<i386_fbsd_42 i386_fbsd_43 i386_fbsd_44 i386_fbsd_45 i386_fbsd_46 i386_fbsd_47>
- -mpreferred-stack-boundary=2 \
- -fformat-extensions \
- -include ${KBLD}/opt_global.h \
-<i386_fbsd_42 i386_fbsd_43 i386_fbsd_44 i386_fbsd_45 i386_fbsd_46 i386_fbsd_47>
- -include ${KBLD}/opt_global.h -mpreferred-stack-boundary=2 \
<i386_fbsd_60>
-mno-mmx -mno-3dnow -mno-sse -mno-sse2 \
-<all -i386_fbsd_42 -i386_fbsd_43 -i386_fbsd_44 -i386_fbsd_45 -i386_fbsd_46 -i386_fbsd_47>
+<all>
-mno-align-long-strings -fno-common -ffreestanding \
-I${KBLD} -include opt_global.h -fno-strict-aliasing
-<all>
DBUG = -O2
#DBUG = -O -g
$(LD) -Bshareable -o ${LIBAFS} setdef0.o ${LIBAFS}.kld setdef1.o
${LIBAFSNONFS}: $(AFSAOBJS) $(AFSNONFSOBJS)
-<i386_fbsd_42 i386_fbsd_43 i386_fbsd_44 i386_fbsd_45 i386_fbsd_46 i386_fbsd_47>
- $(LD) -r -o libafs.kld ${AFSAOBJS} ${AFSNONFSOBJS}
- gensetdefs libafs.kld
- $(MAKE) setdef0.o setdef1.o
- $(LD) -Bshareable -o ${LIBAFSNONFS} setdef0.o libafs.kld setdef1.o
-<all -i386_fbsd_42 -i386_fbsd_43 -i386_fbsd_44 -i386_fbsd_45 -i386_fbsd_46 -i386_fbsd_47>
$(LD) -r -d -warn-common -o libafs.kld ${AFSAOBJS} ${AFSNONFSOBJS}
touch export_syms
awk -f ${KSRC}/conf/kmod_syms.awk libafs.kld export_syms | xargs -J% objcopy % libafs.kld
$(LD) -Bshareable -d -warn-common -o ${LIBAFSNONFS} libafs.kld
-<all>
# Object build rules:
$(CRULE_NOOPT)
# vnode_if.h build rules:
-<i386_fbsd_42 i386_fbsd_43 i386_fbsd_44 i386_fbsd_45 i386_fbsd_46 i386_fbsd_47>
-vnode_if.h: ${KSRC}/kern/vnode_if.src
- perl5 ${KSRC}/kern/vnode_if.pl -h ${KSRC}/kern/vnode_if.src
-<all -i386_fbsd_42 -i386_fbsd_43 -i386_fbsd_44 -i386_fbsd_45 -i386_fbsd_46 -i386_fbsd_47>
vnode_if.h: ${KSRC}/kern/vnode_if.src
awk -f ${KSRC}/tools/vnode_if.awk ${KSRC}/kern/vnode_if.src -h
awk -f ${KSRC}/tools/vnode_if.awk ${KSRC}/kern/vnode_if.src -q
OPTF=-O
# WEBOPTS = -I../nsapi -DNETSCAPE_NSAPI -DNET_SSL -DXP_UNIX -DMCC_HTTPD
-TEST_CFLAGS=-D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_FBSD40_ENV $(XCFLAGS)
+TEST_CFLAGS=-D_REENTRANT -DAFS_PTHREAD_ENV -DAFS_FBSD50_ENV $(XCFLAGS)
TEST_LDFLAGS=
<all -i386_fbsd_62 -i386_fbsd_70 -i386_fbsd_71 -i386_fbsd_80 -i386_fbsd81 -i386_fbsd_90 -amd64_fbsd_62 -amd64_fbsd_70 -amd64_fbsd_71 -amd64_fbsd_80 -amd64_fbsd_81 -amd64_fbsd_90>
TEST_LIBS=-lc_r
#define MUTEX_ISMINE(a) \
( mtx_owned((a)) )
-#elif defined(AFS_FBSD50_ENV)
+#else
typedef struct {
struct lock lock;
#undef MUTEX_ISMINE
#define MUTEX_ISMINE(a) (((afs_kmutex_t *)(a))->owner == curthread)
-#elif defined(HEAVY_LOCKS)
-typedef struct {
- struct lock lock;
- struct proc *owner;
-} afs_kmutex_t;
-
-
-#define MUTEX_INIT(a,b,c,d) \
- do { \
- lockinit(&(a)->lock, PSOCK, "afs rx mutex", 0, 0); \
- (a)->owner = 0; \
- } while(0);
-#define MUTEX_DESTROY(a) \
- do { \
- (a)->owner = (struct proc *)-1; \
- } while(0);
-#define MUTEX_ENTER(a) \
- do { \
- lockmgr(&(a)->lock, LK_EXCLUSIVE, 0, curproc); \
- osi_Assert((a)->owner == 0); \
- (a)->owner = curproc; \
- } while(0);
-#define MUTEX_TRYENTER(a) \
- ( lockmgr(&(a)->lock, LK_EXCLUSIVE|LK_NOWAIT, 0, curproc) ? 0 : ((a)->owner = curproc, 1) )
-#define xMUTEX_TRYENTER(a) \
- ( osi_Assert((a)->owner == 0), (a)->owner = curproc, 1)
-#define MUTEX_EXIT(a) \
- do { \
- osi_Assert((a)->owner == curproc); \
- (a)->owner = 0; \
- lockmgr(&(a)->lock, LK_RELEASE, 0, curproc); \
- } while(0);
-
-#undef MUTEX_ISMINE
-#define MUTEX_ISMINE(a) (((afs_kmutex_t *)(a))->owner == curproc)
-#else
-typedef struct {
- struct simplelock lock;
- struct proc *owner;
-} afs_kmutex_t;
-
-
-#define MUTEX_INIT(a,b,c,d) \
- do { \
- simple_lock_init(&(a)->lock); \
- (a)->owner = 0; \
- } while(0);
-#define MUTEX_DESTROY(a) \
- do { \
- (a)->owner = (struct proc *)-1; \
- } while(0);
-#define MUTEX_ENTER(a) \
- do { \
- simple_lock(&(a)->lock); \
- osi_Assert((a)->owner == 0); \
- (a)->owner = curproc; \
- } while(0);
-#define MUTEX_TRYENTER(a) \
- ( simple_lock_try(&(a)->lock) ? 0 : ((a)->owner = curproc, 1) )
-#define MUTEX_EXIT(a) \
- do { \
- osi_Assert((a)->owner == curproc); \
- (a)->owner = 0; \
- simple_unlock(&(a)->lock); \
- } while(0);
-
-#undef MUTEX_ISMINE
-#define MUTEX_ISMINE(a) (((afs_kmutex_t *)(a))->owner == curproc)
#endif
#include "afs/param.h"
-#ifdef AFS_FBSD40_ENV
#include <sys/malloc.h>
#include "rx/rx_kcommon.h"
u.uio_resid = *alength;
u.uio_segflg = UIO_SYSSPACE;
u.uio_rw = UIO_READ;
-#ifdef AFS_FBSD50_ENV
u.uio_td = NULL;
-#else
- u.uio_procp = NULL;
-#endif
if (haveGlock)
AFS_GUNLOCK();
afs_warn("osi_StopListener: rxk_ListenerPid %lx\n", p);
if (p)
psignal(p, SIGUSR1);
-#ifdef AFS_FBSD50_ENV
PROC_UNLOCK(p);
-#endif
#ifdef AFS_FBSD70_ENV
{
/* Avoid destroying socket until osi_NetReceive has
u.uio_resid = alength;
u.uio_segflg = UIO_SYSSPACE;
u.uio_rw = UIO_WRITE;
-#ifdef AFS_FBSD50_ENV
u.uio_td = NULL;
-#else
- u.uio_procp = NULL;
-#endif
addr->sin_len = sizeof(struct sockaddr_in);
#if KNET_DEBUG
printf("+");
#endif
-#ifdef AFS_FBSD50_ENV
code =
sosend(asocket, (struct sockaddr *)addr, &u, NULL, NULL, 0,
curthread);
-#else
- code =
- sosend(asocket, (struct sockaddr *)addr, &u, NULL, NULL, 0, curproc);
-#endif
#if KNET_DEBUG
if (code) {
if (code == EINVAL)
return code;
}
#endif
-
-#endif /* AFS_FBSD40_ENV */
#else
struct socket *newSocket;
#endif
-#if (!defined(AFS_HPUX1122_ENV) && !defined(AFS_FBSD50_ENV))
+#if (!defined(AFS_HPUX1122_ENV) && !defined(AFS_FBSD_ENV))
struct mbuf *nam;
#endif
struct sockaddr_in myaddr;
#endif /* else AFS_HPUX110_ENV */
#elif defined(AFS_SGI65_ENV) || defined(AFS_OBSD_ENV)
code = socreate(AF_INET, &newSocket, SOCK_DGRAM, IPPROTO_UDP);
-#elif defined(AFS_FBSD50_ENV)
+#elif defined(AFS_FBSD_ENV)
code = socreate(AF_INET, &newSocket, SOCK_DGRAM, IPPROTO_UDP,
afs_osi_credp, curthread);
-#elif defined(AFS_FBSD40_ENV)
- code = socreate(AF_INET, &newSocket, SOCK_DGRAM, IPPROTO_UDP, curproc);
#elif defined(AFS_DARWIN80_ENV)
code = sock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP, NULL, NULL, &newSocket);
#elif defined(AFS_NBSD40_ENV)
}
#endif
#if defined(AFS_DARWIN_ENV) || defined(AFS_FBSD_ENV)
-#if defined(AFS_FBSD50_ENV)
+#if defined(AFS_FBSD_ENV)
code = sobind(newSocket, (struct sockaddr *)&myaddr, curthread);
-#elif defined(AFS_FBSD40_ENV)
- code = sobind(newSocket, (struct sockaddr *)&myaddr, curproc);
#else
code = sobind(newSocket, (struct sockaddr *)&myaddr);
#endif
#include "h/dirent.h"
#include "h/socket.h"
#include "h/domain.h"
-#if defined(AFS_FBSD50_ENV)
#include "h/bio.h"
-#endif
#include "h/buf.h"
#include "h/mbuf.h"
#endif /* AFS_FBSD_ENV */