Motr  M0
session_fops_xc.c File Reference
#include "lib/misc.h"
#include "lib/assert.h"
#include "xcode/xcode.h"
#include "rpc/session_fops.h"
#include "rpc/session_fops_xc.h"
Include dependency graph for session_fops_xc.c:

Go to the source code of this file.

Data Structures

struct  _m0_rpc_fop_conn_establish_s
 
struct  _m0_rpc_fop_conn_establish_rep_s
 
struct  _m0_rpc_fop_conn_terminate_s
 
struct  _m0_rpc_fop_conn_terminate_rep_s
 
struct  _m0_rpc_fop_session_establish_s
 
struct  _m0_rpc_fop_session_establish_rep_s
 
struct  _m0_rpc_fop_session_terminate_s
 
struct  _m0_rpc_fop_session_terminate_rep_s
 

Functions

 M0_BASSERT (offsetof(struct _m0_rpc_fop_conn_establish_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_conn_establish_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_conn_terminate_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_conn_terminate_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_session_establish_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_session_establish_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_session_terminate_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (offsetof(struct _m0_rpc_fop_session_terminate_rep_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_conn_establish)==64U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_conn_establish *) 0) ->rce_protocol==64U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_establish, rce_protocol)==0U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_conn_establish_rep)==16U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_conn_establish_rep *) 0) ->rcer_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_establish_rep, rcer_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_establish_rep, rcer_sender_id)==8U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_conn_terminate)==8U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_conn_terminate *) 0) ->ct_sender_id==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_terminate, ct_sender_id)==0U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_conn_terminate_rep)==16U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_conn_terminate_rep *) 0) ->ctr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_terminate_rep, ctr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_conn_terminate_rep, ctr_sender_id)==8U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_session_establish)==8U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_session_establish *) 0) ->rse_sender_id==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_establish, rse_sender_id)==0U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_session_establish_rep)==24U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_session_establish_rep *) 0) ->rser_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_establish_rep, rser_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_establish_rep, rser_session_id)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_establish_rep, rser_sender_id)==16U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_session_terminate)==16U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_session_terminate *) 0) ->rst_sender_id==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_terminate, rst_sender_id)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_terminate, rst_session_id)==8U)
 
 M0_BASSERT (sizeof(struct m0_rpc_fop_session_terminate_rep)==24U)
 
 M0_BASSERT (sizeof((struct m0_rpc_fop_session_terminate_rep *) 0) ->rstr_rc==4U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_terminate_rep, rstr_rc)==0U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_terminate_rep, rstr_session_id)==8U)
 
 M0_BASSERT (offsetof(struct m0_rpc_fop_session_terminate_rep, rstr_sender_id)==16U)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_conn_establish_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_conn_establish_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_conn_terminate_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_conn_terminate_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_session_establish_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_session_establish_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_session_terminate_struct_init (void)
 
M0_INTERNAL void m0_xc_m0_rpc_fop_session_terminate_rep_struct_init (void)
 
M0_INTERNAL void m0_xc_rpc_session_fops_init (void)
 
M0_INTERNAL void m0_xc_rpc_session_fops_fini (void)
 

Variables

struct m0_xcode_typem0_rpc_fop_conn_establish_xc = &_m0_rpc_fop_conn_establish._type
 
struct m0_xcode_typem0_rpc_fop_conn_establish_rep_xc = &_m0_rpc_fop_conn_establish_rep._type
 
struct m0_xcode_typem0_rpc_fop_conn_terminate_xc = &_m0_rpc_fop_conn_terminate._type
 
struct m0_xcode_typem0_rpc_fop_conn_terminate_rep_xc = &_m0_rpc_fop_conn_terminate_rep._type
 
struct m0_xcode_typem0_rpc_fop_session_establish_xc = &_m0_rpc_fop_session_establish._type
 
struct m0_xcode_typem0_rpc_fop_session_establish_rep_xc = &_m0_rpc_fop_session_establish_rep._type
 
struct m0_xcode_typem0_rpc_fop_session_terminate_xc = &_m0_rpc_fop_session_terminate._type
 
struct m0_xcode_typem0_rpc_fop_session_terminate_rep_xc = &_m0_rpc_fop_session_terminate_rep._type
 
static struct _m0_rpc_fop_conn_establish_s _m0_rpc_fop_conn_establish
 
static struct _m0_rpc_fop_conn_establish_rep_s _m0_rpc_fop_conn_establish_rep
 
static struct _m0_rpc_fop_conn_terminate_s _m0_rpc_fop_conn_terminate
 
static struct _m0_rpc_fop_conn_terminate_rep_s _m0_rpc_fop_conn_terminate_rep
 
static struct _m0_rpc_fop_session_establish_s _m0_rpc_fop_session_establish
 
