Motr
M0
flip_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_FLIP_FOMS_H__
26
#define __MOTR_CONF_FLIP_FOMS_H__
27
45
#include "
fop/fop.h
"
46
#include "
conf/flip_fop.h
"
47
#include "
net/net.h
"
48
#include "
fop/fom.h
"
49
#include "
fop/fom_generic.h
"
/* M0_FOPH_NR */
50
51
52
M0_INTERNAL
int
m0_conf_flip_fom_create
(
struct
m0_fop
*
fop
,
53
struct
m0_fom
**
out
,
54
struct
m0_reqh
*
reqh
);
55
60
struct
m0_conf_flip_fom
{
62
struct
m0_fom
clm_gen
;
63
};
64
69
enum
m0_conf_flip_fom_phase
{
70
M0_FOPH_CONF_FLIP_PREPARE
=
M0_FOPH_NR
+ 1,
71
M0_FOPH_CONF_APPLY
,
72
};
73
76
#endif
/* __MOTR_CONF_FLIP_FOMS_H__ */
77
/*
78
* Local variables:
79
* c-indentation-style: "K&R"
80
* c-basic-offset: 8
81
* tab-width: 8
82
* fill-column: 80
83
* scroll-step: 1
84
* End:
85
*/
fop.h
net.h
flip_fop.h
m0_conf_flip_fom_create
M0_INTERNAL int m0_conf_flip_fom_create(struct m0_fop *fop, struct m0_fom **out, struct m0_reqh *reqh)
Definition:
flip_fom.c:121
M0_FOPH_CONF_APPLY
Definition:
flip_fom.h:71
M0_FOPH_CONF_FLIP_PREPARE
Definition:
flip_fom.h:70
m0_conf_flip_fom
Definition:
flip_fom.h:60
fom.h
m0_reqh
Definition:
reqh.h:94
m0_fom
Definition:
fom.h:481
reqh
struct m0_reqh reqh
Definition:
rm_foms.c:48
m0_conf_flip_fom::clm_gen
struct m0_fom clm_gen
Definition:
flip_fom.h:62
fom_generic.h
fop
static struct m0_fop * fop
Definition:
item.c:57
m0_conf_flip_fom_phase
m0_conf_flip_fom_phase
Definition:
flip_fom.h:69
M0_FOPH_NR
Definition:
fom_generic.h:85
out
#define out(...)
Definition:
gen.c:41
m0_fop
Definition:
fop.h:79
conf
flip_fom.h
Generated on Thu Apr 14 2022 14:02:53 for Motr by
1.8.14