Motr  M0
io_fops_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from ioservice/io_fops.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "ioservice/io_fops.h"
8 #include "ioservice/io_fops_xc.h"
9 
28 
29 static struct _m0_fop_cob_rw_s {
31  struct m0_xcode_field _child[11];
32 } _m0_fop_cob_rw = {
33  ._type = {
35  .xct_name = "m0_fop_cob_rw",
36  .xct_sizeof = sizeof (struct m0_fop_cob_rw),
37  .xct_nr = 11,
38  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
39  }
40 };
41 
43 M0_BASSERT(offsetof(struct _m0_fop_cob_rw_s, _child[0]) ==
44  offsetof(struct m0_xcode_type, xct_child[0]));
45 
46 static struct _m0_fop_cob_rw_reply_s {
50  ._type = {
52  .xct_name = "m0_fop_cob_rw_reply",
53  .xct_sizeof = sizeof (struct m0_fop_cob_rw_reply),
54  .xct_nr = 6,
55  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
56  }
57 };
58 
60 M0_BASSERT(offsetof(struct _m0_fop_cob_rw_reply_s, _child[0]) ==
61  offsetof(struct m0_xcode_type, xct_child[0]));
62 
63 static struct _m0_fop_cob_common_s {
67  ._type = {
69  .xct_name = "m0_fop_cob_common",
70  .xct_sizeof = sizeof (struct m0_fop_cob_common),
71  .xct_nr = 7,
72  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
73  }
74 };
75 
77 M0_BASSERT(offsetof(struct _m0_fop_cob_common_s, _child[0]) ==
78  offsetof(struct m0_xcode_type, xct_child[0]));
79 
80 static struct _m0_io_descs_s {
83 } _m0_io_descs = {
84  ._type = {
86  .xct_name = "m0_io_descs",
87  .xct_sizeof = sizeof (struct m0_io_descs),
88  .xct_nr = 2,
89  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
90  }
91 };
92 
94 M0_BASSERT(offsetof(struct _m0_io_descs_s, _child[0]) ==
95  offsetof(struct m0_xcode_type, xct_child[0]));
96 
97 static struct _m0_fop_cob_readv_rep_s {
101  ._type = {
103  .xct_name = "m0_fop_cob_readv_rep",
104  .xct_sizeof = sizeof (struct m0_fop_cob_readv_rep),
105  .xct_nr = 2,
106  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
107  }
108 };
109 
111 M0_BASSERT(offsetof(struct _m0_fop_cob_readv_rep_s, _child[0]) ==
112  offsetof(struct m0_xcode_type, xct_child[0]));
113 
118  ._type = {
120  .xct_name = "m0_fop_cob_writev_rep",
121  .xct_sizeof = sizeof (struct m0_fop_cob_writev_rep),
122  .xct_nr = 2,
123  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
124  }
125 };
126 
128 M0_BASSERT(offsetof(struct _m0_fop_cob_writev_rep_s, _child[0]) ==
129  offsetof(struct m0_xcode_type, xct_child[0]));
130 
131 static struct _m0_fop_cob_readv_s {
134 } _m0_fop_cob_readv = {
135  ._type = {
137  .xct_name = "m0_fop_cob_readv",
138  .xct_sizeof = sizeof (struct m0_fop_cob_readv),
139  .xct_nr = 1,
140  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
141  }
142 };
143 
145 M0_BASSERT(offsetof(struct _m0_fop_cob_readv_s, _child[0]) ==
146  offsetof(struct m0_xcode_type, xct_child[0]));
147 
148 static struct _m0_fop_cob_writev_s {
151 } _m0_fop_cob_writev = {
152  ._type = {
154  .xct_name = "m0_fop_cob_writev",
155  .xct_sizeof = sizeof (struct m0_fop_cob_writev),
156  .xct_nr = 1,
157  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
158  }
159 };
160 
162 M0_BASSERT(offsetof(struct _m0_fop_cob_writev_s, _child[0]) ==
163  offsetof(struct m0_xcode_type, xct_child[0]));
164 
165 static struct _m0_test_ios_fop_s {
168 } _m0_test_ios_fop = {
169  ._type = {
171  .xct_name = "m0_test_ios_fop",
172  .xct_sizeof = sizeof (struct m0_test_ios_fop),
173  .xct_nr = 2,
174  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
175  }
176 };
177 
179 M0_BASSERT(offsetof(struct _m0_test_ios_fop_s, _child[0]) ==
180  offsetof(struct m0_xcode_type, xct_child[0]));
181 
182 static struct _m0_fop_cob_create_s {
185 } _m0_fop_cob_create = {
186  ._type = {
188  .xct_name = "m0_fop_cob_create",
189  .xct_sizeof = sizeof (struct m0_fop_cob_create),
190  .xct_nr = 1,
191  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
192  }
193 };
194 
196 M0_BASSERT(offsetof(struct _m0_fop_cob_create_s, _child[0]) ==
197  offsetof(struct m0_xcode_type, xct_child[0]));
198 
199 static struct _m0_fop_cob_delete_s {
202 } _m0_fop_cob_delete = {
203  ._type = {
205  .xct_name = "m0_fop_cob_delete",
206  .xct_sizeof = sizeof (struct m0_fop_cob_delete),
207  .xct_nr = 1,
208  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
209  }
210 };
211 
213 M0_BASSERT(offsetof(struct _m0_fop_cob_delete_s, _child[0]) ==
214  offsetof(struct m0_xcode_type, xct_child[0]));
215 
216 static struct _m0_fop_cob_truncate_s {
220  ._type = {
222  .xct_name = "m0_fop_cob_truncate",
223  .xct_sizeof = sizeof (struct m0_fop_cob_truncate),
224  .xct_nr = 3,
225  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
226  }
227 };
228 
230 M0_BASSERT(offsetof(struct _m0_fop_cob_truncate_s, _child[0]) ==
231  offsetof(struct m0_xcode_type, xct_child[0]));
232 
237  ._type = {
239  .xct_name = "m0_fop_cob_op_rep_common",
240  .xct_sizeof = sizeof (struct m0_fop_cob_op_rep_common),
241  .xct_nr = 1,
242  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
243  }
244 };
245 
247 M0_BASSERT(offsetof(struct _m0_fop_cob_op_rep_common_s, _child[0]) ==
248  offsetof(struct m0_xcode_type, xct_child[0]));
249 
250 static struct _m0_fop_cob_op_reply_s {
254  ._type = {
256  .xct_name = "m0_fop_cob_op_reply",
257  .xct_sizeof = sizeof (struct m0_fop_cob_op_reply),
258  .xct_nr = 2,
259  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
260  }
261 };
262 
264 M0_BASSERT(offsetof(struct _m0_fop_cob_op_reply_s, _child[0]) ==
265  offsetof(struct m0_xcode_type, xct_child[0]));
266 
267 static struct _m0_fop_cob_getattr_s {
271  ._type = {
273  .xct_name = "m0_fop_cob_getattr",
274  .xct_sizeof = sizeof (struct m0_fop_cob_getattr),
275  .xct_nr = 1,
276  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
277  }
278 };
279 
281 M0_BASSERT(offsetof(struct _m0_fop_cob_getattr_s, _child[0]) ==
282  offsetof(struct m0_xcode_type, xct_child[0]));
283 
288  ._type = {
290  .xct_name = "m0_fop_cob_getattr_reply",
291  .xct_sizeof = sizeof (struct m0_fop_cob_getattr_reply),
292  .xct_nr = 3,
293  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
294  }
295 };
296 
298 M0_BASSERT(offsetof(struct _m0_fop_cob_getattr_reply_s, _child[0]) ==
299  offsetof(struct m0_xcode_type, xct_child[0]));
300 
301 static struct _m0_fop_cob_setattr_s {
305  ._type = {
307  .xct_name = "m0_fop_cob_setattr",
308  .xct_sizeof = sizeof (struct m0_fop_cob_setattr),
309  .xct_nr = 1,
310  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
311  }
312 };
313 
315 M0_BASSERT(offsetof(struct _m0_fop_cob_setattr_s, _child[0]) ==
316  offsetof(struct m0_xcode_type, xct_child[0]));
317 
322  ._type = {
324  .xct_name = "m0_fop_cob_setattr_reply",
325  .xct_sizeof = sizeof (struct m0_fop_cob_setattr_reply),
326  .xct_nr = 2,
327  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
328  }
329 };
330 
332 M0_BASSERT(offsetof(struct _m0_fop_cob_setattr_reply_s, _child[0]) ==
333  offsetof(struct m0_xcode_type, xct_child[0]));
334 
335 
336 M0_BASSERT(sizeof(struct m0_fop_cob_rw) == 144U);
337 
338 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_gfid == 16U);
339 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_gfid) == 0U);
340 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_fid == 16U);
341 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_fid) == 16U);
342 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_index == 4U);
343 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_index) == 32U);
344 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_pver == 16U);
345 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_pver) == 40U);
346 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_lid == 8U);
347 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_lid) == 56U);
348 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_desc == 16U);
349 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_desc) == 64U);
350 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_ivec == 16U);
351 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_ivec) == 80U);
352 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_flags == 8U);
353 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_flags) == 96U);
354 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_cksum_size == 8U);
356 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_di_data == 16U);
357 M0_BASSERT(offsetof(struct m0_fop_cob_rw, crw_di_data) == 112U);
358 M0_BASSERT(sizeof ((struct m0_fop_cob_rw *)0)->crw_di_data_cksum == 16U);
360 
361 M0_BASSERT(sizeof(struct m0_fop_cob_rw_reply) == 56U);
362 
363 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_rc == 4U);
365 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_count == 8U);
367 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_repair_done == 4U);
369 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_cksum_nob_read == 4U);
371 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_mod_rep == 16U);
373 M0_BASSERT(sizeof ((struct m0_fop_cob_rw_reply *)0)->rwr_di_data_cksum == 16U);
375 
376 M0_BASSERT(sizeof(struct m0_fop_cob_common) == 224U);
377 
378 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_body == 160U);
380 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_gobfid == 16U);
382 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_cobfid == 16U);
384 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_pver == 16U);
385 M0_BASSERT(offsetof(struct m0_fop_cob_common, c_pver) == 192U);
386 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_cob_idx == 4U);
388 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_cob_type == 4U);
390 M0_BASSERT(sizeof ((struct m0_fop_cob_common *)0)->c_flags == 8U);
391 M0_BASSERT(offsetof(struct m0_fop_cob_common, c_flags) == 216U);
392 
393 M0_BASSERT(sizeof(struct m0_io_descs) == 16U);
394 
395 M0_BASSERT(sizeof ((struct m0_io_descs *)0)->id_nr == 4U);
396 M0_BASSERT(offsetof(struct m0_io_descs, id_nr) == 0U);
397 M0_BASSERT(sizeof ((struct m0_io_descs *)0)->id_descs == 8U);
398 M0_BASSERT(offsetof(struct m0_io_descs, id_descs) == 8U);
399 
400 M0_BASSERT(sizeof(struct m0_fop_cob_readv_rep) == 64U);
401 
402 M0_BASSERT(sizeof ((struct m0_fop_cob_readv_rep *)0)->c_rc == 4U);
404 M0_BASSERT(sizeof ((struct m0_fop_cob_readv_rep *)0)->c_rep == 56U);
406 
407 M0_BASSERT(sizeof(struct m0_fop_cob_writev_rep) == 64U);
408 
409 M0_BASSERT(sizeof ((struct m0_fop_cob_writev_rep *)0)->c_rc == 4U);
411 M0_BASSERT(sizeof ((struct m0_fop_cob_writev_rep *)0)->c_rep == 56U);
413 
414 M0_BASSERT(sizeof(struct m0_fop_cob_readv) == 144U);
415 
416 M0_BASSERT(sizeof ((struct m0_fop_cob_readv *)0)->c_rwv == 144U);
417 M0_BASSERT(offsetof(struct m0_fop_cob_readv, c_rwv) == 0U);
418 
419 M0_BASSERT(sizeof(struct m0_fop_cob_writev) == 144U);
420 
421 M0_BASSERT(sizeof ((struct m0_fop_cob_writev *)0)->c_rwv == 144U);
423 
424 M0_BASSERT(sizeof(struct m0_test_ios_fop) == 24U);
425 
426 M0_BASSERT(sizeof ((struct m0_test_ios_fop *)0)->if_st == 8U);
427 M0_BASSERT(offsetof(struct m0_test_ios_fop, if_st) == 0U);
428 M0_BASSERT(sizeof ((struct m0_test_ios_fop *)0)->if_nbd == 16U);
429 M0_BASSERT(offsetof(struct m0_test_ios_fop, if_nbd) == 8U);
430 
431 M0_BASSERT(sizeof(struct m0_fop_cob_create) == 224U);
432 
433 M0_BASSERT(sizeof ((struct m0_fop_cob_create *)0)->cc_common == 224U);
435 
436 M0_BASSERT(sizeof(struct m0_fop_cob_delete) == 224U);
437 
438 M0_BASSERT(sizeof ((struct m0_fop_cob_delete *)0)->cd_common == 224U);
440 
441 M0_BASSERT(sizeof(struct m0_fop_cob_truncate) == 248U);
442 
443 M0_BASSERT(sizeof ((struct m0_fop_cob_truncate *)0)->ct_common == 224U);
445 M0_BASSERT(sizeof ((struct m0_fop_cob_truncate *)0)->ct_size == 8U);
447 M0_BASSERT(sizeof ((struct m0_fop_cob_truncate *)0)->ct_io_ivec == 16U);
449 
450 M0_BASSERT(sizeof(struct m0_fop_cob_op_rep_common) == 16U);
451 
452 M0_BASSERT(sizeof ((struct m0_fop_cob_op_rep_common *)0)->cor_mod_rep == 16U);
454 
455 M0_BASSERT(sizeof(struct m0_fop_cob_op_reply) == 24U);
456 
457 M0_BASSERT(sizeof ((struct m0_fop_cob_op_reply *)0)->cor_rc == 4U);
459 M0_BASSERT(sizeof ((struct m0_fop_cob_op_reply *)0)->cor_common == 16U);
461 
462 M0_BASSERT(sizeof(struct m0_fop_cob_getattr) == 224U);
463 
464 M0_BASSERT(sizeof ((struct m0_fop_cob_getattr *)0)->cg_common == 224U);
466 
467 M0_BASSERT(sizeof(struct m0_fop_cob_getattr_reply) == 184U);
468 
469 M0_BASSERT(sizeof ((struct m0_fop_cob_getattr_reply *)0)->cgr_rc == 4U);
471 M0_BASSERT(sizeof ((struct m0_fop_cob_getattr_reply *)0)->cgr_common == 16U);
473 M0_BASSERT(sizeof ((struct m0_fop_cob_getattr_reply *)0)->cgr_body == 160U);
475 
476 M0_BASSERT(sizeof(struct m0_fop_cob_setattr) == 224U);
477 
478 M0_BASSERT(sizeof ((struct m0_fop_cob_setattr *)0)->cs_common == 224U);
480 
481 M0_BASSERT(sizeof(struct m0_fop_cob_setattr_reply) == 24U);
482 
483 M0_BASSERT(sizeof ((struct m0_fop_cob_setattr_reply *)0)->csr_rc == 4U);
485 M0_BASSERT(sizeof ((struct m0_fop_cob_setattr_reply *)0)->csr_common == 16U);
487 
488 
489 
490 M0_INTERNAL void m0_xc_m0_fop_cob_rw_struct_init(void)
491 {
492  _m0_fop_cob_rw._child[0] = (struct m0_xcode_field) {
493  .xf_name = "crw_gfid",
494 
495  .xf_type = m0_fid_xc,
496 
497  .xf_tag = 0,
498  .xf_opaque = NULL,
499  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_gfid),
500  .xf_read = NULL,
501  .xf_decor = {
503  }
504  };
506 
507  _m0_fop_cob_rw._child[1] = (struct m0_xcode_field) {
508  .xf_name = "crw_fid",
509 
510  .xf_type = m0_fid_xc,
511 
512  .xf_tag = 0,
513  .xf_opaque = NULL,
514  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_fid),
515  .xf_read = NULL,
516  .xf_decor = {
518  }
519  };
521 
522  _m0_fop_cob_rw._child[2] = (struct m0_xcode_field) {
523  .xf_name = "crw_index",
524 
525  .xf_type = &M0_XT_U32,
526 
527  .xf_tag = 0,
528  .xf_opaque = NULL,
529  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_index),
530  .xf_read = NULL,
531  .xf_decor = {
533  }
534  };
535  m0_xc_u32_init();
536 
537  _m0_fop_cob_rw._child[3] = (struct m0_xcode_field) {
538  .xf_name = "crw_pver",
539 
540  .xf_type = m0_fid_xc,
541 
542  .xf_tag = 0,
543  .xf_opaque = NULL,
544  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_pver),
545  .xf_read = NULL,
546  .xf_decor = {
548  }
549  };
551 
552  _m0_fop_cob_rw._child[4] = (struct m0_xcode_field) {
553  .xf_name = "crw_lid",
554 
555  .xf_type = &M0_XT_U64,
556 
557  .xf_tag = 0,
558  .xf_opaque = NULL,
559  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_lid),
560  .xf_read = NULL,
561  .xf_decor = {
563  }
564  };
565  m0_xc_u64_init();
566 
567  _m0_fop_cob_rw._child[5] = (struct m0_xcode_field) {
568  .xf_name = "crw_desc",
569 
570  .xf_type = m0_io_descs_xc,
571 
572  .xf_tag = 0,
573  .xf_opaque = NULL,
574  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_desc),
575  .xf_read = NULL,
576  .xf_decor = {
578  }
579  };
581 
582  _m0_fop_cob_rw._child[6] = (struct m0_xcode_field) {
583  .xf_name = "crw_ivec",
584 
585  .xf_type = m0_io_indexvec_xc,
586 
587  .xf_tag = 0,
588  .xf_opaque = NULL,
589  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_ivec),
590  .xf_read = NULL,
591  .xf_decor = {
593  }
594  };
596 
597  _m0_fop_cob_rw._child[7] = (struct m0_xcode_field) {
598  .xf_name = "crw_flags",
599 
600  .xf_type = &M0_XT_U64,
601 
602  .xf_tag = 0,
603  .xf_opaque = NULL,
604  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_flags),
605  .xf_read = NULL,
606  .xf_decor = {
608  }
609  };
610  m0_xc_u64_init();
611 
612  _m0_fop_cob_rw._child[8] = (struct m0_xcode_field) {
613  .xf_name = "crw_cksum_size",
614 
615  .xf_type = &M0_XT_U64,
616 
617  .xf_tag = 0,
618  .xf_opaque = NULL,
619  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_cksum_size),
620  .xf_read = NULL,
621  .xf_decor = {
623  }
624  };
625  m0_xc_u64_init();
626 
627  _m0_fop_cob_rw._child[9] = (struct m0_xcode_field) {
628  .xf_name = "crw_di_data",
629 
630  .xf_type = m0_buf_xc,
631 
632  .xf_tag = 0,
633  .xf_opaque = NULL,
634  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_di_data),
635  .xf_read = NULL,
636  .xf_decor = {
638  }
639  };
641 
642  _m0_fop_cob_rw._child[10] = (struct m0_xcode_field) {
643  .xf_name = "crw_di_data_cksum",
644 
645  .xf_type = m0_buf_xc,
646 
647  .xf_tag = 0,
648  .xf_opaque = NULL,
649  .xf_offset = offsetof(struct m0_fop_cob_rw, crw_di_data_cksum),
650  .xf_read = NULL,
651  .xf_decor = {
653  }
654  };
656 
658 }
659 
661 {
663  .xf_name = "rwr_rc",
664 
665  .xf_type = &M0_XT_U32,
666 
667  .xf_tag = 0,
668  .xf_opaque = NULL,
669  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_rc),
670  .xf_read = NULL,
671  .xf_decor = {
673  }
674  };
675  m0_xc_u32_init();
676 
678  .xf_name = "rwr_count",
679 
680  .xf_type = &M0_XT_U64,
681 
682  .xf_tag = 0,
683  .xf_opaque = NULL,
684  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_count),
685  .xf_read = NULL,
686  .xf_decor = {
688  }
689  };
690  m0_xc_u64_init();
691 
693  .xf_name = "rwr_repair_done",
694 
695  .xf_type = &M0_XT_U32,
696 
697  .xf_tag = 0,
698  .xf_opaque = NULL,
699  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_repair_done),
700  .xf_read = NULL,
701  .xf_decor = {
703  }
704  };
705  m0_xc_u32_init();
706 
708  .xf_name = "rwr_cksum_nob_read",
709 
710  .xf_type = &M0_XT_U32,
711 
712  .xf_tag = 0,
713  .xf_opaque = NULL,
714  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_cksum_nob_read),
715  .xf_read = NULL,
716  .xf_decor = {
718  }
719  };
720  m0_xc_u32_init();
721 
723  .xf_name = "rwr_mod_rep",
724 
725  .xf_type = m0_fop_mod_rep_xc,
726 
727  .xf_tag = 0,
728  .xf_opaque = NULL,
729  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_mod_rep),
730  .xf_read = NULL,
731  .xf_decor = {
733  }
734  };
736 
738  .xf_name = "rwr_di_data_cksum",
739 
740  .xf_type = m0_buf_xc,
741 
742  .xf_tag = 0,
743  .xf_opaque = NULL,
744  .xf_offset = offsetof(struct m0_fop_cob_rw_reply, rwr_di_data_cksum),
745  .xf_read = NULL,
746  .xf_decor = {
748  }
749  };
751 
753 }
754 
756 {
758  .xf_name = "c_body",
759 
760  .xf_type = m0_fop_cob_xc,
761 
762  .xf_tag = 0,
763  .xf_opaque = NULL,
764  .xf_offset = offsetof(struct m0_fop_cob_common, c_body),
765  .xf_read = NULL,
766  .xf_decor = {
768  }
769  };
771 
773  .xf_name = "c_gobfid",
774 
775  .xf_type = m0_fid_xc,
776 
777  .xf_tag = 0,
778  .xf_opaque = NULL,
779  .xf_offset = offsetof(struct m0_fop_cob_common, c_gobfid),
780  .xf_read = NULL,
781  .xf_decor = {
783  }
784  };
786 
788  .xf_name = "c_cobfid",
789 
790  .xf_type = m0_fid_xc,
791 
792  .xf_tag = 0,
793  .xf_opaque = NULL,
794  .xf_offset = offsetof(struct m0_fop_cob_common, c_cobfid),
795  .xf_read = NULL,
796  .xf_decor = {
798  }
799  };
801 
803  .xf_name = "c_pver",
804 
805  .xf_type = m0_fid_xc,
806 
807  .xf_tag = 0,
808  .xf_opaque = NULL,
809  .xf_offset = offsetof(struct m0_fop_cob_common, c_pver),
810  .xf_read = NULL,
811  .xf_decor = {
813  }
814  };
816 
818  .xf_name = "c_cob_idx",
819 
820  .xf_type = &M0_XT_U32,
821 
822  .xf_tag = 0,
823  .xf_opaque = NULL,
824  .xf_offset = offsetof(struct m0_fop_cob_common, c_cob_idx),
825  .xf_read = NULL,
826  .xf_decor = {
828  }
829  };
830  m0_xc_u32_init();
831 
833  .xf_name = "c_cob_type",
834 
835  .xf_type = &M0_XT_U32,
836 
837  .xf_tag = 0,
838  .xf_opaque = NULL,
839  .xf_offset = offsetof(struct m0_fop_cob_common, c_cob_type),
840  .xf_read = NULL,
841  .xf_decor = {
843  }
844  };
845  m0_xc_u32_init();
846 
848  .xf_name = "c_flags",
849 
850  .xf_type = &M0_XT_U64,
851 
852  .xf_tag = 0,
853  .xf_opaque = NULL,
854  .xf_offset = offsetof(struct m0_fop_cob_common, c_flags),
855  .xf_read = NULL,
856  .xf_decor = {
858  }
859  };
860  m0_xc_u64_init();
861 
863 }
864 
865 M0_INTERNAL void m0_xc_m0_io_descs_struct_init(void)
866 {
867  _m0_io_descs._child[0] = (struct m0_xcode_field) {
868  .xf_name = "id_nr",
869 
870  .xf_type = &M0_XT_U32,
871 
872  .xf_tag = 0,
873  .xf_opaque = NULL,
874  .xf_offset = offsetof(struct m0_io_descs, id_nr),
875  .xf_read = NULL,
876  .xf_decor = {
878  }
879  };
880  m0_xc_u32_init();
881 
882  _m0_io_descs._child[1] = (struct m0_xcode_field) {
883  .xf_name = "id_descs",
884 
885  .xf_type = m0_net_buf_desc_data_xc,
886 
887  .xf_tag = 0,
888  .xf_opaque = NULL,
889  .xf_offset = offsetof(struct m0_io_descs, id_descs),
890  .xf_read = NULL,
891  .xf_decor = {
893  }
894  };
896 
898 }
899 
901 {
903  .xf_name = "c_rc",
904 
905  .xf_type = &M0_XT_U32,
906 
907  .xf_tag = 0,
908  .xf_opaque = NULL,
909  .xf_offset = offsetof(struct m0_fop_cob_readv_rep, c_rc),
910  .xf_read = NULL,
911  .xf_decor = {
913  }
914  };
915  m0_xc_u32_init();
916 
918  .xf_name = "c_rep",
919 
920  .xf_type = m0_fop_cob_rw_reply_xc,
921 
922  .xf_tag = 0,
923  .xf_opaque = NULL,
924  .xf_offset = offsetof(struct m0_fop_cob_readv_rep, c_rep),
925  .xf_read = NULL,
926  .xf_decor = {
928  }
929  };
931 
933 }
934 
936 {
938  .xf_name = "c_rc",
939 
940  .xf_type = &M0_XT_U32,
941 
942  .xf_tag = 0,
943  .xf_opaque = NULL,
944  .xf_offset = offsetof(struct m0_fop_cob_writev_rep, c_rc),
945  .xf_read = NULL,
946  .xf_decor = {
948  }
949  };
950  m0_xc_u32_init();
951 
953  .xf_name = "c_rep",
954 
955  .xf_type = m0_fop_cob_rw_reply_xc,
956 
957  .xf_tag = 0,
958  .xf_opaque = NULL,
959  .xf_offset = offsetof(struct m0_fop_cob_writev_rep, c_rep),
960  .xf_read = NULL,
961  .xf_decor = {
963  }
964  };
966 
968 }
969 
971 {
972  _m0_fop_cob_readv._child[0] = (struct m0_xcode_field) {
973  .xf_name = "c_rwv",
974 
975  .xf_type = m0_fop_cob_rw_xc,
976 
977  .xf_tag = 0,
978  .xf_opaque = NULL,
979  .xf_offset = offsetof(struct m0_fop_cob_readv, c_rwv),
980  .xf_read = NULL,
981  .xf_decor = {
983  }
984  };
986 
988 }
989 
991 {
993  .xf_name = "c_rwv",
994 
995  .xf_type = m0_fop_cob_rw_xc,
996 
997  .xf_tag = 0,
998  .xf_opaque = NULL,
999  .xf_offset = offsetof(struct m0_fop_cob_writev, c_rwv),
1000  .xf_read = NULL,
1001  .xf_decor = {
1003  }
1004  };
1006 
1008 }
1009 
1011 {
1012  _m0_test_ios_fop._child[0] = (struct m0_xcode_field) {
1013  .xf_name = "if_st",
1014 
1015  .xf_type = &M0_XT_U64,
1016 
1017  .xf_tag = 0,
1018  .xf_opaque = NULL,
1019  .xf_offset = offsetof(struct m0_test_ios_fop, if_st),
1020  .xf_read = NULL,
1021  .xf_decor = {
1023  }
1024  };
1025  m0_xc_u64_init();
1026 
1027  _m0_test_ios_fop._child[1] = (struct m0_xcode_field) {
1028  .xf_name = "if_nbd",
1029 
1030  .xf_type = m0_net_buf_desc_xc,
1031 
1032  .xf_tag = 0,
1033  .xf_opaque = NULL,
1034  .xf_offset = offsetof(struct m0_test_ios_fop, if_nbd),
1035  .xf_read = NULL,
1036  .xf_decor = {
1038  }
1039  };
1041 
1043 }
1044 
1046 {
1047  _m0_fop_cob_create._child[0] = (struct m0_xcode_field) {
1048  .xf_name = "cc_common",
1049 
1050  .xf_type = m0_fop_cob_common_xc,
1051 
1052  .xf_tag = 0,
1053  .xf_opaque = NULL,
1054  .xf_offset = offsetof(struct m0_fop_cob_create, cc_common),
1055  .xf_read = NULL,
1056  .xf_decor = {
1058  }
1059  };
1061 
1063 }
1064 
1066 {
1067  _m0_fop_cob_delete._child[0] = (struct m0_xcode_field) {
1068  .xf_name = "cd_common",
1069 
1070  .xf_type = m0_fop_cob_common_xc,
1071 
1072  .xf_tag = 0,
1073  .xf_opaque = NULL,
1074  .xf_offset = offsetof(struct m0_fop_cob_delete, cd_common),
1075  .xf_read = NULL,
1076  .xf_decor = {
1078  }
1079  };
1081 
1083 }
1084 
1086 {
1088  .xf_name = "ct_common",
1089 
1090  .xf_type = m0_fop_cob_common_xc,
1091 
1092  .xf_tag = 0,
1093  .xf_opaque = NULL,
1094  .xf_offset = offsetof(struct m0_fop_cob_truncate, ct_common),
1095  .xf_read = NULL,
1096  .xf_decor = {
1098  }
1099  };
1101 
1103  .xf_name = "ct_size",
1104 
1105  .xf_type = &M0_XT_U64,
1106 
1107  .xf_tag = 0,
1108  .xf_opaque = NULL,
1109  .xf_offset = offsetof(struct m0_fop_cob_truncate, ct_size),
1110  .xf_read = NULL,
1111  .xf_decor = {
1113  }
1114  };
1115  m0_xc_u64_init();
1116 
1118  .xf_name = "ct_io_ivec",
1119 
1120  .xf_type = m0_io_indexvec_xc,
1121 
1122  .xf_tag = 0,
1123  .xf_opaque = NULL,
1124  .xf_offset = offsetof(struct m0_fop_cob_truncate, ct_io_ivec),
1125  .xf_read = NULL,
1126  .xf_decor = {
1128  }
1129  };
1131 
1133 }
1134 
1136 {
1138  .xf_name = "cor_mod_rep",
1139 
1140  .xf_type = m0_fop_mod_rep_xc,
1141 
1142  .xf_tag = 0,
1143  .xf_opaque = NULL,
1144  .xf_offset = offsetof(struct m0_fop_cob_op_rep_common, cor_mod_rep),
1145  .xf_read = NULL,
1146  .xf_decor = {
1148  }
1149  };
1151 
1153 }
1154 
1156 {
1158  .xf_name = "cor_rc",
1159 
1160  .xf_type = &M0_XT_U32,
1161 
1162  .xf_tag = 0,
1163  .xf_opaque = NULL,
1164  .xf_offset = offsetof(struct m0_fop_cob_op_reply, cor_rc),
1165  .xf_read = NULL,
1166  .xf_decor = {
1168  }
1169  };
1170  m0_xc_u32_init();
1171 
1173  .xf_name = "cor_common",
1174 
1175  .xf_type = m0_fop_cob_op_rep_common_xc,
1176 
1177  .xf_tag = 0,
1178  .xf_opaque = NULL,
1179  .xf_offset = offsetof(struct m0_fop_cob_op_reply, cor_common),
1180  .xf_read = NULL,
1181  .xf_decor = {
1183  }
1184  };
1186 
1188 }
1189 
1191 {
1192  _m0_fop_cob_getattr._child[0] = (struct m0_xcode_field) {
1193  .xf_name = "cg_common",
1194 
1195  .xf_type = m0_fop_cob_common_xc,
1196 
1197  .xf_tag = 0,
1198  .xf_opaque = NULL,
1199  .xf_offset = offsetof(struct m0_fop_cob_getattr, cg_common),
1200  .xf_read = NULL,
1201  .xf_decor = {
1203  }
1204  };
1206 
1208 }
1209 
1211 {
1213  .xf_name = "cgr_rc",
1214 
1215  .xf_type = &M0_XT_U32,
1216 
1217  .xf_tag = 0,
1218  .xf_opaque = NULL,
1219  .xf_offset = offsetof(struct m0_fop_cob_getattr_reply, cgr_rc),
1220  .xf_read = NULL,
1221  .xf_decor = {
1223  }
1224  };
1225  m0_xc_u32_init();
1226 
1228  .xf_name = "cgr_common",
1229 
1230  .xf_type = m0_fop_cob_op_rep_common_xc,
1231 
1232  .xf_tag = 0,
1233  .xf_opaque = NULL,
1234  .xf_offset = offsetof(struct m0_fop_cob_getattr_reply, cgr_common),
1235  .xf_read = NULL,
1236  .xf_decor = {
1238  }
1239  };
1241 
1243  .xf_name = "cgr_body",
1244 
1245  .xf_type = m0_fop_cob_xc,
1246 
1247  .xf_tag = 0,
1248  .xf_opaque = NULL,
1249  .xf_offset = offsetof(struct m0_fop_cob_getattr_reply, cgr_body),
1250  .xf_read = NULL,
1251  .xf_decor = {
1253  }
1254  };
1256 
1258 }
1259 
1261 {
1262  _m0_fop_cob_setattr._child[0] = (struct m0_xcode_field) {
1263  .xf_name = "cs_common",
1264 
1265  .xf_type = m0_fop_cob_common_xc,
1266 
1267  .xf_tag = 0,
1268  .xf_opaque = NULL,
1269  .xf_offset = offsetof(struct m0_fop_cob_setattr, cs_common),
1270  .xf_read = NULL,
1271  .xf_decor = {
1273  }
1274  };
1276 
1278 }
1279 
1281 {
1283  .xf_name = "csr_rc",
1284 
1285  .xf_type = &M0_XT_U32,
1286 
1287  .xf_tag = 0,
1288  .xf_opaque = NULL,
1289  .xf_offset = offsetof(struct m0_fop_cob_setattr_reply, csr_rc),
1290  .xf_read = NULL,
1291  .xf_decor = {
1293  }
1294  };
1295  m0_xc_u32_init();
1296 
1298  .xf_name = "csr_common",
1299 
1300  .xf_type = m0_fop_cob_op_rep_common_xc,
1301 
1302  .xf_tag = 0,
1303  .xf_opaque = NULL,
1304  .xf_offset = offsetof(struct m0_fop_cob_setattr_reply, csr_common),
1305  .xf_read = NULL,
1306  .xf_decor = {
1308  }
1309  };
1311 
1313 }
1314 
1315 M0_INTERNAL void m0_xc_ioservice_io_fops_init(void)
1316 {
1335 }
1336 
1337 M0_INTERNAL void m0_xc_ioservice_io_fops_fini(void)
1338 {
1339 }
int32_t cgr_rc
Definition: cas.h:293
struct m0_xcode_type * m0_fop_mod_rep_xc
Definition: wire_xc.c:14
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:99
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:167
uint64_t crw_lid
Definition: io_fops.h:295
uint64_t c_flags
Definition: io_fops.h:300
struct m0_xcode_type * m0_buf_xc
Definition: buf_xc.c:10
uint64_t rwr_count
Definition: io_fops.h:282
static struct _m0_fop_cob_truncate_s _m0_fop_cob_truncate
static struct _m0_fop_cob_setattr_s _m0_fop_cob_setattr
struct m0_fop_cob_common ct_common
Definition: io_fops.h:278
struct m0_fop_cob_common cd_common
Definition: io_fops.h:278
int32_t csr_rc
Definition: io_fops.h:278
#define NULL
Definition: misc.h:38
struct m0_xcode_type * m0_fop_cob_xc
Definition: md_fops_xc.c:10
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:303
uint32_t crw_index
Definition: io_fops.h:289
M0_INTERNAL void m0_xc_m0_io_descs_struct_init(void)
Definition: io_fops_xc.c:865
uint32_t rwr_repair_done
Definition: io_fops.h:291
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:150
struct m0_fop_cob_rw c_rwv
Definition: io_fops.h:279
struct m0_xcode_type * m0_fop_cob_create_xc
Definition: io_fops_xc.c:19
static struct _m0_fop_cob_getattr_s _m0_fop_cob_getattr
M0_INTERNAL void m0_xc_m0_fop_cob_rw_struct_init(void)
Definition: io_fops_xc.c:490
M0_INTERNAL void m0_xc_m0_fop_cob_setattr_reply_struct_init(void)
Definition: io_fops_xc.c:1280
struct m0_xcode_type * m0_fop_cob_writev_xc
Definition: io_fops_xc.c:17
struct m0_xcode_type * m0_fop_cob_rw_xc
Definition: io_fops_xc.c:10
struct m0_xcode_type * m0_fop_cob_getattr_reply_xc
Definition: io_fops_xc.c:25
struct m0_xcode_type * m0_fop_cob_getattr_xc
Definition: io_fops_xc.c:24
static struct _m0_fop_cob_writev_s _m0_fop_cob_writev
struct m0_fop_cob_op_rep_common cgr_common
Definition: io_fops.h:280
M0_INTERNAL void m0_xc_m0_fop_cob_getattr_reply_struct_init(void)
Definition: io_fops_xc.c:1210
struct m0_fop_cob_common cs_common
Definition: io_fops.h:278
struct m0_xcode_type _type
Definition: io_fops_xc.c:81
M0_INTERNAL void m0_xc_m0_io_indexvec_struct_init(void)
Definition: vec_xc.c:184
struct m0_net_buf_desc_data * id_descs
Definition: io_fops.h:279
uint32_t c_cob_type
Definition: io_fops.h:297
struct m0_xcode_field xct_child[0]
Definition: xcode.h:345
int32_t rwr_rc
Definition: io_fops.h:279
static struct _m0_fop_cob_readv_s _m0_fop_cob_readv
struct m0_xcode_type * m0_io_descs_xc
Definition: io_fops_xc.c:13
struct m0_fid c_cobfid
Definition: io_fops.h:288
M0_INTERNAL void m0_xc_m0_fid_struct_init(void)
Definition: fid_xc.c:64
static struct _m0_fop_cob_getattr_reply_s _m0_fop_cob_getattr_reply
M0_INTERNAL void m0_xc_m0_fop_cob_setattr_struct_init(void)
Definition: io_fops_xc.c:1260
struct m0_xcode_type _type
Definition: io_fops_xc.c:234
struct m0_fid crw_pver
Definition: io_fops.h:292
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:252
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:116
M0_INTERNAL void m0_xc_m0_fop_cob_delete_struct_init(void)
Definition: io_fops_xc.c:1065
struct m0_xcode_type * m0_test_ios_fop_xc
Definition: io_fops_xc.c:18
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:201
M0_INTERNAL void m0_xc_m0_fop_cob_struct_init(void)
Definition: md_fops_xc.c:916
struct m0_buf crw_di_data_cksum
Definition: io_fops.h:319
struct m0_xcode_type _type
Definition: io_fops_xc.c:319
struct m0_xcode_field _child[3]
Definition: io_fops_xc.c:286
M0_INTERNAL void m0_xc_m0_buf_struct_init(void)
Definition: buf_xc.c:64
struct m0_fop_cob_common cg_common
Definition: io_fops.h:278
int32_t cor_rc
Definition: io_fops.h:278
M0_INTERNAL void m0_xc_ioservice_io_fops_init(void)
Definition: io_fops_xc.c:1315
struct m0_xcode_type _type
Definition: io_fops_xc.c:302
struct m0_fid crw_fid
Definition: io_fops.h:286
struct m0_xcode_type * m0_fop_cob_readv_xc
Definition: io_fops_xc.c:16
static struct _m0_fop_cob_rw_reply_s _m0_fop_cob_rw_reply
struct m0_fop_cob cgr_body
Definition: io_fops.h:282
struct m0_xcode_type * m0_fop_cob_op_reply_xc
Definition: io_fops_xc.c:23
M0_INTERNAL void m0_xc_m0_fop_cob_rw_reply_struct_init(void)
Definition: io_fops_xc.c:660
struct m0_fop_cob_op_rep_common cor_common
Definition: io_fops.h:279
M0_INTERNAL void m0_xc_m0_fop_cob_getattr_struct_init(void)
Definition: io_fops_xc.c:1190
M0_INTERNAL void m0_xc_m0_test_ios_fop_struct_init(void)
Definition: io_fops_xc.c:1010
struct m0_xcode_field _child[3]
Definition: io_fops_xc.c:218
struct m0_net_buf_desc if_nbd
Definition: io_fops.h:279
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:184
struct m0_buf crw_di_data
Definition: io_fops.h:317
struct m0_io_descs crw_desc
Definition: io_fops.h:301
struct m0_xcode_type * m0_fop_cob_writev_rep_xc
Definition: io_fops_xc.c:15
struct m0_xcode_type * m0_fop_cob_rw_reply_xc
Definition: io_fops_xc.c:11
struct m0_xcode_type _type
Definition: io_fops_xc.c:30
M0_INTERNAL void m0_xc_m0_fop_cob_common_struct_init(void)
Definition: io_fops_xc.c:755
uint32_t c_cob_idx
Definition: io_fops.h:294
M0_INTERNAL void m0_xc_ioservice_io_fops_fini(void)
Definition: io_fops_xc.c:1337
struct m0_xcode_type * m0_fop_cob_setattr_xc
Definition: io_fops_xc.c:26
struct m0_xcode_type _type
Definition: io_fops_xc.c:251
struct m0_xcode_type _type
Definition: io_fops_xc.c:115
static struct _m0_fop_cob_delete_s _m0_fop_cob_delete
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:320
struct m0_xcode_type * m0_fop_cob_setattr_reply_xc
Definition: io_fops_xc.c:27
struct m0_xcode_field _child[7]
Definition: io_fops_xc.c:65
struct m0_fid c_gobfid
Definition: io_fops.h:283
struct m0_fop_mod_rep rwr_mod_rep
Definition: io_fops.h:297
m0_bcount_t crw_cksum_size
Definition: io_fops.h:316
M0_INTERNAL void m0_xc_m0_fop_cob_create_struct_init(void)
Definition: io_fops_xc.c:1045
struct m0_buf rwr_di_data_cksum
Definition: io_fops.h:300
#define M0_POST(cond)
M0_INTERNAL void m0_xc_m0_fop_cob_op_rep_common_struct_init(void)
Definition: io_fops_xc.c:1135
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
Definition: xcode.c:74
M0_INTERNAL void m0_xc_m0_fop_cob_writev_rep_struct_init(void)
Definition: io_fops_xc.c:935
struct m0_xcode_type * m0_fop_cob_truncate_xc
Definition: io_fops_xc.c:21
M0_INTERNAL void m0_xc_m0_fop_mod_rep_struct_init(void)
Definition: wire_xc.c:315
struct m0_fop_cob_common cc_common
Definition: io_fops.h:278
static struct _m0_fop_cob_writev_rep_s _m0_fop_cob_writev_rep
struct m0_xcode_type * m0_fop_cob_common_xc
Definition: io_fops_xc.c:12
struct m0_io_indexvec ct_io_ivec
Definition: io_fops.h:283
struct m0_xcode_type _type
Definition: io_fops_xc.c:132
void m0_xc_u64_init(void)
Definition: xcode.c:904
struct m0_fop_cob_rw_reply c_rep
Definition: io_fops.h:280
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:133
M0_INTERNAL void m0_xc_m0_fop_cob_readv_struct_init(void)
Definition: io_fops_xc.c:970
uint32_t rwr_cksum_nob_read
Definition: io_fops.h:294
struct m0_xcode_type _type
Definition: io_fops_xc.c:285
struct m0_xcode_type * m0_fop_cob_op_rep_common_xc
Definition: io_fops_xc.c:22
M0_INTERNAL void m0_xc_m0_net_buf_desc_data_struct_init(void)
struct m0_xcode_type * m0_net_buf_desc_xc
const struct m0_xcode_type M0_XT_U32
Definition: xcode.c:932
static struct _m0_io_descs_s _m0_io_descs
enum m0_xcode_aggr xct_aggr
Definition: xcode.h:316
struct m0_xcode_field _child[2]
Definition: io_fops_xc.c:82
M0_INTERNAL void m0_xc_m0_fop_cob_op_reply_struct_init(void)
Definition: io_fops_xc.c:1155
struct m0_xcode_type _type
Definition: io_fops_xc.c:268
M0_INTERNAL void m0_xc_m0_fop_cob_truncate_struct_init(void)
Definition: io_fops_xc.c:1085
M0_INTERNAL void m0_xc_m0_fop_cob_readv_rep_struct_init(void)
Definition: io_fops_xc.c:900
uint64_t if_st
Definition: io_fops.h:278
uint32_t id_nr
Definition: io_fops.h:278
struct m0_xcode_type _type
Definition: io_fops_xc.c:47
static struct _m0_fop_cob_rw_s _m0_fop_cob_rw
struct m0_fid crw_gfid
Definition: io_fops.h:283
struct m0_xcode_type _type
Definition: io_fops_xc.c:64
static struct _m0_fop_cob_common_s _m0_fop_cob_common
struct m0_fop_mod_rep cor_mod_rep
Definition: io_fops.h:279
struct m0_xcode_type * m0_fop_cob_readv_rep_xc
Definition: io_fops_xc.c:14
struct m0_xcode_type _type
Definition: io_fops_xc.c:98
struct m0_xcode_type _type
Definition: io_fops_xc.c:217
struct m0_xcode_type _type
Definition: io_fops_xc.c:200
struct m0_xcode_type * m0_fop_cob_delete_xc
Definition: io_fops_xc.c:20
static struct _m0_fop_cob_op_reply_s _m0_fop_cob_op_reply
struct m0_xcode_type _type
Definition: io_fops_xc.c:183
void m0_xc_u32_init(void)
Definition: xcode.c:900
struct m0_fid c_pver
Definition: io_fops.h:291
static struct _m0_test_ios_fop_s _m0_test_ios_fop
struct m0_xcode_type _type
Definition: io_fops_xc.c:166
struct m0_fop_cob_op_rep_common csr_common
Definition: io_fops.h:280
static struct _m0_fop_cob_readv_rep_s _m0_fop_cob_readv_rep
M0_BASSERT(offsetof(struct _m0_fop_cob_rw_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:235
M0_INTERNAL void m0_xc_m0_net_buf_desc_struct_init(void)
int32_t c_rc
Definition: io_fops.h:278
uint64_t ct_size
Definition: io_fops.h:281
M0_INTERNAL void m0_xc_m0_fop_cob_writev_struct_init(void)
Definition: io_fops_xc.c:990
struct m0_xcode_type * m0_io_indexvec_xc
Definition: vec_xc.c:12
const char * xf_name
Definition: xcode.h:251
struct m0_xcode_field _child[1]
Definition: io_fops_xc.c:269
struct m0_xcode_type * m0_fid_xc
Definition: fid_xc.c:10
const struct m0_xcode_type M0_XT_U64
Definition: xcode.c:940
static struct _m0_fop_cob_setattr_reply_s _m0_fop_cob_setattr_reply
struct m0_fop_cob c_body
Definition: io_fops.h:279
struct m0_io_indexvec crw_ivec
Definition: io_fops.h:312
struct m0_xcode_field _child[6]
Definition: io_fops_xc.c:48
static struct _m0_fop_cob_op_rep_common_s _m0_fop_cob_op_rep_common
#define offsetof(typ, memb)
Definition: misc.h:29
struct m0_xcode_type _type
Definition: io_fops_xc.c:149
struct m0_xcode_type * m0_net_buf_desc_data_xc
static struct _m0_fop_cob_create_s _m0_fop_cob_create
struct m0_xcode_field _child[11]
Definition: io_fops_xc.c:31
uint64_t crw_flags
Definition: io_fops.h:314