Motr  M0
onwire_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from conf/onwire.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "conf/onwire.h"
8 #include "conf/onwire_xc.h"
9 
36 
37 static struct _m0_conf_fetch_s {
40 } _m0_conf_fetch = {
41  ._type = {
43  .xct_name = "m0_conf_fetch",
44  .xct_sizeof = sizeof (struct m0_conf_fetch),
45  .xct_nr = 2,
46  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
47  }
48 };
49 
51 M0_BASSERT(offsetof(struct _m0_conf_fetch_s, _child[0]) ==
52  offsetof(struct m0_xcode_type, xct_child[0]));
53 
54 static struct _m0_conf_fetch_resp_s {
58  ._type = {
60  .xct_name = "m0_conf_fetch_resp",
61  .xct_sizeof = sizeof (struct m0_conf_fetch_resp),
62  .xct_nr = 3,
63  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
64  }
65 };
66 
68 M0_BASSERT(offsetof(struct _m0_conf_fetch_resp_s, _child[0]) ==
69  offsetof(struct m0_xcode_type, xct_child[0]));
70 
71 static struct _m0_conf_update_s {
74 } _m0_conf_update = {
75  ._type = {
77  .xct_name = "m0_conf_update",
78  .xct_sizeof = sizeof (struct m0_conf_update),
79  .xct_nr = 2,
80  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
81  }
82 };
83 
85 M0_BASSERT(offsetof(struct _m0_conf_update_s, _child[0]) ==
86  offsetof(struct m0_xcode_type, xct_child[0]));
87 
88 static struct _m0_conf_update_resp_s {
92  ._type = {
94  .xct_name = "m0_conf_update_resp",
95  .xct_sizeof = sizeof (struct m0_conf_update_resp),
96  .xct_nr = 1,
97  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
98  }
99 };
100 
102 M0_BASSERT(offsetof(struct _m0_conf_update_resp_s, _child[0]) ==
103  offsetof(struct m0_xcode_type, xct_child[0]));
104 
105 static struct _arr_u32_s {
108 } _arr_u32 = {
109  ._type = {
111  .xct_name = "arr_u32",
112  .xct_sizeof = sizeof (struct arr_u32),
113  .xct_nr = 2,
115  }
116 };
117 
119 M0_BASSERT(offsetof(struct _arr_u32_s, _child[0]) ==
120  offsetof(struct m0_xcode_type, xct_child[0]));
121 
122 static struct _m0_confx_header_s {
125 } _m0_confx_header = {
126  ._type = {
128  .xct_name = "m0_confx_header",
129  .xct_sizeof = sizeof (struct m0_confx_header),
130  .xct_nr = 1,
132  }
133 };
134 
136 M0_BASSERT(offsetof(struct _m0_confx_header_s, _child[0]) ==
137  offsetof(struct m0_xcode_type, xct_child[0]));
138 
139 static struct _m0_confx_root_s {
141  struct m0_xcode_field _child[12];
142 } _m0_confx_root = {
143  ._type = {
145  .xct_name = "m0_confx_root",
146  .xct_sizeof = sizeof (struct m0_confx_root),
147  .xct_nr = 12,
149  }
150 };
151 
153 M0_BASSERT(offsetof(struct _m0_confx_root_s, _child[0]) ==
154  offsetof(struct m0_xcode_type, xct_child[0]));
155 
156 static struct _m0_confx_profile_s {
159 } _m0_confx_profile = {
160  ._type = {
162  .xct_name = "m0_confx_profile",
163  .xct_sizeof = sizeof (struct m0_confx_profile),
164  .xct_nr = 2,
166  }
167 };
168 
170 M0_BASSERT(offsetof(struct _m0_confx_profile_s, _child[0]) ==
171  offsetof(struct m0_xcode_type, xct_child[0]));
172 
173 static struct _m0_confx_pool_s {
176 } _m0_confx_pool = {
177  ._type = {
179  .xct_name = "m0_confx_pool",
180  .xct_sizeof = sizeof (struct m0_confx_pool),
181  .xct_nr = 3,
183  }
184 };
185 
187 M0_BASSERT(offsetof(struct _m0_confx_pool_s, _child[0]) ==
188  offsetof(struct m0_xcode_type, xct_child[0]));
189 
190 static struct _m0_confx_pver_actual_s {
194  ._type = {
196  .xct_name = "m0_confx_pver_actual",
197  .xct_sizeof = sizeof (struct m0_confx_pver_actual),
198  .xct_nr = 6,
200  }
201 };
202 
204 M0_BASSERT(offsetof(struct _m0_confx_pver_actual_s, _child[0]) ==
205  offsetof(struct m0_xcode_type, xct_child[0]));
206 
211  ._type = {
213  .xct_name = "m0_confx_pver_formulaic",
214  .xct_sizeof = sizeof (struct m0_confx_pver_formulaic),
215  .xct_nr = 3,
217  }
218 };
219 
221 M0_BASSERT(offsetof(struct _m0_confx_pver_formulaic_s, _child[0]) ==
222  offsetof(struct m0_xcode_type, xct_child[0]));
223 
224 static struct _m0_confx_pver_u_s {
227 } _m0_confx_pver_u = {
228  ._type = {
230  .xct_name = "m0_confx_pver_u",
231  .xct_sizeof = sizeof (struct m0_confx_pver_u),
232  .xct_nr = 3,
234  }
235 };
236 
238 M0_BASSERT(offsetof(struct _m0_confx_pver_u_s, _child[0]) ==
239  offsetof(struct m0_xcode_type, xct_child[0]));
240 
241 static struct _m0_confx_pver_s {
244 } _m0_confx_pver = {
245  ._type = {
247  .xct_name = "m0_confx_pver",
248  .xct_sizeof = sizeof (struct m0_confx_pver),
249  .xct_nr = 2,
251  }
252 };
253 
255 M0_BASSERT(offsetof(struct _m0_confx_pver_s, _child[0]) ==
256  offsetof(struct m0_xcode_type, xct_child[0]));
257 
258 static struct _m0_confx_objv_s {
261 } _m0_confx_objv = {
262  ._type = {
264  .xct_name = "m0_confx_objv",
265  .xct_sizeof = sizeof (struct m0_confx_objv),
266  .xct_nr = 3,
268  }
269 };
270 
272 M0_BASSERT(offsetof(struct _m0_confx_objv_s, _child[0]) ==
273  offsetof(struct m0_xcode_type, xct_child[0]));
274 
275 static struct _m0_confx_node_s {
278 } _m0_confx_node = {
279  ._type = {
281  .xct_name = "m0_confx_node",
282  .xct_sizeof = sizeof (struct m0_confx_node),
283  .xct_nr = 6,
285  }
286 };
287 
289 M0_BASSERT(offsetof(struct _m0_confx_node_s, _child[0]) ==
290  offsetof(struct m0_xcode_type, xct_child[0]));
291 
292 static struct _m0_confx_process_s {
295 } _m0_confx_process = {
296  ._type = {
298  .xct_name = "m0_confx_process",
299  .xct_sizeof = sizeof (struct m0_confx_process),
300  .xct_nr = 8,
302  }
303 };
304 
306 M0_BASSERT(offsetof(struct _m0_confx_process_s, _child[0]) ==
307  offsetof(struct m0_xcode_type, xct_child[0]));
308 
309 static struct _m0_confx_service_s {
312 } _m0_confx_service = {
313  ._type = {
315  .xct_name = "m0_confx_service",
316  .xct_sizeof = sizeof (struct m0_confx_service),
317  .xct_nr = 5,
319  }
320 };
321 
323 M0_BASSERT(offsetof(struct _m0_confx_service_s, _child[0]) ==
324  offsetof(struct m0_xcode_type, xct_child[0]));
325 
326 static struct _m0_confx_sdev_s {
329 } _m0_confx_sdev = {
330  ._type = {
332  .xct_name = "m0_confx_sdev",
333  .xct_sizeof = sizeof (struct m0_confx_sdev),
334  .xct_nr = 9,
336  }
337 };
338 
340 M0_BASSERT(offsetof(struct _m0_confx_sdev_s, _child[0]) ==
341  offsetof(struct m0_xcode_type, xct_child[0]));
342 
343 static struct _m0_confx_site_s {
346 } _m0_confx_site = {
347  ._type = {
349  .xct_name = "m0_confx_site",
350  .xct_sizeof = sizeof (struct m0_confx_site),
351  .xct_nr = 3,
353  }
354 };
355 
357 M0_BASSERT(offsetof(struct _m0_confx_site_s, _child[0]) ==
358  offsetof(struct m0_xcode_type, xct_child[0]));
359 
360 static struct _m0_confx_rack_s {
363 } _m0_confx_rack = {
364  ._type = {
366  .xct_name = "m0_confx_rack",
367  .xct_sizeof = sizeof (struct m0_confx_rack),
368  .xct_nr = 3,
370  }
371 };
372 
374 M0_BASSERT(offsetof(struct _m0_confx_rack_s, _child[0]) ==
375  offsetof(struct m0_xcode_type, xct_child[0]));
376 
377 static struct _m0_confx_enclosure_s {
381  ._type = {
383  .xct_name = "m0_confx_enclosure",
384  .xct_sizeof = sizeof (struct m0_confx_enclosure),
385  .xct_nr = 4,
387  }
388 };
389 
391 M0_BASSERT(offsetof(struct _m0_confx_enclosure_s, _child[0]) ==
392  offsetof(struct m0_xcode_type, xct_child[0]));
393 
394 static struct _m0_confx_controller_s {
398  ._type = {
400  .xct_name = "m0_confx_controller",
401  .xct_sizeof = sizeof (struct m0_confx_controller),
402  .xct_nr = 3,
404  }
405 };
406 
408 M0_BASSERT(offsetof(struct _m0_confx_controller_s, _child[0]) ==
409  offsetof(struct m0_xcode_type, xct_child[0]));
410 
411 static struct _m0_confx_drive_s {
414 } _m0_confx_drive = {
415  ._type = {
417  .xct_name = "m0_confx_drive",
418  .xct_sizeof = sizeof (struct m0_confx_drive),
419  .xct_nr = 3,
421  }
422 };
423 
425 M0_BASSERT(offsetof(struct _m0_confx_drive_s, _child[0]) ==
426  offsetof(struct m0_xcode_type, xct_child[0]));
427 
432  ._type = {
434  .xct_name = "m0_confx_fdmi_flt_grp",
435  .xct_sizeof = sizeof (struct m0_confx_fdmi_flt_grp),
436  .xct_nr = 3,
438  }
439 };
440 
442 M0_BASSERT(offsetof(struct _m0_confx_fdmi_flt_grp_s, _child[0]) ==
443  offsetof(struct m0_xcode_type, xct_child[0]));
444 
445 static struct _m0_confx_fdmi_filter_s {
449  ._type = {
451  .xct_name = "m0_confx_fdmi_filter",
452  .xct_sizeof = sizeof (struct m0_confx_fdmi_filter),
453  .xct_nr = 8,
455  }
456 };
457 
459 M0_BASSERT(offsetof(struct _m0_confx_fdmi_filter_s, _child[0]) ==
460  offsetof(struct m0_xcode_type, xct_child[0]));
461 
462 static struct _m0_confx_s {
465 } _m0_confx = {
466  ._type = {
468  .xct_name = "m0_confx",
469  .xct_sizeof = sizeof (struct m0_confx),
470  .xct_nr = 2,
472  }
473 };
474 
476 M0_BASSERT(offsetof(struct _m0_confx_s, _child[0]) ==
477  offsetof(struct m0_xcode_type, xct_child[0]));
478 
479 
480 M0_BASSERT(sizeof(struct m0_conf_fetch) == 32U);
481 
482 M0_BASSERT(sizeof ((struct m0_conf_fetch *)0)->f_origin == 16U);
483 M0_BASSERT(offsetof(struct m0_conf_fetch, f_origin) == 0U);
484 M0_BASSERT(sizeof ((struct m0_conf_fetch *)0)->f_path == 16U);
485 M0_BASSERT(offsetof(struct m0_conf_fetch, f_path) == 16U);
486 
487 M0_BASSERT(sizeof(struct m0_conf_fetch_resp) == 32U);
488 
489 M0_BASSERT(sizeof ((struct m0_conf_fetch_resp *)0)->fr_rc == 4U);
491 M0_BASSERT(sizeof ((struct m0_conf_fetch_resp *)0)->fr_ver == 8U);
493 M0_BASSERT(sizeof ((struct m0_conf_fetch_resp *)0)->fr_data == 16U);
495 
496 M0_BASSERT(sizeof(struct m0_conf_update) == 32U);
497 
498 M0_BASSERT(sizeof ((struct m0_conf_update *)0)->u_origin == 16U);
500 M0_BASSERT(sizeof ((struct m0_conf_update *)0)->u_data == 16U);
501 M0_BASSERT(offsetof(struct m0_conf_update, u_data) == 16U);
502 
503 M0_BASSERT(sizeof(struct m0_conf_update_resp) == 4U);
504 
505 M0_BASSERT(sizeof ((struct m0_conf_update_resp *)0)->ur_rc == 4U);
507 
508 M0_BASSERT(sizeof(struct arr_u32) == 16U);
509 
510 M0_BASSERT(sizeof ((struct arr_u32 *)0)->au_count == 4U);
511 M0_BASSERT(offsetof(struct arr_u32, au_count) == 0U);
512 M0_BASSERT(sizeof ((struct arr_u32 *)0)->au_elems == 8U);
513 M0_BASSERT(offsetof(struct arr_u32, au_elems) == 8U);
514 
515 M0_BASSERT(sizeof(struct m0_confx_header) == 16U);
516 
517 M0_BASSERT(sizeof ((struct m0_confx_header *)0)->ch_id == 16U);
518 M0_BASSERT(offsetof(struct m0_confx_header, ch_id) == 0U);
519 
520 M0_BASSERT(sizeof(struct m0_confx_root) == 176U);
521 
522 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_header == 16U);
524 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_verno == 8U);
525 M0_BASSERT(offsetof(struct m0_confx_root, xt_verno) == 16U);
526 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_rootfid == 16U);
528 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_mdpool == 16U);
529 M0_BASSERT(offsetof(struct m0_confx_root, xt_mdpool) == 40U);
530 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_imeta_pver == 16U);
532 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_mdredundancy == 4U);
534 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_params == 16U);
535 M0_BASSERT(offsetof(struct m0_confx_root, xt_params) == 80U);
536 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_nodes == 16U);
537 M0_BASSERT(offsetof(struct m0_confx_root, xt_nodes) == 96U);
538 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_sites == 16U);
539 M0_BASSERT(offsetof(struct m0_confx_root, xt_sites) == 112U);
540 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_pools == 16U);
541 M0_BASSERT(offsetof(struct m0_confx_root, xt_pools) == 128U);
542 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_profiles == 16U);
543 M0_BASSERT(offsetof(struct m0_confx_root, xt_profiles) == 144U);
544 M0_BASSERT(sizeof ((struct m0_confx_root *)0)->xt_fdmi_flt_grps == 16U);
546 
547 M0_BASSERT(sizeof(struct m0_confx_profile) == 32U);
548 
549 M0_BASSERT(sizeof ((struct m0_confx_profile *)0)->xp_header == 16U);
551 M0_BASSERT(sizeof ((struct m0_confx_profile *)0)->xp_pools == 16U);
553 
554 M0_BASSERT(sizeof(struct m0_confx_pool) == 40U);
555 
556 M0_BASSERT(sizeof ((struct m0_confx_pool *)0)->xp_header == 16U);
558 M0_BASSERT(sizeof ((struct m0_confx_pool *)0)->xp_pver_policy == 4U);
559 M0_BASSERT(offsetof(struct m0_confx_pool, xp_pver_policy) == 16U);
560 M0_BASSERT(sizeof ((struct m0_confx_pool *)0)->xp_pvers == 16U);
561 M0_BASSERT(offsetof(struct m0_confx_pool, xp_pvers) == 24U);
562 
563 M0_BASSERT(sizeof(struct m0_confx_pver_actual) == 48U);
564 
565 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_N == 4U);
567 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_K == 4U);
569 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_S == 4U);
571 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_P == 4U);
573 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_tolerance == 16U);
575 M0_BASSERT(sizeof ((struct m0_confx_pver_actual *)0)->xva_sitevs == 16U);
577 
578 M0_BASSERT(sizeof(struct m0_confx_pver_formulaic) == 40U);
579 
580 M0_BASSERT(sizeof ((struct m0_confx_pver_formulaic *)0)->xvf_id == 4U);
582 M0_BASSERT(sizeof ((struct m0_confx_pver_formulaic *)0)->xvf_base == 16U);
584 M0_BASSERT(sizeof ((struct m0_confx_pver_formulaic *)0)->xvf_allowance == 16U);
586 
587 M0_BASSERT(sizeof(struct m0_confx_pver_u) == 56U);
588 
589 M0_BASSERT(sizeof ((struct m0_confx_pver_u *)0)->xpv_is_formulaic == 1U);
591 M0_BASSERT(sizeof ((struct m0_confx_pver_u *)0)->u.xpv_actual == 48U);
592 M0_BASSERT(offsetof(struct m0_confx_pver_u, u.xpv_actual) == 8U);
593 M0_BASSERT(sizeof ((struct m0_confx_pver_u *)0)->u.xpv_formulaic == 40U);
594 M0_BASSERT(offsetof(struct m0_confx_pver_u, u.xpv_formulaic) == 8U);
595 
596 M0_BASSERT(sizeof(struct m0_confx_pver) == 72U);
597 
598 M0_BASSERT(sizeof ((struct m0_confx_pver *)0)->xv_header == 16U);
600 M0_BASSERT(sizeof ((struct m0_confx_pver *)0)->xv_u == 56U);
601 M0_BASSERT(offsetof(struct m0_confx_pver, xv_u) == 16U);
602 
603 M0_BASSERT(sizeof(struct m0_confx_objv) == 48U);
604 
605 M0_BASSERT(sizeof ((struct m0_confx_objv *)0)->xj_header == 16U);
607 M0_BASSERT(sizeof ((struct m0_confx_objv *)0)->xj_real == 16U);
608 M0_BASSERT(offsetof(struct m0_confx_objv, xj_real) == 16U);
609 M0_BASSERT(sizeof ((struct m0_confx_objv *)0)->xj_children == 16U);
611 
612 M0_BASSERT(sizeof(struct m0_confx_node) == 56U);
613 
614 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_header == 16U);
616 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_memsize == 4U);
618 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_nr_cpu == 4U);
619 M0_BASSERT(offsetof(struct m0_confx_node, xn_nr_cpu) == 20U);
620 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_last_state == 8U);
622 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_flags == 8U);
623 M0_BASSERT(offsetof(struct m0_confx_node, xn_flags) == 32U);
624 M0_BASSERT(sizeof ((struct m0_confx_node *)0)->xn_processes == 16U);
626 
627 M0_BASSERT(sizeof(struct m0_confx_process) == 96U);
628 
629 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_header == 16U);
631 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_cores == 16U);
633 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_mem_limit_as == 8U);
635 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_mem_limit_rss == 8U);
637 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_mem_limit_stack == 8U);
639 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_mem_limit_memlock == 8U);
641 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_endpoint == 16U);
643 M0_BASSERT(sizeof ((struct m0_confx_process *)0)->xr_services == 16U);
645 
646 M0_BASSERT(sizeof(struct m0_confx_service) == 72U);
647 
648 M0_BASSERT(sizeof ((struct m0_confx_service *)0)->xs_header == 16U);
650 M0_BASSERT(sizeof ((struct m0_confx_service *)0)->xs_type == 4U);
651 M0_BASSERT(offsetof(struct m0_confx_service, xs_type) == 16U);
652 M0_BASSERT(sizeof ((struct m0_confx_service *)0)->xs_endpoints == 16U);
654 M0_BASSERT(sizeof ((struct m0_confx_service *)0)->xs_params == 16U);
656 M0_BASSERT(sizeof ((struct m0_confx_service *)0)->xs_sdevs == 16U);
658 
659 M0_BASSERT(sizeof(struct m0_confx_sdev) == 72U);
660 
661 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_header == 16U);
663 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_dev_idx == 4U);
665 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_iface == 4U);
666 M0_BASSERT(offsetof(struct m0_confx_sdev, xd_iface) == 20U);
667 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_media == 4U);
668 M0_BASSERT(offsetof(struct m0_confx_sdev, xd_media) == 24U);
669 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_bsize == 4U);
670 M0_BASSERT(offsetof(struct m0_confx_sdev, xd_bsize) == 28U);
671 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_size == 8U);
672 M0_BASSERT(offsetof(struct m0_confx_sdev, xd_size) == 32U);
673 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_last_state == 8U);
675 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_flags == 8U);
676 M0_BASSERT(offsetof(struct m0_confx_sdev, xd_flags) == 48U);
677 M0_BASSERT(sizeof ((struct m0_confx_sdev *)0)->xd_filename == 16U);
679 
680 M0_BASSERT(sizeof(struct m0_confx_site) == 48U);
681 
682 M0_BASSERT(sizeof ((struct m0_confx_site *)0)->xi_header == 16U);
684 M0_BASSERT(sizeof ((struct m0_confx_site *)0)->xi_racks == 16U);
685 M0_BASSERT(offsetof(struct m0_confx_site, xi_racks) == 16U);
686 M0_BASSERT(sizeof ((struct m0_confx_site *)0)->xi_pvers == 16U);
687 M0_BASSERT(offsetof(struct m0_confx_site, xi_pvers) == 32U);
688 
689 M0_BASSERT(sizeof(struct m0_confx_rack) == 48U);
690 
691 M0_BASSERT(sizeof ((struct m0_confx_rack *)0)->xr_header == 16U);
693 M0_BASSERT(sizeof ((struct m0_confx_rack *)0)->xr_encls == 16U);
694 M0_BASSERT(offsetof(struct m0_confx_rack, xr_encls) == 16U);
695 M0_BASSERT(sizeof ((struct m0_confx_rack *)0)->xr_pvers == 16U);
696 M0_BASSERT(offsetof(struct m0_confx_rack, xr_pvers) == 32U);
697 
698 M0_BASSERT(sizeof(struct m0_confx_enclosure) == 64U);
699 
700 M0_BASSERT(sizeof ((struct m0_confx_enclosure *)0)->xe_header == 16U);
702 M0_BASSERT(sizeof ((struct m0_confx_enclosure *)0)->xe_node == 16U);
704 M0_BASSERT(sizeof ((struct m0_confx_enclosure *)0)->xe_ctrls == 16U);
706 M0_BASSERT(sizeof ((struct m0_confx_enclosure *)0)->xe_pvers == 16U);
708 
709 M0_BASSERT(sizeof(struct m0_confx_controller) == 48U);
710 
711 M0_BASSERT(sizeof ((struct m0_confx_controller *)0)->xc_header == 16U);
713 M0_BASSERT(sizeof ((struct m0_confx_controller *)0)->xc_drives == 16U);
715 M0_BASSERT(sizeof ((struct m0_confx_controller *)0)->xc_pvers == 16U);
717 
718 M0_BASSERT(sizeof(struct m0_confx_drive) == 48U);
719 
720 M0_BASSERT(sizeof ((struct m0_confx_drive *)0)->xk_header == 16U);
722 M0_BASSERT(sizeof ((struct m0_confx_drive *)0)->xk_sdev == 16U);
723 M0_BASSERT(offsetof(struct m0_confx_drive, xk_sdev) == 16U);
724 M0_BASSERT(sizeof ((struct m0_confx_drive *)0)->xk_pvers == 16U);
725 M0_BASSERT(offsetof(struct m0_confx_drive, xk_pvers) == 32U);
726 
727 M0_BASSERT(sizeof(struct m0_confx_fdmi_flt_grp) == 40U);
728 
729 M0_BASSERT(sizeof ((struct m0_confx_fdmi_flt_grp *)0)->xfg_header == 16U);
731 M0_BASSERT(sizeof ((struct m0_confx_fdmi_flt_grp *)0)->xfg_rec_type == 4U);
733 M0_BASSERT(sizeof ((struct m0_confx_fdmi_flt_grp *)0)->xfg_filters == 16U);
735 
736 M0_BASSERT(sizeof(struct m0_confx_fdmi_filter) == 120U);
737 
738 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_header == 16U);
740 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_type == 4U);
741 M0_BASSERT(offsetof(struct m0_confx_fdmi_filter, xf_type) == 16U);
742 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_filter_id == 16U);
744 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_filter_root == 16U);
746 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_node == 16U);
748 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_dix_pver == 16U);
750 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_substrings == 16U);
752 M0_BASSERT(sizeof ((struct m0_confx_fdmi_filter *)0)->xf_endpoints == 16U);
754 
755 M0_BASSERT(sizeof(struct m0_confx) == 16U);
756 
757 M0_BASSERT(sizeof ((struct m0_confx *)0)->cx_nr == 4U);
758 M0_BASSERT(offsetof(struct m0_confx, cx_nr) == 0U);
759 M0_BASSERT(sizeof ((struct m0_confx *)0)->cx__objs == 8U);
760 M0_BASSERT(offsetof(struct m0_confx, cx__objs) == 8U);
761 
762 
763 
764 M0_INTERNAL void m0_xc_m0_conf_fetch_struct_init(void)
765 {
766  _m0_conf_fetch._child[0] = (struct m0_xcode_field) {
767  .xf_name = "f_origin",
768 
769  .xf_type = m0_fid_xc,
770 
771  .xf_tag = 0,
772  .xf_opaque = NULL,
773  .xf_offset = offsetof(struct m0_conf_fetch, f_origin),
774  .xf_read = NULL,
775  .xf_decor = {
777  }
778  };
780 
781  _m0_conf_fetch._child[1] = (struct m0_xcode_field) {
782  .xf_name = "f_path",
783 
784  .xf_type = m0_fid_arr_xc,
785 
786  .xf_tag = 0,
787  .xf_opaque = NULL,
788  .xf_offset = offsetof(struct m0_conf_fetch, f_path),
789  .xf_read = NULL,
790  .xf_decor = {
792  }
793  };
795 
797 }
798 
800 {
802  .xf_name = "fr_rc",
803 
804  .xf_type = &M0_XT_U32,
805 
806  .xf_tag = 0,
807  .xf_opaque = NULL,
808  .xf_offset = offsetof(struct m0_conf_fetch_resp, fr_rc),
809  .xf_read = NULL,
810  .xf_decor = {
812  }
813  };
814  m0_xc_u32_init();
815 
817  .xf_name = "fr_ver",
818 
819  .xf_type = &M0_XT_U64,
820 
821  .xf_tag = 0,
822  .xf_opaque = NULL,
823  .xf_offset = offsetof(struct m0_conf_fetch_resp, fr_ver),
824  .xf_read = NULL,
825  .xf_decor = {
827  }
828  };
829  m0_xc_u64_init();
830 
832  .xf_name = "fr_data",
833 
834  .xf_type = m0_confx_xc,
835 
836  .xf_tag = 0,
837  .xf_opaque = NULL,
838  .xf_offset = offsetof(struct m0_conf_fetch_resp, fr_data),
839  .xf_read = NULL,
840  .xf_decor = {
842  }
843  };
845 
847 }
848 
849 M0_INTERNAL void m0_xc_m0_conf_update_struct_init(void)
850 {
851  _m0_conf_update._child[0] = (struct m0_xcode_field) {
852  .xf_name = "u_origin",
853 
854  .xf_type = m0_fid_xc,
855 
856  .xf_tag = 0,
857  .xf_opaque = NULL,
858  .xf_offset = offsetof(struct m0_conf_update, u_origin),
859  .xf_read = NULL,
860  .xf_decor = {
862  }
863  };
865 
866  _m0_conf_update._child[1] = (struct m0_xcode_field) {
867  .xf_name = "u_data",
868 
869  .xf_type = m0_confx_xc,
870 
871  .xf_tag = 0,
872  .xf_opaque = NULL,
873  .xf_offset = offsetof(struct m0_conf_update, u_data),
874  .xf_read = NULL,
875  .xf_decor = {
877  }
878  };
880 
882 }
883 
885 {
887  .xf_name = "ur_rc",
888 
889  .xf_type = &M0_XT_U32,
890 
891  .xf_tag = 0,
892  .xf_opaque = NULL,
893  .xf_offset = offsetof(struct m0_conf_update_resp, ur_rc),
894  .xf_read = NULL,
895  .xf_decor = {
897  }
898  };
899  m0_xc_u32_init();
900 
902 }
903 
904 M0_INTERNAL void m0_xc_arr_u32_struct_init(void)
905 {
906  _arr_u32._child[0] = (struct m0_xcode_field) {
907  .xf_name = "au_count",
908 
909  .xf_type = &M0_XT_U32,
910 
911  .xf_tag = 0,
912  .xf_opaque = NULL,
913  .xf_offset = offsetof(struct arr_u32, au_count),
914  .xf_read = NULL,
915  .xf_decor = {
917  }
918  };
919  m0_xc_u32_init();
920 
921  _arr_u32._child[1] = (struct m0_xcode_field) {
922  .xf_name = "au_elems",
923 
924  .xf_type = &M0_XT_U32,
925 
926  .xf_tag = 0,
927  .xf_opaque = NULL,
928  .xf_offset = offsetof(struct arr_u32, au_elems),
929  .xf_read = NULL,
930  .xf_decor = {
932  }
933  };
934  m0_xc_u32_init();
935 
937 }
938 
939 M0_INTERNAL void m0_xc_m0_confx_header_struct_init(void)
940 {
941  _m0_confx_header._child[0] = (struct m0_xcode_field) {
942  .xf_name = "ch_id",
943 
944  .xf_type = m0_fid_xc,
945 
946  .xf_tag = 0,
947  .xf_opaque = NULL,
948  .xf_offset = offsetof(struct m0_confx_header, ch_id),
949  .xf_read = NULL,
950  .xf_decor = {
952  }
953  };
955 
957 }
958 
959 M0_INTERNAL void m0_xc_m0_confx_root_struct_init(void)
960 {
961  _m0_confx_root._child[0] = (struct m0_xcode_field) {
962  .xf_name = "xt_header",
963 
964  .xf_type = m0_confx_header_xc,
965 
966  .xf_tag = 0,
967  .xf_opaque = NULL,
968  .xf_offset = offsetof(struct m0_confx_root, xt_header),
969  .xf_read = NULL,
970  .xf_decor = {
972  }
973  };
975 
976  _m0_confx_root._child[1] = (struct m0_xcode_field) {
977  .xf_name = "xt_verno",
978 
979  .xf_type = &M0_XT_U64,
980 
981  .xf_tag = 0,
982  .xf_opaque = NULL,
983  .xf_offset = offsetof(struct m0_confx_root, xt_verno),
984  .xf_read = NULL,
985  .xf_decor = {
987  }
988  };
989  m0_xc_u64_init();
990 
991  _m0_confx_root._child[2] = (struct m0_xcode_field) {
992  .xf_name = "xt_rootfid",
993 
994  .xf_type = m0_fid_xc,
995 
996  .xf_tag = 0,
997  .xf_opaque = NULL,
998  .xf_offset = offsetof(struct m0_confx_root, xt_rootfid),
999  .xf_read = NULL,
1000  .xf_decor = {
1002  }
1003  };
1005 
1006  _m0_confx_root._child[3] = (struct m0_xcode_field) {
1007  .xf_name = "xt_mdpool",
1008 
1009  .xf_type = m0_fid_xc,
1010 
1011  .xf_tag = 0,
1012  .xf_opaque = NULL,
1013  .xf_offset = offsetof(struct m0_confx_root, xt_mdpool),
1014  .xf_read = NULL,
1015  .xf_decor = {
1017  }
1018  };
1020 
1021  _m0_confx_root._child[4] = (struct m0_xcode_field) {
1022  .xf_name = "xt_imeta_pver",
1023 
1024  .xf_type = m0_fid_xc,
1025 
1026  .xf_tag = 0,
1027  .xf_opaque = NULL,
1028  .xf_offset = offsetof(struct m0_confx_root, xt_imeta_pver),
1029  .xf_read = NULL,
1030  .xf_decor = {
1032  }
1033  };
1035 
1036  _m0_confx_root._child[5] = (struct m0_xcode_field) {
1037  .xf_name = "xt_mdredundancy",
1038 
1039  .xf_type = &M0_XT_U32,
1040 
1041  .xf_tag = 0,
1042  .xf_opaque = NULL,
1043  .xf_offset = offsetof(struct m0_confx_root, xt_mdredundancy),
1044  .xf_read = NULL,
1045  .xf_decor = {
1047  }
1048  };
1049  m0_xc_u32_init();
1050 
1051  _m0_confx_root._child[6] = (struct m0_xcode_field) {
1052  .xf_name = "xt_params",
1053 
1054  .xf_type = m0_bufs_xc,
1055 
1056  .xf_tag = 0,
1057  .xf_opaque = NULL,
1058  .xf_offset = offsetof(struct m0_confx_root, xt_params),
1059  .xf_read = NULL,
1060  .xf_decor = {
1062  }
1063  };
1065 
1066  _m0_confx_root._child[7] = (struct m0_xcode_field) {
1067  .xf_name = "xt_nodes",
1068 
1069  .xf_type = m0_fid_arr_xc,
1070 
1071  .xf_tag = 0,
1072  .xf_opaque = NULL,
1073  .xf_offset = offsetof(struct m0_confx_root, xt_nodes),
1074  .xf_read = NULL,
1075  .xf_decor = {
1077  }
1078  };
1080 
1081  _m0_confx_root._child[8] = (struct m0_xcode_field) {
1082  .xf_name = "xt_sites",
1083 
1084  .xf_type = m0_fid_arr_xc,
1085 
1086  .xf_tag = 0,
1087  .xf_opaque = NULL,
1088  .xf_offset = offsetof(struct m0_confx_root, xt_sites),
1089  .xf_read = NULL,
1090  .xf_decor = {
1092  }
1093  };
1095 
1096  _m0_confx_root._child[9] = (struct m0_xcode_field) {
1097  .xf_name = "xt_pools",
1098 
1099  .xf_type = m0_fid_arr_xc,
1100 
1101  .xf_tag = 0,
1102  .xf_opaque = NULL,
1103  .xf_offset = offsetof(struct m0_confx_root, xt_pools),
1104  .xf_read = NULL,
1105  .xf_decor = {
1107  }
1108  };
1110 
1111  _m0_confx_root._child[10] = (struct m0_xcode_field) {
1112  .xf_name = "xt_profiles",
1113 
1114  .xf_type = m0_fid_arr_xc,
1115 
1116  .xf_tag = 0,
1117  .xf_opaque = NULL,
1118  .xf_offset = offsetof(struct m0_confx_root, xt_profiles),
1119  .xf_read = NULL,
1120  .xf_decor = {
1122  }
1123  };
1125 
1126  _m0_confx_root._child[11] = (struct m0_xcode_field) {
1127  .xf_name = "xt_fdmi_flt_grps",
1128 
1129  .xf_type = m0_fid_arr_xc,
1130 
1131  .xf_tag = 0,
1132  .xf_opaque = NULL,
1133  .xf_offset = offsetof(struct m0_confx_root, xt_fdmi_flt_grps),
1134  .xf_read = NULL,
1135  .xf_decor = {
1137  }
1138  };
1140 
1142 }
1143 
1145 {
1146  _m0_confx_profile._child[0] = (struct m0_xcode_field) {
1147  .xf_name = "xp_header",
1148 
1149  .xf_type = m0_confx_header_xc,
1150 
1151  .xf_tag = 0,
1152  .xf_opaque = NULL,
1153  .xf_offset = offsetof(struct m0_confx_profile, xp_header),
1154  .xf_read = NULL,
1155  .xf_decor = {
1157  }
1158  };
1160 
1161  _m0_confx_profile._child[1] = (struct m0_xcode_field) {
1162  .xf_name = "xp_pools",
1163 
1164  .xf_type = m0_fid_arr_xc,
1165 
1166  .xf_tag = 0,
1167  .xf_opaque = NULL,
1168  .xf_offset = offsetof(struct m0_confx_profile, xp_pools),
1169  .xf_read = NULL,
1170  .xf_decor = {
1172  }
1173  };
1175 
1177 }
1178 
1179 M0_INTERNAL void m0_xc_m0_confx_pool_struct_init(void)
1180 {
1181  _m0_confx_pool._child[0] = (struct m0_xcode_field) {
1182  .xf_name = "xp_header",
1183 
1184  .xf_type = m0_confx_header_xc,
1185 
1186  .xf_tag = 0,
1187  .xf_opaque = NULL,
1188  .xf_offset = offsetof(struct m0_confx_pool, xp_header),
1189  .xf_read = NULL,
1190  .xf_decor = {
1192  }
1193  };
1195 
1196  _m0_confx_pool._child[1] = (struct m0_xcode_field) {
1197  .xf_name = "xp_pver_policy",
1198 
1199  .xf_type = &M0_XT_U32,
1200 
1201  .xf_tag = 0,
1202  .xf_opaque = NULL,
1203  .xf_offset = offsetof(struct m0_confx_pool, xp_pver_policy),
1204  .xf_read = &m0_xcode_enum_field_read,
1205  .xf_decor = {
1207  }
1208  };
1209  m0_xc_u32_init();
1210 
1211  _m0_confx_pool._child[2] = (struct m0_xcode_field) {
1212  .xf_name = "xp_pvers",
1213 
1214  .xf_type = m0_fid_arr_xc,
1215 
1216  .xf_tag = 0,
1217  .xf_opaque = NULL,
1218  .xf_offset = offsetof(struct m0_confx_pool, xp_pvers),
1219  .xf_read = NULL,
1220  .xf_decor = {
1222  }
1223  };
1225 
1227 }
1228 
1230 {
1232  .xf_name = "xva_N",
1233 
1234  .xf_type = &M0_XT_U32,
1235 
1236  .xf_tag = 0,
1237  .xf_opaque = NULL,
1238  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_N),
1239  .xf_read = NULL,
1240  .xf_decor = {
1242  }
1243  };
1244  m0_xc_u32_init();
1245 
1247  .xf_name = "xva_K",
1248 
1249  .xf_type = &M0_XT_U32,
1250 
1251  .xf_tag = 0,
1252  .xf_opaque = NULL,
1253  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_K),
1254  .xf_read = NULL,
1255  .xf_decor = {
1257  }
1258  };
1259  m0_xc_u32_init();
1260 
1262  .xf_name = "xva_S",
1263 
1264  .xf_type = &M0_XT_U32,
1265 
1266  .xf_tag = 0,
1267  .xf_opaque = NULL,
1268  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_S),
1269  .xf_read = NULL,
1270  .xf_decor = {
1272  }
1273  };
1274  m0_xc_u32_init();
1275 
1277  .xf_name = "xva_P",
1278 
1279  .xf_type = &M0_XT_U32,
1280 
1281  .xf_tag = 0,
1282  .xf_opaque = NULL,
1283  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_P),
1284  .xf_read = NULL,
1285  .xf_decor = {
1287  }
1288  };
1289  m0_xc_u32_init();
1290 
1292  .xf_name = "xva_tolerance",
1293 
1294  .xf_type = arr_u32_xc,
1295 
1296  .xf_tag = 0,
1297  .xf_opaque = NULL,
1298  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_tolerance),
1299  .xf_read = NULL,
1300  .xf_decor = {
1302  }
1303  };
1305 
1307  .xf_name = "xva_sitevs",
1308 
1309  .xf_type = m0_fid_arr_xc,
1310 
1311  .xf_tag = 0,
1312  .xf_opaque = NULL,
1313  .xf_offset = offsetof(struct m0_confx_pver_actual, xva_sitevs),
1314  .xf_read = NULL,
1315  .xf_decor = {
1317  }
1318  };
1320 
1322 }
1323 
1325 {
1327  .xf_name = "xvf_id",
1328 
1329  .xf_type = &M0_XT_U32,
1330 
1331  .xf_tag = 0,
1332  .xf_opaque = NULL,
1333  .xf_offset = offsetof(struct m0_confx_pver_formulaic, xvf_id),
1334  .xf_read = NULL,
1335  .xf_decor = {
1337  }
1338  };
1339  m0_xc_u32_init();
1340 
1342  .xf_name = "xvf_base",
1343 
1344  .xf_type = m0_fid_xc,
1345 
1346  .xf_tag = 0,
1347  .xf_opaque = NULL,
1348  .xf_offset = offsetof(struct m0_confx_pver_formulaic, xvf_base),
1349  .xf_read = NULL,
1350  .xf_decor = {
1352  }
1353  };
1355 
1357  .xf_name = "xvf_allowance",
1358 
1359  .xf_type = arr_u32_xc,
1360 
1361  .xf_tag = 0,
1362  .xf_opaque = NULL,
1363  .xf_offset = offsetof(struct m0_confx_pver_formulaic, xvf_allowance),
1364  .xf_read = NULL,
1365  .xf_decor = {
1367  }
1368  };
1370 
1372 }
1373 
1375 {
1376  _m0_confx_pver_u._child[0] = (struct m0_xcode_field) {
1377  .xf_name = "xpv_is_formulaic",
1378 
1379  .xf_type = &M0_XT_U8,
1380 
1381  .xf_tag = 0,
1382  .xf_opaque = NULL,
1383  .xf_offset = offsetof(struct m0_confx_pver_u, xpv_is_formulaic),
1384  .xf_read = NULL,
1385  .xf_decor = {
1387  }
1388  };
1389  m0_xc_u8_init();
1390 
1391  _m0_confx_pver_u._child[1] = (struct m0_xcode_field) {
1392  .xf_name = "xpv_actual",
1393 
1394  .xf_type = m0_confx_pver_actual_xc,
1395 
1396  .xf_tag = M0_CONFX_PVER_ACTUAL,
1397  .xf_opaque = NULL,
1398  .xf_offset = offsetof(struct m0_confx_pver_u, u.xpv_actual),
1399  .xf_read = NULL,
1400  .xf_decor = {
1402  }
1403  };
1405 
1406  _m0_confx_pver_u._child[2] = (struct m0_xcode_field) {
1407  .xf_name = "xpv_formulaic",
1408 
1409  .xf_type = m0_confx_pver_formulaic_xc,
1410 
1411  .xf_tag = M0_CONFX_PVER_FORMULAIC,
1412  .xf_opaque = NULL,
1413  .xf_offset = offsetof(struct m0_confx_pver_u, u.xpv_formulaic),
1414  .xf_read = NULL,
1415  .xf_decor = {
1417  }
1418  };
1420 
1422 }
1423 
1424 M0_INTERNAL void m0_xc_m0_confx_pver_struct_init(void)
1425 {
1426  _m0_confx_pver._child[0] = (struct m0_xcode_field) {
1427  .xf_name = "xv_header",
1428 
1429  .xf_type = m0_confx_header_xc,
1430 
1431  .xf_tag = 0,
1432  .xf_opaque = NULL,
1433  .xf_offset = offsetof(struct m0_confx_pver, xv_header),
1434  .xf_read = NULL,
1435  .xf_decor = {
1437  }
1438  };
1440 
1441  _m0_confx_pver._child[1] = (struct m0_xcode_field) {
1442  .xf_name = "xv_u",
1443 
1444  .xf_type = m0_confx_pver_u_xc,
1445 
1446  .xf_tag = 0,
1447  .xf_opaque = NULL,
1448  .xf_offset = offsetof(struct m0_confx_pver, xv_u),
1449  .xf_read = NULL,
1450  .xf_decor = {
1452  }
1453  };
1455 
1457 }
1458 
1459 M0_INTERNAL void m0_xc_m0_confx_objv_struct_init(void)
1460 {
1461  _m0_confx_objv._child[0] = (struct m0_xcode_field) {
1462  .xf_name = "xj_header",
1463 
1464  .xf_type = m0_confx_header_xc,
1465 
1466  .xf_tag = 0,
1467  .xf_opaque = NULL,
1468  .xf_offset = offsetof(struct m0_confx_objv, xj_header),
1469  .xf_read = NULL,
1470  .xf_decor = {
1472  }
1473  };
1475 
1476  _m0_confx_objv._child[1] = (struct m0_xcode_field) {
1477  .xf_name = "xj_real",
1478 
1479  .xf_type = m0_fid_xc,
1480 
1481  .xf_tag = 0,
1482  .xf_opaque = NULL,
1483  .xf_offset = offsetof(struct m0_confx_objv, xj_real),
1484  .xf_read = NULL,
1485  .xf_decor = {
1487  }
1488  };
1490 
1491  _m0_confx_objv._child[2] = (struct m0_xcode_field) {
1492  .xf_name = "xj_children",
1493 
1494  .xf_type = m0_fid_arr_xc,
1495 
1496  .xf_tag = 0,
1497  .xf_opaque = NULL,
1498  .xf_offset = offsetof(struct m0_confx_objv, xj_children),
1499  .xf_read = NULL,
1500  .xf_decor = {
1502  }
1503  };
1505 
1507 }
1508 
1509 M0_INTERNAL void m0_xc_m0_confx_node_struct_init(void)
1510 {
1511  _m0_confx_node._child[0] = (struct m0_xcode_field) {
1512  .xf_name = "xn_header",
1513 
1514  .xf_type = m0_confx_header_xc,
1515 
1516  .xf_tag = 0,
1517  .xf_opaque = NULL,
1518  .xf_offset = offsetof(struct m0_confx_node, xn_header),
1519  .xf_read = NULL,
1520  .xf_decor = {
1522  }
1523  };
1525 
1526  _m0_confx_node._child[1] = (struct m0_xcode_field) {
1527  .xf_name = "xn_memsize",
1528 
1529  .xf_type = &M0_XT_U32,
1530 
1531  .xf_tag = 0,
1532  .xf_opaque = NULL,
1533  .xf_offset = offsetof(struct m0_confx_node, xn_memsize),
1534  .xf_read = NULL,
1535  .xf_decor = {
1537  }
1538  };
1539  m0_xc_u32_init();
1540 
1541  _m0_confx_node._child[2] = (struct m0_xcode_field) {
1542  .xf_name = "xn_nr_cpu",
1543 
1544  .xf_type = &M0_XT_U32,
1545 
1546  .xf_tag = 0,
1547  .xf_opaque = NULL,
1548  .xf_offset = offsetof(struct m0_confx_node, xn_nr_cpu),
1549  .xf_read = NULL,
1550  .xf_decor = {
1552  }
1553  };
1554  m0_xc_u32_init();
1555 
1556  _m0_confx_node._child[3] = (struct m0_xcode_field) {
1557  .xf_name = "xn_last_state",
1558 
1559  .xf_type = &M0_XT_U64,
1560 
1561  .xf_tag = 0,
1562  .xf_opaque = NULL,
1563  .xf_offset = offsetof(struct m0_confx_node, xn_last_state),
1564  .xf_read = NULL,
1565  .xf_decor = {
1567  }
1568  };
1569  m0_xc_u64_init();
1570 
1571  _m0_confx_node._child[4] = (struct m0_xcode_field) {
1572  .xf_name = "xn_flags",
1573 
1574  .xf_type = &M0_XT_U64,
1575 
1576  .xf_tag = 0,
1577  .xf_opaque = NULL,
1578  .xf_offset = offsetof(struct m0_confx_node, xn_flags),
1579  .xf_read = NULL,
1580  .xf_decor = {
1582  }
1583  };
1584  m0_xc_u64_init();
1585 
1586  _m0_confx_node._child[5] = (struct m0_xcode_field) {
1587  .xf_name = "xn_processes",
1588 
1589  .xf_type = m0_fid_arr_xc,
1590 
1591  .xf_tag = 0,
1592  .xf_opaque = NULL,
1593  .xf_offset = offsetof(struct m0_confx_node, xn_processes),
1594  .xf_read = NULL,
1595  .xf_decor = {
1597  }
1598  };
1600 
1602 }
1603 
1605 {
1606  _m0_confx_process._child[0] = (struct m0_xcode_field) {
1607  .xf_name = "xr_header",
1608 
1609  .xf_type = m0_confx_header_xc,
1610 
1611  .xf_tag = 0,
1612  .xf_opaque = NULL,
1613  .xf_offset = offsetof(struct m0_confx_process, xr_header),
1614  .xf_read = NULL,
1615  .xf_decor = {
1617  }
1618  };
1620 
1621  _m0_confx_process._child[1] = (struct m0_xcode_field) {
1622  .xf_name = "xr_cores",
1623 
1624  .xf_type = m0_bitmap_onwire_xc,
1625 
1626  .xf_tag = 0,
1627  .xf_opaque = NULL,
1628  .xf_offset = offsetof(struct m0_confx_process, xr_cores),
1629  .xf_read = NULL,
1630  .xf_decor = {
1632  }
1633  };
1635 
1636  _m0_confx_process._child[2] = (struct m0_xcode_field) {
1637  .xf_name = "xr_mem_limit_as",
1638 
1639  .xf_type = &M0_XT_U64,
1640 
1641  .xf_tag = 0,
1642  .xf_opaque = NULL,
1643  .xf_offset = offsetof(struct m0_confx_process, xr_mem_limit_as),
1644  .xf_read = NULL,
1645  .xf_decor = {
1647  }
1648  };
1649  m0_xc_u64_init();
1650 
1651  _m0_confx_process._child[3] = (struct m0_xcode_field) {
1652  .xf_name = "xr_mem_limit_rss",
1653 
1654  .xf_type = &M0_XT_U64,
1655 
1656  .xf_tag = 0,
1657  .xf_opaque = NULL,
1658  .xf_offset = offsetof(struct m0_confx_process, xr_mem_limit_rss),
1659  .xf_read = NULL,
1660  .xf_decor = {
1662  }
1663  };
1664  m0_xc_u64_init();
1665 
1666  _m0_confx_process._child[4] = (struct m0_xcode_field) {
1667  .xf_name = "xr_mem_limit_stack",
1668 
1669  .xf_type = &M0_XT_U64,
1670 
1671  .xf_tag = 0,
1672  .xf_opaque = NULL,
1673  .xf_offset = offsetof(struct m0_confx_process, xr_mem_limit_stack),
1674  .xf_read = NULL,
1675  .xf_decor = {
1677  }
1678  };
1679  m0_xc_u64_init();
1680 
1681  _m0_confx_process._child[5] = (struct m0_xcode_field) {
1682  .xf_name = "xr_mem_limit_memlock",
1683 
1684  .xf_type = &M0_XT_U64,
1685 
1686  .xf_tag = 0,
1687  .xf_opaque = NULL,
1688  .xf_offset = offsetof(struct m0_confx_process, xr_mem_limit_memlock),
1689  .xf_read = NULL,
1690  .xf_decor = {
1692  }
1693  };
1694  m0_xc_u64_init();
1695 
1696  _m0_confx_process._child[6] = (struct m0_xcode_field) {
1697  .xf_name = "xr_endpoint",
1698 
1699  .xf_type = m0_buf_xc,
1700 
1701  .xf_tag = 0,
1702  .xf_opaque = NULL,
1703  .xf_offset = offsetof(struct m0_confx_process, xr_endpoint),
1704  .xf_read = NULL,
1705  .xf_decor = {
1707  }
1708  };
1710 
1711  _m0_confx_process._child[7] = (struct m0_xcode_field) {
1712  .xf_name = "xr_services",
1713 
1714  .xf_type = m0_fid_arr_xc,
1715 
1716  .xf_tag = 0,
1717  .xf_opaque = NULL,
1718  .xf_offset = offsetof(struct m0_confx_process, xr_services),
1719  .xf_read = NULL,
1720  .xf_decor = {
1722  }
1723  };
1725 
1727 }
1728 
1730 {
1731  _m0_confx_service._child[0] = (struct m0_xcode_field) {
1732  .xf_name = "xs_header",
1733 
1734  .xf_type = m0_confx_header_xc,
1735 
1736  .xf_tag = 0,
1737  .xf_opaque = NULL,
1738  .xf_offset = offsetof(struct m0_confx_service, xs_header),
1739  .xf_read = NULL,
1740  .xf_decor = {
1742  }
1743  };
1745 
1746  _m0_confx_service._child[1] = (struct m0_xcode_field) {
1747  .xf_name = "xs_type",
1748 
1749  .xf_type = &M0_XT_U32,
1750 
1751  .xf_tag = 0,
1752  .xf_opaque = NULL,
1753  .xf_offset = offsetof(struct m0_confx_service, xs_type),
1754  .xf_read = &m0_xcode_enum_field_read,
1755  .xf_decor = {
1757  }
1758  };
1759  m0_xc_u32_init();
1760 
1761  _m0_confx_service._child[2] = (struct m0_xcode_field) {
1762  .xf_name = "xs_endpoints",
1763 
1764  .xf_type = m0_bufs_xc,
1765 
1766  .xf_tag = 0,
1767  .xf_opaque = NULL,
1768  .xf_offset = offsetof(struct m0_confx_service, xs_endpoints),
1769  .xf_read = NULL,
1770  .xf_decor = {
1772  }
1773  };
1775 
1776  _m0_confx_service._child[3] = (struct m0_xcode_field) {
1777  .xf_name = "xs_params",
1778 
1779  .xf_type = m0_bufs_xc,
1780 
1781  .xf_tag = 0,
1782  .xf_opaque = NULL,
1783  .xf_offset = offsetof(struct m0_confx_service, xs_params),
1784  .xf_read = NULL,
1785  .xf_decor = {
1787  }
1788  };
1790 
1791  _m0_confx_service._child[4] = (struct m0_xcode_field) {
1792  .xf_name = "xs_sdevs",
1793 
1794  .xf_type = m0_fid_arr_xc,
1795 
1796  .xf_tag = 0,
1797  .xf_opaque = NULL,
1798  .xf_offset = offsetof(struct m0_confx_service, xs_sdevs),
1799  .xf_read = NULL,
1800  .xf_decor = {
1802  }
1803  };
1805 
1807 }
1808 
1809 M0_INTERNAL void m0_xc_m0_confx_sdev_struct_init(void)
1810 {
1811  _m0_confx_sdev._child[0] = (struct m0_xcode_field) {
1812  .xf_name = "xd_header",
1813 
1814  .xf_type = m0_confx_header_xc,
1815 
1816  .xf_tag = 0,
1817  .xf_opaque = NULL,
1818  .xf_offset = offsetof(struct m0_confx_sdev, xd_header),
1819  .xf_read = NULL,
1820  .xf_decor = {
1822  }
1823  };
1825 
1826  _m0_confx_sdev._child[1] = (struct m0_xcode_field) {
1827  .xf_name = "xd_dev_idx",
1828 
1829  .xf_type = &M0_XT_U32,
1830 
1831  .xf_tag = 0,
1832  .xf_opaque = NULL,
1833  .xf_offset = offsetof(struct m0_confx_sdev, xd_dev_idx),
1834  .xf_read = NULL,
1835  .xf_decor = {
1837  }
1838  };
1839  m0_xc_u32_init();
1840 
1841  _m0_confx_sdev._child[2] = (struct m0_xcode_field) {
1842  .xf_name = "xd_iface",
1843 
1844  .xf_type = &M0_XT_U32,
1845 
1846  .xf_tag = 0,
1847  .xf_opaque = NULL,
1848  .xf_offset = offsetof(struct m0_confx_sdev, xd_iface),
1849  .xf_read = &m0_xcode_enum_field_read,
1850  .xf_decor = {
1852  }
1853  };
1854  m0_xc_u32_init();
1855 
1856  _m0_confx_sdev._child[3] = (struct m0_xcode_field) {
1857  .xf_name = "xd_media",
1858 
1859  .xf_type = &M0_XT_U32,
1860 
1861  .xf_tag = 0,
1862  .xf_opaque = NULL,
1863  .xf_offset = offsetof(struct m0_confx_sdev, xd_media),
1864  .xf_read = &m0_xcode_enum_field_read,
1865  .xf_decor = {
1867  }
1868  };
1869  m0_xc_u32_init();
1870 
1871  _m0_confx_sdev._child[4] = (struct m0_xcode_field) {
1872  .xf_name = "xd_bsize",
1873 
1874  .xf_type = &M0_XT_U32,
1875 
1876  .xf_tag = 0,
1877  .xf_opaque = NULL,
1878  .xf_offset = offsetof(struct m0_confx_sdev, xd_bsize),
1879  .xf_read = NULL,
1880  .xf_decor = {
1882  }
1883  };
1884  m0_xc_u32_init();
1885 
1886  _m0_confx_sdev._child[5] = (struct m0_xcode_field) {
1887  .xf_name = "xd_size",
1888 
1889  .xf_type = &M0_XT_U64,
1890 
1891  .xf_tag = 0,
1892  .xf_opaque = NULL,
1893  .xf_offset = offsetof(struct m0_confx_sdev, xd_size),
1894  .xf_read = NULL,
1895  .xf_decor = {
1897  }
1898  };
1899  m0_xc_u64_init();
1900 
1901  _m0_confx_sdev._child[6] = (struct m0_xcode_field) {
1902  .xf_name = "xd_last_state",
1903 
1904  .xf_type = &M0_XT_U64,
1905 
1906  .xf_tag = 0,
1907  .xf_opaque = NULL,
1908  .xf_offset = offsetof(struct m0_confx_sdev, xd_last_state),
1909  .xf_read = NULL,
1910  .xf_decor = {
1912  }
1913  };
1914  m0_xc_u64_init();
1915 
1916  _m0_confx_sdev._child[7] = (struct m0_xcode_field) {
1917  .xf_name = "xd_flags",
1918 
1919  .xf_type = &M0_XT_U64,
1920 
1921  .xf_tag = 0,
1922  .xf_opaque = NULL,
1923  .xf_offset = offsetof(struct m0_confx_sdev, xd_flags),
1924  .xf_read = NULL,
1925  .xf_decor = {
1927  }
1928  };
1929  m0_xc_u64_init();
1930 
1931  _m0_confx_sdev._child[8] = (struct m0_xcode_field) {
1932  .xf_name = "xd_filename",
1933 
1934  .xf_type = m0_buf_xc,
1935 
1936  .xf_tag = 0,
1937  .xf_opaque = NULL,
1938  .xf_offset = offsetof(struct m0_confx_sdev, xd_filename),
1939  .xf_read = NULL,
1940  .xf_decor = {
1942  }
1943  };
1945 
1947 }
1948 
1949 M0_INTERNAL void m0_xc_m0_confx_site_struct_init(void)
1950 {
1951  _m0_confx_site._child[0] = (struct m0_xcode_field) {
1952  .xf_name = "xi_header",
1953 
1954  .xf_type = m0_confx_header_xc,
1955 
1956  .xf_tag = 0,
1957  .xf_opaque = NULL,
1958  .xf_offset = offsetof(struct m0_confx_site, xi_header),
1959  .xf_read = NULL,
1960  .xf_decor = {
1962  }
1963  };
1965 
1966  _m0_confx_site._child[1] = (struct m0_xcode_field) {
1967  .xf_name = "xi_racks",
1968 
1969  .xf_type = m0_fid_arr_xc,
1970 
1971  .xf_tag = 0,
1972  .xf_opaque = NULL,
1973  .xf_offset = offsetof(struct m0_confx_site, xi_racks),
1974  .xf_read = NULL,
1975  .xf_decor = {
1977  }
1978  };
1980 
1981  _m0_confx_site._child[2] = (struct m0_xcode_field) {
1982  .xf_name = "xi_pvers",
1983 
1984  .xf_type = m0_fid_arr_xc,
1985 
1986  .xf_tag = 0,
1987  .xf_opaque = NULL,
1988  .xf_offset = offsetof(struct m0_confx_site, xi_pvers),
1989  .xf_read = NULL,
1990  .xf_decor = {
1992  }
1993  };
1995 
1997 }
1998 
1999 M0_INTERNAL void m0_xc_m0_confx_rack_struct_init(void)
2000 {
2001  _m0_confx_rack._child[0] = (struct m0_xcode_field) {
2002  .xf_name = "xr_header",
2003 
2004  .xf_type = m0_confx_header_xc,
2005 
2006  .xf_tag = 0,
2007  .xf_opaque = NULL,
2008  .xf_offset = offsetof(struct m0_confx_rack, xr_header),
2009  .xf_read = NULL,
2010  .xf_decor = {
2012  }
2013  };
2015 
2016  _m0_confx_rack._child[1] = (struct m0_xcode_field) {
2017  .xf_name = "xr_encls",
2018 
2019  .xf_type = m0_fid_arr_xc,
2020 
2021  .xf_tag = 0,
2022  .xf_opaque = NULL,
2023  .xf_offset = offsetof(struct m0_confx_rack, xr_encls),
2024  .xf_read = NULL,
2025  .xf_decor = {
2027  }
2028  };
2030 
2031  _m0_confx_rack._child[2] = (struct m0_xcode_field) {
2032  .xf_name = "xr_pvers",
2033 
2034  .xf_type = m0_fid_arr_xc,
2035 
2036  .xf_tag = 0,
2037  .xf_opaque = NULL,
2038  .xf_offset = offsetof(struct m0_confx_rack, xr_pvers),
2039  .xf_read = NULL,
2040  .xf_decor = {
2042  }
2043  };
2045 
2047 }
2048 
2050 {
2051  _m0_confx_enclosure._child[0] = (struct m0_xcode_field) {
2052  .xf_name = "xe_header",
2053 
2054  .xf_type = m0_confx_header_xc,
2055 
2056  .xf_tag = 0,
2057  .xf_opaque = NULL,
2058  .xf_offset = offsetof(struct m0_confx_enclosure, xe_header),
2059  .xf_read = NULL,
2060  .xf_decor = {
2062  }
2063  };
2065 
2066  _m0_confx_enclosure._child[1] = (struct m0_xcode_field) {
2067  .xf_name = "xe_node",
2068 
2069  .xf_type = m0_fid_xc,
2070 
2071  .xf_tag = 0,
2072  .xf_opaque = NULL,
2073  .xf_offset = offsetof(struct m0_confx_enclosure, xe_node),
2074  .xf_read = NULL,
2075  .xf_decor = {
2077  }
2078  };
2080 
2081  _m0_confx_enclosure._child[2] = (struct m0_xcode_field) {
2082  .xf_name = "xe_ctrls",
2083 
2084  .xf_type = m0_fid_arr_xc,
2085 
2086  .xf_tag = 0,
2087  .xf_opaque = NULL,
2088  .xf_offset = offsetof(struct m0_confx_enclosure, xe_ctrls),
2089  .xf_read = NULL,
2090  .xf_decor = {
2092  }
2093  };
2095 
2096  _m0_confx_enclosure._child[3] = (struct m0_xcode_field) {
2097  .xf_name = "xe_pvers",
2098 
2099  .xf_type = m0_fid_arr_xc,
2100 
2101  .xf_tag = 0,
2102  .xf_opaque = NULL,
2103  .xf_offset = offsetof(struct m0_confx_enclosure, xe_pvers),
2104  .xf_read = NULL,
2105  .xf_decor = {
2107  }
2108  };
2110 
2112 }
2113 
2115 {
2117  .xf_name = "xc_header",
2118 
2119  .xf_type = m0_confx_header_xc,
2120 
2121  .xf_tag = 0,
2122  .xf_opaque = NULL,
2123  .xf_offset = offsetof(struct m0_confx_controller, xc_header),
2124  .xf_read = NULL,
2125  .xf_decor = {
2127  }
2128  };
2130 
2132  .xf_name = "xc_drives",
2133 
2134  .xf_type = m0_fid_arr_xc,
2135 
2136  .xf_tag = 0,
2137  .xf_opaque = NULL,
2138  .xf_offset = offsetof(struct m0_confx_controller, xc_drives),
2139  .xf_read = NULL,
2140  .xf_decor = {
2142  }
2143  };
2145 
2147  .xf_name = "xc_pvers",
2148 
2149  .xf_type = m0_fid_arr_xc,
2150 
2151  .xf_tag = 0,
2152  .xf_opaque = NULL,
2153  .xf_offset = offsetof(struct m0_confx_controller, xc_pvers),
2154  .xf_read = NULL,
2155  .xf_decor = {
2157  }
2158  };
2160 
2162 }
2163 
2164 M0_INTERNAL void m0_xc_m0_confx_drive_struct_init(void)
2165 {
2166  _m0_confx_drive._child[0] = (struct m0_xcode_field) {
2167  .xf_name = "xk_header",
2168 
2169  .xf_type = m0_confx_header_xc,
2170 
2171  .xf_tag = 0,
2172  .xf_opaque = NULL,
2173  .xf_offset = offsetof(struct m0_confx_drive, xk_header),
2174  .xf_read = NULL,
2175  .xf_decor = {
2177  }
2178  };
2180 
2181  _m0_confx_drive._child[1] = (struct m0_xcode_field) {
2182  .xf_name = "xk_sdev",
2183 
2184  .xf_type = m0_fid_xc,
2185 
2186  .xf_tag = 0,
2187  .xf_opaque = NULL,
2188  .xf_offset = offsetof(struct m0_confx_drive, xk_sdev),
2189  .xf_read = NULL,
2190  .xf_decor = {
2192  }
2193  };
2195 
2196  _m0_confx_drive._child[2] = (struct m0_xcode_field) {
2197  .xf_name = "xk_pvers",
2198 
2199  .xf_type = m0_fid_arr_xc,
2200 
2201  .xf_tag = 0,
2202  .xf_opaque = NULL,
2203  .xf_offset = offsetof(struct m0_confx_drive, xk_pvers),
2204  .xf_read = NULL,
2205  .xf_decor = {
2207  }
2208  };
2210 
2212 }
2213 
2215 {
2217  .xf_name = "xfg_header",
2218 
2219  .xf_type = m0_confx_header_xc,
2220 
2221  .xf_tag = 0,
2222  .xf_opaque = NULL,
2223  .xf_offset = offsetof(struct m0_confx_fdmi_flt_grp, xfg_header),
2224  .xf_read = NULL,
2225  .xf_decor = {
2227  }
2228  };
2230 
2232  .xf_name = "xfg_rec_type",
2233 
2234  .xf_type = &M0_XT_U32,
2235 
2236  .xf_tag = 0,
2237  .xf_opaque = NULL,
2238  .xf_offset = offsetof(struct m0_confx_fdmi_flt_grp, xfg_rec_type),
2239  .xf_read = NULL,
2240  .xf_decor = {
2242  }
2243  };
2244  m0_xc_u32_init();
2245 
2247  .xf_name = "xfg_filters",
2248 
2249  .xf_type = m0_fid_arr_xc,
2250 
2251  .xf_tag = 0,
2252  .xf_opaque = NULL,
2253  .xf_offset = offsetof(struct m0_confx_fdmi_flt_grp, xfg_filters),
2254  .xf_read = NULL,
2255  .xf_decor = {
2257  }
2258  };
2260 
2262 }
2263 
2265 {
2267  .xf_name = "xf_header",
2268 
2269  .xf_type = m0_confx_header_xc,
2270 
2271  .xf_tag = 0,
2272  .xf_opaque = NULL,
2273  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_header),
2274  .xf_read = NULL,
2275  .xf_decor = {
2277  }
2278  };
2280 
2282  .xf_name = "xf_type",
2283 
2284  .xf_type = &M0_XT_U32,
2285 
2286  .xf_tag = 0,
2287  .xf_opaque = NULL,
2288  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_type),
2289  .xf_read = &m0_xcode_enum_field_read,
2290  .xf_decor = {
2292  }
2293  };
2294  m0_xc_u32_init();
2295 
2297  .xf_name = "xf_filter_id",
2298 
2299  .xf_type = m0_fid_xc,
2300 
2301  .xf_tag = 0,
2302  .xf_opaque = NULL,
2303  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_filter_id),
2304  .xf_read = NULL,
2305  .xf_decor = {
2307  }
2308  };
2310 
2312  .xf_name = "xf_filter_root",
2313 
2314  .xf_type = m0_buf_xc,
2315 
2316  .xf_tag = 0,
2317  .xf_opaque = NULL,
2318  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_filter_root),
2319  .xf_read = NULL,
2320  .xf_decor = {
2322  }
2323  };
2325 
2327  .xf_name = "xf_node",
2328 
2329  .xf_type = m0_fid_xc,
2330 
2331  .xf_tag = 0,
2332  .xf_opaque = NULL,
2333  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_node),
2334  .xf_read = NULL,
2335  .xf_decor = {
2337  }
2338  };
2340 
2342  .xf_name = "xf_dix_pver",
2343 
2344  .xf_type = m0_fid_xc,
2345 
2346  .xf_tag = 0,
2347  .xf_opaque = NULL,
2348  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_dix_pver),
2349  .xf_read = NULL,
2350  .xf_decor = {
2352  }
2353  };
2355 
2357  .xf_name = "xf_substrings",
2358 
2359  .xf_type = m0_bufs_xc,
2360 
2361  .xf_tag = 0,
2362  .xf_opaque = NULL,
2363  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_substrings),
2364  .xf_read = NULL,
2365  .xf_decor = {
2367  }
2368  };
2370 
2372  .xf_name = "xf_endpoints",
2373 
2374  .xf_type = m0_bufs_xc,
2375 
2376  .xf_tag = 0,
2377  .xf_opaque = NULL,
2378  .xf_offset = offsetof(struct m0_confx_fdmi_filter, xf_endpoints),
2379  .xf_read = NULL,
2380  .xf_decor = {
2382  }
2383  };
2385 
2387 }
2388 
2389 M0_INTERNAL void m0_xc_m0_confx_struct_init(void)
2390 {
2391  _m0_confx._child[0] = (struct m0_xcode_field) {
2392  .xf_name = "cx_nr",
2393 
2394  .xf_type = &M0_XT_U32,
2395 
2396  .xf_tag = 0,
2397  .xf_opaque = NULL,
2398  .xf_offset = offsetof(struct m0_confx, cx_nr),
2399  .xf_read = NULL,
2400  .xf_decor = {
2402  }
2403  };
2404  m0_xc_u32_init();
2405 
2406  _m0_confx._child[1] = (struct m0_xcode_field) {
2407  .xf_name = "cx__objs",
2408 
2409  .xf_type = m0_confx_obj_xc,
2410 
2411  .xf_tag = 0,
2412  .xf_opaque = NULL,
2413  .xf_offset = offsetof(struct m0_confx, cx__objs),
2414  .xf_read = NULL,
2415  .xf_decor = {
2417  }
2418  };
2420 
2422 }
2423 
2424 M0_INTERNAL void m0_xc_conf_onwire_init(void)
2425 {
2452 }
2453 
2454 M0_INTERNAL void m0_xc_conf_onwire_fini(void)
2455 {
2456 }
struct m0_xcode_type * m0_confx_controller_xc
Definition: onwire_xc.c:31
uint32_t au_count
Definition: onwire.h:120
struct m0_fid_arr xp_pvers
Definition: onwire.h:122
M0_INTERNAL void m0_xc_arr_u32_struct_init(void)
Definition: onwire_xc.c:904
struct m0_xcode_type _type
Definition: onwire_xc.c:293
M0_INTERNAL void m0_xc_m0_fid_arr_struct_init(void)
Definition: fid_xc.c:99
static struct _m0_confx_fdmi_filter_s _m0_confx_fdmi_filter
struct m0_xcode_type * m0_buf_xc
Definition: buf_xc.c:10
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:345
const struct m0_xcode_type * xf_type
Definition: xcode.h:253
uint64_t xr_mem_limit_memlock
Definition: onwire.h:125
struct m0_bufs xt_params
Definition: onwire.h:126
static struct _m0_confx_controller_s _m0_confx_controller
struct m0_xcode_type _type
Definition: onwire_xc.c:446
struct m0_xcode_type * m0_confx_sdev_xc
Definition: onwire_xc.c:27
struct m0_xcode_type * m0_confx_enclosure_xc
Definition: onwire_xc.c:30
uint32_t xvf_id
Definition: onwire.h:120
#define NULL
Definition: misc.h:38
static struct _m0_confx_root_s _m0_confx_root
M0_INTERNAL void m0_xc_m0_confx_fdmi_flt_grp_struct_init(void)
Definition: onwire_xc.c:2214
struct m0_xcode_type * m0_confx_profile_xc
Definition: onwire_xc.c:17
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:260
M0_INTERNAL void m0_xc_m0_confx_struct_init(void)
Definition: onwire_xc.c:2389
struct m0_fid xf_node
Definition: onwire.h:125
int32_t ur_rc
Definition: onwire.h:282
uint32_t xn_memsize
Definition: onwire.h:121
uint32_t xt_mdredundancy
Definition: onwire.h:125
struct m0_fid_arr xt_pools
Definition: onwire.h:129
struct m0_fid_arr xk_pvers
Definition: onwire.h:122
struct m0_xcode_type _type
Definition: onwire_xc.c:106
struct m0_xcode_field _child[6]
Definition: onwire_xc.c:277
struct m0_bufs xf_endpoints
Definition: onwire.h:128
struct m0_xcode_enum m0_xc_m0_conf_service_type_enum
Definition: schema_xc.c:114
union @126 u
struct m0_xcode_type _type
Definition: onwire_xc.c:72
struct m0_xcode_type * m0_confx_pool_xc
Definition: onwire_xc.c:18
struct m0_xcode_type * m0_confx_pver_formulaic_xc
Definition: onwire_xc.c:20
struct m0_xcode_type * m0_confx_root_xc
Definition: onwire_xc.c:16
struct m0_fid_arr xr_encls
Definition: onwire.h:121
uint64_t xd_last_state
Definition: onwire.h:128
struct m0_confx_header xj_header
Definition: onwire.h:120
static struct _m0_conf_update_s _m0_conf_update
M0_INTERNAL void m0_xc_m0_confx_enclosure_struct_init(void)
Definition: onwire_xc.c:2049
struct m0_fid f_origin
Definition: onwire.h:282
Definition: onwire.h:44
struct m0_buf xf_filter_root
Definition: onwire.h:124
static struct _m0_confx_pver_actual_s _m0_confx_pver_actual
struct m0_confx_header xi_header
Definition: onwire.h:120
M0_INTERNAL void m0_xc_m0_conf_update_struct_init(void)
Definition: onwire_xc.c:849
struct m0_xcode_type _type
Definition: onwire_xc.c:225
struct m0_fid xj_real
Definition: onwire.h:121
static struct _m0_confx_drive_s _m0_confx_drive
M0_INTERNAL void m0_xc_m0_confx_obj_struct_init(void)
Definition: db.c:55
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:243
struct m0_confx_obj * cx__objs
Definition: onwire.h:264
struct m0_fid xvf_base
Definition: onwire.h:121
struct m0_xcode_field xct_child[0]
Definition: xcode.h:345
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:56
struct m0_xcode_type _type
Definition: onwire_xc.c:191
M0_INTERNAL struct m0_xcode_type * m0_confx_obj_xc
Definition: db.c:53
M0_INTERNAL void m0_xc_m0_confx_pver_struct_init(void)
Definition: onwire_xc.c:1424
M0_INTERNAL void m0_xc_m0_fid_struct_init(void)
Definition: fid_xc.c:64
static struct _m0_confx_header_s _m0_confx_header
struct m0_xcode_field _child[6]
Definition: onwire_xc.c:192
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:73
M0_INTERNAL void m0_xc_m0_confx_pver_u_struct_init(void)
Definition: onwire_xc.c:1374
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:226
struct m0_confx_header xe_header
Definition: onwire.h:120
M0_INTERNAL void m0_xc_m0_conf_fetch_resp_struct_init(void)
Definition: onwire_xc.c:799
M0_INTERNAL void m0_xc_m0_confx_site_struct_init(void)
Definition: onwire_xc.c:1949
static struct _m0_confx_pver_s _m0_confx_pver
M0_INTERNAL void m0_xc_m0_confx_service_struct_init(void)
Definition: onwire_xc.c:1729
struct m0_xcode_type * m0_confx_fdmi_filter_xc
Definition: onwire_xc.c:34
M0_INTERNAL void m0_xc_m0_confx_pver_actual_struct_init(void)
Definition: onwire_xc.c:1229
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:396
static struct _m0_confx_service_s _m0_confx_service
struct m0_fid_arr xi_pvers
Definition: onwire.h:122
M0_INTERNAL void m0_xc_m0_confx_root_struct_init(void)
Definition: onwire_xc.c:959
static struct _arr_u32_s _arr_u32
struct m0_fid u_origin
Definition: onwire.h:282
M0_INTERNAL void m0_xc_m0_buf_struct_init(void)
Definition: buf_xc.c:64
uint32_t cx_nr
Definition: onwire.h:256
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:158
struct m0_confx_header xt_header
Definition: onwire.h:120
struct m0_confx_header xfg_header
Definition: onwire.h:120
struct m0_xcode_type _type
Definition: onwire_xc.c:208
struct m0_xcode_type * m0_confx_fdmi_flt_grp_xc
Definition: onwire_xc.c:33
struct m0_xcode_type * m0_confx_pver_xc
Definition: onwire_xc.c:22
static struct _m0_confx_s _m0_confx
struct m0_bufs xf_substrings
Definition: onwire.h:127
struct m0_xcode_type * m0_confx_site_xc
Definition: onwire_xc.c:28
M0_INTERNAL void m0_xc_m0_confx_header_struct_init(void)
Definition: onwire_xc.c:939
uint32_t xn_nr_cpu
Definition: onwire.h:122
struct m0_xcode_enum m0_xc_m0_cfg_storage_device_interface_type_enum
Definition: schema_xc.c:65
uint64_t xr_mem_limit_rss
Definition: onwire.h:123
struct m0_xcode_type * m0_bitmap_onwire_xc
Definition: bitmap_xc.c:10
struct m0_bitmap_onwire xr_cores
Definition: onwire.h:121
struct m0_xcode_type * m0_bufs_xc
Definition: buf_xc.c:11
struct m0_xcode_type _type
Definition: onwire_xc.c:361
struct m0_fid_arr xe_ctrls
Definition: onwire.h:122
uint32_t xva_P
Definition: onwire.h:127
struct m0_confx_pver_u xv_u
Definition: onwire.h:121
struct m0_xcode_type * m0_confx_xc
Definition: onwire_xc.c:35
uint64_t fr_ver
Definition: onwire.h:284
struct m0_xcode_enum m0_xc_m0_pver_policy_code_enum
Definition: policy_xc.c:19
uint64_t xd_size
Definition: onwire.h:127
struct m0_xcode_type * m0_confx_node_xc
Definition: onwire_xc.c:24
struct m0_xcode_type _type
Definition: onwire_xc.c:242
struct arr_u32 xva_tolerance
Definition: onwire.h:131
uint64_t xn_last_state
Definition: onwire.h:123
struct m0_confx_header xn_header
Definition: onwire.h:120
uint64_t xn_flags
Definition: onwire.h:124
static struct _m0_conf_fetch_s _m0_conf_fetch
struct m0_xcode_type _type
Definition: onwire_xc.c:157
M0_INTERNAL void m0_xc_m0_conf_fetch_struct_init(void)
Definition: onwire_xc.c:764
M0_INTERNAL void m0_xc_m0_confx_process_struct_init(void)
Definition: onwire_xc.c:1604
uint32_t xd_dev_idx
Definition: onwire.h:121
struct m0_xcode_type _type
Definition: onwire_xc.c:378
struct m0_confx_header xr_header
Definition: onwire.h:120
struct m0_xcode_type _type
Definition: onwire_xc.c:89
struct m0_fid_arr xc_drives
Definition: onwire.h:121
struct m0_fid_arr xva_sitevs
Definition: onwire.h:132
struct m0_confx_header xp_header
Definition: onwire.h:120
struct m0_xcode_type * m0_conf_update_xc
Definition: onwire_xc.c:12
uint32_t xfg_rec_type
Definition: onwire.h:121
struct m0_xcode_field _child[5]
Definition: onwire_xc.c:311
struct m0_fid_arr xn_processes
Definition: onwire.h:125
struct m0_confx_header xf_header
Definition: onwire.h:120
static struct _m0_confx_pool_s _m0_confx_pool
M0_INTERNAL void m0_xc_m0_confx_pver_formulaic_struct_init(void)
Definition: onwire_xc.c:1324
static struct _m0_confx_site_s _m0_confx_site
uint32_t xva_S
Definition: onwire.h:125
#define M0_POST(cond)
M0_INTERNAL void m0_xc_conf_onwire_init(void)
Definition: onwire_xc.c:2424
M0_INTERNAL void m0_xc_m0_confx_objv_struct_init(void)
Definition: onwire_xc.c:1459
struct m0_xcode_type _type
Definition: onwire_xc.c:140
struct m0_confx_header xv_header
Definition: onwire.h:120
struct m0_xcode_field _child[1]
Definition: onwire_xc.c:124
struct m0_fid_arr xt_sites
Definition: onwire.h:128
struct m0_fid xk_sdev
Definition: onwire.h:121
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
Definition: xcode.c:74
struct m0_confx_header xd_header
Definition: onwire.h:120
struct m0_fid xf_dix_pver
Definition: onwire.h:126
M0_INTERNAL void m0_xc_m0_confx_pool_struct_init(void)
Definition: onwire_xc.c:1179
struct m0_fid_arr xfg_filters
Definition: onwire.h:122
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:175
static struct _m0_confx_objv_s _m0_confx_objv
struct m0_confx u_data
Definition: onwire.h:284
M0_INTERNAL void m0_xc_m0_conf_update_resp_struct_init(void)
Definition: onwire_xc.c:884
static struct _m0_conf_fetch_resp_s _m0_conf_fetch_resp
M0_INTERNAL void m0_xc_m0_confx_drive_struct_init(void)
Definition: onwire_xc.c:2164
struct m0_xcode_type * m0_confx_header_xc
Definition: onwire_xc.c:15
static struct _m0_confx_rack_s _m0_confx_rack
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:107
static struct _m0_confx_pver_u_s _m0_confx_pver_u
struct m0_confx fr_data
Definition: onwire.h:286
void m0_xc_u64_init(void)
Definition: xcode.c:904
M0_BASSERT(offsetof(struct _m0_conf_fetch_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
struct m0_fid xt_mdpool
Definition: onwire.h:123
struct m0_xcode_field _child[1]
Definition: onwire_xc.c:90
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:464
M0_INTERNAL void m0_xc_m0_bufs_struct_init(void)
Definition: buf_xc.c:99
struct m0_fid_arr xe_pvers
Definition: onwire.h:123
struct m0_xcode_type _type
Definition: onwire_xc.c:344
struct m0_fid_arr xj_children
Definition: onwire.h:122
static struct _m0_confx_node_s _m0_confx_node
struct m0_buf xd_filename
Definition: onwire.h:130
struct m0_fid_arr xs_sdevs
Definition: onwire.h:124
struct m0_xcode_field _child[4]
Definition: onwire_xc.c:379
struct m0_fid_arr xp_pools
Definition: onwire.h:121
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:430
const struct m0_xcode_type M0_XT_U32
Definition: xcode.c:932
M0_INTERNAL void m0_xc_conf_onwire_fini(void)
Definition: onwire_xc.c:2454
struct m0_xcode_type * m0_confx_drive_xc
Definition: onwire_xc.c:32
enum m0_xcode_aggr xct_aggr
Definition: xcode.h:316
static struct _m0_confx_sdev_s _m0_confx_sdev
static struct _m0_confx_pver_formulaic_s _m0_confx_pver_formulaic
struct m0_fid_arr xi_racks
Definition: onwire.h:121
struct m0_xcode_field _child[9]
Definition: onwire_xc.c:328
struct m0_xcode_type * m0_confx_rack_xc
Definition: onwire_xc.c:29
uint32_t xva_N
Definition: onwire.h:121
M0_INTERNAL void m0_xc_m0_confx_profile_struct_init(void)
Definition: onwire_xc.c:1144
struct m0_xcode_type _type
Definition: onwire_xc.c:327
struct m0_fid xe_node
Definition: onwire.h:121
uint64_t xd_flags
Definition: onwire.h:129
struct m0_xcode_type * m0_conf_fetch_resp_xc
Definition: onwire_xc.c:11
struct m0_xcode_type _type
Definition: onwire_xc.c:395
struct m0_xcode_type _type
Definition: onwire_xc.c:174
struct m0_buf xr_endpoint
Definition: onwire.h:126
struct m0_bufs xs_endpoints
Definition: onwire.h:122
struct m0_xcode_type _type
Definition: onwire_xc.c:412
uint32_t xd_bsize
Definition: onwire.h:126
struct m0_xcode_type _type
Definition: onwire_xc.c:463
struct m0_xcode_type * m0_conf_update_resp_xc
Definition: onwire_xc.c:13
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:209
struct m0_fid xt_imeta_pver
Definition: onwire.h:124
struct m0_xcode_type _type
Definition: onwire_xc.c:310
const struct m0_xcode_type M0_XT_U8
Definition: xcode.c:924
static struct _m0_confx_profile_s _m0_confx_profile
static struct _m0_confx_fdmi_flt_grp_s _m0_confx_fdmi_flt_grp
static struct _m0_conf_update_resp_s _m0_conf_update_resp
M0_INTERNAL void m0_xc_m0_confx_node_struct_init(void)
Definition: onwire_xc.c:1509
struct m0_xcode_type _type
Definition: onwire_xc.c:276
struct m0_fid_arr f_path
Definition: onwire.h:284
void m0_xc_u8_init(void)
Definition: xcode.c:892
uint64_t xt_verno
Definition: onwire.h:121
void m0_xc_u32_init(void)
Definition: xcode.c:900
uint64_t xr_mem_limit_as
Definition: onwire.h:122
struct m0_xcode_type * m0_confx_pver_actual_xc
Definition: onwire_xc.c:19
struct m0_xcode_type * m0_confx_pver_u_xc
Definition: onwire_xc.c:21
uint32_t * au_elems
Definition: onwire.h:121
M0_INTERNAL void m0_xc_m0_confx_controller_struct_init(void)
Definition: onwire_xc.c:2114
uint64_t xr_mem_limit_stack
Definition: onwire.h:124
struct m0_xcode_field _child[12]
Definition: onwire_xc.c:141
struct m0_fid_arr xt_profiles
Definition: onwire.h:130
static struct _m0_confx_enclosure_s _m0_confx_enclosure
struct m0_confx_header xc_header
Definition: onwire.h:120
uint8_t xpv_is_formulaic
Definition: onwire.h:120
struct m0_fid_arr xt_fdmi_flt_grps
Definition: onwire.h:131
struct m0_xcode_type * m0_fid_arr_xc
Definition: fid_xc.c:11
struct m0_xcode_field _child[2]
Definition: onwire_xc.c:39
struct m0_fid xt_rootfid
Definition: onwire.h:122
M0_INTERNAL void m0_xc_m0_confx_fdmi_filter_struct_init(void)
Definition: onwire_xc.c:2264
struct m0_xcode_field _child[8]
Definition: onwire_xc.c:294
struct m0_fid_arr xr_pvers
Definition: onwire.h:122
struct m0_xcode_type _type
Definition: onwire_xc.c:38
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:362
const char * xf_name
Definition: xcode.h:251
struct m0_xcode_type * m0_confx_service_xc
Definition: onwire_xc.c:26
struct m0_xcode_field _child[8]
Definition: onwire_xc.c:447
M0_INTERNAL void m0_xc_m0_bitmap_onwire_struct_init(void)
Definition: bitmap_xc.c:39
struct arr_u32 xvf_allowance
Definition: onwire.h:125
struct m0_fid_arr xt_nodes
Definition: onwire.h:127
struct m0_bufs xs_params
Definition: onwire.h:123
struct m0_fid ch_id
Definition: onwire.h:120
struct m0_xcode_type * m0_fid_xc
Definition: fid_xc.c:10
int32_t fr_rc
Definition: onwire.h:282
M0_INTERNAL void m0_xc_m0_confx_sdev_struct_init(void)
Definition: onwire_xc.c:1809
uint32_t xva_K
Definition: onwire.h:123
const struct m0_xcode_type M0_XT_U64
Definition: xcode.c:940
struct m0_confx_header xs_header
Definition: onwire.h:120
struct m0_fid xf_filter_id
Definition: onwire.h:122
struct m0_confx_header xk_header
Definition: onwire.h:120
struct m0_fid_arr xc_pvers
Definition: onwire.h:122
struct m0_xcode_field _child[3]
Definition: onwire_xc.c:413
struct m0_xcode_type _type
Definition: onwire_xc.c:123
#define offsetof(typ, memb)
Definition: misc.h:29
static struct _m0_confx_process_s _m0_confx_process
struct m0_xcode_type * m0_confx_objv_xc
Definition: onwire_xc.c:23
struct m0_xcode_type _type
Definition: onwire_xc.c:259
struct m0_xcode_type _type
Definition: onwire_xc.c:429
M0_INTERNAL void m0_xc_m0_confx_rack_struct_init(void)
Definition: onwire_xc.c:1999
struct m0_xcode_type * m0_confx_process_xc
Definition: onwire_xc.c:25
struct m0_xcode_type * m0_conf_fetch_xc
Definition: onwire_xc.c:10
M0_INTERNAL int m0_xcode_enum_field_read(const struct m0_xcode_cursor *it, struct m0_xcode_obj *obj, const char *str)
Definition: enum.c:142
struct m0_fid_arr xr_services
Definition: onwire.h:127
struct m0_xcode_enum m0_xc_m0_cfg_storage_device_media_type_enum
Definition: schema_xc.c:80
struct m0_xcode_type _type
Definition: onwire_xc.c:55
struct m0_xcode_enum m0_xc_m0_fdmi_filter_type_id_enum
Definition: filter_xc.c:202
struct m0_xcode_type * arr_u32_xc
Definition: onwire_xc.c:14