Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/nvdimm/nvdimm_var.h
Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | struct nvdimm_dev { | ||||
device_t nv_dev; | device_t nv_dev; | ||||
nfit_handle_t nv_handle; | nfit_handle_t nv_handle; | ||||
uint64_t **nv_flush_addr; | uint64_t **nv_flush_addr; | ||||
int nv_flush_addr_cnt; | int nv_flush_addr_cnt; | ||||
uint32_t label_area_size; | uint32_t label_area_size; | ||||
uint32_t max_label_xfer; | uint32_t max_label_xfer; | ||||
struct nvdimm_label_index *label_index; | struct nvdimm_label_index *label_index; | ||||
SLIST_HEAD(, nvdimm_label_entry) labels; | SLIST_HEAD(, nvdimm_label_entry) labels; | ||||
bool have_handler; | |||||
}; | }; | ||||
enum SPA_mapping_type { | enum SPA_mapping_type { | ||||
SPA_TYPE_VOLATILE_MEMORY = 0, | SPA_TYPE_VOLATILE_MEMORY = 0, | ||||
SPA_TYPE_PERSISTENT_MEMORY = 1, | SPA_TYPE_PERSISTENT_MEMORY = 1, | ||||
SPA_TYPE_CONTROL_REGION = 2, | SPA_TYPE_CONTROL_REGION = 2, | ||||
SPA_TYPE_DATA_REGION = 3, | SPA_TYPE_DATA_REGION = 3, | ||||
SPA_TYPE_VOLATILE_VIRTUAL_DISK = 4, | SPA_TYPE_VOLATILE_VIRTUAL_DISK = 4, | ||||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |