]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Kill AFS_64BIT_ENV
authorSimon Wilkinson <sxw@your-file-system.com>
Thu, 30 Sep 2010 12:58:26 +0000 (13:58 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Tue, 5 Oct 2010 12:27:58 +0000 (05:27 -0700)
The AFS_64BIT_ENV was being pretty much universally defined. So,
remove the definition, and the conditional code that it controlled.
From this point on, all platforms are assumed to be capable of
handling 64bit values.

Change-Id: I3e4bde502af9f33f6998637c288e8fd0898ffa81
Reviewed-on: http://gerrit.openafs.org/2870
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
98 files changed:
src/WINNT/afsd/cm_callback.c
src/afs/afs_callback.c
src/config/NTMakefile.amd64_w2k
src/config/NTMakefile.i386_nt40
src/config/NTMakefile.i386_w2k
src/config/param.alpha_dux40.h
src/config/param.alpha_dux50.h
src/config/param.alpha_dux51.h
src/config/param.alpha_nbsd15.h
src/config/param.alpha_nbsd16.h
src/config/param.amd64_fbsd_53.h
src/config/param.amd64_fbsd_70.h
src/config/param.amd64_fbsd_71.h
src/config/param.amd64_fbsd_80.h
src/config/param.amd64_fbsd_81.h
src/config/param.amd64_fbsd_90.h
src/config/param.arm_darwin_100.h
src/config/param.hp_ux110.h
src/config/param.hp_ux1123.h
src/config/param.hp_ux11i.h
src/config/param.i386_dfbsd_23.h
src/config/param.i386_fbsd_50.h
src/config/param.i386_fbsd_51.h
src/config/param.i386_fbsd_52.h
src/config/param.i386_fbsd_53.h
src/config/param.i386_fbsd_60.h
src/config/param.i386_fbsd_61.h
src/config/param.i386_fbsd_62.h
src/config/param.i386_fbsd_70.h
src/config/param.i386_fbsd_71.h
src/config/param.i386_fbsd_80.h
src/config/param.i386_fbsd_81.h
src/config/param.i386_fbsd_90.h
src/config/param.i386_obsd47.h
src/config/param.ia64_hpux1122.h
src/config/param.ia64_hpux1123.h
src/config/param.linux22.h
src/config/param.linux24.h
src/config/param.linux26.h
src/config/param.nbsd20.h
src/config/param.nbsd21.h
src/config/param.nbsd30.h
src/config/param.nbsd40.h
src/config/param.nbsd50.h
src/config/param.obsd31.h
src/config/param.obsd32.h
src/config/param.obsd33.h
src/config/param.obsd34.h
src/config/param.obsd35.h
src/config/param.obsd36.h
src/config/param.obsd37.h
src/config/param.obsd38.h
src/config/param.obsd39.h
src/config/param.obsd40.h
src/config/param.obsd41.h
src/config/param.obsd42.h
src/config/param.obsd43.h
src/config/param.obsd44.h
src/config/param.obsd45.h
src/config/param.obsd46.h
src/config/param.ppc_darwin_70.h
src/config/param.ppc_darwin_80.h
src/config/param.ppc_darwin_90.h
src/config/param.rs_aix42.h
src/config/param.rs_aix51.h
src/config/param.rs_aix52.h
src/config/param.rs_aix53.h
src/config/param.rs_aix61.h
src/config/param.sgi_65.h
src/config/param.sun4x_510.h
src/config/param.sun4x_511.h
src/config/param.sun4x_56.h
src/config/param.sun4x_57.h
src/config/param.sun4x_58.h
src/config/param.sun4x_59.h
src/config/param.sunx86_510.h
src/config/param.sunx86_511.h
src/config/param.sunx86_57.h
src/config/param.sunx86_58.h
src/config/param.sunx86_59.h
src/config/param.x86_darwin_100.h
src/config/param.x86_darwin_80.h
src/config/param.x86_darwin_90.h
src/config/stds.h
src/rx/xdr_int64.c
src/rxkad/bg-fcrypt.c
src/sys/afssyscalls.h
src/tviced/serialize_state.c
src/usd/usd_nt.c
src/util/afsutil_prototypes.h
src/util/flipbase64.c
src/util/snprintf.c
src/util/test/snprintf_test.c
src/venus/cmdebug.c
src/viced/afsfileprocs.c
src/viced/callback.c
src/volser/dumpstuff.c
src/volser/vos.c

index 07bd3fece6c51f75bed939d252887696baebe6be..b329eee5592175b7a4670504f09ddc6d1691318d 100644 (file)
@@ -784,12 +784,7 @@ SRXAFSCB_GetCE64(struct rx_call *callp, long index, AFSDBCacheEntry64 *cep)
     cep->lock.pid_last_reader = 0;
     cep->lock.pid_writer = 0;
     cep->lock.src_indicator = 0;
-#if !defined(AFS_64BIT_ENV)
-    cep->Length.high = scp->length.HighPart;
-    cep->Length.low = scp->length.LowPart;
-#else
     cep->Length = (afs_int64) scp->length.QuadPart;
-#endif
     cep->DataVersion = (afs_uint32)(scp->dataVersion & 0xFFFFFFFF);
     cep->callback = afs_data_pointer_to_int32(scp->cbServerp);
     if (scp->flags & CM_SCACHEFLAG_PURERO) {
index 5f980ffd59b66c029ea8464d627963f1436e34ab..0fee94acdefcea51632e8511c4268b128bf73480 100644 (file)
@@ -234,12 +234,7 @@ SRXAFSCB_GetCE64(struct rx_call *a_call, afs_int32 a_index,
     a_result->lock.pid_writer = 0;
     a_result->lock.src_indicator = 0;
 #endif /* INSTRUMENT_LOCKS */
-#if !defined(AFS_64BIT_ENV)
-    a_result->Length.high = 0;
-    a_result->Length.low = tvc->f.m.Length;
-#else
     a_result->Length = tvc->f.m.Length;
-#endif
     a_result->DataVersion = hgetlo(tvc->f.m.DataVersion);
     a_result->callback = afs_data_pointer_to_int32(tvc->callback);     /* XXXX Now a pointer; change it XXXX */
     a_result->cbExpires = tvc->cbExpires;
index 54611add0ba568682f48e5d6bad3461841df5504..6abd17631b21595d5f45db1317036f3adac527e9 100644 (file)
@@ -244,7 +244,6 @@ afscdefs =\
        -DAFS_FREELANCE_CLIENT \
         -DAFS_64BITPOINTER_ENV \
         -DAFS_64BITUSERPOINTER_ENV \
-       -DAFS_64BIT_ENV \
        -DAFS_64BIT_CLIENT \
        -D_USE_DECLSPECS_FOR_SAL=0 \
        -D_USE_ATTRIBUTES_FOR_SAL=0 \
index 141b3d150d140caab41756b56c869867ed94fc3c..151084e0939ddf4258dccf4c99002bd9763e24d1 100644 (file)
@@ -248,7 +248,6 @@ afscdefs =\
        -DNTDDI_VERSION=0x05000000 \
        -DREGISTER_POWER_NOTIFICATIONS \
        -DAFS_FREELANCE_CLIENT \
-       -DAFS_64BIT_ENV \
        -DAFS_64BIT_CLIENT \
         $(AFSDEV_AUXCDEFINES)
 
index 8d1f7256c280a9deb77af028a0b0b56c11aac29e..beb8ecc2bc447e623074ba00fcf60306208d5f5c 100644 (file)
@@ -252,7 +252,6 @@ afscdefs =\
        -DWINVER=0x0500 \
        -DREGISTER_POWER_NOTIFICATIONS \
        -DAFS_FREELANCE_CLIENT \
-       -DAFS_64BIT_ENV \
        -DAFS_64BIT_CLIENT \
         $(AFSDEV_AUXCDEFINES)
 
index 927c31c665f4eed2fc4137ea3e6588b6d939dd6f..1ee9813617b4413fb1c631f9453e46c540ad57b0 100644 (file)
@@ -22,7 +22,6 @@
 #define        __alpha         1
 #define        AFS_ALPHA_ENV   1
 #define        AFS_DECOSF_ENV  1
-#define        AFS_64BIT_ENV   1
 #define AFS_BOZONLOCK_ENV       1
 
 #include <afs/afs_sysnames.h>
@@ -138,7 +137,6 @@ enum vcexcl { NONEXCL, EXCL };
 
 #define UKERNEL                        1       /* user space kernel */
 #define AFS_GREEDY43_ENV       1       /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV          1
 #define AFS_ENV                        1
 #define AFS_USR_OSF_ENV                1
 #define AFS_USR_DUX40_ENV      1
index ddccdc5d29027740cd46f6132c6079c3c1eeea17..61f03eba6754a17d94c5e5b6f64cbcfc5bec8378 100644 (file)
@@ -24,7 +24,6 @@
 #define        AFS_ALPHA_ENV   1
 #define        AFS_DECOSF_ENV  1
 #define AFS_BOZONLOCK_ENV       1
-#define        AFS_64BIT_ENV   1
 #define AFS_64BIT_CLIENT 1
 
 #include <afs/afs_sysnames.h>
@@ -146,7 +145,6 @@ enum vcexcl { NONEXCL, EXCL };
 
 #define UKERNEL                        1       /* user space kernel */
 #define AFS_GREEDY43_ENV       1       /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV          1
 #define AFS_ENV                        1
 #define AFS_USR_OSF_ENV                1
 #define AFS_USR_DUX40_ENV      1
index f9b8e6b043045204654e76f52542bba13d32cd1d..79c41fc2e6e24bb509ab5d34a4327280b38e52ad 100644 (file)
@@ -25,7 +25,6 @@
 #define        AFS_ALPHA_ENV   1
 #define        AFS_DECOSF_ENV  1
 #define AFS_BOZONLOCK_ENV       1
-#define        AFS_64BIT_ENV   1
 #define AFS_64BIT_CLIENT       1
 
 #include <afs/afs_sysnames.h>
@@ -147,7 +146,6 @@ enum vcexcl { NONEXCL, EXCL };
 
 #define UKERNEL                        1       /* user space kernel */
 #define AFS_GREEDY43_ENV       1       /* Used only in rx/rx_user.c */
-#define AFS_64BIT_ENV          1
 #define AFS_ENV                        1
 #define AFS_USR_OSF_ENV                1
 #define AFS_USR_DUX40_ENV      1
index 3e1f78224f3889080c57291f54a18b858389b813..2c3dc2fad1ae94ffabdceb76b1e4cfb998ef8a84 100644 (file)
@@ -8,8 +8,6 @@
 #define        AFS_ALPHA_ENV   1
 #define AFS_ALPHA_XBSD_ENV 1
 
-#define AFS_64BIT_ENV  1
-
 #define SYS_NAME       "alpha_nbsd15"
 #define SYS_NAME_ID    SYS_NAME_ID_alpha_nbsd15
 
index 717d82a45d513c51a326ac9e1e0506301f5c63de..b16e9e9c9080485450a6be2e1a3ef5a43f8f2d7f 100644 (file)
@@ -8,8 +8,6 @@
 #define        AFS_ALPHA_ENV   1
 #define AFS_ALPHA_XBSD_ENV 1
 
-#define AFS_64BIT_ENV  1
-
 #define SYS_NAME       "alpha_nbsd16"
 #define SYS_NAME_ID    SYS_NAME_ID_alpha_nbsd16
 
index a9897bbef880fd0dff3badc5e4e7fb1a26d983b8..170c4416ddac600cda207ec4646bf6af8c49f6fe 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -137,7 +136,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV  1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index aa6370516bb98ac54378f56cbd1bf333da0a5ca7..47e0fda4e969f0425e5e0226bf28cd448014f970 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -151,7 +150,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index e0e9d4064cc706a842e97ddf4036db5de7c7d61b..d3b8e38da361e18434a4e923ecf5309c9a79c915 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -154,7 +153,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index 1efb3508d3de1cb1d6a1b4976a7c29534c7a1d72..77fe8a2ea698c20acbdda2d1ad8f33348948e8d4 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -157,7 +156,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV  1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index 1f4f49741e7c4d5bf48c04daa407bfd0a6136970..0242d20679220c5b8d888b9a1018d76d6f716717 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -160,7 +159,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV  1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index 3e220c79cfde81fbb1601dee5e57f0188c7c0df5..fb9719d448a838454e6a76696525fc966d82dafb 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BITPOINTER_ENV 1
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -163,7 +162,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #define AFS_NAMEI_ENV         1        /* User space interface to file system */
-#define AFS_64BIT_ENV 1
 #define AFS_64BITPOINTER_ENV  1
 #define AFS_64BIT_IOPS_ENV    1        /* Needed for NAMEI */
 #define AFS_USERSPACE_IP_ADDR 1
index b5726ad51d45e52413657cff0aa37a78711e2140..5b657c4251a78c7548bb35a449ab0d865bca4c19 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
@@ -153,7 +152,6 @@ struct rt_addrinfo {
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__) || defined(__amd64__)
index d7eff8236cdf53f0875c899b8fae49c7abc951ec..8f0616b0a9bc8c41fb13f1798175bbf6ae108e64 100644 (file)
@@ -20,7 +20,6 @@
 #define        AFS_HPUX102_ENV 1
 #define        AFS_HPUX110_ENV 1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
 
 #include <afs/afs_sysnames.h>
@@ -123,7 +122,6 @@ struct uio;
 #define AFS_GREEDY43_ENV       1       /* Used only in rx/rx_user.c */
 #define AFS_ENV                        1
 #define AFS_USR_HPUX_ENV       1
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 
 #include <afs/afs_sysnames.h>
 
index 3b07114729299916dc108ed8b35cef0b7265f2c9..fd5246c012a6fa0ffaeb709a0334a362c31f5b5b 100644 (file)
@@ -20,7 +20,6 @@
 #define        AFS_HPUX1122_ENV 1
 #define        AFS_HPUX1123_ENV 1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 #if defined(__LP64__)
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
index 799a4e72c6339b1f76328a76aa43d812bf3d9311..074db768c9e4b211b90df8ba8dc29b7afe6913f4 100644 (file)
@@ -21,7 +21,6 @@
 #define        AFS_HPUX110_ENV 1
 #define        AFS_HPUX1111_ENV        1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
 #define AFS_64BITUSERPOINTER_ENV       1
@@ -127,7 +126,6 @@ struct uio;
 #define AFS_GREEDY43_ENV       1       /* Used only in rx/rx_user.c */
 #define AFS_ENV                        1
 #define AFS_USR_HPUX_ENV       1
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 
 #include <afs/afs_sysnames.h>
 
index dd8283af228b5f234506bd08edb5a39412c12731..cc2d32329bfb1dba8f0777ea927c53dd27edd16d 100644 (file)
@@ -23,7 +23,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_DFBSD_ENV 1
@@ -137,7 +136,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index 51af23cb4de06946e3a612b0351c14a4b3ca6933..227a736496a7a61a931ad5e629094f529c2498ff 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -137,7 +136,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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>
 
index 5eceb7d7addb2b1d43f6f801e9f7e43261b17285..516d2b10427286d482c30781fa4c64e7e9fe8e6e 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT       1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -139,7 +138,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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>
 
index 44e6c7b302e9aa62e18cf181fa20bfb8dc54e2dc..a9183bdc6eba273b95e01b86abe3bca887fd2b17 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -141,7 +140,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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>
 
index 7f62aeb5f5418ded48483b0521f66d877aea0079..3e229e288e37d27863cdc6965aa4aef97f2fd204 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -137,7 +136,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index afa8810018532bfd9d0d05f116ce8a6c2d3d3e67..3f916090f4c06cb4bdd7db89052f9b87d40f273d 100644 (file)
@@ -12,7 +12,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -139,7 +138,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index ba8a3e36ed06808ada786e3b81ba585481a39d00..6a8e364ccbd4f24dc6b2c07b406fc5cfbe7bec69 100644 (file)
@@ -21,7 +21,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -142,7 +141,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index 24090e122bc38389a3733f6bb37939654292e47b..ec36e35bc3b621d29c6d0e89f170ff5309e7612b 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -147,7 +146,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index ba22cf48c63e5403d65a5c68d749a2f4505d3f2a..8300ee6c4f1db05a6f13e1409e5fd1e7d38924b1 100644 (file)
@@ -22,7 +22,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -149,7 +148,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index 664d70ae0f10e1169823368aa53d0f47fe199274..b434f3e435f88a98ea6e9f9760499585108c8311 100644 (file)
@@ -23,7 +23,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -153,7 +152,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index 8128275510c24a88bdf5be52906a739e7929b313..f4e95d3d6b731de821c90114d1eef3d0cd2280e7 100644 (file)
@@ -23,7 +23,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -156,7 +155,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index b2469a7c30a6bbb777fb1c6015becf87f294605f..78559e3e033d4f1956f64aa3c1ffe197ea330764 100644 (file)
@@ -23,7 +23,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -159,7 +158,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index 46fd4047f9370745971efd9637ff7e41d0352146..6647fb7aed835de04c76999bf3ed28eb5afabf57 100644 (file)
@@ -23,7 +23,6 @@
 #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_CLIENT 1
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_FBSD_ENV 1
@@ -162,7 +161,6 @@ enum vcexcl { NONEXCL, EXCL };
 #define AFS_MOUNT_AFS "afs"    /* The name of the filesystem type. */
 #define AFS_SYSCALL 339
 #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_USERSPACE_IP_ADDR 1
 #define RXK_LISTENER_ENV      1
index e224a5ddf32c0c184ad4e4c20cd67ea65084bbdd..922aac79ca908c09bac640283d798102627a033e 100644 (file)
@@ -16,7 +16,6 @@
 #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_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 #define AFS_OBSD_ENV           1
index 92fee400ab7fa8de8d3a05ed94f39183131e81f5..82435e8317c966c595f594113797117caa94545a 100644 (file)
@@ -21,7 +21,6 @@
 #define AFS_HPUX1111_ENV 1
 #define AFS_HPUX1122_ENV 1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 #if defined(__LP64__)
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
index d4f5dadf5db3b1c2c3a2d53ea1e9026cc1df14fc..00b513fe77a0cdece7767ee09565dcd20a50d143 100644 (file)
@@ -22,7 +22,6 @@
 #define        AFS_HPUX1122_ENV 1
 #define        AFS_HPUX1123_ENV 1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 #if defined(__LP64__)
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
index 9260980de15c8f9e5c6ee9fca27b17f1c8536368..c6f0e614d31ffadc58801e07eda662a651ec20af 100644 (file)
@@ -19,7 +19,6 @@
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type */
 #define AFS_64BIT_IOPS_ENV     1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS         1
index 7ee95667ff06279f8b3735a24f20215cfe50e764..3c2afa5ac025c5128a54f79940f3c241541efdaf 100644 (file)
@@ -20,7 +20,6 @@
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type */
 #define AFS_64BIT_IOPS_ENV     1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS         1
@@ -87,7 +86,6 @@
 #define AFS_NONFSTRANS                 1
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type. */
 #define AFS_64BIT_IOPS_ENV     1
-#define AFS_64BIT_ENV          1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
 #define AFS_USERSPACE_IP_ADDR  1
 #define RXK_LISTENER_ENV       1
index 0feafa6a4d3296e9ee8407786e66ea6bddf8f02b..48e4b8734f67fd08d5b6cb0f3ba7c45e11df781a 100644 (file)
@@ -21,7 +21,6 @@
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type */
 #define AFS_64BIT_IOPS_ENV     1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #undef  AFS_NONFSTRANS
 #define AFS_NONFSTRANS         1
@@ -68,7 +67,6 @@
 #define AFS_NONFSTRANS                 1
 #define AFS_MOUNT_AFS          "afs"   /* The name of the filesystem type. */
 #define AFS_64BIT_IOPS_ENV     1
-#define AFS_64BIT_ENV          1
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
 #define AFS_USERSPACE_IP_ADDR  1
 #define RXK_LISTENER_ENV       1
index 4eb461d078c71b92210963da280e9da9e5d9d474..f854c784408a07180ae3de9cc1f2dfcab9709725 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef        AFS_PARAM_COMMON_H
 #define        AFS_PARAM_COMMON_H 1
 
-#define AFS_64BIT_ENV  1
 #define AFS_NAMEI_ENV  1       /* User space interface to file system */
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_64BIT_CLIENT 1
index 68967595ae0a7d600733c0f1a7cfc2b61b096db8..1f060b680daad47e1df028eec434c1318cefa5e3 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef        AFS_PARAM_COMMON_H
 #define        AFS_PARAM_COMMON_H 1
 
-#define AFS_64BIT_ENV  1
 #define AFS_NAMEI_ENV  1       /* User space interface to file system */
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_64BIT_CLIENT 1
index a83d83a38c99c9779d9cb96c0418469f09c3963c..b5d4c29dc892f42468cc07a9c8c4ca13c01b801a 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef        AFS_PARAM_COMMON_H
 #define        AFS_PARAM_COMMON_H 1
 
-#define AFS_64BIT_ENV  1
 #define AFS_NAMEI_ENV  1       /* User space interface to file system */
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_64BIT_CLIENT 1
index 91bae65091316ddc802844ee8dfc918db1608b2e..fc2c829f0416a1278812af4e6fdcd9cc04005b2e 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef        AFS_PARAM_COMMON_H
 #define        AFS_PARAM_COMMON_H 1
 
-#define AFS_64BIT_ENV  1
 #define AFS_NAMEI_ENV  1       /* User space interface to file system */
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_64BIT_CLIENT 1
index 59458b8964910422d66e19361a59cfa2abd33980..f37b71222be697767d24de6066f54e2fda84a8a8 100644 (file)
@@ -3,7 +3,6 @@
 #ifndef        AFS_PARAM_COMMON_H
 #define        AFS_PARAM_COMMON_H 1
 
-#define AFS_64BIT_ENV  1
 #define AFS_NAMEI_ENV  1       /* User space interface to file system */
 #define AFS_64BIT_IOPS_ENV 1   /* Needed for NAMEI */
 #define AFS_64BIT_CLIENT 1
index cd51007813ccc83ba28564086f664eaf814dfedf..b59d65f6d66f73a0f6cce4e3354b984ba8af346c 100644 (file)
@@ -15,7 +15,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index f2cc01c1b3eb2d8dae57b9b94cc9433261fbde7f..d21d9edc6be67756af7d092c2c6d73e5c793480a 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 52ed20615801a4beaa0a86d0f70432dbfe78980c..28077a07db87b46408072585222417640c4d8ec0 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 4422de2a3b6f4764f96ec66ab1cfc3a145fea856..e8bb1a0eb80855820ce48c34a1f66bbfadd40eaa 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 311785a5e2f3118e4954f7886226cac949d8fa1c..65f7a089dcfe806ac8a1228cbd64096c6de43ffd 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #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_OBSD_ENV           1
index a3b309eb214b99dc5a505365fb0b22c27effd33c..ca1c221c7066178aa92c3233f9456a513e85ac31 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index d382c60b24a450e65dbcc0a5156dd624941120bd..080a88d2eb79acd2c2699d5b33566c18ec08fbe7 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 081f7785899b2d4d43f01cbd921c6ac07ffedcc4..c96c98f773fcf8553acbbf44eb5558dfef4c3f0d 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 1d20f4227df81c44cfb245e376e08134590d7f3f..bcd18f06600d95c3c93a96aff186062f122ca26e 100644 (file)
@@ -16,7 +16,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 0e0e0e785c3dfc00085e1bbfa84d0954e4115371..ec6189095e1d64d9f1ec3d5a95f89439f3c952a3 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 2a58ab2e599854e9d30c907e5c5d30589e276f58..405431fcbf4c4ec72083b4e56cc5d7585ef18ad6 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 50ddaf9d7721b2c8d6d64d65c389138ee37efd59..698b51255e524ecb8a52e5cc1ae9be5a8b511107 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index a792d0351f610a1c6696736b0d76f2299cb69393..e55e9f1dc05268416644b1a9b140fae37aa13c0a 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index 6f87cf35c29d9eb6e68e7bfaa683844a2587942c..c4f39d11786339cf775c200565663fb75f95f800 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index c4758acdee0b9a85180b8d3150d9c5a8f494935c..d7948877aacc10dba79f5b3a903297f1cdd45cd5 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index c77f51a091c81ba9c6f20bbfc772cec6550ec4d6..def8afb2b6ed73843e741937a086be9af63c2399 100644 (file)
@@ -13,7 +13,6 @@
 #define AFS_XBSD_ENV           1       /* {Free,Open,Net}BSD */
 
 #define AFS_NAMEI_ENV          1       /* User space interface to file system */
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BIT_IOPS_ENV     1       /* Needed for NAMEI */
 
index f937ebd40f65f091ee865ba99f1416760ef6456f..e72b317f04242a68ae81d116617acffb68eeeefd 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_IOPS_ENV 1
 #define AFS_PPC_ENV 1
 #define AFS_VFSINCL_ENV 1
@@ -80,7 +79,6 @@
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_PPC_ENV 1
 
 #include <afs/afs_sysnames.h>
index aae31d851df3d7ffbac9c3173e7f81555cc4c131..f4ab2f67a0dd8aee553443c779e2e213fd9eadf7 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__)
index 1dc8e4255095e89fd5940c5bd8715d6ac740d822..12b18e16533a2b7e984222b5786586e815618c75 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__)
index e0b3cca9a47b983515b102233642e48306c4c715..dedeeb40684bf7f1a3ace446cf20c375aa94bf10 100644 (file)
@@ -18,7 +18,6 @@
 #define        AFS_AIX41_ENV           1
 #define AFS_AIX42_ENV          1
 
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 
 #ifdef AFS_NAMEI_ENV
@@ -96,7 +95,6 @@
 #ifndef        AFS_PARAM_H
 #define        AFS_PARAM_H
 
-#define AFS_64BIT_ENV           1
 #define AFS_64BIT_CLIENT        1
 
 #define AFS_VFS_ENV    1
index f902569b19deea657bae09f66343135a5aeda16f..10109ac28abe0fd10fb434150ae024993e90913c 100644 (file)
@@ -19,7 +19,6 @@
 #define AFS_AIX42_ENV          1
 #define AFS_AIX51_ENV          1
 
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_NAMEI_ENV          1
 #ifdef AFS_NAMEI_ENV
@@ -97,7 +96,6 @@
 #ifndef        AFS_PARAM_H
 #define        AFS_PARAM_H
 
-#define AFS_64BIT_ENV           1
 #define AFS_64BIT_CLIENT        1
 #define AFS_NAMEI_ENV           1
 #ifdef AFS_NAMEI_ENV
index 64af9ce4110b7ba71e76bd7a3cb276a2c3a283cd..f44cc4d7af3c0a169299532ec0804576dc712625 100644 (file)
@@ -20,7 +20,6 @@
 #define AFS_AIX51_ENV          1
 #define AFS_AIX52_ENV          1
 
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_NAMEI_ENV          1
 #ifdef AFS_NAMEI_ENV
@@ -98,7 +97,6 @@
 #ifndef        AFS_PARAM_H
 #define        AFS_PARAM_H
 
-#define AFS_64BIT_ENV           1
 #define AFS_64BIT_CLIENT        1
 #define AFS_NAMEI_ENV           1
 #ifdef AFS_NAMEI_ENV
index a155172a78aaffc99086048ebc130358fdb59c98..70897ad30d5f4e814c8f4e34d6d17cd9bf18fd0a 100644 (file)
@@ -21,7 +21,6 @@
 #define AFS_AIX52_ENV          1
 #define AFS_AIX53_ENV          1
 
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_NAMEI_ENV          1
 #ifdef AFS_NAMEI_ENV
@@ -99,7 +98,6 @@
 #ifndef        AFS_PARAM_H
 #define        AFS_PARAM_H
 
-#define AFS_64BIT_ENV           1
 #define AFS_64BIT_CLIENT        1
 #define AFS_NAMEI_ENV           1
 #ifdef AFS_NAMEI_ENV
index 8ddeea9577c2dad765e7d9c45fb473651d8f1db0..24f74fe41e11b09938838ebd53c47043849d5fcc 100644 (file)
@@ -22,7 +22,6 @@
 #define AFS_AIX53_ENV          1
 #define AFS_AIX61_ENV          1
 
-#define AFS_64BIT_ENV          1
 #define AFS_64BIT_CLIENT       1
 #define AFS_NAMEI_ENV          1
 #ifdef AFS_NAMEI_ENV
 #ifndef        AFS_PARAM_H
 #define        AFS_PARAM_H
 
-#define AFS_64BIT_ENV           1
 #define AFS_64BIT_CLIENT        1
 #define AFS_NAMEI_ENV           1
 #ifdef AFS_NAMEI_ENV
index aff86cdaafdf976a96ad8da65d84afd252d4749d..389bc8f7133220caf8c1b4395135539bb7fa67bb 100644 (file)
@@ -37,7 +37,6 @@
 
 #define _ANSI_C_SOURCE         1       /* rx_user.h */
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 #define AFS_64BITPOINTER_ENV   1       /* pointers are 64 bits. */
 #define AFS_64BITUSERPOINTER_ENV       1
 #define AFS_HAVE_FFS            1      /* Use system's ffs. */
 #define AFS_HAVE_STATVFS       1       /* System supports statvfs */
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
-
 #include <afs/afs_sysnames.h>
 
 /* Extra kernel definitions (from kdefs file) */
index 03c4b40f103dc7a3bb97e4009e31a302142520cd..7f7b5f66addce9762d9d4324994cbca959a9eede 100644 (file)
@@ -23,7 +23,6 @@
 #define AFS_SUN510_ENV         1
 #define AFS_BOZONLOCK_ENV       1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID   1
@@ -88,7 +87,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__sparcv9)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN8_ENV       1
 #define AFS_USR_SUN9_ENV       1
 
