Motr  M0
fmt_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from be/fmt.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "be/fmt.h"
8 #include "be/fmt_xc.h"
9 
10 #if !defined(__KERNEL__)
12 #endif
13 #if !defined(__KERNEL__)
15 #endif
16 #if !defined(__KERNEL__)
18 #endif
19 #if !defined(__KERNEL__)
21 #endif
22 #if !defined(__KERNEL__)
24 #endif
25 #if !defined(__KERNEL__)
27 #endif
28 #if !defined(__KERNEL__)
30 #endif
31 #if !defined(__KERNEL__)
33 #endif
34 #if !defined(__KERNEL__)
36 #endif
37 #if !defined(__KERNEL__)
39 #endif
40 #if !defined(__KERNEL__)
42 #endif
43 #if !defined(__KERNEL__)
45 #endif
46 #if !defined(__KERNEL__)
48 #endif
49 #if !defined(__KERNEL__)
51 #endif
52 #if !defined(__KERNEL__)
54 #endif
55 #if !defined(__KERNEL__)
57 #endif
58 #if !defined(__KERNEL__)
60 #endif
61 
62 #if !defined(__KERNEL__)
67  ._type = {
69  .xct_name = "m0_be_fmt_log_record_header",
70  .xct_sizeof = sizeof (struct m0_be_fmt_log_record_header),
71  .xct_nr = 7,
72  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
73  }
74 };
75 
78  offsetof(struct m0_xcode_type, xct_child[0]));
79 #endif
80 
81 #if !defined(__KERNEL__)
82 static struct _m0_be_fmt_group_info_s {
86  ._type = {
88  .xct_name = "m0_be_fmt_group_info",
89  .xct_sizeof = sizeof (struct m0_be_fmt_group_info),
90  .xct_nr = 1,
91  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
92  }
93 };
94 
96 M0_BASSERT(offsetof(struct _m0_be_fmt_group_info_s, _child[0]) ==
97  offsetof(struct m0_xcode_type, xct_child[0]));
98 #endif
99 
100 #if !defined(__KERNEL__)
105  ._type = {
107  .xct_name = "m0_be_fmt_group_header",
108  .xct_sizeof = sizeof (struct m0_be_fmt_group_header),
109  .xct_nr = 6,
110  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
111  }
112 };
113 
115 M0_BASSERT(offsetof(struct _m0_be_fmt_group_header_s, _child[0]) ==
116  offsetof(struct m0_xcode_type, xct_child[0]));
117 #endif
118 
119 #if !defined(__KERNEL__)
124  ._type = {
126  .xct_name = "m0_be_fmt_content_header_tx",
127  .xct_sizeof = sizeof (struct m0_be_fmt_content_header_tx),
128  .xct_nr = 2,
129  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
130  }
131 };
132 
135  offsetof(struct m0_xcode_type, xct_child[0]));
136 #endif
137 
138 #if !defined(__KERNEL__)
143  ._type = {
145  .xct_name = "m0_be_fmt_content_header_txs",
146  .xct_sizeof = sizeof (struct m0_be_fmt_content_header_txs),
147  .xct_nr = 2,
148  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
149  }
150 };
151 
154  offsetof(struct m0_xcode_type, xct_child[0]));
155 #endif
156 
157 #if !defined(__KERNEL__)
162  ._type = {
164  .xct_name = "m0_be_fmt_content_header_reg",
165  .xct_sizeof = sizeof (struct m0_be_fmt_content_header_reg),
166  .xct_nr = 2,
167  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
168  }
169 };
170 
173  offsetof(struct m0_xcode_type, xct_child[0]));
174 #endif
175 
176 #if !defined(__KERNEL__)
181  ._type = {
183  .xct_name = "m0_be_fmt_content_header_reg_area",
184  .xct_sizeof = sizeof (struct m0_be_fmt_content_header_reg_area),
185  .xct_nr = 2,
186  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
187  }
188 };
189 
192  offsetof(struct m0_xcode_type, xct_child[0]));
193 #endif
194 
195 #if !defined(__KERNEL__)
200  ._type = {
202  .xct_name = "m0_be_fmt_content_header",
203  .xct_sizeof = sizeof (struct m0_be_fmt_content_header),
204  .xct_nr = 2,
205  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
206  }
207 };
208 
210 M0_BASSERT(offsetof(struct _m0_be_fmt_content_header_s, _child[0]) ==
211  offsetof(struct m0_xcode_type, xct_child[0]));
212 #endif
213 
214 #if !defined(__KERNEL__)
219  ._type = {
221  .xct_name = "m0_be_fmt_content_payloads",
222  .xct_sizeof = sizeof (struct m0_be_fmt_content_payloads),
223  .xct_nr = 2,
224  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
225  }
226 };
227 
230  offsetof(struct m0_xcode_type, xct_child[0]));
231 #endif
232 
233 #if !defined(__KERNEL__)
238  ._type = {
240  .xct_name = "m0_be_fmt_content_reg_area",
241  .xct_sizeof = sizeof (struct m0_be_fmt_content_reg_area),
242  .xct_nr = 2,
243  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
244  }
245 };
246 
249  offsetof(struct m0_xcode_type, xct_child[0]));
250 #endif
251 
252 #if !defined(__KERNEL__)
253 static struct _m0_be_fmt_content_s {
256 } _m0_be_fmt_content = {
257  ._type = {
259  .xct_name = "m0_be_fmt_content",
260  .xct_sizeof = sizeof (struct m0_be_fmt_content),
261  .xct_nr = 2,
262  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
263  }
264 };
265 
267 M0_BASSERT(offsetof(struct _m0_be_fmt_content_s, _child[0]) ==
268  offsetof(struct m0_xcode_type, xct_child[0]));
269 #endif
270 
271 #if !defined(__KERNEL__)
276  ._type = {
278  .xct_name = "m0_be_fmt_log_store_header",
279  .xct_sizeof = sizeof (struct m0_be_fmt_log_store_header),
280  .xct_nr = 7,
281  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
282  }
283 };
284 
287  offsetof(struct m0_xcode_type, xct_child[0]));
288 #endif
289 
290 #if !defined(__KERNEL__)
291 static struct _m0_be_fmt_log_header_s {
295  ._type = {
297  .xct_name = "m0_be_fmt_log_header",
298  .xct_sizeof = sizeof (struct m0_be_fmt_log_header),
299  .xct_nr = 4,
300  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
301  }
302 };
303 
305 M0_BASSERT(offsetof(struct _m0_be_fmt_log_header_s, _child[0]) ==
306  offsetof(struct m0_xcode_type, xct_child[0]));
307 #endif
308 
309 #if !defined(__KERNEL__)
310 static struct _m0_be_fmt_group_s {
313 } _m0_be_fmt_group = {
314  ._type = {
316  .xct_name = "m0_be_fmt_group",
317  .xct_sizeof = sizeof (struct m0_be_fmt_group),
318  .xct_nr = 4,
319  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
320  }
321 };
322 
324 M0_BASSERT(offsetof(struct _m0_be_fmt_group_s, _child[0]) ==
325  offsetof(struct m0_xcode_type, xct_child[0]));
326 #endif
327 
328 #if !defined(__KERNEL__)
329 static struct _m0_be_fmt_cblock_s {
332 } _m0_be_fmt_cblock = {
333  ._type = {
335  .xct_name = "m0_be_fmt_cblock",
336  .xct_sizeof = sizeof (struct m0_be_fmt_cblock),
337  .xct_nr = 4,
338  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
339  }
340 };
341 
343 M0_BASSERT(offsetof(struct _m0_be_fmt_cblock_s, _child[0]) ==
344  offsetof(struct m0_xcode_type, xct_child[0]));
345 #endif
346 
347 #if !defined(__KERNEL__)
352  ._type = {
354  .xct_name = "m0_be_fmt_log_record_footer",
355  .xct_sizeof = sizeof (struct m0_be_fmt_log_record_footer),
356  .xct_nr = 1,
357  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
358  }
359 };
360 
363  offsetof(struct m0_xcode_type, xct_child[0]));
364 #endif
365 
366 #if !defined(__KERNEL__)
371  ._type = {
373  .xct_name = "m0_be_fmt_log_record_header_io_size",
374  .xct_sizeof = sizeof (struct m0_be_fmt_log_record_header_io_size),
375  .xct_nr = 2,
376  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_BE,
377  }
378 };
379 
382  offsetof(struct m0_xcode_type, xct_child[0]));
383 #endif
384 
385 
386 #if !defined(__KERNEL__)
387 M0_BASSERT(sizeof(struct m0_be_fmt_log_record_header) == 64U);
388 #endif
389 
390 #if !defined(__KERNEL__)
391 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_pos == 8U);
393 #endif
394 #if !defined(__KERNEL__)
395 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_size == 8U);
397 #endif
398 #if !defined(__KERNEL__)
399 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_discarded == 8U);
401 #endif
402 #if !defined(__KERNEL__)
403 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_prev_pos == 8U);
405 #endif
406 #if !defined(__KERNEL__)
407 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_prev_size == 8U);
409 #endif
410 #if !defined(__KERNEL__)
411 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_io_nr_max == 8U);
413 #endif
414 #if !defined(__KERNEL__)
415 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header *)0)->lrh_io_size == 16U);
417 #endif
418 
419 #if !defined(__KERNEL__)
420 M0_BASSERT(sizeof(struct m0_be_fmt_group_info) == 8U);
421 #endif
422 
423 #if !defined(__KERNEL__)
424 M0_BASSERT(sizeof ((struct m0_be_fmt_group_info *)0)->gi_unknown == 8U);
426 #endif
427 
428 #if !defined(__KERNEL__)
429 M0_BASSERT(sizeof(struct m0_be_fmt_group_header) == 48U);
430 #endif
431 
432 #if !defined(__KERNEL__)
433 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_info == 8U);
435 #endif
436 #if !defined(__KERNEL__)
437 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_lsn == 8U);
439 #endif
440 #if !defined(__KERNEL__)
441 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_size == 8U);
443 #endif
444 #if !defined(__KERNEL__)
445 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_tx_nr == 8U);
447 #endif
448 #if !defined(__KERNEL__)
449 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_reg_nr == 8U);
451 #endif
452 #if !defined(__KERNEL__)
453 M0_BASSERT(sizeof ((struct m0_be_fmt_group_header *)0)->fgh_magic == 8U);
455 #endif
456 
457 #if !defined(__KERNEL__)
458 M0_BASSERT(sizeof(struct m0_be_fmt_content_header_tx) == 16U);
459 #endif
460 
461 #if !defined(__KERNEL__)
462 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_tx *)0)->chx_tx_id == 8U);
464 #endif
465 #if !defined(__KERNEL__)
466 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_tx *)0)->chx_payload_size == 8U);
468 #endif
469 
470 #if !defined(__KERNEL__)
471 M0_BASSERT(sizeof(struct m0_be_fmt_content_header_txs) == 16U);
472 #endif
473 
474 #if !defined(__KERNEL__)
475 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_txs *)0)->cht_nr == 4U);
477 #endif
478 #if !defined(__KERNEL__)
479 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_txs *)0)->cht_tx == 8U);
481 #endif
482 
483 #if !defined(__KERNEL__)
484 M0_BASSERT(sizeof(struct m0_be_fmt_content_header_reg) == 16U);
485 #endif
486 
487 #if !defined(__KERNEL__)
488 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_reg *)0)->chg_size == 8U);
490 #endif
491 #if !defined(__KERNEL__)
492 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_reg *)0)->chg_addr == 8U);
494 #endif
495 
496 #if !defined(__KERNEL__)
497 M0_BASSERT(sizeof(struct m0_be_fmt_content_header_reg_area) == 16U);
498 #endif
499 
500 #if !defined(__KERNEL__)
501 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_reg_area *)0)->chr_nr == 4U);
503 #endif
504 #if !defined(__KERNEL__)
505 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header_reg_area *)0)->chr_reg == 8U);
507 #endif
508 
509 #if !defined(__KERNEL__)
510 M0_BASSERT(sizeof(struct m0_be_fmt_content_header) == 32U);
511 #endif
512 
513 #if !defined(__KERNEL__)
514 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header *)0)->fch_txs == 16U);
516 #endif
517 #if !defined(__KERNEL__)
518 M0_BASSERT(sizeof ((struct m0_be_fmt_content_header *)0)->fch_reg_area == 16U);
520 #endif
521 
522 #if !defined(__KERNEL__)
523 M0_BASSERT(sizeof(struct m0_be_fmt_content_payloads) == 16U);
524 #endif
525 
526 #if !defined(__KERNEL__)
527 M0_BASSERT(sizeof ((struct m0_be_fmt_content_payloads *)0)->fcp_nr == 4U);
529 #endif
530 #if !defined(__KERNEL__)
531 M0_BASSERT(sizeof ((struct m0_be_fmt_content_payloads *)0)->fcp_payload == 8U);
533 #endif
534 
535 #if !defined(__KERNEL__)
536 M0_BASSERT(sizeof(struct m0_be_fmt_content_reg_area) == 16U);
537 #endif
538 
539 #if !defined(__KERNEL__)
540 M0_BASSERT(sizeof ((struct m0_be_fmt_content_reg_area *)0)->cra_nr == 4U);
542 #endif
543 #if !defined(__KERNEL__)
544 M0_BASSERT(sizeof ((struct m0_be_fmt_content_reg_area *)0)->cra_reg == 8U);
546 #endif
547 
548 #if !defined(__KERNEL__)
549 M0_BASSERT(sizeof(struct m0_be_fmt_content) == 32U);
550 #endif
551 
552 #if !defined(__KERNEL__)
553 M0_BASSERT(sizeof ((struct m0_be_fmt_content *)0)->fmc_payloads == 16U);
555 #endif
556 #if !defined(__KERNEL__)
557 M0_BASSERT(sizeof ((struct m0_be_fmt_content *)0)->fmc_reg_area == 16U);
559 #endif
560 
561 #if !defined(__KERNEL__)
562 M0_BASSERT(sizeof(struct m0_be_fmt_log_store_header) == 56U);
563 #endif
564 
565 #if !defined(__KERNEL__)
566 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_size == 8U);
568 #endif
569 #if !defined(__KERNEL__)
570 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_rbuf_offset == 8U);
572 #endif
573 #if !defined(__KERNEL__)
574 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_rbuf_nr == 4U);
576 #endif
577 #if !defined(__KERNEL__)
578 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_rbuf_size == 8U);
580 #endif
581 #if !defined(__KERNEL__)
582 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_rbuf_size_aligned == 8U);
584 #endif
585 #if !defined(__KERNEL__)
586 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_cbuf_offset == 8U);
588 #endif
589 #if !defined(__KERNEL__)
590 M0_BASSERT(sizeof ((struct m0_be_fmt_log_store_header *)0)->fsh_cbuf_size == 8U);
592 #endif
593 
594 #if !defined(__KERNEL__)
595 M0_BASSERT(sizeof(struct m0_be_fmt_log_header) == 32U);
596 #endif
597 
598 #if !defined(__KERNEL__)
599 M0_BASSERT(sizeof ((struct m0_be_fmt_log_header *)0)->flh_serial == 8U);
601 #endif
602 #if !defined(__KERNEL__)
603 M0_BASSERT(sizeof ((struct m0_be_fmt_log_header *)0)->flh_discarded == 8U);
605 #endif
606 #if !defined(__KERNEL__)
607 M0_BASSERT(sizeof ((struct m0_be_fmt_log_header *)0)->flh_group_lsn == 8U);
609 #endif
610 #if !defined(__KERNEL__)
611 M0_BASSERT(sizeof ((struct m0_be_fmt_log_header *)0)->flh_group_size == 8U);
613 #endif
614 
615 #if !defined(__KERNEL__)
616 M0_BASSERT(sizeof(struct m0_be_fmt_group) == 120U);
617 #endif
618 
619 #if !defined(__KERNEL__)
620 M0_BASSERT(sizeof ((struct m0_be_fmt_group *)0)->fg_header == 48U);
622 #endif
623 #if !defined(__KERNEL__)
624 M0_BASSERT(sizeof ((struct m0_be_fmt_group *)0)->fg_content_header == 32U);
626 #endif
627 #if !defined(__KERNEL__)
628 M0_BASSERT(sizeof ((struct m0_be_fmt_group *)0)->fg_content == 32U);
630 #endif
631 #if !defined(__KERNEL__)
632 M0_BASSERT(sizeof ((struct m0_be_fmt_group *)0)->fg_cfg == 8U);
633 M0_BASSERT(offsetof(struct m0_be_fmt_group, fg_cfg) == 112U);
634 #endif
635 
636 #if !defined(__KERNEL__)
637 M0_BASSERT(sizeof(struct m0_be_fmt_cblock) == 32U);
638 #endif
639 
640 #if !defined(__KERNEL__)
641 M0_BASSERT(sizeof ((struct m0_be_fmt_cblock *)0)->gcb_lsn == 8U);
643 #endif
644 #if !defined(__KERNEL__)
645 M0_BASSERT(sizeof ((struct m0_be_fmt_cblock *)0)->gcb_size == 8U);
647 #endif
648 #if !defined(__KERNEL__)
649 M0_BASSERT(sizeof ((struct m0_be_fmt_cblock *)0)->gcb_tx_nr == 8U);
651 #endif
652 #if !defined(__KERNEL__)
653 M0_BASSERT(sizeof ((struct m0_be_fmt_cblock *)0)->gcb_magic == 8U);
655 #endif
656 
657 #if !defined(__KERNEL__)
658 M0_BASSERT(sizeof(struct m0_be_fmt_log_record_footer) == 8U);
659 #endif
660 
661 #if !defined(__KERNEL__)
662 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_footer *)0)->lrf_pos == 8U);
664 #endif
665 
666 #if !defined(__KERNEL__)
667 M0_BASSERT(sizeof(struct m0_be_fmt_log_record_header_io_size) == 16U);
668 #endif
669 
670 #if !defined(__KERNEL__)
671 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header_io_size *)0)->lrhs_nr == 4U);
673 #endif
674 #if !defined(__KERNEL__)
675 M0_BASSERT(sizeof ((struct m0_be_fmt_log_record_header_io_size *)0)->lrhs_size == 8U);
677 #endif
678 
679 
680 
681 #if !defined(__KERNEL__)
683 {
685  .xf_name = "lrh_pos",
686 
687  .xf_type = &M0_XT_U64,
688 
689  .xf_tag = 0,
690  .xf_opaque = NULL,
691  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_pos),
692  .xf_read = NULL,
693  .xf_decor = {
695  }
696  };
697  m0_xc_u64_init();
698 
700  .xf_name = "lrh_size",
701 
702  .xf_type = &M0_XT_U64,
703 
704  .xf_tag = 0,
705  .xf_opaque = NULL,
706  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_size),
707  .xf_read = NULL,
708  .xf_decor = {
710  }
711  };
712  m0_xc_u64_init();
713 
715  .xf_name = "lrh_discarded",
716 
717  .xf_type = &M0_XT_U64,
718 
719  .xf_tag = 0,
720  .xf_opaque = NULL,
721  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_discarded),
722  .xf_read = NULL,
723  .xf_decor = {
725  }
726  };
727  m0_xc_u64_init();
728 
730  .xf_name = "lrh_prev_pos",
731 
732  .xf_type = &M0_XT_U64,
733 
734  .xf_tag = 0,
735  .xf_opaque = NULL,
736  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_prev_pos),
737  .xf_read = NULL,
738  .xf_decor = {
740  }
741  };
742  m0_xc_u64_init();
743 
745  .xf_name = "lrh_prev_size",
746 
747  .xf_type = &M0_XT_U64,
748 
749  .xf_tag = 0,
750  .xf_opaque = NULL,
751  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_prev_size),
752  .xf_read = NULL,
753  .xf_decor = {
755  }
756  };
757  m0_xc_u64_init();
758 
760  .xf_name = "lrh_io_nr_max",
761 
762  .xf_type = &M0_XT_U64,
763 
764  .xf_tag = 0,
765  .xf_opaque = NULL,
766  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_io_nr_max),
767  .xf_read = NULL,
768  .xf_decor = {
770  }
771  };
772  m0_xc_u64_init();
773 
775  .xf_name = "lrh_io_size",
776 #ifdef __KERNEL__
777  .xf_type = &M0_XT_VOID,
778 #else
779 
781 #endif
782  .xf_tag = 0,
783  .xf_opaque = NULL,
784  .xf_offset = offsetof(struct m0_be_fmt_log_record_header, lrh_io_size),
785  .xf_read = NULL,
786  .xf_decor = {
788  }
789  };
790 #if !defined(__KERNEL__)
792 #endif
793 
795 }
796 #endif
797 
798 #if !defined(__KERNEL__)
800 {
802  .xf_name = "gi_unknown",
803 
804  .xf_type = &M0_XT_U64,
805 
806  .xf_tag = 0,
807  .xf_opaque = NULL,
808  .xf_offset = offsetof(struct m0_be_fmt_group_info, gi_unknown),
809  .xf_read = NULL,
810  .xf_decor = {
812  }
813  };
814  m0_xc_u64_init();
815 
817 }
818 #endif
819 
820 #if !defined(__KERNEL__)
822 {
824  .xf_name = "fgh_info",
825 #ifdef __KERNEL__
826  .xf_type = &M0_XT_VOID,
827 #else
828 
829  .xf_type = m0_be_fmt_group_info_xc,
830 #endif
831  .xf_tag = 0,
832  .xf_opaque = NULL,
833  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_info),
834  .xf_read = NULL,
835  .xf_decor = {
837  }
838  };
839 #if !defined(__KERNEL__)
841 #endif
842 
844  .xf_name = "fgh_lsn",
845 
846  .xf_type = &M0_XT_U64,
847 
848  .xf_tag = 0,
849  .xf_opaque = NULL,
850  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_lsn),
851  .xf_read = NULL,
852  .xf_decor = {
854  }
855  };
856  m0_xc_u64_init();
857 
859  .xf_name = "fgh_size",
860 
861  .xf_type = &M0_XT_U64,
862 
863  .xf_tag = 0,
864  .xf_opaque = NULL,
865  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_size),
866  .xf_read = NULL,
867  .xf_decor = {
869  }
870  };
871  m0_xc_u64_init();
872 
874  .xf_name = "fgh_tx_nr",
875 
876  .xf_type = &M0_XT_U64,
877 
878  .xf_tag = 0,
879  .xf_opaque = NULL,
880  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_tx_nr),
881  .xf_read = NULL,
882  .xf_decor = {
884  }
885  };
886  m0_xc_u64_init();
887 
889  .xf_name = "fgh_reg_nr",
890 
891  .xf_type = &M0_XT_U64,
892 
893  .xf_tag = 0,
894  .xf_opaque = NULL,
895  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_reg_nr),
896  .xf_read = NULL,
897  .xf_decor = {
899  }
900  };
901  m0_xc_u64_init();
902 
904  .xf_name = "fgh_magic",
905 
906  .xf_type = &M0_XT_U64,
907 
908  .xf_tag = 0,
909  .xf_opaque = NULL,
910  .xf_offset = offsetof(struct m0_be_fmt_group_header, fgh_magic),
911  .xf_read = NULL,
912  .xf_decor = {
914  }
915  };
916  m0_xc_u64_init();
917 
919 }
920 #endif
921 
922 #if !defined(__KERNEL__)
924 {
926  .xf_name = "chx_tx_id",
927 
928  .xf_type = &M0_XT_U64,
929 
930  .xf_tag = 0,
931  .xf_opaque = NULL,
932  .xf_offset = offsetof(struct m0_be_fmt_content_header_tx, chx_tx_id),
933  .xf_read = NULL,
934  .xf_decor = {
936  }
937  };
938  m0_xc_u64_init();
939 
941  .xf_name = "chx_payload_size",
942 
943  .xf_type = &M0_XT_U64,
944 
945  .xf_tag = 0,
946  .xf_opaque = NULL,
948  .xf_read = NULL,
949  .xf_decor = {
951  }
952  };
953  m0_xc_u64_init();
954 
956 }
957 #endif
958 
959 #if !defined(__KERNEL__)
961 {
963  .xf_name = "cht_nr",
964 
965  .xf_type = &M0_XT_U32,
966 
967  .xf_tag = 0,
968  .xf_opaque = NULL,
969  .xf_offset = offsetof(struct m0_be_fmt_content_header_txs, cht_nr),
970  .xf_read = NULL,
971  .xf_decor = {
973  }
974  };
975  m0_xc_u32_init();
976 
978  .xf_name = "cht_tx",
979 #ifdef __KERNEL__
980  .xf_type = &M0_XT_VOID,
981 #else
982 
984 #endif
985  .xf_tag = 0,
986  .xf_opaque = NULL,
987  .xf_offset = offsetof(struct m0_be_fmt_content_header_txs, cht_tx),
988  .xf_read = NULL,
989  .xf_decor = {
991  }
992  };
993 #if !defined(__KERNEL__)
995 #endif
996 
998 }
999 #endif
1000 
1001 #if !defined(__KERNEL__)
1003 {
1005  .xf_name = "chg_size",
1006 
1007  .xf_type = &M0_XT_U64,
1008 
1009  .xf_tag = 0,
1010  .xf_opaque = NULL,
1011  .xf_offset = offsetof(struct m0_be_fmt_content_header_reg, chg_size),
1012  .xf_read = NULL,
1013  .xf_decor = {
1015  }
1016  };
1017  m0_xc_u64_init();
1018 
1020  .xf_name = "chg_addr",
1021 
1022  .xf_type = &M0_XT_U64,
1023 
1024  .xf_tag = 0,
1025  .xf_opaque = NULL,
1026  .xf_offset = offsetof(struct m0_be_fmt_content_header_reg, chg_addr),
1027  .xf_read = NULL,
1028  .xf_decor = {
1030  }
1031  };
1032  m0_xc_u64_init();
1033 
1035 }
1036 #endif
1037 
1038 #if !defined(__KERNEL__)
1040 {
1042  .xf_name = "chr_nr",
1043 
1044  .xf_type = &M0_XT_U32,
1045 
1046  .xf_tag = 0,
1047  .xf_opaque = NULL,
1048  .xf_offset = offsetof(struct m0_be_fmt_content_header_reg_area, chr_nr),
1049  .xf_read = NULL,
1050  .xf_decor = {
1052  }
1053  };
1054  m0_xc_u32_init();
1055 
1057  .xf_name = "chr_reg",
1058 #ifdef __KERNEL__
1059  .xf_type = &M0_XT_VOID,
1060 #else
1061 
1063 #endif
1064  .xf_tag = 0,
1065  .xf_opaque = NULL,
1066  .xf_offset = offsetof(struct m0_be_fmt_content_header_reg_area, chr_reg),
1067  .xf_read = NULL,
1068  .xf_decor = {
1070  }
1071  };
1072 #if !defined(__KERNEL__)
1074 #endif
1075 
1077 }
1078 #endif
1079 
1080 #if !defined(__KERNEL__)
1082 {
1084  .xf_name = "fch_txs",
1085 #ifdef __KERNEL__
1086  .xf_type = &M0_XT_VOID,
1087 #else
1088 
1090 #endif
1091  .xf_tag = 0,
1092  .xf_opaque = NULL,
1093  .xf_offset = offsetof(struct m0_be_fmt_content_header, fch_txs),
1094  .xf_read = NULL,
1095  .xf_decor = {
1097  }
1098  };
1099 #if !defined(__KERNEL__)
1101 #endif
1102 
1104  .xf_name = "fch_reg_area",
1105 #ifdef __KERNEL__
1106  .xf_type = &M0_XT_VOID,
1107 #else
1108 
1110 #endif
1111  .xf_tag = 0,
1112  .xf_opaque = NULL,
1113  .xf_offset = offsetof(struct m0_be_fmt_content_header, fch_reg_area),
1114  .xf_read = NULL,
1115  .xf_decor = {
1117  }
1118  };
1119 #if !defined(__KERNEL__)
1121 #endif
1122 
1124 }
1125 #endif
1126 
1127 #if !defined(__KERNEL__)
1129 {
1131  .xf_name = "fcp_nr",
1132 
1133  .xf_type = &M0_XT_U32,
1134 
1135  .xf_tag = 0,
1136  .xf_opaque = NULL,
1137  .xf_offset = offsetof(struct m0_be_fmt_content_payloads, fcp_nr),
1138  .xf_read = NULL,
1139  .xf_decor = {
1141  }
1142  };
1143  m0_xc_u32_init();
1144 
1146  .xf_name = "fcp_payload",
1147 
1148  .xf_type = m0_buf_xc,
1149 
1150  .xf_tag = 0,
1151  .xf_opaque = NULL,
1152  .xf_offset = offsetof(struct m0_be_fmt_content_payloads, fcp_payload),
1153  .xf_read = NULL,
1154  .xf_decor = {
1156  }
1157  };
1159 
1161 }
1162 #endif
1163 
1164 #if !defined(__KERNEL__)
1166 {
1168  .xf_name = "cra_nr",
1169 
1170  .xf_type = &M0_XT_U32,
1171 
1172  .xf_tag = 0,
1173  .xf_opaque = NULL,
1174  .xf_offset = offsetof(struct m0_be_fmt_content_reg_area, cra_nr),
1175  .xf_read = NULL,
1176  .xf_decor = {
1178  }
1179  };
1180  m0_xc_u32_init();
1181 
1183  .xf_name = "cra_reg",
1184 
1185  .xf_type = m0_buf_xc,
1186 
1187  .xf_tag = 0,
1188  .xf_opaque = NULL,
1189  .xf_offset = offsetof(struct m0_be_fmt_content_reg_area, cra_reg),
1190  .xf_read = NULL,
1191  .xf_decor = {
1193  }
1194  };
1196 
1198 }
1199 #endif
1200 
1201 #if !defined(__KERNEL__)
1203 {
1204  _m0_be_fmt_content._child[0] = (struct m0_xcode_field) {
1205  .xf_name = "fmc_payloads",
1206 #ifdef __KERNEL__
1207  .xf_type = &M0_XT_VOID,
1208 #else
1209 
1210  .xf_type = m0_be_fmt_content_payloads_xc,
1211 #endif
1212  .xf_tag = 0,
1213  .xf_opaque = NULL,
1214  .xf_offset = offsetof(struct m0_be_fmt_content, fmc_payloads),
1215  .xf_read = NULL,
1216  .xf_decor = {
1218  }
1219  };
1220 #if !defined(__KERNEL__)
1222 #endif
1223 
1224  _m0_be_fmt_content._child[1] = (struct m0_xcode_field) {
1225  .xf_name = "fmc_reg_area",
1226 #ifdef __KERNEL__
1227  .xf_type = &M0_XT_VOID,
1228 #else
1229 
1230  .xf_type = m0_be_fmt_content_reg_area_xc,
1231 #endif
1232  .xf_tag = 0,
1233  .xf_opaque = NULL,
1234  .xf_offset = offsetof(struct m0_be_fmt_content, fmc_reg_area),
1235  .xf_read = NULL,
1236  .xf_decor = {
1238  }
1239  };
1240 #if !defined(__KERNEL__)
1242 #endif
1243 
1245 }
1246 #endif
1247 
1248 #if !defined(__KERNEL__)
1250 {
1252  .xf_name = "fsh_size",
1253 
1254  .xf_type = &M0_XT_U64,
1255 
1256  .xf_tag = 0,
1257  .xf_opaque = NULL,
1258  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_size),
1259  .xf_read = NULL,
1260  .xf_decor = {
1262  }
1263  };
1264  m0_xc_u64_init();
1265 
1267  .xf_name = "fsh_rbuf_offset",
1268 
1269  .xf_type = &M0_XT_U64,
1270 
1271  .xf_tag = 0,
1272  .xf_opaque = NULL,
1273  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_rbuf_offset),
1274  .xf_read = NULL,
1275  .xf_decor = {
1277  }
1278  };
1279  m0_xc_u64_init();
1280 
1282  .xf_name = "fsh_rbuf_nr",
1283 
1284  .xf_type = &M0_XT_U32,
1285 
1286  .xf_tag = 0,
1287  .xf_opaque = NULL,
1288  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_rbuf_nr),
1289  .xf_read = NULL,
1290  .xf_decor = {
1292  }
1293  };
1294  m0_xc_u32_init();
1295 
1297  .xf_name = "fsh_rbuf_size",
1298 
1299  .xf_type = &M0_XT_U64,
1300 
1301  .xf_tag = 0,
1302  .xf_opaque = NULL,
1303  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_rbuf_size),
1304  .xf_read = NULL,
1305  .xf_decor = {
1307  }
1308  };
1309  m0_xc_u64_init();
1310 
1312  .xf_name = "fsh_rbuf_size_aligned",
1313 
1314  .xf_type = &M0_XT_U64,
1315 
1316  .xf_tag = 0,
1317  .xf_opaque = NULL,
1319  .xf_read = NULL,
1320  .xf_decor = {
1322  }
1323  };
1324  m0_xc_u64_init();
1325 
1327  .xf_name = "fsh_cbuf_offset",
1328 
1329  .xf_type = &M0_XT_U64,
1330 
1331  .xf_tag = 0,
1332  .xf_opaque = NULL,
1333  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_cbuf_offset),
1334  .xf_read = NULL,
1335  .xf_decor = {
1337  }
1338  };
1339  m0_xc_u64_init();
1340 
1342  .xf_name = "fsh_cbuf_size",
1343 
1344  .xf_type = &M0_XT_U64,
1345 
1346  .xf_tag = 0,
1347  .xf_opaque = NULL,
1348  .xf_offset = offsetof(struct m0_be_fmt_log_store_header, fsh_cbuf_size),
1349  .xf_read = NULL,
1350  .xf_decor = {
1352  }
1353  };
1354  m0_xc_u64_init();
1355 
1357 }
1358 #endif
1359 
1360 #if !defined(__KERNEL__)
1362 {
1364  .xf_name = "flh_serial",
1365 
1366  .xf_type = &M0_XT_U64,
1367 
1368  .xf_tag = 0,
1369  .xf_opaque = NULL,
1370  .xf_offset = offsetof(struct m0_be_fmt_log_header, flh_serial),
1371  .xf_read = NULL,
1372  .xf_decor = {
1374  }
1375  };
1376  m0_xc_u64_init();
1377 
1379  .xf_name = "flh_discarded",
1380 
1381  .xf_type = &M0_XT_U64,
1382 
1383  .xf_tag = 0,
1384  .xf_opaque = NULL,
1385  .xf_offset = offsetof(struct m0_be_fmt_log_header, flh_discarded),
1386  .xf_read = NULL,
1387  .xf_decor = {
1389  }
1390  };
1391  m0_xc_u64_init();
1392 
1394  .xf_name = "flh_group_lsn",
1395 
1396  .xf_type = &M0_XT_U64,
1397 
1398  .xf_tag = 0,
1399  .xf_opaque = NULL,
1400  .xf_offset = offsetof(struct m0_be_fmt_log_header, flh_group_lsn),
1401  .xf_read = NULL,
1402  .xf_decor = {
1404  }
1405  };
1406  m0_xc_u64_init();
1407 
1409  .xf_name = "flh_group_size",
1410 
1411  .xf_type = &M0_XT_U64,
1412 
1413  .xf_tag = 0,
1414  .xf_opaque = NULL,
1415  .xf_offset = offsetof(struct m0_be_fmt_log_header, flh_group_size),
1416  .xf_read = NULL,
1417  .xf_decor = {
1419  }
1420  };
1421  m0_xc_u64_init();
1422 
1424 }
1425 #endif
1426 
1427 #if !defined(__KERNEL__)
1429 {
1430  _m0_be_fmt_group._child[0] = (struct m0_xcode_field) {
1431  .xf_name = "fg_header",
1432 #ifdef __KERNEL__
1433  .xf_type = &M0_XT_VOID,
1434 #else
1435 
1436  .xf_type = m0_be_fmt_group_header_xc,
1437 #endif
1438  .xf_tag = 0,
1439  .xf_opaque = NULL,
1440  .xf_offset = offsetof(struct m0_be_fmt_group, fg_header),
1441  .xf_read = NULL,
1442  .xf_decor = {
1444  }
1445  };
1446 #if !defined(__KERNEL__)
1448 #endif
1449 
1450  _m0_be_fmt_group._child[1] = (struct m0_xcode_field) {
1451  .xf_name = "fg_content_header",
1452 #ifdef __KERNEL__
1453  .xf_type = &M0_XT_VOID,
1454 #else
1455 
1456  .xf_type = m0_be_fmt_content_header_xc,
1457 #endif
1458  .xf_tag = 0,
1459  .xf_opaque = NULL,
1460  .xf_offset = offsetof(struct m0_be_fmt_group, fg_content_header),
1461  .xf_read = NULL,
1462  .xf_decor = {
1464  }
1465  };
1466 #if !defined(__KERNEL__)
1468 #endif
1469 
1470  _m0_be_fmt_group._child[2] = (struct m0_xcode_field) {
1471  .xf_name = "fg_content",
1472 #ifdef __KERNEL__
1473  .xf_type = &M0_XT_VOID,
1474 #else
1475 
1476  .xf_type = m0_be_fmt_content_xc,
1477 #endif
1478  .xf_tag = 0,
1479  .xf_opaque = NULL,
1480  .xf_offset = offsetof(struct m0_be_fmt_group, fg_content),
1481  .xf_read = NULL,
1482  .xf_decor = {
1484  }
1485  };
1486 #if !defined(__KERNEL__)
1488 #endif
1489 
1490  _m0_be_fmt_group._child[3] = (struct m0_xcode_field) {
1491  .xf_name = "fg_cfg",
1492 
1493  .xf_type = &M0_XT_U64,
1494 
1495  .xf_tag = 0,
1496  .xf_opaque = NULL,
1497  .xf_offset = offsetof(struct m0_be_fmt_group, fg_cfg),
1498  .xf_read = NULL,
1499  .xf_decor = {
1501  }
1502  };
1503  m0_xc_u64_init();
1504 
1506 }
1507 #endif
1508 
1509 #if !defined(__KERNEL__)
1511 {
1512  _m0_be_fmt_cblock._child[0] = (struct m0_xcode_field) {
1513  .xf_name = "gcb_lsn",
1514 
1515  .xf_type = &M0_XT_U64,
1516 
1517  .xf_tag = 0,
1518  .xf_opaque = NULL,
1519  .xf_offset = offsetof(struct m0_be_fmt_cblock, gcb_lsn),
1520  .xf_read = NULL,
1521  .xf_decor = {
1523  }
1524  };
1525  m0_xc_u64_init();
1526 
1527  _m0_be_fmt_cblock._child[1] = (struct m0_xcode_field) {
1528  .xf_name = "gcb_size",
1529 
1530  .xf_type = &M0_XT_U64,
1531 
1532  .xf_tag = 0,
1533  .xf_opaque = NULL,
1534  .xf_offset = offsetof(struct m0_be_fmt_cblock, gcb_size),
1535  .xf_read = NULL,
1536  .xf_decor = {
1538  }
1539  };
1540  m0_xc_u64_init();
1541 
1542  _m0_be_fmt_cblock._child[2] = (struct m0_xcode_field) {
1543  .xf_name = "gcb_tx_nr",
1544 
1545  .xf_type = &M0_XT_U64,
1546 
1547  .xf_tag = 0,
1548  .xf_opaque = NULL,
1549  .xf_offset = offsetof(struct m0_be_fmt_cblock, gcb_tx_nr),
1550  .xf_read = NULL,
1551  .xf_decor = {
1553  }
1554  };
1555  m0_xc_u64_init();
1556 
1557  _m0_be_fmt_cblock._child[3] = (struct m0_xcode_field) {
1558  .xf_name = "gcb_magic",
1559 
1560  .xf_type = &M0_XT_U64,
1561 
1562  .xf_tag = 0,
1563  .xf_opaque = NULL,
1564  .xf_offset = offsetof(struct m0_be_fmt_cblock, gcb_magic),
1565  .xf_read = NULL,
1566  .xf_decor = {
1568  }
1569  };
1570  m0_xc_u64_init();
1571 
1573 }
1574 #endif
1575 
1576 #if !defined(__KERNEL__)
1578 {
1580  .xf_name = "lrf_pos",
1581 
1582  .xf_type = &M0_XT_U64,
1583 
1584  .xf_tag = 0,
1585  .xf_opaque = NULL,
1586  .xf_offset = offsetof(struct m0_be_fmt_log_record_footer, lrf_pos),
1587  .xf_read = NULL,
1588  .xf_decor = {
1590  }
1591  };
1592  m0_xc_u64_init();
1593 
1595 }
1596 #endif
1597 
1598 #if !defined(__KERNEL__)
1600 {
1602  .xf_name = "lrhs_nr",
1603 
1604  .xf_type = &M0_XT_U32,
1605 
1606  .xf_tag = 0,
1607  .xf_opaque = NULL,
1609  .xf_read = NULL,
1610  .xf_decor = {
1612  }
1613  };
1614  m0_xc_u32_init();
1615 
1617  .xf_name = "lrhs_size",
1618 
1619  .xf_type = &M0_XT_U64,
1620 
1621  .xf_tag = 0,
1622  .xf_opaque = NULL,
1624  .xf_read = NULL,
1625  .xf_decor = {
1627  }
1628  };
1629  m0_xc_u64_init();
1630 
1632 }
1633 #endif
1634 
1635 M0_INTERNAL void m0_xc_be_fmt_init(void)
1636 {
1637 #if !defined(__KERNEL__)
1639 #endif
1640 #if !defined(__KERNEL__)
1642 #endif
1643 #if !defined(__KERNEL__)
1645 #endif
1646 #if !defined(__KERNEL__)
1648 #endif
1649 #if !defined(__KERNEL__)
1651 #endif
1652 #if !defined(__KERNEL__)
1654 #endif
1655 #if !defined(__KERNEL__)
1657 #endif
1658 #if !defined(__KERNEL__)
1660 #endif
1661 #if !defined(__KERNEL__)
1663 #endif
1664 #if !defined(__KERNEL__)
1666 #endif
1667 #if !defined(__KERNEL__)
1669 #endif
1670 #if !defined(__KERNEL__)
1672 #endif
1673 #if !defined(__KERNEL__)
1675 #endif
1676 #if !defined(__KERNEL__)
1678 #endif
1679 #if !defined(__KERNEL__)
1681 #endif
1682 #if !defined(__KERNEL__)
1684 #endif
1685 #if !defined(__KERNEL__)
1687 #endif
1688 }
1689 
1690 M0_INTERNAL void m0_xc_be_fmt_fini(void)
1691 {
1692 }
m0_bcount_t lrh_size
Definition: fmt.h:229
struct m0_xcode_type * m0_buf_xc
Definition: buf_xc.c:10
m0_bindex_t lrf_pos
Definition: fmt.h:228
static struct _m0_be_fmt_content_reg_area_s _m0_be_fmt_content_reg_area
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:369
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:141
struct m0_xcode_field _child[4]
Definition: fmt_xc.c:331
static struct _m0_be_fmt_log_header_s _m0_be_fmt_log_header
uint64_t gcb_tx_nr
Definition: fmt.h:230
struct m0_xcode_type _type
Definition: fmt_xc.c:83
struct m0_xcode_type * m0_be_fmt_content_header_reg_xc
Definition: fmt_xc.c:26
m0_bcount_t chg_size
Definition: fmt.h:90
#define NULL
Definition: misc.h:38
static struct _m0_be_fmt_content_header_reg_area_s _m0_be_fmt_content_header_reg_area
m0_bcount_t fsh_cbuf_size
Definition: fmt.h:99
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:198
unsigned fsh_rbuf_nr
Definition: fmt.h:94
uint64_t fgh_reg_nr
Definition: fmt.h:94
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:122
uint64_t fgh_size
Definition: fmt.h:92
struct m0_xcode_type _type
Definition: fmt_xc.c:216
static struct _m0_be_fmt_log_store_header_s _m0_be_fmt_log_store_header
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:217
struct m0_xcode_field _child[1]
Definition: fmt_xc.c:84
struct m0_xcode_type _type
Definition: fmt_xc.c:254
M0_INTERNAL void m0_xc_m0_be_fmt_content_reg_area_struct_init(void)
Definition: fmt_xc.c:1165
M0_INTERNAL void m0_xc_m0_be_fmt_content_header_txs_struct_init(void)
Definition: fmt_xc.c:960
M0_BASSERT(offsetof(struct _m0_be_fmt_log_record_header_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
uint64_t gcb_magic
Definition: fmt.h:231
struct m0_xcode_type _type
Definition: fmt_xc.c:121
struct m0_xcode_type * m0_be_fmt_cblock_xc
Definition: fmt_xc.c:53
struct m0_xcode_field xct_child[0]
Definition: xcode.h:345
uint64_t chg_addr
Definition: fmt.h:91
uint64_t gi_unknown
Definition: fmt.h:91
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:179
static struct _m0_be_fmt_group_info_s _m0_be_fmt_group_info
struct m0_be_fmt_log_record_header_io_size lrh_io_size
Definition: fmt.h:234
uint64_t gcb_size
Definition: fmt.h:229
struct m0_xcode_type * m0_be_fmt_log_record_footer_xc
Definition: fmt_xc.c:56
struct m0_be_fmt_group_header fg_header
Definition: fmt.h:90
m0_bindex_t lrh_pos
Definition: fmt.h:228
M0_INTERNAL void m0_xc_m0_be_fmt_log_store_header_struct_init(void)
Definition: fmt_xc.c:1249
M0_INTERNAL void m0_xc_m0_buf_struct_init(void)
Definition: buf_xc.c:64
struct m0_be_fmt_group_info fgh_info
Definition: fmt.h:90
struct m0_xcode_type _type
Definition: fmt_xc.c:197
M0_INTERNAL void m0_xc_be_fmt_fini(void)
Definition: fmt_xc.c:1690
M0_INTERNAL void m0_xc_m0_be_fmt_log_record_footer_struct_init(void)
Definition: fmt_xc.c:1577
struct m0_xcode_type _type
Definition: fmt_xc.c:330
struct m0_xcode_type _type
Definition: fmt_xc.c:368
static struct _m0_be_fmt_log_record_header_io_size_s _m0_be_fmt_log_record_header_io_size
M0_INTERNAL void m0_xc_m0_be_fmt_content_header_reg_area_struct_init(void)
Definition: fmt_xc.c:1039
uint32_t lrhs_nr
Definition: fmt.h:228
M0_INTERNAL void m0_xc_m0_be_fmt_content_header_struct_init(void)
Definition: fmt_xc.c:1081
struct m0_xcode_type * m0_be_fmt_log_record_header_xc
Definition: fmt_xc.c:11
struct m0_be_fmt_content_payloads fmc_payloads
Definition: fmt.h:90
M0_INTERNAL void m0_xc_m0_be_fmt_log_header_struct_init(void)
Definition: fmt_xc.c:1361
struct m0_be_fmt_content_reg_area fmc_reg_area
Definition: fmt.h:91
M0_INTERNAL void m0_xc_m0_be_fmt_group_struct_init(void)
Definition: fmt_xc.c:1428
m0_bcount_t fsh_rbuf_size_aligned
Definition: fmt.h:96
struct m0_xcode_field _child[6]
Definition: fmt_xc.c:103
M0_INTERNAL void m0_xc_m0_be_fmt_log_record_header_struct_init(void)
Definition: fmt_xc.c:682
struct m0_xcode_type _type
Definition: fmt_xc.c:102
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:236
M0_INTERNAL void m0_xc_be_fmt_init(void)
Definition: fmt_xc.c:1635
struct m0_xcode_type * m0_be_fmt_content_reg_area_xc
Definition: fmt_xc.c:38
m0_bindex_t flh_discarded
Definition: fmt.h:91
m0_bindex_t lrh_prev_size
Definition: fmt.h:232
M0_INTERNAL void m0_xc_m0_be_fmt_content_header_tx_struct_init(void)
Definition: fmt_xc.c:923
static struct _m0_be_fmt_content_header_tx_s _m0_be_fmt_content_header_tx
const struct m0_xcode_type M0_XT_VOID
Definition: xcode.c:916
struct m0_xcode_type _type
Definition: fmt_xc.c:64
uint64_t fgh_magic
Definition: fmt.h:95
uint64_t fgh_tx_nr
Definition: fmt.h:93
struct m0_xcode_field _child[4]
Definition: fmt_xc.c:293
uint64_t chx_tx_id
Definition: fmt.h:90
M0_INTERNAL void m0_xc_m0_be_fmt_group_info_struct_init(void)
Definition: fmt_xc.c:799
static struct _m0_be_fmt_group_header_s _m0_be_fmt_group_header
#define M0_POST(cond)
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:255
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
Definition: xcode.c:74
uint64_t fg_cfg
Definition: fmt.h:99
uint32_t cht_nr
Definition: fmt.h:90
struct m0_xcode_type * m0_be_fmt_log_store_header_xc
Definition: fmt_xc.c:44
m0_bindex_t lrh_prev_pos
Definition: fmt.h:231
struct m0_xcode_type * m0_be_fmt_content_header_txs_xc
Definition: fmt_xc.c:23
struct m0_be_fmt_content_header_reg_area fch_reg_area
Definition: fmt.h:91
struct m0_xcode_field _child[7]
Definition: fmt_xc.c:274
uint32_t chr_nr
Definition: fmt.h:90
struct m0_xcode_type * m0_be_fmt_content_header_xc
Definition: fmt_xc.c:32
void m0_xc_u64_init(void)
Definition: xcode.c:904
static struct _m0_be_fmt_log_record_header_s _m0_be_fmt_log_record_header
uint64_t gcb_lsn
Definition: fmt.h:228
struct m0_xcode_type _type
Definition: fmt_xc.c:178
m0_bcount_t flh_group_size
Definition: fmt.h:93
m0_bcount_t chx_payload_size
Definition: fmt.h:91
static struct _m0_be_fmt_group_s _m0_be_fmt_group
m0_bcount_t * lrhs_size
Definition: fmt.h:229
struct m0_xcode_type * m0_be_fmt_content_xc
Definition: fmt_xc.c:41
struct m0_xcode_type _type
Definition: fmt_xc.c:235
const struct m0_xcode_type M0_XT_U32
Definition: xcode.c:932
static struct _m0_be_fmt_content_header_s _m0_be_fmt_content_header
struct m0_xcode_type _type
Definition: fmt_xc.c:273
M0_INTERNAL void m0_xc_m0_be_fmt_log_record_header_io_size_struct_init(void)
Definition: fmt_xc.c:1599
m0_bindex_t flh_group_lsn
Definition: fmt.h:92
enum m0_xcode_aggr xct_aggr
Definition: xcode.h:316
struct m0_buf * cra_reg
Definition: fmt.h:91
struct m0_xcode_type * m0_be_fmt_group_info_xc
Definition: fmt_xc.c:14
m0_bindex_t fsh_cbuf_offset
Definition: fmt.h:98
struct m0_xcode_type _type
Definition: fmt_xc.c:292
struct m0_xcode_type _type
Definition: fmt_xc.c:159
static struct _m0_be_fmt_cblock_s _m0_be_fmt_cblock
struct m0_xcode_type * m0_be_fmt_group_header_xc
Definition: fmt_xc.c:17
m0_bindex_t fsh_rbuf_offset
Definition: fmt.h:93
struct m0_be_fmt_content_header_txs fch_txs
Definition: fmt.h:90
static struct _m0_be_fmt_content_payloads_s _m0_be_fmt_content_payloads
struct m0_xcode_type * m0_be_fmt_content_header_tx_xc
Definition: fmt_xc.c:20
static struct _m0_be_fmt_content_header_reg_s _m0_be_fmt_content_header_reg
struct m0_xcode_type * m0_be_fmt_log_header_xc
Definition: fmt_xc.c:47
static struct _m0_be_fmt_content_s _m0_be_fmt_content
struct m0_xcode_type * m0_be_fmt_group_xc
Definition: fmt_xc.c:50
m0_bindex_t lrh_discarded
Definition: fmt.h:230
struct m0_xcode_type * m0_be_fmt_content_payloads_xc
Definition: fmt_xc.c:35
void m0_xc_u32_init(void)
Definition: xcode.c:900
uint32_t cra_nr
Definition: fmt.h:90
uint64_t lrh_io_nr_max
Definition: fmt.h:233
struct m0_be_fmt_content_header fg_content_header
Definition: fmt.h:91
struct m0_xcode_type _type
Definition: fmt_xc.c:140
M0_INTERNAL void m0_xc_m0_be_fmt_content_payloads_struct_init(void)
Definition: fmt_xc.c:1128
M0_INTERNAL void m0_xc_m0_be_fmt_group_header_struct_init(void)
Definition: fmt_xc.c:821
static struct _m0_be_fmt_content_header_txs_s _m0_be_fmt_content_header_txs
static struct _m0_be_fmt_log_record_footer_s _m0_be_fmt_log_record_footer
struct m0_buf * fcp_payload
Definition: fmt.h:91
const char * xf_name
Definition: xcode.h:251
struct m0_be_fmt_content fg_content
Definition: fmt.h:92
struct m0_xcode_type * m0_be_fmt_log_record_header_io_size_xc
Definition: fmt_xc.c:59
uint64_t fgh_lsn
Definition: fmt.h:91
M0_INTERNAL void m0_xc_m0_be_fmt_content_struct_init(void)
Definition: fmt_xc.c:1202
struct m0_be_fmt_content_header_reg * chr_reg
Definition: fmt.h:91
struct m0_xcode_field _child[7]
Definition: fmt_xc.c:65
const struct m0_xcode_type M0_XT_U64
Definition: xcode.c:940
struct m0_xcode_field _child[2]
Definition: fmt_xc.c:160
#define offsetof(typ, memb)
Definition: misc.h:29
struct m0_xcode_type * m0_be_fmt_content_header_reg_area_xc
Definition: fmt_xc.c:29
struct m0_be_fmt_content_header_tx * cht_tx
Definition: fmt.h:91
m0_bcount_t fsh_size
Definition: fmt.h:91
M0_INTERNAL void m0_xc_m0_be_fmt_content_header_reg_struct_init(void)
Definition: fmt_xc.c:1002
struct m0_xcode_field _child[4]
Definition: fmt_xc.c:312
M0_INTERNAL void m0_xc_m0_be_fmt_cblock_struct_init(void)
Definition: fmt_xc.c:1510
uint64_t flh_serial
Definition: fmt.h:90
struct m0_xcode_type _type
Definition: fmt_xc.c:311
m0_bcount_t fsh_rbuf_size
Definition: fmt.h:95
uint32_t fcp_nr
Definition: fmt.h:90