extern struct osi_file *afs_cacheInodep;
extern int DCHash(struct VenusFid *fid, afs_int32 chunk);
extern int DVHash(struct VenusFid *fid);
-extern void afs_dcacheInit(int afiles, int ablocks, int aDentries, int achunk,
- int aflags);
+extern int afs_dcacheInit(int afiles, int ablocks, int aDentries, int achunk,
+ int aflags);
extern int afs_PutDCache(struct dcache *adc);
extern void afs_FlushDCache(struct dcache *adc);
extern void shutdown_dcache(void);
afs_ucred_t *acred, int sync);
extern void updateV2DC(int lockVc, struct vcache *v, struct dcache *d,
int src);
-extern void afs_WriteThroughDSlots(void);
+extern int afs_WriteThroughDSlots(void);
extern struct dcache *afs_UFSGetDSlot(afs_int32 aslot, dslot_state type);
extern int afs_WriteDCache(struct dcache *adc, int atime);
extern int afs_wakeup(struct vcache *avc);
#endif
-/* LINUX/osi_fetchstore.c */
-#ifdef AFS_LINUX26_ENV
-extern int afs_linux_storeproc(struct storeOps *, void *, struct dcache *,
- int *, afs_size_t *);
-#endif
-
/* ARCH/osi_crypto.c */
extern int osi_readRandom(void *, afs_size_t);
-/* ARCH/osi_misc.c */
-extern void afs_osi_SetTime(osi_timeval_t * atv);
-
/* LINUX/osi_misc.c */
#ifdef AFS_LINUX20_ENV
#ifdef AFS_LINUX24_ENV
# endif /* AFS_XBSD_ENV */
#endif /* UKERNEL */
-#if defined(AFS_LINUX26_ENV)
+#if defined(AFS_LINUX26_ENV) || defined(AFS_PAG_ONEGROUP_ENV)
extern afs_int32 osi_get_group_pag(afs_ucred_t *cred);
#endif
struct rx_connection *rxconn);
extern afs_int32 afs_data_pointer_to_int32(const void *p);
-extern void afs_CheckLocks(void);
extern int afs_badop(void);
extern int afs_noop(void);
extern afs_int32 afs_data_pointer_to_int32(const void *p);
extern void afs_StaleVCacheFlags(struct vcache *avc, afs_stalevc_flags_t flags,
afs_uint32 cflags);
+extern void afs_SetDataVersion(struct vcache *avc, afs_hyper_t *avers);
+
extern void afs_ProcessFS(struct vcache *avc,
struct AFSFetchStatus *astat,
struct vrequest *areq);