-#define AFS_64BIT_ENV          1
-
 #include <afs/afs_sysnames.h>
 
 #if 0
index b36c5cff6549a731ebb79fab19654caf684936bc..5b999c906618613e9e9c6f32e2df7384645cd292 100644 (file)
@@ -24,7 +24,6 @@
 #define AFS_SUN511_ENV         1
 #define AFS_BOZONLOCK_ENV       1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID   1
@@ -89,7 +88,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__sparcv9)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN8_ENV       1
 #define AFS_USR_SUN9_ENV       1
 
-#define AFS_64BIT_ENV          1
 
 #include <afs/afs_sysnames.h>
 
index 3ec069d0d6979c389fe95fcc63ecdfd417c7cd63..3514fc217bc07c0bc685f27eebef2f282ec36767 100644 (file)
@@ -31,7 +31,6 @@
 #define RXK_LISTENER_ENV   1
 #define AFS_GCPAGS             1       /* if nonzero, garbage collect PAGs */
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define        AFS_3DISPARES           1       /* Utilize the 3 available disk inode 'spares' */
index a4fe3e66e8477491a77ad605255b625abb23f6f1..7aaf4a8d210bbfbf06f774767a9104e706977ed7 100644 (file)
@@ -29,7 +29,6 @@
 #define AFS_SUN57_ENV          1
 #define AFS_BOZONLOCK_ENV       1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
