Motr
M0
|
#include "lib/errno.h"
#include "lib/misc.h"
#include "lib/memory.h"
#include "fid/fid.h"
#include "rm/rm.h"
#include "rm/rm_internal.h"
#include "file/di.h"
Go to the source code of this file.
Data Structures | |
struct | m0_file |
Macros | |
#define | __MOTR_FILE_H__ |
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 |