25 #ifndef __MOTR_FILE_H__ 26 #define __MOTR_FILE_H__
static struct m0_rm_remote creditor
static struct io_request req
const struct m0_fid * fi_fid
const struct m0_fid_type m0_file_fid_type
M0_INTERNAL void m0_file_lock(struct m0_rm_owner *owner, struct m0_rm_incoming *req)
M0_INTERNAL void m0_file_mod_fini(void)
M0_INTERNAL void m0_file_lock_type_deregister(struct m0_rm_resource_type *flock_rt)
M0_INTERNAL int m0_file_lock_type_register(struct m0_rm_domain *dom, struct m0_rm_resource_type *flock_rt)
static struct m0_stob_domain * dom
M0_INTERNAL void m0_file_owner_init(struct m0_rm_owner *owner, const struct m0_uint128 *grp_id, struct m0_file *file, struct m0_rm_remote *creditor)
M0_INTERNAL int m0_file_mod_init(void)
M0_INTERNAL void m0_file_unlock(struct m0_rm_incoming *req)
struct m0_rm_resource fi_res
M0_INTERNAL void m0_file_fini(struct m0_file *file)
M0_INTERNAL void m0_file_owner_fini(struct m0_rm_owner *owner)
const struct m0_di_ops * fi_di_ops
M0_INTERNAL void m0_file_init(struct m0_file *file, const struct m0_fid *fid, struct m0_rm_domain *dom, enum m0_di_types di_type)