@@ -86,7 +85,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__sparcv9)
 #define        AFS_SUN57_64BIT_ENV     1
index 9ca443aa5b9eaf4aaa40cfea76f41c55691759f2..b1a79fcbc07a03b04dff856e7b70768efc073c5f 100644 (file)
@@ -21,7 +21,6 @@
 #define AFS_SUN58_ENV          1
 #define AFS_BOZONLOCK_ENV       1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
@@ -84,7 +83,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__sparcv9)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN7_ENV       1
 #define AFS_USR_SUN8_ENV       1
 
-#define AFS_64BIT_ENV          1
-
 #include <afs/afs_sysnames.h>
 
 #if 0
index 934afeff6c64fac6d1f6b5f6f1c7e0ec31801ad0..945f29602ead47a95bcc74376605b08e6619c9b8 100644 (file)
@@ -22,7 +22,6 @@
 #define AFS_SUN59_ENV          1
 #define AFS_BOZONLOCK_ENV       1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
@@ -85,7 +84,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__sparcv9)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN8_ENV       1
 #define AFS_USR_SUN9_ENV       1
 
-#define AFS_64BIT_ENV          1
-
 #include <afs/afs_sysnames.h>
 
 #if 0
index 652b1835b443b07ba9c5e3f1fab941fcab8ccdee..fa2d1fd6b4f59a548c584f727ed7da1997051057 100644 (file)
@@ -33,7 +33,6 @@
 #define AFS_BOZONLOCK_ENV       1
 #define AFS_X86_ENV            1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