static struct _m0_rpc_fop_session_establish_rep_s _m0_rpc_fop_session_establish_rep
 
static struct _m0_rpc_fop_session_terminate_s _m0_rpc_fop_session_terminate
 
static struct _m0_rpc_fop_session_terminate_rep_s _m0_rpc_fop_session_terminate_rep
 

Function Documentation

◆ M0_BASSERT() [1/39]

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

◆ M0_BASSERT() [2/39]

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

◆ M0_BASSERT() [3/39]

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

◆ M0_BASSERT() [4/39]

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

◆ M0_BASSERT() [5/39]

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

◆ M0_BASSERT() [6/39]

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

◆ M0_BASSERT() [7/39]

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

◆ M0_BASSERT() [8/39]

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

◆ M0_BASSERT() [9/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_conn_establish = =64U)

◆ M0_BASSERT() [10/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_conn_establish *) 0) ->  rce_protocol = =64U)

◆ M0_BASSERT() [11/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_establish, rce_protocol = =0U)

◆ M0_BASSERT() [12/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_conn_establish_rep = =16U)

◆ M0_BASSERT() [13/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_conn_establish_rep *) 0) ->  rcer_rc = =4U)

◆ M0_BASSERT() [14/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_establish_rep, rcer_rc = =0U)

◆ M0_BASSERT() [15/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_establish_rep, rcer_sender_id = =8U)

◆ M0_BASSERT() [16/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_conn_terminate = =8U)

◆ M0_BASSERT() [17/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_conn_terminate *) 0) ->  ct_sender_id = =8U)

◆ M0_BASSERT() [18/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_terminate, ct_sender_id = =0U)

◆ M0_BASSERT() [19/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_conn_terminate_rep = =16U)

◆ M0_BASSERT() [20/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_conn_terminate_rep *) 0) ->  ctr_rc = =4U)

◆ M0_BASSERT() [21/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_terminate_rep, ctr_rc = =0U)

◆ M0_BASSERT() [22/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_conn_terminate_rep, ctr_sender_id = =8U)

◆ M0_BASSERT() [23/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_session_establish = =8U)

◆ M0_BASSERT() [24/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_session_establish *) 0) ->  rse_sender_id = =8U)

◆ M0_BASSERT() [25/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_establish, rse_sender_id = =0U)

◆ M0_BASSERT() [26/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_session_establish_rep = =24U)

◆ M0_BASSERT() [27/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_session_establish_rep *) 0) ->  rser_rc = =4U)

◆ M0_BASSERT() [28/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_establish_rep, rser_rc = =0U)

◆ M0_BASSERT() [29/39]

◆ M0_BASSERT() [30/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_establish_rep, rser_sender_id = =16U)

◆ M0_BASSERT() [31/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_session_terminate = =16U)

◆ M0_BASSERT() [32/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_session_terminate *) 0) ->  rst_sender_id = =8U)

◆ M0_BASSERT() [33/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_terminate, rst_sender_id = =0U)

◆ M0_BASSERT() [34/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_terminate, rst_session_id = =8U)

◆ M0_BASSERT() [35/39]

M0_BASSERT ( sizeof(struct m0_rpc_fop_session_terminate_rep = =24U)

◆ M0_BASSERT() [36/39]

M0_BASSERT ( sizeof((struct m0_rpc_fop_session_terminate_rep *) 0) ->  rstr_rc = =4U)

◆ M0_BASSERT() [37/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_terminate_rep, rstr_rc = =0U)

◆ M0_BASSERT() [38/39]

◆ M0_BASSERT() [39/39]

M0_BASSERT ( offsetof(struct m0_rpc_fop_session_terminate_rep, rstr_sender_id = =16U)

◆ m0_xc_m0_rpc_fop_conn_establish_rep_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_conn_establish_rep_struct_init ( void  )

Definition at line 232 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_conn_establish_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_conn_establish_struct_init ( void  )

Definition at line 212 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_conn_terminate_rep_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_conn_terminate_rep_struct_init ( void  )

Definition at line 287 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_conn_terminate_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_conn_terminate_struct_init ( void  )

Definition at line 267 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_session_establish_rep_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_session_establish_rep_struct_init ( void  )

Definition at line 342 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_session_establish_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_session_establish_struct_init ( void  )

Definition at line 322 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_session_terminate_rep_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_session_terminate_rep_struct_init ( void  )

Definition at line 427 of file session_fops_xc.c.

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

◆ m0_xc_m0_rpc_fop_session_terminate_struct_init()

M0_INTERNAL void m0_xc_m0_rpc_fop_session_terminate_struct_init ( void  )

Definition at line 392 of file session_fops_xc.c.

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

◆ m0_xc_rpc_session_fops_fini()

M0_INTERNAL void m0_xc_rpc_session_fops_fini ( void  )

Definition at line 489 of file session_fops_xc.c.

◆ m0_xc_rpc_session_fops_init()

M0_INTERNAL void m0_xc_rpc_session_fops_init ( void  )

Definition at line 477 of file session_fops_xc.c.

Here is the call graph for this function:

Variable Documentation

◆ _m0_rpc_fop_conn_establish

struct _m0_rpc_fop_conn_establish_s _m0_rpc_fop_conn_establish
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_conn_establish",
.xct_sizeof = sizeof (struct m0_rpc_fop_conn_establish),
.xct_nr = 1,
}
}

