FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
svmdb.c File Reference
+ Include dependency graph for svmdb.c:

Go to the source code of this file.

Functions

static void local_set_variable_nolock (svmdb_client_t *client, svmdb_namespace_t namespace, u8 *var, u8 *val, u32 elsize)
 
static void region_lock (svm_region_t *rp, int tag)
 
static void region_unlock (svm_region_t *rp)
 
svmdb_client_tsvmdb_map (svmdb_map_args_t *dba)
 
void svmdb_unmap (svmdb_client_t *client)
 
static void notify_value (svmdb_value_t *v, svmdb_action_t a)
 
int svmdb_local_add_del_notification (svmdb_client_t *client, svmdb_notification_args_t *a)
 
static void local_unset_variable_nolock (svmdb_client_t *client, svmdb_namespace_t namespace, char *var)
 
void svmdb_local_unset_string_variable (svmdb_client_t *client, char *var)
 
void svmdb_local_set_string_variable (svmdb_client_t *client, char *var, char *val)
 
static u8local_get_variable_nolock (svmdb_client_t *client, svmdb_namespace_t namespace, u8 *var)
 
void * svmdb_local_get_variable_reference (svmdb_client_t *client, svmdb_namespace_t namespace, char *var)
 
char * svmdb_local_get_string_variable (svmdb_client_t *client, char *var)
 
void svmdb_local_dump_strings (svmdb_client_t *client)
 
int svmdb_local_serialize_strings (svmdb_client_t *client, char *filename)
 
int svmdb_local_unserialize_strings (svmdb_client_t *client, char *filename)
 
void svmdb_local_unset_vec_variable (svmdb_client_t *client, char *var)
 
void svmdb_local_set_vec_variable (svmdb_client_t *client, char *var, void *val_arg, u32 elsize)
 
void * svmdb_local_get_vec_variable (svmdb_client_t *client, char *var, u32 elsize)
 
void svmdb_local_dump_vecs (svmdb_client_t *client)
 
void * svmdb_local_find_or_add_vec_variable (svmdb_client_t *client, char *var, u32 nbytes)
 

Function Documentation

static u8* local_get_variable_nolock ( svmdb_client_t client,
svmdb_namespace_t  namespace,
u8 var 
)
static

Definition at line 352 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void local_set_variable_nolock ( svmdb_client_t client,
svmdb_namespace_t  namespace,
u8 var,
u8 val,
u32  elsize 
)
static

Definition at line 298 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void local_unset_variable_nolock ( svmdb_client_t client,
svmdb_namespace_t  namespace,
char *  var 
)
static

Definition at line 265 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void notify_value ( svmdb_value_t v,
svmdb_action_t  a 
)
static

Definition at line 147 of file svmdb.c.

+ Here is the caller graph for this function:

static void region_lock ( svm_region_t rp,
int  tag 
)
inlinestatic

Definition at line 51 of file svmdb.c.

+ Here is the caller graph for this function:

static void region_unlock ( svm_region_t rp)
inlinestatic

Definition at line 61 of file svmdb.c.

+ Here is the caller graph for this function:

int svmdb_local_add_del_notification ( svmdb_client_t client,
svmdb_notification_args_t a 
)

Definition at line 189 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_dump_strings ( svmdb_client_t client)

Definition at line 402 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_dump_vecs ( svmdb_client_t client)

Definition at line 597 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* svmdb_local_find_or_add_vec_variable ( svmdb_client_t client,
char *  var,
u32  nbytes 
)

Definition at line 623 of file svmdb.c.

+ Here is the call graph for this function:

char* svmdb_local_get_string_variable ( svmdb_client_t client,
char *  var 
)

Definition at line 385 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* svmdb_local_get_variable_reference ( svmdb_client_t client,
svmdb_namespace_t  namespace,
char *  var 
)

Definition at line 373 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* svmdb_local_get_vec_variable ( svmdb_client_t client,
char *  var,
u32  elsize 
)

Definition at line 574 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int svmdb_local_serialize_strings ( svmdb_client_t client,
char *  filename 
)

Definition at line 426 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_set_string_variable ( svmdb_client_t client,
char *  var,
char *  val 
)

Definition at line 335 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_set_vec_variable ( svmdb_client_t client,
char *  var,
void *  val_arg,
u32  elsize 
)

Definition at line 556 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int svmdb_local_unserialize_strings ( svmdb_client_t client,
char *  filename 
)

Definition at line 492 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_unset_string_variable ( svmdb_client_t client,
char *  var 
)

Definition at line 286 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_local_unset_vec_variable ( svmdb_client_t client,
char *  var 
)

Definition at line 544 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

svmdb_client_t* svmdb_map ( svmdb_map_args_t dba)

Definition at line 71 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void svmdb_unmap ( svmdb_client_t client)

Definition at line 134 of file svmdb.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: