summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pager.h
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2002-03-10 21:52:48 +0000
committereivind <eivind@FreeBSD.org>2002-03-10 21:52:48 +0000
commit0799ec54b17250c98026f90199f5baedd6b2f059 (patch)
tree04ac1a4dc72dcc8cc27d9fc6a8db45c2ac58d464 /sys/vm/vm_pager.h
parent50558d3ff6041cd51346a332bab715d69e7a1f97 (diff)
downloadFreeBSD-src-0799ec54b17250c98026f90199f5baedd6b2f059.zip
FreeBSD-src-0799ec54b17250c98026f90199f5baedd6b2f059.tar.gz
- Remove a number of extra newlines that do not belong here according to
style(9) - Minor space adjustment in cases where we have "( ", " )", if(), return(), while(), for(), etc. - Add /* SYMBOL */ after a few #endifs. Reviewed by: alc
Diffstat (limited to 'sys/vm/vm_pager.h')
-rw-r--r--sys/vm/vm_pager.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/vm/vm_pager.h b/sys/vm/vm_pager.h
index 427d103..df0a508 100644
--- a/sys/vm/vm_pager.h
+++ b/sys/vm/vm_pager.h
@@ -83,7 +83,6 @@ struct pagerops {
#define VM_PAGER_PUT_INVAL 0x2
#ifdef _KERNEL
-
#ifdef MALLOC_DECLARE
MALLOC_DECLARE(M_VMPGDATA);
#endif
@@ -114,7 +113,6 @@ void vm_pager_strategy __P((vm_object_t object, struct bio *bp));
* ( or into VM space somewhere ). If the pagein was successful, we
* must fully validate it.
*/
-
static __inline int
vm_pager_get_pages(
vm_object_t object,
@@ -130,7 +128,7 @@ vm_pager_get_pages(
if (r == VM_PAGER_OK && m[reqpage]->valid != VM_PAGE_BITS_ALL) {
vm_page_zero_invalid(m[reqpage], TRUE);
}
- return(r);
+ return (r);
}
static __inline void
@@ -156,7 +154,6 @@ vm_pager_put_pages(
*
* This routine does not have to be called at any particular spl.
*/
-
static __inline boolean_t
vm_pager_has_page(
vm_object_t object,
@@ -179,7 +176,6 @@ vm_pager_has_page(
*
* This function may not block.
*/
-
static __inline void
vm_pager_page_unswapped(vm_page_t m)
{
@@ -188,6 +184,5 @@ vm_pager_page_unswapped(vm_page_t m)
(*pagertab[m->object->type]->pgo_pageunswapped)(m);
}
-#endif
-
+#endif /* _KERNEL */
#endif /* _VM_PAGER_ */
OpenPOWER on IntegriCloud