@@ -98,7 +97,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__amd64)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN8_ENV        1
 #define AFS_USR_SUN9_ENV        1
 
-#define AFS_64BIT_ENV           1
-
 #include <afs/afs_sysnames.h>
 
 #if 0
index 6ea57e2dd25a0fcd2dcd397e86ece2007c5406a1..fef667253fc38113e4977376c37d649dc77a1d30 100644 (file)
@@ -34,7 +34,6 @@
 #define AFS_BOZONLOCK_ENV       1
 #define AFS_X86_ENV            1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
@@ -99,7 +98,6 @@
 /**
   * These defines are for the 64 bit Solaris 7 port
   * AFS_SYSCALL32 is used to protect the ILP32 syscall interface
-  * AFS_64BIT_ENV is for use of 64 bit inode numbers
   */
 #if defined(__amd64)
 #define        AFS_SUN57_64BIT_ENV     1
 #define AFS_USR_SUN8_ENV        1
 #define AFS_USR_SUN9_ENV        1
 
-#define AFS_64BIT_ENV           1
-
 #include <afs/afs_sysnames.h>
 
 #if 0
index 2bbfa3504c1d821313697e092d6a783349ad2f7b..a48daf53d1fdb63df2eff154783ed235072e0173 100644 (file)
@@ -31,7 +31,6 @@
 
 #define AFS_X86_ENV            1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
