diff options
author | kib <kib@FreeBSD.org> | 2016-12-15 10:47:35 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-12-15 10:47:35 +0000 |
commit | 4b9e3b4009e2096174feba461142c88dcdd2fb56 (patch) | |
tree | 38297e6e2824224597cac07133cd6ff3cb0b9bad /sys/vm/phys_pager.c | |
parent | 43517f2be0582024be83e733f5fd3df56e977dc9 (diff) | |
download | FreeBSD-src-4b9e3b4009e2096174feba461142c88dcdd2fb56.zip FreeBSD-src-4b9e3b4009e2096174feba461142c88dcdd2fb56.tar.gz |
MFC r309708:
Style.
Diffstat (limited to 'sys/vm/phys_pager.c')
-rw-r--r-- | sys/vm/phys_pager.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/vm/phys_pager.c b/sys/vm/phys_pager.c index 885a451..861776d 100644 --- a/sys/vm/phys_pager.c +++ b/sys/vm/phys_pager.c @@ -56,9 +56,6 @@ phys_pager_init(void) mtx_init(&phys_pager_mtx, "phys_pager list", NULL, MTX_DEF); } -/* - * MPSAFE - */ static vm_object_t phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, vm_ooffset_t foff, struct ucred *cred) @@ -101,8 +98,8 @@ phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, object = object1; object1 = NULL; object->handle = handle; - TAILQ_INSERT_TAIL(&phys_pager_object_list, object, - pager_object_list); + TAILQ_INSERT_TAIL(&phys_pager_object_list, + object, pager_object_list); } } else { if (pindex > object->size) @@ -117,9 +114,6 @@ phys_pager_alloc(void *handle, vm_ooffset_t size, vm_prot_t prot, return (object); } -/* - * MPSAFE - */ static void phys_pager_dealloc(vm_object_t object) { @@ -167,7 +161,7 @@ phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage) static void phys_pager_putpages(vm_object_t object, vm_page_t *m, int count, boolean_t sync, - int *rtvals) + int *rtvals) { panic("phys_pager_putpage called"); @@ -185,7 +179,7 @@ phys_pager_putpages(vm_object_t object, vm_page_t *m, int count, boolean_t sync, #endif static boolean_t phys_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before, - int *after) + int *after) { vm_pindex_t base, end; |