Motr  M0
filter.c File Reference
#include "lib/trace.h"
#include "lib/memory.h"
#include "lib/errno.h"
#include "lib/finject.h"
#include "fdmi/filter.h"
#include "fdmi/filter_xc.h"
Include dependency graph for filter.c:

Go to the source code of this file.

Macros

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI
 

Functions

M0_INTERNAL int m0_fdmi_flt_node_xc_type (const struct m0_xcode_obj *par, const struct m0_xcode_type **out)
 
M0_INTERNAL void m0_fdmi_filter_init (struct m0_fdmi_filter *flt)
 
M0_INTERNAL void m0_fdmi_filter_root_set (struct m0_fdmi_filter *flt, struct m0_fdmi_flt_node *root)
 
static void free_operand_node (struct m0_fdmi_flt_node *node)
 
static void free_variable_node (struct m0_fdmi_flt_node *node)
 
static void free_flt_node (struct m0_fdmi_flt_node *node)
 
M0_INTERNAL void m0_fdmi_filter_fini (struct m0_fdmi_filter *flt)
 
M0_INTERNAL void m0_fdmi_flt_bool_opnd_fill (struct m0_fdmi_flt_operand *opnd, bool value)
 
struct m0_fdmi_flt_nodem0_fdmi_flt_bool_node_create (bool value)
 
M0_INTERNAL void m0_fdmi_flt_int_opnd_fill (struct m0_fdmi_flt_operand *opnd, int64_t value)
 
struct m0_fdmi_flt_nodem0_fdmi_flt_int_node_create (int64_t value)
 
M0_INTERNAL void m0_fdmi_flt_uint_opnd_fill (struct m0_fdmi_flt_operand *opnd, uint64_t value)
 
struct m0_fdmi_flt_nodem0_fdmi_flt_uint_node_create (uint64_t value)
 
struct m0_fdmi_flt_nodem0_fdmi_flt_var_node_create (struct m0_buf *data)
 
struct m0_fdmi_flt_nodem0_fdmi_flt_op_node_create (enum m0_fdmi_flt_op_code op_code, struct m0_fdmi_flt_node *left, struct m0_fdmi_flt_node *right)
 
M0_INTERNAL int m0_fdmi_flt_node_print (struct m0_fdmi_flt_node *node, char **out)
 
M0_INTERNAL int m0_fdmi_flt_node_parse (const char *str, struct m0_fdmi_flt_node *node)
 

Macro Definition Documentation

◆ M0_TRACE_SUBSYSTEM

#define M0_TRACE_SUBSYSTEM   M0_TRACE_SUBSYS_FDMI

Definition at line 23 of file filter.c.

Function Documentation

◆ free_flt_node()

static void free_flt_node ( struct m0_fdmi_flt_node node)
static

Definition at line 83 of file filter.c.

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

◆ free_operand_node()

static void free_operand_node ( struct m0_fdmi_flt_node node)
static

Definition at line 59 of file filter.c.

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

◆ free_variable_node()

static void free_variable_node ( struct m0_fdmi_flt_node node)
static

Definition at line 73 of file filter.c.

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