vm_object.h (4b8365d752ef48c14f0584d21b719bb386a7be82) | vm_object.h (d474440ab33c683b0e3f55e8e854f055615db6ec) |
---|---|
1/*- 2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU) 3 * 4 * Copyright (c) 1991, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * The Mach Operating System project at Carnegie-Mellon University. --- 126 unchanged lines hidden (view full) --- 135 136 /* 137 * Device pager 138 * 139 * devp_pglist - list of allocated pages 140 */ 141 struct { 142 TAILQ_HEAD(, vm_page) devp_pglist; | 1/*- 2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU) 3 * 4 * Copyright (c) 1991, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * The Mach Operating System project at Carnegie-Mellon University. --- 126 unchanged lines hidden (view full) --- 135 136 /* 137 * Device pager 138 * 139 * devp_pglist - list of allocated pages 140 */ 141 struct { 142 TAILQ_HEAD(, vm_page) devp_pglist; |
143 struct cdev_pager_ops *ops; | 143 const struct cdev_pager_ops *ops; |
144 struct cdev *dev; 145 } devp; 146 147 /* 148 * SG pager 149 * 150 * sgp_pglist - list of allocated pages 151 */ --- 21 unchanged lines hidden (view full) --- 173 struct pctrie swp_blks; 174 vm_ooffset_t writemappings; 175 } swp; 176 177 /* 178 * Phys pager 179 */ 180 struct { | 144 struct cdev *dev; 145 } devp; 146 147 /* 148 * SG pager 149 * 150 * sgp_pglist - list of allocated pages 151 */ --- 21 unchanged lines hidden (view full) --- 173 struct pctrie swp_blks; 174 vm_ooffset_t writemappings; 175 } swp; 176 177 /* 178 * Phys pager 179 */ 180 struct { |
181 struct phys_pager_ops *ops; | 181 const struct phys_pager_ops *ops; |
182 union { 183 void *data_ptr; 184 uintptr_t data_val; 185 }; 186 } phys; 187 } un_pager; 188 struct ucred *cred; 189 vm_ooffset_t charge; --- 204 unchanged lines hidden --- | 182 union { 183 void *data_ptr; 184 uintptr_t data_val; 185 }; 186 } phys; 187 } un_pager; 188 struct ucred *cred; 189 vm_ooffset_t charge; --- 204 unchanged lines hidden --- |