Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/vm_object.h
Show First 20 Lines • Show All 226 Lines • ▼ Show 20 Lines | |||||
#define OBJPC_INVAL 0x2 /* invalidate */ | #define OBJPC_INVAL 0x2 /* invalidate */ | ||||
#define OBJPC_NOSYNC 0x4 /* skip if PGA_NOSYNC */ | #define OBJPC_NOSYNC 0x4 /* skip if PGA_NOSYNC */ | ||||
/* | /* | ||||
* The following options are supported by vm_object_page_remove(). | * The following options are supported by vm_object_page_remove(). | ||||
*/ | */ | ||||
#define OBJPR_CLEANONLY 0x1 /* Don't remove dirty pages. */ | #define OBJPR_CLEANONLY 0x1 /* Don't remove dirty pages. */ | ||||
#define OBJPR_NOTMAPPED 0x2 /* Don't unmap pages. */ | #define OBJPR_NOTMAPPED 0x2 /* Don't unmap pages. */ | ||||
#define OBJPR_VALIDONLY 0x4 /* Ignore invalid pages. */ | |||||
TAILQ_HEAD(object_q, vm_object); | TAILQ_HEAD(object_q, vm_object); | ||||
extern struct object_q vm_object_list; /* list of allocated objects */ | extern struct object_q vm_object_list; /* list of allocated objects */ | ||||
extern struct mtx vm_object_list_mtx; /* lock for object list and count */ | extern struct mtx vm_object_list_mtx; /* lock for object list and count */ | ||||
extern struct vm_object kernel_object_store; | extern struct vm_object kernel_object_store; | ||||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |