|
M0_INTERNAL int | m0_mdstore_statfs (struct m0_mdstore *md, struct m0_statfs *statfs) |
|
M0_INTERNAL int | m0_mdstore_init (struct m0_mdstore *md, struct m0_be_seg *db, bool init_root) |
|
M0_INTERNAL void | m0_mdstore_fini (struct m0_mdstore *md) |
|
M0_INTERNAL int | m0_mdstore_create (struct m0_mdstore *md, struct m0_sm_group *grp, struct m0_cob_domain_id *id, struct m0_be_domain *bedom, struct m0_be_seg *db) |
|
M0_INTERNAL int | m0_mdstore_destroy (struct m0_mdstore *md, struct m0_sm_group *grp, struct m0_be_domain *bedom) |
|
|
Handle unlink operation described by and cob is so called statdata cob and returned by m0_cob_locate(). Error code is returned in error case or zero otherwise.
|
M0_INTERNAL int | m0_mdstore_link (struct m0_mdstore *md, struct m0_fid *pfid, struct m0_cob *cob, struct m0_buf *name, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_unlink (struct m0_mdstore *md, struct m0_fid *pfid, struct m0_cob *cob, struct m0_buf *name, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_rename (struct m0_mdstore *md, struct m0_fid *pfid_tgt, struct m0_fid *pfid_src, struct m0_cob *cob_tgt, struct m0_cob *cob_src, struct m0_buf *tname, struct m0_buf *sname, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_fcreate (struct m0_mdstore *md, struct m0_fid *pfid, struct m0_cob_attr *attr, struct m0_cob **out, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_open (struct m0_mdstore *md, struct m0_cob *cob, m0_mdstore_locate_flags_t flags, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_close (struct m0_mdstore *md, struct m0_cob *cob, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_setattr (struct m0_mdstore *md, struct m0_cob *cob, struct m0_cob_attr *attr, struct m0_be_tx *tx) |
|
M0_INTERNAL int | m0_mdstore_getattr (struct m0_mdstore *md, struct m0_cob *cob, struct m0_cob_attr *attr) |
|
M0_INTERNAL int | m0_mdstore_readdir (struct m0_mdstore *md, struct m0_cob *cob, struct m0_rdpg *rdpg) |
|
M0_INTERNAL int | m0_mdstore_locate (struct m0_mdstore *md, const struct m0_fid *fid, struct m0_cob **cob, int flags) |
|
M0_INTERNAL int | m0_mdstore_lookup (struct m0_mdstore *md, struct m0_fid *pfid, struct m0_buf *name, struct m0_cob **cob) |
|
M0_INTERNAL int | m0_mdstore_path (struct m0_mdstore *md, struct m0_fid *fid, char **path) |
|
M0_INTERNAL void | m0_mdstore_create_credit (struct m0_mdstore *md, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | m0_mdstore_link_credit (struct m0_mdstore *md, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | m0_mdstore_unlink_credit (struct m0_mdstore *md, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | m0_mdstore_rename_credit (struct m0_mdstore *md, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL void | m0_mdstore_setattr_credit (struct m0_mdstore *md, struct m0_be_tx_credit *accum) |
|
M0_INTERNAL int | m0_mdstore_mod_init (void) |
|
M0_INTERNAL void | m0_mdstore_mod_fini (void) |
|