index 69a2bb9b102c4a311ed548b0eb0dc5a4b8453b59..abb6b847d49230430e8a93cb39bbf169774d9155 100644 (file)
@@ -32,7 +32,6 @@
 
 #define AFS_X86_ENV            1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
index 4954f058130cb4fd4ffdc47ded9e763c6a3c0770..2a6df801407dcf621b9b9ef141b4136645265913 100644 (file)
@@ -33,7 +33,6 @@
 
 #define AFS_X86_ENV            1
 
-#define AFS_64BIT_ENV          1       /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT       1
 
 #define AFS_HAVE_FLOCK_SYSID    1
index 1b7cc19320df098290509321b10a7cbf3c13f50f..2275b0bc7e4a0d511ecdf7a0ac366b1fdb926751 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__) || defined(__amd64__)
index 058b9bf4c7902bff5364c0be9874a2b20261f917..f2fa162b67dba9b5165a37c9002ad8bb766b8818 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__)
index 8f1292600c7a0a367e21e973eaa7c4669d1202c9..b7ec7415c7129bd9413519ea001967ad0fc28dcc 100644 (file)
@@ -5,7 +5,6 @@
 #define AFS_PARAM_H
 
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #define AFS_64BIT_CLIENT        1
 #define AFS_64BIT_IOPS_ENV     1
 #if defined(__ppc__)
 
 #define AFS_VFSINCL_ENV 1      /* NOBODY uses this.... */
 #define AFS_ENV                 1
-#define AFS_64BIT_ENV           1      /* Defines afs_int32 as int, not long. */
 #if defined(__ppc__)
 #define AFS_PPC_ENV            1
 #elif defined(__i386__) || defined(__x86_64__)
index be6d8334eac021e067662e44871ebb93c2f7d1bb..11420508d0bfe7890aabdce58c6ffed2a0d95004 100644 (file)
@@ -59,7 +59,6 @@ pragma Off(Prototype_override_warnings);
 
 typedef short afs_int16;
 typedef unsigned short afs_uint16;
-#ifdef  AFS_64BIT_ENV
 typedef int afs_int32;
 typedef unsigned int afs_uint32;
 #if defined(AFS_NT40_ENV) && defined(_MSC_VER)
@@ -91,46 +90,6 @@ typedef unsigned long long afs_uint64;
 #define SplitInt64(t,h,l) (h) = ((afs_int64)t) >> 32; (l) = (t) & MAX_AFS_UINT32;
 #define RoundInt64ToInt32(a)    (a > MAX_AFS_UINT32) ? MAX_AFS_UINT32 : a;
 #define RoundInt64ToInt31(a)    (a > MAX_AFS_INT32) ? MAX_AFS_INT32 : a;
