Motr  M0
mt.c File Reference
#include "lib/trace.h"
#include <stdlib.h>
#include <stdio.h>
#include <sys/time.h>
#include "motr/client.h"
#include "motr/idx.h"
#include "lib/getopts.h"
#include "module/instance.h"
Include dependency graph for mt.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CLIENT
 

Functions

void st_mt_inst (struct m0_client *client)
 
void st_lsfid_inst (struct m0_client *client, void(*print)(struct m0_fid *))
 
static void ls_print (struct m0_fid *fid)
 
static int init (void)
 
static void fini (void)
 
int main (int argc, char **argv)
 

Variables

static char * local_addr
 
static char * ha_addr
 
static char * prof
 
static char * proc_fid
 
static struct m0_clientm0_instance = NULL
 
static struct m0_container container
 
static struct m0_realm uber_realm
 
static struct m0_config conf
 
static bool ls = false
 
static struct m0_idx_dix_config dix_conf
 
static struct m0 instance
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_CLIENT

Definition at line 23 of file mt.c.

Function Documentation

◆ fini()

static void fini ( void  )
static

Definition at line 100 of file mt.c.

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

◆ init()

static int init ( void  )
static

Definition at line 57 of file mt.c.

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

◆ ls_print()

static void ls_print ( struct m0_fid fid)
static

Definition at line 52 of file mt.c.

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

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 105 of file mt.c.

Here is the call graph for this function:

◆ st_lsfid_inst()

void st_lsfid_inst ( struct m0_client client,
void(*)(struct m0_fid *)  print 
)

Definition at line 406 of file mt_fom.c.

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

◆ st_mt_inst()

void st_mt_inst ( struct m0_client client)

Definition at line 377 of file mt_fom.c.

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

Variable Documentation

◆ conf

struct m0_config conf
static

Definition at line 43 of file mt.c.

◆ container

struct m0_container container
static

Definition at line 41 of file mt.c.

◆ dix_conf

struct m0_idx_dix_config dix_conf
static

Definition at line 45 of file mt.c.

◆ ha_addr

char* ha_addr
static

Definition at line 36 of file mt.c.

◆ instance

struct m0 instance
static

Definition at line 46 of file mt.c.

◆ local_addr

char* local_addr
static

Definition at line 35 of file mt.c.

◆ ls

bool ls = false
static

Definition at line 44 of file mt.c.

◆ m0_instance

struct m0_client* m0_instance = NULL
static

Definition at line 40 of file mt.c.

◆ proc_fid

char* proc_fid
static

Definition at line 38 of file mt.c.

◆ prof

char* prof
static

Definition at line 37 of file mt.c.

◆ uber_realm

struct m0_realm uber_realm
static

Definition at line 42 of file mt.c.