Motr  M0
sd_post_record.c File Reference
#include "lib/trace.h"
#include "lib/memory.h"
#include "ut/ut.h"
#include "fdmi/fdmi.h"
#include "fdmi/service.h"
#include "fdmi/source_dock_internal.h"
#include "fdmi/ut/sd_common.h"
Include dependency graph for sd_post_record.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI
 

Functions

static int test_fs_node_eval (struct m0_fdmi_src_rec *src_rec, struct m0_fdmi_flt_var_node *value_desc, struct m0_fdmi_flt_operand *value)
 
static int test_fs_encode (struct m0_fdmi_src_rec *src_rec, struct m0_buf *buf)
 
static int test_fs_decode (struct m0_buf *buf, void **handle)
 
static void test_fs_get (struct m0_fdmi_src_rec *src_rec)
 
static void test_fs_put (struct m0_fdmi_src_rec *src_rec)
 
static void test_fs_end (struct m0_fdmi_src_rec *src_rec)
 
static struct m0_fdmi_srcsrc_alloc ()
 
void fdmi_sd_post_record (void)
 

Variables

static struct m0_semaphore g_sem
 
static struct m0_semaphore g_sem2
 
static struct m0_fdmi_src_rec g_src_rec
 
static int g_refcount
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI

Definition at line 23 of file sd_post_record.c.

Function Documentation

◆ fdmi_sd_post_record()

void fdmi_sd_post_record ( void  )

Definition at line 101 of file sd_post_record.c.

Here is the call graph for this function:

◆ src_alloc()

static struct m0_fdmi_src* src_alloc ( )
static

Definition at line 84 of file sd_post_record.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_fs_decode()

static int test_fs_decode ( struct m0_buf buf,
void **  handle 
)
static

Definition at line 55 of file sd_post_record.c.

Here is the caller graph for this function:

◆ test_fs_encode()

static int test_fs_encode ( struct m0_fdmi_src_rec src_rec,
struct m0_buf buf 
)
static

Definition at line 48 of file sd_post_record.c.

Here is the caller graph for this function:

◆ test_fs_end()

static void test_fs_end ( struct m0_fdmi_src_rec src_rec)
static

Definition at line 75 of file sd_post_record.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_fs_get()

static void test_fs_get ( struct m0_fdmi_src_rec src_rec)
static

Definition at line 61 of file sd_post_record.c.

Here is the caller graph for this function:

◆ test_fs_node_eval()

static int test_fs_node_eval ( struct m0_fdmi_src_rec src_rec,
struct m0_fdmi_flt_var_node value_desc,
struct m0_fdmi_flt_operand value 
)
static

Definition at line 39 of file sd_post_record.c.

Here is the caller graph for this function:

◆ test_fs_put()

static void test_fs_put ( struct m0_fdmi_src_rec src_rec)
static

Definition at line 66 of file sd_post_record.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ g_refcount

int g_refcount
static

Definition at line 37 of file sd_post_record.c.

◆ g_sem

struct m0_semaphore g_sem
static

Definition at line 34 of file sd_post_record.c.

◆ g_sem2

struct m0_semaphore g_sem2
static

Definition at line 35 of file sd_post_record.c.

◆ g_src_rec

struct m0_fdmi_src_rec g_src_rec
static

Definition at line 36 of file sd_post_record.c.