Go to the source code of this file.
|
| M0_BOB_DEFINE (M0_INTERNAL, &ol_bobtype, m0_op_layout) |
|
static int | pdclust_layout_get (struct m0_client_layout *layout) |
|
static void | pdclust_layout_put (struct m0_client_layout *layout) |
|
static int | pdclust_layout_alloc (struct m0_client_layout **out) |
|
static int | pdclust_layout_copy_to_app (struct m0_client_layout *to, void *from) |
|
static int | pdclust_layout_copy_from_app (struct m0_client_layout *from, void *to) |
|
static int | pdclust_layout_launch (struct m0_op_layout *ol) |
|
int | m0_client_layout_capture (struct m0_client_layout *layout, struct m0_obj *obj, struct m0_client_layout **out) |
|
static int | capture_layout_copy_to_app (struct m0_client_layout *to, void *from) |
|
static int | capture_layout_copy_from_app (struct m0_client_layout *from, void *to) |
|
static int | capture_layout_get_sync (struct m0_obj *obj) |
|
static int | capture_layout_get (struct m0_client_layout *layout) |
|
static void | capture_layout_put (struct m0_client_layout *layout) |
|
static int | capture_layout_io_build (struct m0_io_args *args, struct m0_op **op) |
|
static int | capture_layout_alloc (struct m0_client_layout **out) |
|
M0_INTERNAL int | m0_client__layout_get (struct m0_client_layout *layout) |
|
M0_INTERNAL void | m0_client__layout_put (struct m0_client_layout *layout) |
|
static bool | layout_op_invariant (struct m0_op_layout *ol) |
|
static void | layout_op_cb_fini (struct m0_op_common *oc) |
|
static void | layout_op_cb_free (struct m0_op_common *oc) |
|
static void | layout_op_cb_launch (struct m0_op_common *oc) |
|
static int | layout_op_init (struct m0_obj *obj, struct m0_client_layout *layout, enum m0_entity_opcode opcode, struct m0_op *op) |
|
int | m0_client_layout_op (struct m0_obj *obj, enum m0_entity_opcode opcode, struct m0_client_layout *layout, struct m0_op **op) |
|
struct m0_client_layout * | m0_client_layout_alloc (enum m0_client_layout_type type) |
|
void | m0_client_layout_free (struct m0_client_layout *layout) |
|
◆ M0_TRACE_SUBSYSTEM
#define M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_CLIENT |
◆ capture_layout_alloc()
◆ capture_layout_copy_from_app()
static int capture_layout_copy_from_app |
( |
struct m0_client_layout * |
from, |
|
|
void * |
to |
|
) |
| |
|
static |
◆ capture_layout_copy_to_app()
static int capture_layout_copy_to_app |
( |
struct m0_client_layout * |
to, |
|
|
void * |
from |
|
) |
| |
|
static |
◆ capture_layout_get()
◆ capture_layout_get_sync()
static int capture_layout_get_sync |
( |
struct m0_obj * |
obj | ) |
|
|
static |
◆ capture_layout_io_build()
static int capture_layout_io_build |
( |
struct m0_io_args * |
args, |
|
|
struct m0_op ** |
op |
|
) |
| |
|
static |
◆ capture_layout_put()
◆ layout_op_cb_fini()
◆ layout_op_cb_free()
◆ layout_op_cb_launch()
◆ layout_op_init()
◆ layout_op_invariant()
Checks a layout operation is not malformed or corrupted.
Definition at line 302 of file layout.c.
◆ M0_BOB_DEFINE()
◆ m0_client__layout_get()
-------------------------------------------------------------------------—*
Client LAYOUT APIS *
Definition at line 276 of file layout.c.
◆ m0_client__layout_put()
◆ pdclust_layout_alloc()
◆ pdclust_layout_copy_from_app()
static int pdclust_layout_copy_from_app |
( |
struct m0_client_layout * |
from, |
|
|
void * |
to |
|
) |
| |
|
static |
◆ pdclust_layout_copy_to_app()
static int pdclust_layout_copy_to_app |
( |
struct m0_client_layout * |
to, |
|
|
void * |
from |
|
) |
| |
|
static |
◆ pdclust_layout_get()
-------------------------------------------------------------------------—*
Routines for pdclust layout *
Definition at line 52 of file layout.c.
◆ pdclust_layout_launch()
static int pdclust_layout_launch |
( |
struct m0_op_layout * |
ol | ) |
|
|
static |
◆ pdclust_layout_put()
◆ layout_capture_ops
Initial value:= {
}
static void capture_layout_put(struct m0_client_layout *layout)
static int capture_layout_alloc(struct m0_client_layout **out)
static int capture_layout_get(struct m0_client_layout *layout)
static int capture_layout_io_build(struct m0_io_args *args, struct m0_op **op)
Definition at line 47 of file layout.c.
◆ layout_pdclust_ops
Initial value:= {
}
static int pdclust_layout_get(struct m0_client_layout *layout)
static int pdclust_layout_alloc(struct m0_client_layout **out)
static void pdclust_layout_put(struct m0_client_layout *layout)
M0_INTERNAL int m0__obj_io_build(struct m0_io_args *args, struct m0_op **op)
Definition at line 46 of file layout.c.
◆ m0_op_layout_capture_ops
Initial value:= {
}
M0_INTERNAL int m0_layout_op_launch(struct m0_op_layout *ol)
static int capture_layout_copy_from_app(struct m0_client_layout *from, void *to)
static int capture_layout_copy_to_app(struct m0_client_layout *to, void *from)
Definition at line 202 of file layout.c.
◆ m0_op_layout_pdclust_ops
Initial value:= {
}
static int pdclust_layout_copy_from_app(struct m0_client_layout *from, void *to)
static int pdclust_layout_launch(struct m0_op_layout *ol)
static int pdclust_layout_copy_to_app(struct m0_client_layout *to, void *from)
Definition at line 128 of file layout.c.
◆ ol_bobtype
Initial value:= {
.bt_name = "ol_bobtype",
}
#define offsetof(typ, memb)
Definition at line 37 of file layout.c.