|
M0_INTERNAL int | m0_sns_cm_fctx_init (struct m0_sns_cm *scm, const struct m0_fid *fid, struct m0_sns_cm_file_ctx **sc_fctx) |
|
M0_INTERNAL void | m0_sns_cm_fctx_fini (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL int | m0_sns_cm_file_lock (struct m0_sns_cm *scm, const struct m0_fid *fid, struct m0_sns_cm_file_ctx **out) |
|
M0_INTERNAL int | m0_sns_cm_file_lock_wait (struct m0_sns_cm_file_ctx *fctx, struct m0_fom *fom) |
|
M0_INTERNAL void | m0_sns_cm_file_unlock (struct m0_sns_cm *scm, struct m0_fid *fid) |
|
M0_INTERNAL struct m0_sns_cm_file_ctx * | m0_sns_cm_fctx_locate (struct m0_sns_cm *scm, struct m0_fid *fid) |
|
M0_INTERNAL struct m0_sns_cm_file_ctx * | m0_sns_cm_fctx_get (struct m0_sns_cm *scm, const struct m0_cm_ag_id *id) |
|
M0_INTERNAL void | m0_sns_cm_fctx_put (struct m0_sns_cm *scm, const struct m0_cm_ag_id *id) |
|
M0_INTERNAL void | m0_sns_cm_fctx_cleanup (struct m0_sns_cm *scm) |
|
M0_INTERNAL void | m0_sns_cm_flock_resource_set (struct m0_sns_cm *scm) |
|
M0_INTERNAL int | m0_sns_cm_file_attr_and_layout (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL void | m0_sns_cm_file_attr_and_layout_wait (struct m0_sns_cm_file_ctx *fctx, struct m0_fom *fom) |
|
M0_INTERNAL int | m0_sns_cm_fctx_state_get (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL struct m0_pool_version * | m0_sns_cm_pool_version_get (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL void | m0_sns_cm_file_fwd_map (struct m0_sns_cm_file_ctx *fctx, const struct m0_pdclust_src_addr *sa, struct m0_pdclust_tgt_addr *ta) |
|
M0_INTERNAL void | m0_sns_cm_file_bwd_map (struct m0_sns_cm_file_ctx *fctx, const struct m0_pdclust_tgt_addr *ta, struct m0_pdclust_src_addr *sa) |
|
M0_INTERNAL void | m0_sns_cm_fctx_lock (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL void | m0_sns_cm_fctx_unlock (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL uint64_t | m0_sns_cm_file_data_units (struct m0_sns_cm_file_ctx *fctx) |
|
M0_INTERNAL bool | m0_sns_cm_file_unit_is_EOF (struct m0_pdclust_layout *pl, uint64_t nr_max_data_units, uint64_t group, uint32_t unit) |
|
| M0_HT_DESCR_DECLARE (m0_scmfctx, M0_EXTERN) |
|
| M0_HT_DECLARE (m0_scmfctx, M0_EXTERN, struct m0_sns_cm_file_ctx, struct m0_fid) |
|