M0_INTERNAL void m0_long_lock_link_init(struct m0_long_lock_link *link, struct m0_fom *fom, struct m0_long_lock_addb2 *addb2)
static struct m0_addb2_mach * m
static size_t locality(const struct m0_fom *fom)
struct m0_long_lock_link fr_link
int(* fto_create)(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
#define container_of(ptr, type, member)
struct m0_reqh_service_type ut_long_lock_service_type
void m0_fom_init(struct m0_fom *fom, const struct m0_fom_type *fom_type, const struct m0_fom_ops *ops, struct m0_fop *fop, struct m0_fop *reply, struct m0_reqh *reqh)
static int fom_rdwr_tick(struct m0_fom *fom)
void m0_fom_fini(struct m0_fom *fom)
M0_INTERNAL void m0_long_lock_link_fini(struct m0_long_lock_link *link)
static const struct m0_fom_ops fom_rdwr_ops
static int rdwr_fom_create(struct m0_fom **m, struct m0_reqh *reqh)
static void fop_rdwr_fom_fini(struct m0_fom *fom)
const struct m0_fom_type_ops fom_rdwr_type_ops
static size_t fom_rdwr_home_locality(const struct m0_fom *fom)
struct m0_fom_type rdwr_fom_type
#define M0_ALLOC_PTR(ptr)
void(* fo_fini)(struct m0_fom *fom)
struct test_request * fr_req