Exemple #1
0
static void
BPrefetchNoCache(struct brequest *ab)
{
    struct vrequest treq;
    afs_size_t len;

    if ((len = afs_InitReq(&treq, ab->cred)))
	return;

#ifndef UKERNEL
    /* OS-specific prefetch routine */
    afs_PrefetchNoCache(ab->vc, ab->cred, (struct nocache_read_request *) ab->ptr_parm[0]);
#endif
}
Exemple #2
0
static void
BPrefetchNoCache(struct brequest *ab)
{
    struct vrequest *treq = NULL;
    int code;

    if ((code = afs_CreateReq(&treq, ab->cred)))
	return;

#ifndef UKERNEL
    /* OS-specific prefetch routine */
    afs_PrefetchNoCache(ab->vc, ab->cred, (struct nocache_read_request *) ab->ptr_parm[0]);
#endif
    afs_DestroyReq(treq);
}