sg_pager.c (a10c6f5544ccbab911d786d4b50d50cabd6bb5ab) | sg_pager.c (43f48b65c07e1b4337346cba5d51a3af75b7ae13) |
---|---|
1/*- 2 * Copyright (c) 2009 Advanced Computing Technologies LLC 3 * Written by: John H. Baldwin <jhb@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 28 unchanged lines hidden (view full) --- 37#include <sys/lock.h> 38#include <sys/mutex.h> 39#include <sys/sglist.h> 40#include <vm/vm.h> 41#include <vm/vm_param.h> 42#include <vm/vm_object.h> 43#include <vm/vm_page.h> 44#include <vm/vm_pager.h> | 1/*- 2 * Copyright (c) 2009 Advanced Computing Technologies LLC 3 * Written by: John H. Baldwin <jhb@FreeBSD.org> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 28 unchanged lines hidden (view full) --- 37#include <sys/lock.h> 38#include <sys/mutex.h> 39#include <sys/sglist.h> 40#include <vm/vm.h> 41#include <vm/vm_param.h> 42#include <vm/vm_object.h> 43#include <vm/vm_page.h> 44#include <vm/vm_pager.h> |
45#include <vm/vm_phys.h> |
|
45#include <vm/uma.h> 46 47static vm_object_t sg_pager_alloc(void *, vm_ooffset_t, vm_prot_t, 48 vm_ooffset_t, struct ucred *); 49static void sg_pager_dealloc(vm_object_t); 50static int sg_pager_getpages(vm_object_t, vm_page_t *, int, int); 51static void sg_pager_putpages(vm_object_t, vm_page_t *, int, 52 boolean_t, int *); --- 164 unchanged lines hidden --- | 46#include <vm/uma.h> 47 48static vm_object_t sg_pager_alloc(void *, vm_ooffset_t, vm_prot_t, 49 vm_ooffset_t, struct ucred *); 50static void sg_pager_dealloc(vm_object_t); 51static int sg_pager_getpages(vm_object_t, vm_page_t *, int, int); 52static void sg_pager_putpages(vm_object_t, vm_page_t *, int, 53 boolean_t, int *); --- 164 unchanged lines hidden --- |