Motr  M0
isc_fops.h File Reference
#include "fop/fop.h"
#include "rpc/rpc_opcodes.h"
#include "lib/types.h"
#include "xcode/xcode_attr.h"
#include "rpc/at.h"
#include "rpc/at_xc.h"
Include dependency graph for isc_fops.h:

Go to the source code of this file.

Data Structures

struct  m0_fop_isc
 
struct  m0_fop_isc_rep
 

Macros

#define __MOTR_RPC_ISC_FOPS_H__
 

Functions

M0_INTERNAL int m0_iscservice_fop_init (void)
 
M0_INTERNAL void m0_iscservice_fop_fini (void)
 
M0_INTERNAL void m0_isc_fom_type_init (void)
 
struct m0_fop_isc M0_XCA_DOMAIN (rpc)
 

Variables

struct m0_fop_type m0_fop_isc_fopt
 
struct m0_fop_type m0_fop_isc_rep_fopt
 
const struct m0_fop_type_ops m0_fop_isc_ops
 
const struct m0_fop_type_ops m0_fop_isc_rep_ops
 
const struct m0_rpc_item_type m0_rpc_item_type_isc
 
const struct m0_rpc_item_type m0_rpc_item_type_isc_rep
 
struct m0_fid fi_comp_id
 
struct m0_rpc_at_buf fi_args
 
struct m0_rpc_at_buf fi_ret
 
struct m0_cookie fi_comp_cookie
 
int32_t fir_rc
 
struct m0_cookie fir_comp_cookie
 
struct m0_rpc_at_buf fir_ret
 

Macro Definition Documentation

◆ __MOTR_RPC_ISC_FOPS_H__

#define __MOTR_RPC_ISC_FOPS_H__

Definition at line 26 of file isc_fops.h.

Function Documentation

◆ m0_isc_fom_type_init()

M0_INTERNAL void m0_isc_fom_type_init ( void  )

Registers fom types of fop-less foms.

Definition at line 480 of file isc.c.

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

◆ m0_iscservice_fop_fini()

M0_INTERNAL void m0_iscservice_fop_fini ( void  )

Definition at line 65 of file isc_fops.c.

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

◆ m0_iscservice_fop_init()

M0_INTERNAL int m0_iscservice_fop_init ( void  )

Definition at line 41 of file isc_fops.c.

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

◆ M0_XCA_DOMAIN()

struct m0_fop_isc M0_XCA_DOMAIN ( rpc  )

Variable Documentation

◆ fi_args

struct m0_rpc_at_buf fi_args

An array holding the relevant arguments for the computation. This might involve gfid, cob fid, and few other parameters relevant to the required computation.

Definition at line 48 of file isc_fops.h.

◆ fi_comp_cookie

struct m0_cookie fi_comp_cookie

A cookie for fast searching of a computation.

Definition at line 54 of file isc_fops.h.

◆ fi_comp_id

struct m0_fid fi_comp_id

An identifier of the computation registered with the service.

Definition at line 42 of file isc_fops.h.

◆ fi_ret

struct m0_rpc_at_buf fi_ret

An rpc AT buffer requesting the output of computation.

Definition at line 52 of file isc_fops.h.

◆ fir_comp_cookie

struct m0_cookie fir_comp_cookie

Cookie associated with the computation.

Definition at line 44 of file isc_fops.h.

◆ fir_rc

int32_t fir_rc

Return code of the execution of the computation.

Definition at line 42 of file isc_fops.h.

◆ fir_ret

struct m0_rpc_at_buf fir_ret

RPC adaptive buffers associated with the reply

Definition at line 46 of file isc_fops.h.

◆ m0_fop_isc_fopt

struct m0_fop_type m0_fop_isc_fopt

FOP definitions and corresponding fop type formats

Definition at line 33 of file isc_fops.c.

◆ m0_fop_isc_ops

const struct m0_fop_type_ops m0_fop_isc_ops

◆ m0_fop_isc_rep_fopt

struct m0_fop_type m0_fop_isc_rep_fopt

Definition at line 34 of file isc_fops.c.

◆ m0_fop_isc_rep_ops

const struct m0_fop_type_ops m0_fop_isc_rep_ops

◆ m0_rpc_item_type_isc

const struct m0_rpc_item_type m0_rpc_item_type_isc

◆ m0_rpc_item_type_isc_rep

const struct m0_rpc_item_type m0_rpc_item_type_isc_rep