Motr
M0
load_fom.h
Go to the documentation of this file.
1
/* -*- C -*- */
2
/*
3
* Copyright (c) 2015-2020 Seagate Technology LLC and/or its Affiliates
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
* For any questions about this software or licensing,
18
* please email opensource@seagate.com or cortx-questions@seagate.com.
19
*
20
*/
21
22
23
#pragma once
24
25
#ifndef __MOTR_CONF_LOAD_FOMS_H__
26
#define __MOTR_CONF_LOAD_FOMS_H__
27
45
#include "
fop/fop.h
"
46
#include "
conf/load_fop.h
"
47
#include "
net/net.h
"
48
#include "
fop/fom.h
"
49
#include "
fop/fom_generic.h
"
/* M0_FOPH_NR */
50
51
M0_INTERNAL
int
m0_conf_load_fom_create
(
struct
m0_fop
*
fop
,
52
struct
m0_fom
**
out
,
53
struct
m0_reqh
*
reqh
);
54
59
struct
m0_conf_load_fom
{
61
struct
m0_fom
clm_gen
;
63
struct
m0_rpc_bulk
clm_bulk
;
65
struct
m0_net_buffer
clm_net_buffer
;
66
};
67
72
enum
m0_conf_load_fom_phase
{
73
M0_FOPH_CONF_FOM_PREPARE
=
M0_FOPH_NR
+ 1,
74
M0_FOPH_CONF_FOM_BUFFER_ALLOCATE
,
75
M0_FOPH_CONF_ZERO_COPY_INIT
,
76
M0_FOPH_CONF_ZERO_COPY_WAIT
,
77
M0_FOPH_CONF_BUFFER_FREE
,
78
};
79
82
#endif
/* __MOTR_CONF_LOAD_FOMS_H__ */
83
/*
84
* Local variables:
85
* c-indentation-style: "K&R"
86
* c-basic-offset: 8
87
* tab-width: 8
88
* fill-column: 80
89
* scroll-step: 1
90
* End:
91
*/
fop.h
net.h
m0_net_buffer
Definition:
net.h:1316
M0_FOPH_CONF_FOM_PREPARE
Definition:
load_fom.h:73
m0_rpc_bulk
Definition:
bulk.h:247
m0_conf_load_fom::clm_gen
struct m0_fom clm_gen
Definition:
load_fom.h:61
m0_conf_load_fom_create
M0_INTERNAL int m0_conf_load_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
Definition:
load_fom.c:119
fom.h
m0_conf_load_fom::clm_net_buffer
struct m0_net_buffer clm_net_buffer
Definition:
load_fom.h:65
m0_conf_load_fom::clm_bulk
struct m0_rpc_bulk clm_bulk
Definition:
load_fom.h:63
m0_reqh
Definition:
reqh.h:94
M0_FOPH_CONF_FOM_BUFFER_ALLOCATE
Definition:
load_fom.h:74
m0_fom
Definition:
fom.h:481
reqh
struct m0_reqh reqh
Definition:
rm_foms.c:48
load_fop.h
M0_FOPH_CONF_ZERO_COPY_WAIT
Definition:
load_fom.h:76
fom_generic.h
fop
static struct m0_fop * fop
Definition:
item.c:57
M0_FOPH_NR
Definition:
fom_generic.h:85
m0_conf_load_fom
Definition:
load_fom.h:59
out
#define out(...)
Definition:
gen.c:41
m0_conf_load_fom_phase
m0_conf_load_fom_phase
Definition:
load_fom.h:72
M0_FOPH_CONF_BUFFER_FREE
Definition:
load_fom.h:77
M0_FOPH_CONF_ZERO_COPY_INIT
Definition:
load_fom.h:75
m0_fop
Definition:
fop.h:79
conf
load_fom.h
Generated on Thu Apr 14 2022 14:02:53 for Motr by
1.8.14