Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/user.h
Show First 20 Lines • Show All 528 Lines • ▼ Show 20 Lines | struct kinfo_vmentry { | ||||
uint32_t kve_vn_rdev_freebsd11; /* Device id if device. */ | uint32_t kve_vn_rdev_freebsd11; /* Device id if device. */ | ||||
uint16_t kve_vn_mode; /* File mode. */ | uint16_t kve_vn_mode; /* File mode. */ | ||||
uint16_t kve_status; /* Status flags. */ | uint16_t kve_status; /* Status flags. */ | ||||
union { | union { | ||||
uint64_t _kve_vn_fsid; /* dev_t of vnode location */ | uint64_t _kve_vn_fsid; /* dev_t of vnode location */ | ||||
uint64_t _kve_obj; /* handle of anon obj */ | uint64_t _kve_obj; /* handle of anon obj */ | ||||
} kve_type_spec; | } kve_type_spec; | ||||
uint64_t kve_vn_rdev; /* Device id if device. */ | uint64_t kve_vn_rdev; /* Device id if device. */ | ||||
int _kve_ispare[8]; /* Space for more stuff. */ | int kve_shared_resident; /* Number of shared pages. */ | ||||
int _kve_ispare[7]; /* Space for more stuff. */ | |||||
/* Truncated before copyout in sysctl */ | /* Truncated before copyout in sysctl */ | ||||
char kve_path[PATH_MAX]; /* Path to VM obj, if any. */ | char kve_path[PATH_MAX]; /* Path to VM obj, if any. */ | ||||
}; | }; | ||||
#define kve_vn_fsid kve_type_spec._kve_vn_fsid | #define kve_vn_fsid kve_type_spec._kve_vn_fsid | ||||
#define kve_obj kve_type_spec._kve_obj | #define kve_obj kve_type_spec._kve_obj | ||||
/* | /* | ||||
* The "vm.objects" sysctl provides a list of all VM objects in the system | * The "vm.objects" sysctl provides a list of all VM objects in the system | ||||
▲ Show 20 Lines • Show All 88 Lines • Show Last 20 Lines |