#include "lib/assert.h"
#include "lib/misc.h"
#include "lib/buf.h"
#include "fop/fop.h"
#include "fop/fom_interpose.h"
Go to the source code of this file.
◆ anonymous enum
◆ interpose_tick()
static int interpose_tick |
( |
struct m0_fom * |
fom | ) |
|
|
static |
◆ m0_fom_enthrall()
Arranges for the leader to be woken up once the serf reaches M0_FOM_PHASE_FINISH, should be called by leader fom. It is up to the caller to make sure the serf is actually executing and that the leader goes to sleep.
- Note
- It is not required to initialise thrall context before call, all context preparation is done inside of this function.
Definition at line 102 of file fom_interpose.c.
◆ m0_fom_interpose_enter()
Activates the interposition by substitution of original fom tick function with interposition tick.
Definition at line 81 of file fom_interpose.c.
◆ m0_fom_interpose_leave()
Disables the interposition by restoring of original fom tick function.
Definition at line 95 of file fom_interpose.c.
◆ thrall_finish()
◆ M0_XCA_DOMAIN
enum { ... } M0_XCA_DOMAIN |
◆ thrall_ops
Initial value:= {
.io_post = {
}
}
int(* io_post[64])(struct m0_fom *fom, struct m0_fom_interpose *proxy, int result)
static int thrall_finish(struct m0_fom *fom, struct m0_fom_interpose *proxy, int result)
static const struct m0_fom_interpose_ops thrall_ops
Definition at line 35 of file fom_interpose.c.