Motr  M0
stats_fops_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "stats/stats_fops.h"
#include "stats/stats_fops_xc.h"
Include dependency graph for stats_fops_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_uint64_seq_s
 
struct  _m0_stats_sum_s
 
struct  _m0_stats_recs_s
 
struct  _m0_stats_update_fop_s
 
struct  _m0_stats_query_fop_s
 
struct  _m0_stats_query_rep_fop_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_uint64_seq_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stats_sum_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stats_recs_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stats_update_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stats_query_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_stats_query_rep_fop_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_uint64_seq)==16U)
 
 M0_BASSERT (sizeof((struct m0_uint64_seq *) 0) ->se_nr==4U)
 
 M0_BASSERT (offsetof(struct m0_uint64_seq, se_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_uint64_seq, se_data)==8U)
 
 M0_BASSERT (sizeof(struct m0_stats_sum)==24U)
 
 M0_BASSERT (sizeof((struct m0_stats_sum *) 0) ->ss_id==4U)
 
 M0_BASSERT (offsetof(struct m0_stats_sum, ss_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_stats_sum, ss_data)==8U)
 
 M0_BASSERT (sizeof(struct m0_stats_recs)==16U)
 
 M0_BASSERT (sizeof((struct m0_stats_recs *) 0) ->sf_nr==8U)
 
 M0_BASSERT (offsetof(struct m0_stats_recs, sf_nr)==0U)
 
 M0_BASSERT (offsetof(struct m0_stats_recs, sf_stats)==8U)
 
 M0_BASSERT (sizeof(struct m0_stats_update_fop)==16U)
 
 M0_BASSERT (sizeof((struct m0_stats_update_fop *) 0) ->suf_stats==16U)
 
 M0_BASSERT (offsetof(struct m0_stats_update_fop, suf_stats)==0U)
 
 M0_BASSERT (sizeof(struct m0_stats_query_fop)==16U)
 
 M0_BASSERT (sizeof((struct m0_stats_query_fop *) 0) ->sqf_ids==16U)
 
 M0_BASSERT (offsetof(struct m0_stats_query_fop, sqf_ids)==0U)
 
 M0_BASSERT (sizeof(struct m0_stats_query_rep_fop)==24U)
 
 M0_BASSERT (sizeof((struct m0_stats_query_rep_fop *) 0) ->sqrf_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_stats_query_rep_fop, sqrf_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_stats_query_rep_fop, sqrf_stats)==8U)
 
M0_INTERNAL void m0_xc_m0_uint64_seq_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stats_sum_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stats_recs_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stats_update_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stats_query_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_stats_query_rep_fop_struct_init (void)
 
M0_INTERNAL void m0_xc_stats_stats_fops_init (void)
 
M0_INTERNAL void m0_xc_stats_stats_fops_fini (void)
 

Variables

struct m0_xcode_typem0_uint64_seq_xc = &_m0_uint64_seq._type
 
struct m0_xcode_typem0_stats_sum_xc = &_m0_stats_sum._type
 
struct m0_xcode_typem0_stats_recs_xc = &_m0_stats_recs._type
 
struct m0_xcode_typem0_stats_update_fop_xc = &_m0_stats_update_fop._type
 
struct m0_xcode_typem0_stats_query_fop_xc = &_m0_stats_query_fop._type
 
struct m0_xcode_typem0_stats_query_rep_fop_xc = &_m0_stats_query_rep_fop._type
 
static struct _m0_uint64_seq_s _m0_uint64_seq
 
static struct _m0_stats_sum_s _m0_stats_sum
 
static struct _m0_stats_recs_s _m0_stats_recs
 
static struct _m0_stats_update_fop_s _m0_stats_update_fop
 
static struct _m0_stats_query_fop_s _m0_stats_query_fop
 
static struct _m0_stats_query_rep_fop_s _m0_stats_query_rep_fop
 

Function Documentation

◆ M0_BASSERT() [1/28]

