Motr  M0
fops.h
Go to the documentation of this file.
1 /* -*- C -*- */
2 /*
3  * Copyright (c) 2017-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 #pragma once
23 
24 #ifndef __MOTR_FDMI_FDMI_FOPS_H__
25 #define __MOTR_FDMI_FDMI_FOPS_H__
26 
27 #include "lib/types.h"
28 #include "xcode/xcode_attr.h"
29 #include "lib/buf.h"
30 #include "lib/buf_xc.h"
31 #include "fid/fid_xc.h" /* m0_fid_xc */
32 #include "lib/types_xc.h" /* m0_uint128_xc */
33 
38 
52 typedef uint32_t m0_fdmi_rec_type_id_t;
53 
54 
58  uint32_t fmf_count;
59 
61  struct m0_fid *fmf_flt_id;
62 } M0_XCA_SEQUENCE M0_XCA_DOMAIN(rpc);
63 
70 
72  uint32_t fr_rec_type;
73 
76 
79 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
80 
87 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
88 
96 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
97 
102  int frrr_rc;
103 } M0_XCA_RECORD M0_XCA_DOMAIN(rpc);
104 
105 
106 M0_INTERNAL int m0_fdms_fop_init(void);
107 M0_INTERNAL void m0_fdms_fop_fini(void);
108 
111 #endif /* __MOTR_FDMI_FDMI_FOPS_H__ */
112 
113 /*
114  * Local variables:
115  * c-indentation-style: "K&R"
116  * c-basic-offset: 8
117  * tab-width: 8
118  * fill-column: 80
119  * scroll-step: 1
120  * End:
121  */
122 /*
123  * vim: tabstop=8 shiftwidth=8 noexpandtab textwidth=80 nowrap
124  */
struct m0_fdmi_flt_id_arr fr_matched_flts
Definition: fops.h:78
m0_fdmi_rec_type_id_t frr_frt
Definition: fops.h:95
Definition: buf.h:37
struct m0_buf fr_payload
Definition: fops.h:75
struct m0_uint128 frr_frid
Definition: fops.h:94
struct m0_fop_type m0_fop_fdmi_rec_release_fopt
Definition: fops.c:49
struct m0_fop_type m0_fop_fdmi_rec_not_rep_fopt
Definition: fops.c:48
struct m0_fop_type m0_fop_fdmi_rec_release_rep_fopt
Definition: fops.c:50
m0_fdmi_rec_type_id_t frn_frt
Definition: fops.h:86
M0_INTERNAL int m0_fdms_fop_init(void)
Definition: fops.c:108
M0_INTERNAL void m0_fdms_fop_fini(void)
Definition: fops.c:120
uint32_t fr_rec_type
Definition: fops.h:72
struct m0_fop_type m0_fop_fdmi_rec_not_fopt
Definition: fops.c:47
Definition: fid.h:38
uint32_t fmf_count
Definition: fops.h:58
struct m0_fid * fmf_flt_id
Definition: fops.h:61
struct m0_uint128 fr_rec_id
Definition: fops.h:69
uint32_t m0_fdmi_rec_type_id_t
Definition: fops.h:52
struct m0_fdmi_flt_id_arr M0_XCA_DOMAIN(rpc)