void * rock = NULL;
unsigned int i, j;
- struct AFSStoreStatus InStatus;
struct AFSFetchStatus OutStatus;
int doProcessFS = 0;
afs_size_t base, bytes, length;
rxfs_fetchMore(void *r, afs_uint32 *length, afs_uint32 *moredata)
{
afs_int32 code;
- register struct rxfs_fetchVariables *v
- = (struct rxfs_fetchVariables *)r;
+ struct rxfs_fetchVariables *v = (struct rxfs_fetchVariables *)r;
/*
* The fetch protocol is extended for the AFS/DFS translator
};
afs_int32
-rxfs_fetchInit(register struct afs_conn *tc, struct vcache *avc,afs_offs_t base,
+rxfs_fetchInit(struct afs_conn *tc, struct vcache *avc, afs_offs_t base,
afs_uint32 size, afs_uint32 *alength, afs_uint32 *moredata,
struct dcache *adc,
struct osi_file *fP, struct fetchOps **ops, void **rock)
* \note Environment: Nothing interesting.
*/
int
-afs_CacheFetchProc(register struct afs_conn *tc,
- register struct osi_file *fP, afs_size_t base,
- struct dcache *adc, struct vcache *avc,
- afs_int32 size,
+afs_CacheFetchProc(struct afs_conn *tc, struct osi_file *fP, afs_size_t base,
+ struct dcache *adc, struct vcache *avc, afs_int32 size,
struct afs_FetchOutput *tsmall)
{
- register afs_int32 code;
+ afs_int32 code;
afs_uint32 length;
afs_uint32 bytesread, byteswritten;
struct fetchOps *ops = NULL;
void *rock = NULL;
int moredata = 0;
- register int offset = 0;
+ int offset = 0;
XSTATS_DECLS;
#ifndef AFS_NOSTATS
register struct vcache *avc);
extern void shutdown_mariner(void);
+/* afs_fetchstore.c */
+extern int afs_CacheStoreVCache(struct dcache **dcList, struct vcache *avc,
+ struct vrequest *areq,
+ int sync, unsigned int minj,
+ unsigned int high, unsigned int moredata,
+ afs_hyper_t *anewDV,
+ afs_size_t *amaxStoredLength);
+extern int afs_CacheFetchProc(struct afs_conn *tc, struct osi_file *fP,
+ afs_size_t abase, struct dcache *adc,
+ struct vcache *avc, afs_int32 size,
+ struct afs_FetchOutput *tsmall);
/* afs_memcache.c */
extern int afs_InitMemCache(int blkCount, int blkSize, int flags);
extern int afs_MemWriteUIO(afs_dcache_id_t *ainode, struct uio *uioP);
extern int afs_MemCacheTruncate(register struct osi_file *fP,
int size);
-extern int afs_CacheStoreVCache(struct dcache **dcList,
- struct vcache *avc,
- struct vrequest *areq,
- int sync,
- unsigned int minj,
- unsigned int high,
- unsigned int moredata,
- afs_hyper_t *anewDV,
- afs_size_t *amaxStoredLength);
-extern int afs_CacheFetchProc(register struct afs_conn *tc,
- register struct osi_file *fP,
- afs_size_t abase, struct dcache *adc,
- struct vcache *avc,
- afs_int32 size,
- struct afs_FetchOutput *tsmall);
extern void shutdown_memcache(void);