-#else /* AFS_64BIT_ENV */
-typedef long afs_int32;
-typedef unsigned long afs_uint32;
-
-struct Int64 {
-    afs_int32 high;
-    afs_uint32 low;
-};
-typedef struct Int64 afs_int64;
-
-struct u_Int64 {
-    afs_uint32 high;
-    afs_uint32 low;
-};
-typedef struct u_Int64 afs_uint64;
-#define ZeroInt64(a) ((a).high = (a).low = 0)
-#define AssignInt64(a, b) (b)->high = (a).high; (b)->low = (a).low
-#define IncInt64(a) ((++((a)->low)) ? 0 : (a)->high++ )
-#define IncUInt64(a) ((++((a)->low)) ? 0 : (a)->high++ )
-#define DecInt64(a) (((a)->low)-- ? 0 : (a)->high-- )
-#define DecUInt64(a) (((a)->low)-- ? 0 : (a)->high-- )
-#define GTInt64(a,b) (((a).high > (b).high) || (((a).high == (b).high) && ((a).low > (b).low)))
-#define GEInt64(a,b) (((a).high > (b).high) || (((a).high == (b).high) && ((a).low >= (b).low)))
-#define LEInt64(a,b) (((a).high < (b).high) || (((a).high == (b).high) && ((a).low <= (b).low)))
-#define LTInt64(a,b) (((a).high < (b).high) || (((a).high == (b).high) && ((a).low < (b).low)))
-#define CompareInt64(a,b) (((afs_int32)(a).high - (afs_int32)(b).high) || (((a).high == (b).high) && ((a).low - (b).low)))
-#define AddInt64(a, b, c) {  afs_int64 _a, _b; _a = a; _b = b; (c)->low = _a.low + _b.low; (c)->high = _a.high + _b.high + ((c)->low < _b.low); }
-#define SubtractInt64(a, b, c) { afs_int64 _a, _b; _a = a; _b = b; (c)->low = _a.low - _b.low;  (c)->high = _a.high - _b.high - (_a.low < _b.low); }
-#define CompareUInt64(a,b) (((afs_uint32)(a).high - (afs_uint32)(b).high) || (((a).high == (b).high) && ((a).low - (b).low)))
-#define AddUInt64(a, b, c) {  afs_uint64 _a, _b; _a = a; _b = b; (c)->low = _a.low + _b.low; (c)->high = _a.high + _b.high + ((c)->low < _b.low); }
-#define SubtractUInt64(a, b, c) { afs_uint64 _a, _b; _a = a; _b = b; (c)->low = _a.low - _b.low;  (c)->high = _a.high - _b.high - (_a.low < _b.low); }
-#define NonZeroInt64(a)   (a).low || (a).high
-#define Int64ToInt32(a)    (a).low
-#define FillInt64(t,h,l) (t).high = (h); (t).low = (l);
-#define SplitInt64(t,h,l) (h) = (t).high; (l) = (t).low;
-#define RoundInt64ToInt32(a)    (a.high > 0) ? MAX_AFS_UINT32 : a.low;
-#define RoundInt64ToInt31(a)    (a.high > 0) ? MAX_AFS_INT32 : a.low;
-#endif /* AFS_64BIT_ENV */
-
-/* AFS_64BIT_CLIENT should presently be set only for AFS_64BIT_ENV systems */
 
 #ifdef AFS_64BIT_CLIENT
 typedef afs_int64 afs_size_t;
@@ -167,7 +126,7 @@ typedef afs_uint32 afs_uintmax_t;
  * some assistence in this matter.  The hyper type is supposed to be compatible
  * with the afsHyper type: the same macros will work on both. */
 
-#if    defined(AFS_64BIT_ENV) && 0
+#if 0
 
 typedef unsigned long afs_hyper_t;
 
@@ -189,7 +148,7 @@ typedef unsigned long afs_hyper_t;
 #define        hadd32(a,b)     ((a) += (b))
 #define hshlft(a,n)     ((a)<<(n))
 
-#else /* AFS_64BIT_ENV */
+#else /* 0*/
 
 typedef struct afs_hyper_t {   /* unsigned 64 bit integers */
     unsigned int high;
@@ -238,7 +197,7 @@ typedef struct afs_hyper_t {        /* unsigned 64 bit integers */
      (a).low += (int)(i))
 
 #define hadd(a,b) (hadd32(a,(b).low), (a).high += (b).high)
-#endif /* AFS_64BIT_ENV */
+#endif /* 0 */
 
 #if !defined(KERNEL) || defined(UKERNEL)
 #ifndef AFS_NT40_ENV
index fcca3c6ce6fe69fa17fdc36bc23b812e5b021828..bf1a571e5e2879c4b29484d6da89da1e529b44ea 100644 (file)
@@ -19,7 +19,6 @@
 #endif
 #include "xdr.h"
 
-#ifdef AFS_64BIT_ENV
 /*
  * XDR afs_int64 integers
  */
@@ -94,58 +93,3 @@ xdr_afs_uint64(XDR * xdrs, afs_uint64 * ulp)
     return (FALSE);
 }
 
-#else /* AFS_64BIT_ENV */
-/*
- * XDR afs_int64 integers
- */
-bool_t
-xdr_int64(XDR * xdrs, afs_int64 * ulp)
-{
-    return xdr_afs_int64(xdrs, ulp);
-}
-
-bool_t
-xdr_afs_int64(XDR * xdrs, afs_int64 * ulp)
-{
-    if (xdrs->x_op == XDR_DECODE) {
-       if (!XDR_GETINT32(xdrs, (afs_int32 *) & ulp->high))
-           return (FALSE);
-       return (XDR_GETINT32(xdrs, (afs_int32 *) & ulp->low));
-    }
-    if (xdrs->x_op == XDR_ENCODE) {
-       if (!XDR_PUTINT32(xdrs, (afs_int32 *) & ulp->high))
-           return (FALSE);
-       return (XDR_PUTINT32(xdrs, (afs_int32 *) & ulp->low));
-    }
-    if (xdrs->x_op == XDR_FREE)
-       return (TRUE);
-    return (FALSE);
-}
-
-/*
- * XDR afs_uint64 integers
- */
-bool_t
-xdr_uint64(XDR * xdrs, afs_uint64 * ulp)
-{
-    return xdr_afs_uint64(xdrs, ulp);
-}
-
-bool_t
-xdr_afs_uint64(XDR * xdrs, afs_uint64 * ulp)
-{
-    if (xdrs->x_op == XDR_DECODE) {
-       if (!XDR_GETINT32(xdrs, (afs_uint32 *) & ulp->high))
-           return (FALSE);
-       return (XDR_GETINT32(xdrs, (afs_uint32 *) & ulp->low));
-    }
-    if (xdrs->x_op == XDR_ENCODE) {
-       if (!XDR_PUTINT32(xdrs, (afs_uint32 *) & ulp->high))
-           return (FALSE);
-       return (XDR_PUTINT32(xdrs, (afs_uint32 *) & ulp->low));
-    }
-    if (xdrs->x_op == XDR_FREE)
-       return (TRUE);
-    return (FALSE);
-}
-#endif /* AFS_64BIT_ENV */
index 3318cb1923d2b133a3bbbad865312edca1fb70f3..4979f36f01d65aeb5fa23efa14f9015c0240b360 100644 (file)
@@ -546,7 +546,6 @@ fc_keysched(void *key_, fc_KeySchedule sched)
     const unsigned char *key = key_;
 
     /* Do we have 56 bit longs or even longer longs? */
-#ifdef AFS_64BIT_ENV
     afs_uint64 k;              /* k holds all 56 non parity bits */
 
     /* Compress out parity bits */
@@ -601,64 +600,7 @@ fc_keysched(void *key_, fc_KeySchedule sched)
     *sched++ = EFF_NTOHL((afs_uint32) k);
     ROT56R64(k, 11);
     *sched++ = EFF_NTOHL((afs_uint32) k);
-#else
-    afs_uint32 hi, lo;         /* hi is upper 24 bits and lo lower 32, total 56 */
-
-    /* Compress out parity bits */
-    lo = (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    hi = lo >> 4;
-    lo &= 0xf;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key++) >> 1;
-    lo <<= 7;
-    lo |= (*key) >> 1;
 
-    /* Use lower 32 bits for schedule, rotate by 11 each round (16 times) */
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-    ROT56R(hi, lo, 11);
-    *sched++ = EFF_NTOHL(lo);
-#endif
     INC_RXKAD_STATS(fc_key_scheds);
     return 0;
 }
index 6956716afad6c96b04d9224f5587b1e375923178..cd014d80564dee4b103a01f4f7d1f20fcf6009ec 100644 (file)
 #include <afs/param.h>
 #ifdef AFS_NAMEI_ENV
 #include <sys/types.h>
-#if AFS_64BIT_ENV
+
 typedef afs_uint64 Inode;
-#else
-typedef u_int64_t Inode;
-#endif
+
 #else /* AFS_NAMEI_ENV */
 #ifdef AFS_64BIT_IOPS_ENV
 #ifdef AFS_SGI62_ENV
 typedef uint64_t Inode;
 #else
 #include <sys/types.h>
-#if AFS_64BIT_ENV
 typedef afs_uint64 Inode;
