Lines Matching defs:region

27 	/* If using cached L2P, this region stores the serialized instance of it */
43 /* User data region on the nv cache device */
46 /* User data region on the base device */
63 /* Max layout region for metadata prior to the major upgrade improvements */
77 /* last nvc/base region in terms of lba address space */
86 /* Current version of the region */
89 /* Offset in FTL_BLOCK_SIZE unit where the region exists on the device */
96 /* Data or metadata region on devices */
98 /* Name of the region */
104 /* Mirror region type - a region may be mirrored for higher durability */
107 /* Current region version */
111 * A metadata region may be subdivided into multiple smaller entries.
112 * Eg. there's one region describing all bands, but you may be able to access
123 /* Device of region */
126 /* IO channel of region */
167 struct ftl_layout_region region[FTL_LAYOUT_REGION_TYPE_MAX];
178 * @brief Create a new MD region
181 * @param reg_type region type
182 * @param reg_version region version
193 uint32_t reg_version, size_t entry_size, size_t entry_count, struct ftl_layout_region *region);
199 * @brief Get number of blocks required to store an MD region
202 * @param bytes size of the MD region in bytes
204 * @retval Number of blocks required to store an MD region
212 * @param blocks size of the MD region in blocks
214 * @retval Aligned number of blocks required to store an MD region
219 * @brief Get name of an MD region
221 * @param reg_type MD region type
223 * @return Name of the MD region specified
251 * @brief Get the FTL layout region
254 * @param reg_type type of the layout region
256 * @return pointer to the layout region if region was created or NULL, if not created
286 * @brief Adds a new region entry to the layout
293 * @param reg_type type of the layout region
294 * @return int 0: add region successful, -1 otherwise
300 * @brief Removes the given metadata region from the layout
306 * @param reg_type type of the layout region
307 * @param reg_ver region version to be dropped
308 * @return int 0: drop region successful, -1 otherwise