sg_pager.c (c3aa3bf97c3740d5fae933e315f925b20530975c) sg_pager.c (d474440ab33c683b0e3f55e8e854f055615db6ec)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009 Hudson River Trading LLC
5 * Written by: John H. Baldwin <jhb@FreeBSD.org>
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 45 unchanged lines hidden (view full) ---

54 vm_ooffset_t, struct ucred *);
55static void sg_pager_dealloc(vm_object_t);
56static int sg_pager_getpages(vm_object_t, vm_page_t *, int, int *, int *);
57static void sg_pager_putpages(vm_object_t, vm_page_t *, int,
58 boolean_t, int *);
59static boolean_t sg_pager_haspage(vm_object_t, vm_pindex_t, int *,
60 int *);
61
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3 *
4 * Copyright (c) 2009 Hudson River Trading LLC
5 * Written by: John H. Baldwin <jhb@FreeBSD.org>
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 45 unchanged lines hidden (view full) ---

54 vm_ooffset_t, struct ucred *);
55static void sg_pager_dealloc(vm_object_t);
56static int sg_pager_getpages(vm_object_t, vm_page_t *, int, int *, int *);
57static void sg_pager_putpages(vm_object_t, vm_page_t *, int,
58 boolean_t, int *);
59static boolean_t sg_pager_haspage(vm_object_t, vm_pindex_t, int *,
60 int *);
61
62struct pagerops sgpagerops = {
62const struct pagerops sgpagerops = {
63 .pgo_alloc = sg_pager_alloc,
64 .pgo_dealloc = sg_pager_dealloc,
65 .pgo_getpages = sg_pager_getpages,
66 .pgo_putpages = sg_pager_putpages,
67 .pgo_haspage = sg_pager_haspage,
68};
69
70static vm_object_t

--- 158 unchanged lines hidden ---
63 .pgo_alloc = sg_pager_alloc,
64 .pgo_dealloc = sg_pager_dealloc,
65 .pgo_getpages = sg_pager_getpages,
66 .pgo_putpages = sg_pager_putpages,
67 .pgo_haspage = sg_pager_haspage,
68};
69
70static vm_object_t

--- 158 unchanged lines hidden ---