Motr  M0
sns_cp_onwire.h File Reference
#include "rpc/rpc_opcodes.h"
#include "stob/stob.h"
#include "stob/stob_xc.h"
#include "cm/cp_onwire.h"
#include "cm/cp_onwire_xc.h"
Include dependency graph for sns_cp_onwire.h:

Go to the source code of this file.

Data Structures

struct  m0_sns_cpx
 
struct  m0_sns_cpx_reply
 

Macros

#define __MOTR_SNS_CM_CP_ONWIRE_H__
 

Functions

struct m0_sns_cpx M0_XCA_DOMAIN (rpc)
 
M0_INTERNAL void m0_sns_cpx_init (struct m0_fop_type *ft, const struct m0_fom_type_ops *fomt_ops, enum M0_RPC_OPCODES op, const char *name, const struct m0_xcode_type *xt, uint64_t rpc_flags, struct m0_cm_type *cmt)
 
M0_INTERNAL void m0_sns_cpx_fini (struct m0_fop_type *ft)
 

Variables

struct m0_cpx scx_cp
 
struct m0_io_indexvec_seq scx_ivecs
 
struct m0_stob_id scx_stob_id
 
uint64_t scx_failed_idx
 
uint32_t scx_phase
 
int32_t scr_rc
 
struct m0_cpx_reply scr_cp_rep
 

Macro Definition Documentation

◆ __MOTR_SNS_CM_CP_ONWIRE_H__

#define __MOTR_SNS_CM_CP_ONWIRE_H__

Definition at line 26 of file sns_cp_onwire.h.

Function Documentation

◆ m0_sns_cpx_fini()

M0_INTERNAL void m0_sns_cpx_fini ( struct m0_fop_type ft)

Definition at line 46 of file sns_cp_onwire.c.

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

◆ m0_sns_cpx_init()

M0_INTERNAL void m0_sns_cpx_init ( struct m0_fop_type ft,
const struct m0_fom_type_ops fomt_ops,
enum M0_RPC_OPCODES  op,
const char *  name,
const struct m0_xcode_type xt,
uint64_t  rpc_flags,
struct m0_cm_type cmt 
)

Definition at line 29 of file sns_cp_onwire.c.

Here is the caller graph for this function:

◆ M0_XCA_DOMAIN()

struct m0_sns_cpx M0_XCA_DOMAIN ( rpc  )

Variable Documentation

◆ scr_cp_rep

struct m0_cpx_reply scr_cp_rep

Base copy packet reply fields.

Definition at line 49 of file sns_cp_onwire.h.

◆ scr_rc

int32_t scr_rc

Definition at line 47 of file sns_cp_onwire.h.

◆ scx_cp

struct m0_cpx scx_cp

Base copy packet fields.

Definition at line 48 of file sns_cp_onwire.h.

◆ scx_failed_idx

uint64_t scx_failed_idx

Definition at line 58 of file sns_cp_onwire.h.

◆ scx_ivecs

struct m0_io_indexvec_seq scx_ivecs

Index vectors representing the extent information for the data represented by the copy packet.

Definition at line 53 of file sns_cp_onwire.h.

◆ scx_phase

uint32_t scx_phase

Copy packet fom phase before sending it onwire.

Definition at line 61 of file sns_cp_onwire.h.

◆ scx_stob_id

struct m0_stob_id scx_stob_id

Destination stob id.

Definition at line 56 of file sns_cp_onwire.h.