Add a space after a comma in a few places (KNF).

This commit is contained in:
simonb 2002-02-15 17:45:05 +00:00
parent 45a18d6ff2
commit fbaba2a978
1 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: uvm_bio.c,v 1.23 2002/01/19 16:55:20 chs Exp $ */
/* $NetBSD: uvm_bio.c,v 1.24 2002/02/15 17:45:05 simonb Exp $ */
/*
* Copyright (c) 1998 Chuck Silvers.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.23 2002/01/19 16:55:20 chs Exp $");
__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.24 2002/02/15 17:45:05 simonb Exp $");
#include "opt_uvmhist.h"
@ -247,7 +247,7 @@ ubc_fault(ufi, ign1, ign2, ign3, ign4, fault_type, access_type, flags)
ubc_offset = va - (vaddr_t)ubc_object.kva;
UVMHIST_LOG(ubchist, "va 0x%lx ubc_offset 0x%lx at %d",
va, ubc_offset, access_type,0);
va, ubc_offset, access_type, 0);
umap = &ubc_object.umap[ubc_offset >> ubc_winshift];
KASSERT(umap->refcount != 0);
@ -276,7 +276,8 @@ again:
flags |= PGO_PASTEOF;
error = VOP_GETPAGES(vp, umap->offset + slot_offset, pgs, &npages, 0,
access_type, 0, flags);
UVMHIST_LOG(ubchist, "getpages error %d npages %d", error, npages,0,0);
UVMHIST_LOG(ubchist, "getpages error %d npages %d", error, npages, 0,
0);
if (error == EAGAIN) {
tsleep(&lbolt, PVM, "ubc_fault", 0);
@ -301,11 +302,11 @@ again:
#else
prot = VM_PROT_READ | VM_PROT_WRITE;
#endif
UVMHIST_LOG(ubchist, "va 0x%lx eva 0x%lx", va, eva, 0,0);
UVMHIST_LOG(ubchist, "va 0x%lx eva 0x%lx", va, eva, 0, 0);
simple_lock(&uobj->vmobjlock);
uvm_lock_pageq();
for (i = 0; va < eva; i++, va += PAGE_SIZE) {
UVMHIST_LOG(ubchist, "pgs[%d] = %p", i, pgs[i],0,0);
UVMHIST_LOG(ubchist, "pgs[%d] = %p", i, pgs[i], 0, 0);
pg = pgs[i];
if (pg == NULL || pg == PGO_DONTCARE) {
@ -451,7 +452,7 @@ again:
simple_lock(&uobj->vmobjlock);
error = VOP_GETPAGES(vp, trunc_page(offset), pgs, &npages, 0,
VM_PROT_READ|VM_PROT_WRITE, 0, gpflags);
UVMHIST_LOG(ubchist, "faultbusy getpages %d", error,0,0,0);
UVMHIST_LOG(ubchist, "faultbusy getpages %d", error, 0, 0, 0);
if (error) {
goto out;
}
@ -483,7 +484,7 @@ ubc_release(va, flags)
boolean_t unmapped;
UVMHIST_FUNC("ubc_release"); UVMHIST_CALLED(ubchist);
UVMHIST_LOG(ubchist, "va %p", va,0,0,0);
UVMHIST_LOG(ubchist, "va %p", va, 0, 0, 0);
umap = &ubc_object.umap[((char *)va - ubc_object.kva) >> ubc_winshift];
umapva = UBC_UMAP_ADDR(umap);
uobj = umap->uobj;
@ -557,7 +558,7 @@ ubc_release(va, flags)
inactive);
}
}
UVMHIST_LOG(ubchist, "umap %p refs %d", umap, umap->refcount,0,0);
UVMHIST_LOG(ubchist, "umap %p refs %d", umap, umap->refcount, 0, 0);
simple_unlock(&ubc_object.uobj.vmobjlock);
}
@ -576,7 +577,7 @@ ubc_flush(uobj, start, end)
UVMHIST_FUNC("ubc_flush"); UVMHIST_CALLED(ubchist);
UVMHIST_LOG(ubchist, "uobj %p start 0x%lx end 0x%lx",
uobj, start, end,0);
uobj, start, end, 0);
simple_lock(&ubc_object.uobj.vmobjlock);
for (umap = ubc_object.umap;