Lines Matching +full:slot +full:- +full:size
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright(c) 2013-2015 Intel Corporation. All rights reserved.
19 NSLABEL_FLAG_ROLABEL = 0x1, /* read-only label */
20 NSLABEL_FLAG_LOCAL = 0x2, /* DIMM-local namespace */
26 BTTINFO_FLAG_ERROR = 0x1, /* error state (read-only) */
34 * struct nd_namespace_index - label set superblock
37 * @labelsize: log2 size (v1 labels 128 bytes v2 labels 256 bytes)
40 * @mysize: size of this index struct
42 * @labeloff: offset of first label slot
49 * The size of free[] is rounded up so the total struct size is a
70 * struct cxl_region_label - CXL 2.0 Table 211
74 * @nlabel: 1 per interleave-way in the region
76 * @dpa: start address in device-local capacity for this label
77 * @rawsize: size of this label's contribution to region
79 * @slot: slot id of this label in label area
94 __le32 slot; member
102 * struct nvdimm_efi_label - namespace superblock
104 * @name: optional name (NULL-terminated)
109 * @lbasize: LBA size in bytes or 0 for pmem
111 * @rawsize: size of namespace
112 * @slot: slot of this label in label area
130 __le32 slot; member
144 * struct nvdimm_cxl_label - CXL 2.0 Table 212
151 * @dpa: start address in device-local capacity for this label
152 * @rawsize: size of this label's contribution to namespace
153 * @slot: slot id of this label in label area
157 * @lbasize: address geometry for disk-like personalities
170 __le32 slot; member
186 #define NVDIMM_BTT_GUID "8aed63a2-29a2-4c66-8b12-f05d15d3922a"
187 #define NVDIMM_BTT2_GUID "18633bfc-1735-4217-8ac9-17239282d3f8"
188 #define NVDIMM_PFN_GUID "266400ba-fb9f-4677-bcb0-968f11d0d225"
189 #define NVDIMM_DAX_GUID "97a86d9c-3cdd-4eda-986f-5068b4f80088"
191 #define CXL_REGION_UUID "529d7c61-da07-47c4-a93f-ecdf2c06f444"
192 #define CXL_NAMESPACE_UUID "68bb2c0a-5a77-4937-9f85-3caf41a0f93c"
195 * struct nd_label_id - identifier string for dpa allocation
196 * @id: "pmem-<namespace uuid>"
209 return -1; in nd_label_next_nsindex()
220 bool nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot);
225 struct nd_namespace_pmem *nspm, resource_size_t size);