Motr  M0
client_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from motr/client.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "motr/client.h"
8 #include "motr/client_xc.h"
9 
10 
11 
12 
14  { .xev_idx = 0, .xev_name = "M0_EO_INVALID", .xev_val = 0 },
15  { .xev_idx = 1, .xev_name = "M0_EO_CREATE", .xev_val = 1 },
16  { .xev_idx = 2, .xev_name = "M0_EO_DELETE", .xev_val = 2 },
17  { .xev_idx = 3, .xev_name = "M0_EO_SYNC", .xev_val = 3 },
18  { .xev_idx = 4, .xev_name = "M0_EO_OPEN", .xev_val = 4 },
19  { .xev_idx = 5, .xev_name = "M0_EO_GETATTR", .xev_val = 5 },
20  { .xev_idx = 6, .xev_name = "M0_EO_SETATTR", .xev_val = 6 },
21  { .xev_idx = 7, .xev_name = "M0_EO_LAYOUT_GET", .xev_val = 7 },
22  { .xev_idx = 8, .xev_name = "M0_EO_LAYOUT_SET", .xev_val = 8 },
23  { .xev_idx = 9, .xev_name = "M0_EO_NR", .xev_val = 9 },
24  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_entity_opcode'." }
25 };
26 
28  .xe_name = "m0_entity_opcode",
29  .xe_nr = 10,
30  .xe_val = m0_entity_opcode_data,
31  .xe_maxlen = 16
32 };
34  { .xev_idx = 0, .xev_name = "M0_OC_READ", .xev_val = 10 },
35  { .xev_idx = 1, .xev_name = "M0_OC_WRITE", .xev_val = 11 },
36  { .xev_idx = 2, .xev_name = "M0_OC_ALLOC", .xev_val = 12 },
37  { .xev_idx = 3, .xev_name = "M0_OC_FREE", .xev_val = 13 },
38  { .xev_idx = 4, .xev_name = "M0_OC_NR", .xev_val = 14 },
39  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_obj_opcode'." }
40 };
41 
43  .xe_name = "m0_obj_opcode",
44  .xe_nr = 5,
45  .xe_val = m0_obj_opcode_data,
46  .xe_maxlen = 11
47 };
49  { .xev_idx = 0, .xev_name = "M0_IC_GET", .xev_val = 15 },
50  { .xev_idx = 1, .xev_name = "M0_IC_PUT", .xev_val = 16 },
51  { .xev_idx = 2, .xev_name = "M0_IC_DEL", .xev_val = 17 },
52  { .xev_idx = 3, .xev_name = "M0_IC_NEXT", .xev_val = 18 },
53  { .xev_idx = 4, .xev_name = "M0_IC_LOOKUP", .xev_val = 19 },
54  { .xev_idx = 5, .xev_name = "M0_IC_LIST", .xev_val = 20 },
55  { .xev_idx = 6, .xev_name = "M0_IC_NR", .xev_val = 21 },
56  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_idx_opcode'." }
57 };
58 
60  .xe_name = "m0_idx_opcode",
61  .xe_nr = 7,
62  .xe_val = m0_idx_opcode_data,
63  .xe_maxlen = 12
64 };
66  { .xev_idx = 0, .xev_name = "M0_OOF_HOLE", .xev_val = 1 },
67  { .xev_idx = 1, .xev_name = "M0_OOF_SYNC", .xev_val = 2 },
68  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_op_obj_flags'." }
69 };
70 
72  .xe_name = "m0_op_obj_flags",
73  .xe_nr = 2,
74  .xe_val = m0_op_obj_flags_data,
75  .xe_maxlen = 11
76 };
78  { .xev_idx = 0, .xev_name = "M0_ET_REALM", .xev_val = 0 },
79  { .xev_idx = 1, .xev_name = "M0_ET_OBJ", .xev_val = 1 },
80  { .xev_idx = 2, .xev_name = "M0_ET_IDX", .xev_val = 2 },
81  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_entity_type'." }
82 };
83 
85  .xe_name = "m0_entity_type",
86  .xe_nr = 3,
87  .xe_val = m0_entity_type_data,
88  .xe_maxlen = 11
89 };
91  { .xev_idx = 0, .xev_name = "M0_ENF_META", .xev_val = 1 },
92  { .xev_idx = 1, .xev_name = "M0_ENF_NO_RMW", .xev_val = 2 },
93  { .xev_idx = 2, .xev_name = "M0_ENF_DI", .xev_val = 4 },
94  { .xev_idx = -1, .xev_name = "Invalid value of enum 'm0_entity_flags'." }
95 };
96 
98  .xe_name = "m0_entity_flags",
99  .xe_nr = 3,
100  .xe_val = m0_entity_flags_data,
101  .xe_maxlen = 13
102 };
103 
104 M0_INTERNAL void m0_xc_motr_client_init(void)
105 {
106 }
107 
108 M0_INTERNAL void m0_xc_motr_client_fini(void)
109 {
110 }
const struct m0_xcode_enum_val m0_obj_opcode_data[]
Definition: client_xc.c:33
struct m0_xcode_enum m0_xc_m0_entity_opcode_enum
Definition: client_xc.c:27
const char * xe_name
Definition: enum.h:58
const struct m0_xcode_enum_val m0_idx_opcode_data[]
Definition: client_xc.c:48
struct m0_xcode_enum m0_xc_m0_obj_opcode_enum
Definition: client_xc.c:42
const struct m0_xcode_enum_val m0_entity_opcode_data[]
Definition: client_xc.c:13
const struct m0_xcode_enum_val m0_entity_type_data[]
Definition: client_xc.c:77
struct m0_xcode_enum m0_xc_m0_entity_type_enum
Definition: client_xc.c:84
struct m0_xcode_enum m0_xc_m0_entity_flags_enum
Definition: client_xc.c:97
const struct m0_xcode_enum_val m0_entity_flags_data[]
Definition: client_xc.c:90
struct m0_xcode_enum m0_xc_m0_idx_opcode_enum
Definition: client_xc.c:59
struct m0_xcode_enum m0_xc_m0_op_obj_flags_enum
Definition: client_xc.c:71
M0_INTERNAL void m0_xc_motr_client_fini(void)
Definition: client_xc.c:108
M0_INTERNAL void m0_xc_motr_client_init(void)
Definition: client_xc.c:104
const struct m0_xcode_enum_val m0_op_obj_flags_data[]
Definition: client_xc.c:65