Motr
M0
|
![]() |
Modules | |
Distributed File Lock Internals | |
Data Structures | |
struct | m0_file |
Functions | |
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) |
M0_INTERNAL void | m0_file_fini (struct m0_file *file) |
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 void | m0_file_owner_fini (struct m0_rm_owner *owner) |
M0_INTERNAL void | m0_file_lock (struct m0_rm_owner *owner, struct m0_rm_incoming *req) |
M0_INTERNAL void | m0_file_unlock (struct m0_rm_incoming *req) |
M0_INTERNAL int | m0_file_lock_type_register (struct m0_rm_domain *dom, struct m0_rm_resource_type *flock_rt) |
M0_INTERNAL void | m0_file_lock_type_deregister (struct m0_rm_resource_type *flock_rt) |
M0_INTERNAL int | m0_file_mod_init (void) |
M0_INTERNAL void | m0_file_mod_fini (void) |
Variables | |
const struct m0_fid_type | m0_file_fid_type |
const struct m0_fid_type | m0_file_fid_type |
M0_INTERNAL void m0_file_fini | ( | struct m0_file * | file | ) |
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 | ||
) |
M0_INTERNAL void m0_file_lock | ( | struct m0_rm_owner * | owner, |
struct m0_rm_incoming * | req | ||
) |
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 | ||
) |
M0_INTERNAL void m0_file_mod_fini | ( | void | ) |
M0_INTERNAL int m0_file_mod_init | ( | void | ) |
M0_INTERNAL void m0_file_owner_fini | ( | struct m0_rm_owner * | owner | ) |
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 void m0_file_unlock | ( | struct m0_rm_incoming * | req | ) |
const struct m0_fid_type m0_file_fid_type |
const struct m0_fid_type m0_file_fid_type |