#include <vfs/vnode.h>
#include <sys/inode.h>
#else /* AFS_MACH_ENV */
+#ifdef AFS_DARWIN_ENV
+#include <sys/vnode.h>
+#include <sys/mount.h>
+#include <ufs/ufs/quota.h>
+#include <ufs/ufs/inode.h>
+#include <ufs/ffs/fs.h>
+#else
#include "sys/vfs.h"
#ifdef AFS_LINUX20_ENV
#define UIO_MAXIOV 1 /* don't care */
#endif
#endif
#endif
+#endif
#endif /* AFS_MACH_ENV */
#include <signal.h>
#endif
#endif /*AFS_KDUMP_LIB */
#endif
+#ifndef AFS_DARWIN_ENV
int
findsym( char *sname, off_t *offset )
{
}
#endif /* defined(AFS_SUN5_ENV) */
}
+#endif
#define CBHTSIZE 128
kdump()
{
int cell, cnt, cnt1;
+#ifdef AFS_DARWIN_ENV
+ printf("Kdump not supported\n");
+#else
#ifndef AFS_KDUMP_LIB
kmem = opencore(core);
if (Dgcpags || Dall) {
print_gcpags(1);
}
+#endif
return 0;
}
+#ifndef AFS_DARWIN_ENV
int Sum_cellnames=0, Sum_userstp=0, Sum_volnames=0, Sum_exps=0, Sum_nfssysnames=0;
int Sum_vcachemvids=0, Sum_vcachelinkData=0, Sum_vcacheacc=0, Sum_vcachelocks=0;
#endif
}
+#endif
#if 0
#define OffsetOf(s,mem) ((long)(&(((s *)0)->mem)))
#define SizeOf(s,mem) ((long)sizeof(((s *)0)->mem))