M0_BASSERT ( offsetof(struct _m0_uint64_seq_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [2/28]

M0_BASSERT ( offsetof(struct _m0_stats_sum_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [3/28]

M0_BASSERT ( offsetof(struct _m0_stats_recs_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [4/28]

M0_BASSERT ( offsetof(struct _m0_stats_update_fop_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [5/28]

M0_BASSERT ( offsetof(struct _m0_stats_query_fop_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [6/28]

M0_BASSERT ( offsetof(struct _m0_stats_query_rep_fop_s, _child[0])  = =offsetof(struct m0_xcode_type, xct_child[0]))

◆ M0_BASSERT() [7/28]

M0_BASSERT ( sizeof(struct m0_uint64_seq = =16U)

◆ M0_BASSERT() [8/28]

M0_BASSERT ( sizeof((struct m0_uint64_seq *) 0) ->  se_nr = =4U)

◆ M0_BASSERT() [9/28]

M0_BASSERT ( offsetof(struct m0_uint64_seq, se_nr = =0U)

◆ M0_BASSERT() [10/28]

M0_BASSERT ( offsetof(struct m0_uint64_seq, se_data = =8U)

◆ M0_BASSERT() [11/28]

M0_BASSERT ( sizeof(struct m0_stats_sum = =24U)

◆ M0_BASSERT() [12/28]

M0_BASSERT ( sizeof((struct m0_stats_sum *) 0) ->  ss_id = =4U)

◆ M0_BASSERT() [13/28]

M0_BASSERT ( offsetof(struct m0_stats_sum, ss_id = =0U)

◆ M0_BASSERT() [14/28]

M0_BASSERT ( offsetof(struct m0_stats_sum, ss_data = =8U)

◆ M0_BASSERT() [15/28]

M0_BASSERT ( sizeof(struct m0_stats_recs = =16U)

◆ M0_BASSERT() [16/28]

M0_BASSERT ( sizeof((struct m0_stats_recs *) 0) ->  sf_nr = =8U)

◆ M0_BASSERT() [17/28]

M0_BASSERT ( offsetof(struct m0_stats_recs, sf_nr = =0U)

◆ M0_BASSERT() [18/28]

M0_BASSERT ( offsetof(struct m0_stats_recs, sf_stats = =8U)

◆ M0_BASSERT() [19/28]

M0_BASSERT ( sizeof(struct m0_stats_update_fop = =16U)

◆ M0_BASSERT() [20/28]

M0_BASSERT ( sizeof((struct m0_stats_update_fop *) 0) ->  suf_stats = =16U)

◆ M0_BASSERT() [21/28]

M0_BASSERT ( offsetof(struct m0_stats_update_fop, suf_stats = =0U)

◆ M0_BASSERT() [22/28]

M0_BASSERT ( sizeof(struct m0_stats_query_fop = =16U)

◆ M0_BASSERT() [23/28]

M0_BASSERT ( sizeof((struct m0_stats_query_fop *) 0) ->  sqf_ids = =16U)

◆ M0_BASSERT() [24/28]

M0_BASSERT ( offsetof(struct m0_stats_query_fop, sqf_ids = =0U)

◆ M0_BASSERT() [25/28]

M0_BASSERT ( sizeof(struct m0_stats_query_rep_fop = =24U)

◆ M0_BASSERT() [26/28]

M0_BASSERT ( sizeof((struct m0_stats_query_rep_fop *) 0) ->  sqrf_rc = =4U)

◆ M0_BASSERT() [27/28]

M0_BASSERT ( offsetof(struct m0_stats_query_rep_fop, sqrf_rc = =0U)

◆ M0_BASSERT() [28/28]

M0_BASSERT ( offsetof(struct m0_stats_query_rep_fop, sqrf_stats = =8U)

◆ m0_xc_m0_stats_query_fop_struct_init()

M0_INTERNAL void m0_xc_m0_stats_query_fop_struct_init ( void  )

Definition at line 285 of file stats_fops_xc.c.

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

◆ m0_xc_m0_stats_query_rep_fop_struct_init()

M0_INTERNAL void m0_xc_m0_stats_query_rep_fop_struct_init ( void  )

Definition at line 305 of file stats_fops_xc.c.

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

◆ m0_xc_m0_stats_recs_struct_init()

M0_INTERNAL void m0_xc_m0_stats_recs_struct_init ( void  )

Definition at line 230 of file stats_fops_xc.c.

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

◆ m0_xc_m0_stats_sum_struct_init()

M0_INTERNAL void m0_xc_m0_stats_sum_struct_init ( void  )

Definition at line 195 of file stats_fops_xc.c.

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

◆ m0_xc_m0_stats_update_fop_struct_init()

M0_INTERNAL void m0_xc_m0_stats_update_fop_struct_init ( void  )

Definition at line 265 of file stats_fops_xc.c.

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

◆ m0_xc_m0_uint64_seq_struct_init()

M0_INTERNAL void m0_xc_m0_uint64_seq_struct_init ( void  )

Definition at line 160 of file stats_fops_xc.c.

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

◆ m0_xc_stats_stats_fops_fini()

M0_INTERNAL void m0_xc_stats_stats_fops_fini ( void  )

Definition at line 350 of file stats_fops_xc.c.

◆ m0_xc_stats_stats_fops_init()

M0_INTERNAL void m0_xc_stats_stats_fops_init ( void  )

Definition at line 340 of file stats_fops_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_stats_query_fop

struct _m0_stats_query_fop_s _m0_stats_query_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stats_query_fop",
.xct_sizeof = sizeof (struct m0_stats_query_fop),
.xct_nr = 1,
}
}

◆ _m0_stats_query_rep_fop

struct _m0_stats_query_rep_fop_s _m0_stats_query_rep_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stats_query_rep_fop",
.xct_sizeof = sizeof (struct m0_stats_query_rep_fop),
.xct_nr = 2,
}
}

◆ _m0_stats_recs

struct _m0_stats_recs_s _m0_stats_recs
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_stats_recs",
.xct_sizeof = sizeof (struct m0_stats_recs),
.xct_nr = 2,
}
}

◆ _m0_stats_sum

struct _m0_stats_sum_s _m0_stats_sum
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stats_sum",
.xct_sizeof = sizeof (struct m0_stats_sum),
.xct_nr = 2,
}
}

◆ _m0_stats_update_fop

struct _m0_stats_update_fop_s _m0_stats_update_fop
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_stats_update_fop",
.xct_sizeof = sizeof (struct m0_stats_update_fop),
.xct_nr = 1,
}
}

◆ _m0_uint64_seq

struct _m0_uint64_seq_s _m0_uint64_seq
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_SEQUENCE,
.xct_name = "m0_uint64_seq",
.xct_sizeof = sizeof (struct m0_uint64_seq),
.xct_nr = 2,
}
}

◆ m0_stats_query_fop_xc

struct m0_xcode_type * m0_stats_query_fop_xc = &_m0_stats_query_fop._type

Definition at line 14 of file stats_fops_xc.c.

◆ m0_stats_query_rep_fop_xc

struct m0_xcode_type * m0_stats_query_rep_fop_xc = &_m0_stats_query_rep_fop._type

Definition at line 15 of file stats_fops_xc.c.

◆ m0_stats_recs_xc

struct m0_xcode_type * m0_stats_recs_xc = &_m0_stats_recs._type

Definition at line 12 of file stats_fops_xc.c.

◆ m0_stats_sum_xc

struct m0_xcode_type * m0_stats_sum_xc = &_m0_stats_sum._type

Definition at line 11 of file stats_fops_xc.c.

◆ m0_stats_update_fop_xc

struct m0_xcode_type * m0_stats_update_fop_xc = &_m0_stats_update_fop._type

Definition at line 13 of file stats_fops_xc.c.

◆ m0_uint64_seq_xc

struct m0_xcode_type * m0_uint64_seq_xc = &_m0_uint64_seq._type

Definition at line 10 of file stats_fops_xc.c.