-#else
-error Need 64 bit Inode defined.
-#endif
 #endif                         /* AFS_SGI62_ENV */
 #else /* AFS_64BIT_IOPS_ENV */
 typedef unsigned int Inode;
index a27cbda780048db7dbb99741038802082ced9af1..e1b38be0efb18f752f405a0a5450ed70474fa61d 100644 (file)
@@ -936,19 +936,10 @@ fs_stateSeek(struct fs_dump_state * state, afs_uint64 * offset)
 {
     int ret = 0;
     char * p;
-#ifndef AFS_64BIT_ENV
-    afs_uint32 hi, lo;
-
-    SplitInt64(*offset, hi, lo);
-#endif
 
     /* update cursor */
     p = (char *) state->mmap.map;
-#ifdef AFS_64BIT_ENV
     p += *offset;
-#else
-    p += lo;
-#endif
     state->mmap.cursor = (void *) p;
 
     /* update offset */
index b672d04ccdfd71670cb2c6af998187e5f1b902a4..df5fff26ac4bb75b9048d250e3597ad362b50889 100644 (file)
@@ -138,7 +138,6 @@ usd_DeviceSeek(usd_handle_t usd, afs_hyper_t reqOff, int whence,
 
        DWORDLONG k = (DWORDLONG) ((afs_uint32) usd->privateData);
 
-       /* _ASSERT(AFS_64BIT_ENV); */
        if (offset >= (k << 10))
            return EINVAL;
     }
index 17fbde0c9117d5163f6d688926c48615287e3575..d4da7cc82a60736ce5b89060466208009acf216e 100644 (file)
@@ -76,15 +76,9 @@ extern int base32_to_int(char *s);
 /* base 64 converters for namei interface. Flip bits to differences are
  * early in name.
  */
-#ifdef AFS_64BIT_ENV
 #define int32_to_flipbase64(S, A) int64_to_flipbase64(S, (afs_uint64)(A))
 extern char *int64_to_flipbase64(lb64_string_t s, afs_uint64 a);
 extern afs_int64 flipbase64_to_int64(char *s);
-#else
-#define int32_to_flipbase64(S, A) int64_to_flipbase64(S, (u_int64_t)(A))
-extern char *int64_to_flipbase64(lb64_string_t s, u_int64_t a);
-extern int64_t flipbase64_to_int64(char *s);
-#endif
 #endif
 
 /* get_krbrlm.c */
index ebed8e968167643996303745635ccfaff32b3829..ef1c6c99bc8f9f096f3bb04f4f24a94f7f7d6253 100644 (file)
@@ -76,20 +76,11 @@ static char c_reverse[] = {
  * The supplied string 's' must be at least 12 bytes long.
  * lb64_string in stds.h provides a typedef to get the length.
  */
-#ifdef AFS_64BIT_ENV
 char *
 int64_to_flipbase64(lb64_string_t s, afs_uint64 a)
-#else
-char *
-int64_to_flipbase64(lb64_string_t s, u_int64_t a)
-#endif
 {
     int i;
-#ifdef AFS_64BIT_ENV
     afs_uint64 n;
-#else
-    u_int64_t n;
-#endif
 
     i = 0;
     if (a == 0)
@@ -104,21 +95,11 @@ int64_to_flipbase64(lb64_string_t s, u_int64_t a)
 }
 
 
-#ifdef AFS_64BIT_ENV
 afs_int64
 flipbase64_to_int64(char *s)
-#else
-int64_t
-flipbase64_to_int64(char *s)
-#endif
 {
-#ifdef AFS_64BIT_ENV
     afs_int64 n = 0;
     afs_int64 result = 0;
-#else
-    int64_t n = 0;
-    int64_t result = 0;
-#endif
     int shift;
 
     for (shift = 0; *s; s++) {
index 5b0b2ad11c6a59842d83cb070312237844a68820..d0c61f22cc69e02a990741cd119c8428ba17576f 100644 (file)
@@ -206,16 +206,6 @@ as_append_char (struct snprintf_state *state, unsigned char c)
        *state->s++ = c;
 }
 
-/* longest integer types */
-
-#ifdef AFS_64BIT_ENV
-typedef afs_uint64 u_longest;
-typedef afs_int64 longest;
-#else
-typedef afs_uint32 u_longest;
-typedef afs_int32 longest;
-#endif
-
 static int
 pad(struct snprintf_state *state, int width, char c)
 {
@@ -229,18 +219,18 @@ pad(struct snprintf_state *state, int width, char c)
 
 /* return true if we should use alternatve hex form */
 static int
-use_alternative (int flags, u_longest num, unsigned base)
+use_alternative (int flags, afs_uint64 num, unsigned base)
 {
     return (flags & alternate_flag) && base == 16 && num != 0;
 }
 
 static int
 append_number(struct snprintf_state *state,
-             u_longest num, unsigned base, const char *rep,
+             afs_uint64 num, unsigned base, const char *rep,
              int width, int prec, int flags, int minusp)
 {
     int len = 0;
-    u_longest n = num;
+    afs_uint64 n = num;
     char nstr[MAXPREC]; /* enough for <192 bit octal integers */
     int nstart, nlen;
     char signchar;
@@ -496,7 +486,6 @@ append_address(struct snprintf_state *state,
  * This can't be made into a function...
  */
 
-#if defined(AFS_64BIT_ENV)
 #if defined(AFS_NT40_ENV)
 
 #define PARSE_INT_FORMAT(res, arg, unsig) \
@@ -526,19 +515,6 @@ else \
      res = (unsig int)va_arg(arg, unsig int)
 #endif
 
-#else
-
-#define PARSE_INT_FORMAT(res, arg, unsig) \
-if (long_flag || addr_flag) \
-     res = (afs_uint32)va_arg(arg, afs_uint32); \
-else if (size_t_flag) \
-     res = (size_t)va_arg(arg, size_t); \
-else if (short_flag) \
-     res = (unsig short)va_arg(arg, unsig int); \
-else \
-     res = (unsig int)va_arg(arg, unsig int)
-
-#endif
 
 /*
  * zyxprintf - return length, as snprintf
@@ -678,8 +654,8 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            case 'd' :
            case 'i' : {
-               longest arg;
-               u_longest num;
+               afs_int64 arg;
+               afs_uint64 num;
                int minusp = 0;
 
                PARSE_INT_FORMAT(arg, ap, signed);
@@ -695,7 +671,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            }
            case 'u' : {
-               u_longest arg;
+               afs_uint64 arg;
 
                PARSE_INT_FORMAT(arg, ap, unsigned);
 
@@ -704,7 +680,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            }
            case 'o' : {
-               u_longest arg;
+               afs_uint64 arg;
 
                PARSE_INT_FORMAT(arg, ap, unsigned);
 
@@ -713,7 +689,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            }
            case 'x' : {
-               u_longest arg;
+               afs_uint64 arg;
 
                PARSE_INT_FORMAT(arg, ap, unsigned);
 
@@ -722,7 +698,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            }
            case 'X' :{
-               u_longest arg;
+               afs_uint64 arg;
 
                PARSE_INT_FORMAT(arg, ap, unsigned);
 
@@ -732,9 +708,9 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
            }
            case 'p' : {
 #ifdef AFS_64BITUSERPOINTER_ENV
-               u_longest arg = (u_longest)va_arg(ap, void*);
+               afs_uint64 arg = (afs_uint64)va_arg(ap, void*);
 #else
-                u_longest arg = (unsigned long)va_arg(ap, void*);
+                afs_uint64 arg = (unsigned long)va_arg(ap, void*);
 #endif
                len += append_number (state, arg, 0x10, "0123456789ABCDEF",
                                      width, prec, flags, 0);
@@ -746,7 +722,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
                break;
            }
             case 'I' : {
-                u_longest arg;
+                afs_uint64 arg;
 
                 PARSE_INT_FORMAT(arg, ap, unsigned);
 
index 0b82e55e984338e9b8de8d9fc2b5d9d43837edcd..753f3414574ad99e304a6badd39742f46e0ead41 100644 (file)
@@ -167,7 +167,7 @@ cmp_with_sprintf_long_long (void)
 
 #endif
 
-#if defined(AFS_64BIT_ENV) && defined(AFS_NT40_ENV)
+#if defined(AFS_NT40_ENV)
 
 static int
 cmp_with_sprintf_I64 (void)
@@ -390,7 +390,7 @@ main (int argc, char **argv)
 #ifdef HAVE_LONG_LONG
     ret += cmp_with_sprintf_long_long ();
 #endif
-#if defined(AFS_64BIT_ENV) && defined(AFS_NT40_ENV)
+#if defined(AFS_NT40_ENV)
     ret += cmp_with_sprintf_I64 ();
 #endif
     ret += cmp_with_sprintf_float ();
index dcc861d857b40de01b0b87eee58d2b36babf53e1..97114b9dba4ed871b29d5db3a2334550f8fc7e6d 100644 (file)
@@ -398,17 +398,12 @@ PrintCacheEntries64(struct rx_connection *aconn, int aint32)
            PrintLock(&centry.lock);
            printf("\n");
        }
-#ifdef AFS_64BIT_ENV
 #ifdef AFS_NT40_ENV
        printf("    %12I64d bytes  DV %12d  refcnt %5d\n", centry.Length,
               centry.DataVersion, centry.refCount);
 #else
        printf("    %12llu bytes  DV %12d  refcnt %5d\n", centry.Length,
               centry.DataVersion, centry.refCount);
-#endif
-#else
-       printf("    %12d bytes  DV %12d  refcnt %5d\n", centry.Length,
-              centry.DataVersion, centry.refCount);
 #endif
         if (print_ctime) {
             time_t t = centry.cbExpires;
index b2a134e3c1b5daa098a32365cdb1fa7beda4bde3..6b015185194d6f7aaf8ef138915669030b5f59ad 100644 (file)
@@ -2368,15 +2368,8 @@ SRXAFS_FetchData64(struct rx_call * acall, struct AFSFid * Fid, afs_int64 Pos,
     int code;
     afs_sfsize_t tPos, tLen;
 
-#ifdef AFS_64BIT_ENV
     tPos = (afs_sfsize_t) Pos;
     tLen = (afs_sfsize_t) Len;
-#else /* AFS_64BIT_ENV */
-    if (Pos.high || Len.high)
-       return EFBIG;
-    tPos = Pos.low;
-    tLen = Len.low;
-#endif /* AFS_64BIT_ENV */
 
     code =
        common_FetchData64(acall, Fid, tPos, tLen, OutStatus, CallBack, Sync,
@@ -3210,17 +3203,9 @@ SRXAFS_StoreData64(struct rx_call * acall, struct AFSFid * Fid,
     afs_fsize_t tLength;
     afs_fsize_t tFileLength;
 
-#ifdef AFS_64BIT_ENV
     tPos = (afs_fsize_t) Pos;
     tLength = (afs_fsize_t) Length;
     tFileLength = (afs_fsize_t) FileLength;
-#else /* AFS_64BIT_ENV */
-    if (FileLength.high)
-       return EFBIG;
-    tPos = Pos.low;
-    tLength = Length.low;
-    tFileLength = FileLength.low;
-#endif /* AFS_64BIT_ENV */
 
     code =
        common_StoreData64(acall, Fid, InStatus, tPos, tLength, tFileLength,
@@ -6335,9 +6320,7 @@ SRXAFS_GetCapabilities(struct rx_call * acall, Capabilities * capabilities)
     dataBytes = 1 * sizeof(afs_int32);
     dataBuffP = (afs_uint32 *) malloc(dataBytes);
     dataBuffP[0] = VICED_CAPABILITY_ERRORTRANS | VICED_CAPABILITY_WRITELOCKACL;
-#if defined(AFS_64BIT_ENV)
     dataBuffP[0] |= VICED_CAPABILITY_64BITFILES;
-#endif
     if (saneacls)
        dataBuffP[0] |= VICED_CAPABILITY_SANEACLS;
 
index 5555391c7ef8f2af41845e7178dce88a3814174e..602d2bbf8aa26c3959316ef1d342e619b47f7ac8 100644 (file)
@@ -2688,9 +2688,7 @@ ReadDump(char *file, int timebits)
     int fd, oflag;
     afs_uint32 magic, freelisthead;
     afs_uint32 now;
-#ifdef AFS_64BIT_ENV
     afs_int64 now64;
-#endif
 
     oflag = O_RDONLY;
 #ifdef AFS_NT40_ENV
@@ -2714,13 +2712,12 @@ ReadDump(char *file, int timebits)
            exit(1);
        }
     }
-#ifdef AFS_64BIT_ENV
     if (timebits == 64) {
        read(fd, &now64, sizeof(afs_int64));
        now = (afs_int32) now64;
     } else
-#endif
        read(fd, &now, sizeof(afs_int32));
+
     read(fd, &cbstuff, sizeof(cbstuff));
     read(fd, TimeOuts, sizeof(TimeOuts));
     read(fd, timeout, sizeof(timeout));
@@ -2800,9 +2797,7 @@ main(int argc, char **argv)
            argc--;
            timebits = atoi(*++argv);
            if ((timebits != 32)
-#ifdef AFS_64BIT_ENV
                && (timebits != 64)
-#endif
                )
                err++;
        } else if (!strcmp(*argv, "-volume")) {
@@ -2819,9 +2814,7 @@ main(int argc, char **argv)
     if (err || argc != 1) {
        fprintf(stderr,
                "Usage: cbd [-host cbid] [-fid volume vnode] [-stats] [-all] [-timebits 32"
-#ifdef AFS_64BIT_ENV
                "|64"
-#endif
                "] callbackdumpfile\n");
        fprintf(stderr,
                "[cbid is shown for each host in the hosts.dump file]\n");
index 845d64268cbec9859c8dcccb257d27a2d31108d7..2b25dc8192bd4da646aeb83faf2a907c6675ad77 100644 (file)
@@ -1514,7 +1514,6 @@ volser_WriteFile(int vn, struct iod *iodp, FdHandle_t * handleP, int tag,
 
 
     *status = 0;
-#ifdef AFS_64BIT_ENV
     {
        afs_uint32 filesize_high = 0L, filesize_low = 0L;
        if (tag == 'h') {
@@ -1529,12 +1528,6 @@ volser_WriteFile(int vn, struct iod *iodp, FdHandle_t * handleP, int tag,
        }
        FillInt64(filesize, filesize_high, filesize_low);
     }
-#else /* !AFS_64BIT_ENV */
-    if (!ReadInt32(iodp, &filesize)) {
-       *status = 1;
-       return (0);
-    }
-#endif /* !AFS_64BIT_ENV */
     p = (unsigned char *)malloc(size);
     if (p == NULL) {
        *status = 2;
index 61814650b09ed6d51f79b83fd53fedf71a7e541e..0fbda28e3dd222090f016d5b672c38936f65e8d5 100644 (file)
@@ -5779,11 +5779,7 @@ Sizes(struct cmd_syndesc *as, void *arock)
     fprintf(STDOUT, "Volume: %s\n", as->parms[0].items->data);
 
     if (as->parms[3].items) {  /* do the dump estimate */
-#ifdef AFS_64BIT_ENV
        vol_size.dump_size = 0;
-#else
-   FillInt64(vol_size.dump_size,0, 1);
-#endif
        code = UV_GetSize(avolid, aserver, apart, fromdate, &vol_size);
        if (code) {
            PrintDiagnostics("size", code);