Motr
M0
|
#include "lib/types.h"
#include "lib/chan.h"
#include "lib/misc.h"
#include "ut/ut.h"
#include "lib/ub.h"
#include "rm/rm.h"
#include "rm/rm_internal.h"
#include "rm/ut/rings.h"
Go to the source code of this file.
Functions | |
bool | res_tlist_contains (const struct m0_tl *list, const struct m0_rm_resource *res) |
static void | lcredits_in_complete (struct m0_rm_incoming *in, int32_t rc) |
static void | lcredits_in_conflict (struct m0_rm_incoming *in) |
static void | local_credits_init (void) |
static void | local_credits_fini (void) |
static void | credits_pinned_number_test (enum m0_rm_incoming_flags flags) |
static void | cached_credits_test (enum m0_rm_incoming_flags flags) |
static void | held_credits_test (enum m0_rm_incoming_flags flags) |
static void | held_non_conflicting_test (enum m0_rm_incoming_flags flags) |
static void | failures_test (void) |
static void | reserved_credit_get_test (enum m0_rm_incoming_flags flags, enum m0_rm_owner_owned_state type) |
void | barrier_on_barrier_test (void) |
void | local_credits_test (void) |
Variables | |
static struct m0_chan | complete_chan |
static struct m0_chan | conflict_chan |
static struct m0_mutex | conflict_mutex |
const struct m0_rm_incoming_ops | lcredits_incoming_ops |
void barrier_on_barrier_test | ( | void | ) |
Definition at line 368 of file lcredits.c.
|
static |
Definition at line 121 of file lcredits.c.
|
static |
Definition at line 76 of file lcredits.c.
|
static |
Definition at line 254 of file lcredits.c.
|
static |
Definition at line 157 of file lcredits.c.
|
static |
Definition at line 218 of file lcredits.c.
|
static |
|
static |
|
static |
Definition at line 68 of file lcredits.c.
|
static |
Definition at line 56 of file lcredits.c.
void local_credits_test | ( | void | ) |
bool res_tlist_contains | ( | const struct m0_tl * | list, |
const struct m0_rm_resource * | res | ||
) |
|
static |
Definition at line 283 of file lcredits.c.
|
static |
Definition at line 32 of file lcredits.c.
|
static |
Definition at line 33 of file lcredits.c.
|
static |
Definition at line 34 of file lcredits.c.
const struct m0_rm_incoming_ops lcredits_incoming_ops |
Definition at line 51 of file lcredits.c.