30 #define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_LAYOUT 49 const uint32_t pool_width,
93 (*layout)->l_pver =
pv;
160 #undef M0_TRACE_SUBSYSTEM
static int __layout_build(struct m0_layout_domain *dom, const uint64_t layout_id, struct m0_pool_version *pv, struct m0_layout_enum *le, struct m0_layout **layout)
struct m0_pool_version * pv
#define M0_LOG(level,...)
M0_INTERNAL void m0_uint128_init(struct m0_uint128 *u128, const char *magic)
M0_INTERNAL int m0_linear_enum_build(struct m0_layout_domain *dom, const struct m0_layout_linear_attr *attr, struct m0_layout_linear_enum **out)
M0_INTERNAL void m0_layout_enum_fini(struct m0_layout_enum *le)
static int layout_enum_build(struct m0_layout_domain *dom, const uint32_t pool_width, struct m0_layout_enum **lay_enum)
struct m0_layout_enum lle_base
M0_INTERNAL uint64_t m0_pool_version2layout_id(const struct m0_fid *pv_fid, uint64_t lid)
static struct m0_stob_domain * dom
M0_INTERNAL int m0_layout_init_by_pver(struct m0_layout_domain *dom, struct m0_pool_version *pv, int *count)
struct m0_uint128 pa_seed
M0_INTERNAL struct m0_layout * m0_pdl_to_layout(struct m0_pdclust_layout *pl)
const int m0_lid_to_unit_map_nr
M0_INTERNAL int m0_pdclust_build(struct m0_layout_domain *dom, uint64_t lid, const struct m0_pdclust_attr *attr, struct m0_layout_enum *le, struct m0_pdclust_layout **out)
struct m0_pdclust_attr pv_attr