Style.
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
4869f5945e
commit
272cc3c4d0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309708
@ -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)
|
||||
{
|
||||
@ -165,7 +159,7 @@ phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int *rbehind,
|
||||
|
||||
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");
|
||||
@ -183,7 +177,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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user