Motr
M0
|
#include "lib/trace.h"
#include "ut/ut.h"
#include "fdmi/module.h"
#include "fdmi/fdmi.h"
#include "fdmi/fops.h"
#include "fdmi/service.h"
#include "fdmi/plugin_dock_internal.h"
#include "fdmi/ut/sd_common.h"
#include "lib/string.h"
#include "lib/finject.h"
#include "rpc/item_internal.h"
#include "rpc/packet_internal.h"
#include "rpc/rpc_internal.h"
#include "rpc/rpc_machine_internal.h"
#include "rpc/conn_pool_internal.h"
Go to the source code of this file.
Data Structures | |
struct | pdock_client_conn |
Macros | |
#define | M0_TRACE_SUBSYSTEM M0_TRACE_SUBSYS_FDMI |
#define | FID_CTN 0xDEA110C |
#define | FID_KEY 0xDA221ED |
#define | FID_CTN1 0x1FA11ED |
#define | FID_KEY1 0x1A110CA |
#define | M0_FID(c_, k_) { .f_container = c_, .f_key = k_ } |
Functions | |
static int | pd_ut_pcb_fdmi_rec (struct m0_uint128 *rec_id, struct m0_buf fdmi_rec, struct m0_fid filter_id) |
void | fdmi_pd_register_filter (void) |
static void | ut_pd_fom_fini (struct m0_fom *fom) |
int | detour_create (struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) |
void | __fdmi_pd_fom_norpc (bool register_filter) |
void | fdmi_pd_fom_norpc (void) |
void | fdmi_pd_rec_inject_fini (void) |
static void | my_item_done (struct m0_rpc_packet *p, struct m0_rpc_item *item, int rc) |
static int | my_packet_ready (struct m0_rpc_packet *p) |
void | fdmi_pd_fake_rec_reg (void) |
void | fdmi_pd_fake_rec_release (void) |
void | fdmi_pd_fake_release_rep (void) |
struct m0_rpc_conn_pool * | ut_pdock_conn_pool (void) |
void | fdmi_pd_fake_release_nomem () |
Variables | |
static struct m0_semaphore | g_sem |
struct m0_uint128 | frid_new = M0_UINT128(0xEEEE, 0xEEEE) |
struct m0_uint128 * | frid_watch |
int(* | native_create )(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh) = NULL |
struct m0_fom_type_ops | fomt_ops = { .fto_create = detour_create } |
struct m0_fid | ffid = M0_FID(FID_CTN, FID_KEY) |
struct m0_uint128 | frid = M0_UINT128(0xBEC02, 0xF11ED) |
struct m0_fid | ffids [2] |
struct m0_fdmi_flt_id_arr | farr |
static struct pdock_client_conn | g_cc |
static struct test_rpc_env | g_rpc_env |
static struct m0_rpc_packet * | g_rpc_packet |
const struct m0_rpc_frm_ops | frm_ops |
struct fdmi_sd_ut_ctx | g_sd_ut |
const struct m0_filterc_ops | filterc_send_notif_ops |
struct m0_rpc_item_ops | release_ri_ops |
struct m0_fop_type | m0_fop_fdmi_rec_release_rep_fopt |
struct m0_ut_suite | fdmi_pd_ut |
#define M0_FID | ( | c_, | |
k_ | |||
) | { .f_container = c_, .f_key = k_ } |
void __fdmi_pd_fom_norpc | ( | bool | register_filter | ) |
void fdmi_pd_fake_rec_reg | ( | void | ) |
void fdmi_pd_fake_rec_release | ( | void | ) |
void fdmi_pd_fake_release_nomem | ( | ) |
void fdmi_pd_fake_release_rep | ( | void | ) |
void fdmi_pd_fom_norpc | ( | void | ) |
void fdmi_pd_rec_inject_fini | ( | void | ) |
void fdmi_pd_register_filter | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
struct m0_rpc_conn_pool* ut_pdock_conn_pool | ( | void | ) |
Definition at line 57 of file plugin_dock.c.
struct m0_fdmi_flt_id_arr farr |
struct m0_ut_suite fdmi_pd_ut |
struct m0_fid ffids[2] |
const struct m0_filterc_ops filterc_send_notif_ops |
Definition at line 79 of file sd_send_not.c.
struct m0_fom_type_ops fomt_ops = { .fto_create = detour_create } |
struct m0_uint128 frid = M0_UINT128(0xBEC02, 0xF11ED) |
struct m0_uint128 frid_new = M0_UINT128(0xEEEE, 0xEEEE) |
struct m0_uint128* frid_watch |
const struct m0_rpc_frm_ops frm_ops |
|
static |
|
static |
|
static |
struct fdmi_sd_ut_ctx g_sd_ut |
Definition at line 41 of file sd_common.c.
|
static |
struct m0_fop_type m0_fop_fdmi_rec_release_rep_fopt |
struct m0_rpc_item_ops release_ri_ops |
Definition at line 321 of file plugin_dock.c.