◆ _m0_rpc_fop_conn_establish_rep

struct _m0_rpc_fop_conn_establish_rep_s _m0_rpc_fop_conn_establish_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_conn_establish_rep",
.xct_sizeof = sizeof (struct m0_rpc_fop_conn_establish_rep),
.xct_nr = 2,
}
}

◆ _m0_rpc_fop_conn_terminate

struct _m0_rpc_fop_conn_terminate_s _m0_rpc_fop_conn_terminate
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_conn_terminate",
.xct_sizeof = sizeof (struct m0_rpc_fop_conn_terminate),
.xct_nr = 1,
}
}

◆ _m0_rpc_fop_conn_terminate_rep

struct _m0_rpc_fop_conn_terminate_rep_s _m0_rpc_fop_conn_terminate_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_conn_terminate_rep",
.xct_sizeof = sizeof (struct m0_rpc_fop_conn_terminate_rep),
.xct_nr = 2,
}
}

◆ _m0_rpc_fop_session_establish

struct _m0_rpc_fop_session_establish_s _m0_rpc_fop_session_establish
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_session_establish",
.xct_sizeof = sizeof (struct m0_rpc_fop_session_establish),
.xct_nr = 1,
}
}

◆ _m0_rpc_fop_session_establish_rep

struct _m0_rpc_fop_session_establish_rep_s _m0_rpc_fop_session_establish_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_session_establish_rep",
.xct_sizeof = sizeof (struct m0_rpc_fop_session_establish_rep),
.xct_nr = 3,
}
}

◆ _m0_rpc_fop_session_terminate

struct _m0_rpc_fop_session_terminate_s _m0_rpc_fop_session_terminate
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_session_terminate",
.xct_sizeof = sizeof (struct m0_rpc_fop_session_terminate),
.xct_nr = 2,
}
}

◆ _m0_rpc_fop_session_terminate_rep

struct _m0_rpc_fop_session_terminate_rep_s _m0_rpc_fop_session_terminate_rep
static
Initial value:
= {
._type = {
.xct_aggr = M0_XA_RECORD,
.xct_name = "m0_rpc_fop_session_terminate_rep",
.xct_sizeof = sizeof (struct m0_rpc_fop_session_terminate_rep),
.xct_nr = 3,
}
}

◆ m0_rpc_fop_conn_establish_rep_xc

struct m0_xcode_type * m0_rpc_fop_conn_establish_rep_xc = &_m0_rpc_fop_conn_establish_rep._type

Definition at line 11 of file session_fops_xc.c.

◆ m0_rpc_fop_conn_establish_xc

struct m0_xcode_type * m0_rpc_fop_conn_establish_xc = &_m0_rpc_fop_conn_establish._type

Definition at line 10 of file session_fops_xc.c.

◆ m0_rpc_fop_conn_terminate_rep_xc

struct m0_xcode_type * m0_rpc_fop_conn_terminate_rep_xc = &_m0_rpc_fop_conn_terminate_rep._type

Definition at line 13 of file session_fops_xc.c.

◆ m0_rpc_fop_conn_terminate_xc

struct m0_xcode_type * m0_rpc_fop_conn_terminate_xc = &_m0_rpc_fop_conn_terminate._type

Definition at line 12 of file session_fops_xc.c.

◆ m0_rpc_fop_session_establish_rep_xc

struct m0_xcode_type * m0_rpc_fop_session_establish_rep_xc = &_m0_rpc_fop_session_establish_rep._type

Definition at line 15 of file session_fops_xc.c.

◆ m0_rpc_fop_session_establish_xc

struct m0_xcode_type * m0_rpc_fop_session_establish_xc = &_m0_rpc_fop_session_establish._type

Definition at line 14 of file session_fops_xc.c.

◆ m0_rpc_fop_session_terminate_rep_xc

struct m0_xcode_type * m0_rpc_fop_session_terminate_rep_xc = &_m0_rpc_fop_session_terminate_rep._type

Definition at line 17 of file session_fops_xc.c.

◆ m0_rpc_fop_session_terminate_xc

struct m0_xcode_type * m0_rpc_fop_session_terminate_xc = &_m0_rpc_fop_session_terminate._type

Definition at line 16 of file session_fops_xc.c.