Motr  M0
md_fops_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from mdservice/md_fops.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "mdservice/md_fops.h"
8 #include "mdservice/md_fops_xc.h"
9 
42 
43 static struct _m0_fop_cob_s {
45  struct m0_xcode_field _child[22];
46 } _m0_fop_cob = {
47  ._type = {
49  .xct_name = "m0_fop_cob",
50  .xct_sizeof = sizeof (struct m0_fop_cob),
51  .xct_nr = 22,
52  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
53  }
54 };
55 
57 M0_BASSERT(offsetof(struct _m0_fop_cob_s, _child[0]) ==
58  offsetof(struct m0_xcode_type, xct_child[0]));
59 
60 static struct _m0_fop_buf_s {
63 } _m0_fop_buf = {
64  ._type = {
66  .xct_name = "m0_fop_buf",
67  .xct_sizeof = sizeof (struct m0_fop_buf),
68  .xct_nr = 2,
69  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
70  }
71 };
72 
74 M0_BASSERT(offsetof(struct _m0_fop_buf_s, _child[0]) ==
75  offsetof(struct m0_xcode_type, xct_child[0]));
76 
77 static struct _m0_fop_create_s {
80 } _m0_fop_create = {
81  ._type = {
83  .xct_name = "m0_fop_create",
84  .xct_sizeof = sizeof (struct m0_fop_create),
85  .xct_nr = 4,
86  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
87  }
88 };
89 
91 M0_BASSERT(offsetof(struct _m0_fop_create_s, _child[0]) ==
92  offsetof(struct m0_xcode_type, xct_child[0]));
93 
94 static struct _m0_fop_create_rep_s {
98  ._type = {
100  .xct_name = "m0_fop_create_rep",
101  .xct_sizeof = sizeof (struct m0_fop_create_rep),
102  .xct_nr = 3,
103  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
104  }
105 };
106 
108 M0_BASSERT(offsetof(struct _m0_fop_create_rep_s, _child[0]) ==
109  offsetof(struct m0_xcode_type, xct_child[0]));
110 
111 static struct _m0_fop_lookup_s {
114 } _m0_fop_lookup = {
115  ._type = {
117  .xct_name = "m0_fop_lookup",
118  .xct_sizeof = sizeof (struct m0_fop_lookup),
119  .xct_nr = 3,
120  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
121  }
122 };
123 
125 M0_BASSERT(offsetof(struct _m0_fop_lookup_s, _child[0]) ==
126  offsetof(struct m0_xcode_type, xct_child[0]));
127 
128 static struct _m0_fop_lookup_rep_s {
131 } _m0_fop_lookup_rep = {
132  ._type = {
134  .xct_name = "m0_fop_lookup_rep",
135  .xct_sizeof = sizeof (struct m0_fop_lookup_rep),
136  .xct_nr = 2,
137  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
138  }
139 };
140 
142 M0_BASSERT(offsetof(struct _m0_fop_lookup_rep_s, _child[0]) ==
143  offsetof(struct m0_xcode_type, xct_child[0]));
144 
145 static struct _m0_fop_link_s {
148 } _m0_fop_link = {
149  ._type = {
151  .xct_name = "m0_fop_link",
152  .xct_sizeof = sizeof (struct m0_fop_link),
153  .xct_nr = 4,
154  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
155  }
156 };
157 
159 M0_BASSERT(offsetof(struct _m0_fop_link_s, _child[0]) ==
160  offsetof(struct m0_xcode_type, xct_child[0]));
161 
162 static struct _m0_fop_link_rep_s {
165 } _m0_fop_link_rep = {
166  ._type = {
168  .xct_name = "m0_fop_link_rep",
169  .xct_sizeof = sizeof (struct m0_fop_link_rep),
170  .xct_nr = 3,
171  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
172  }
173 };
174 
176 M0_BASSERT(offsetof(struct _m0_fop_link_rep_s, _child[0]) ==
177  offsetof(struct m0_xcode_type, xct_child[0]));
178 
179 static struct _m0_fop_unlink_s {
182 } _m0_fop_unlink = {
183  ._type = {
185  .xct_name = "m0_fop_unlink",
186  .xct_sizeof = sizeof (struct m0_fop_unlink),
187  .xct_nr = 3,
188  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
189  }
190 };
191 
193 M0_BASSERT(offsetof(struct _m0_fop_unlink_s, _child[0]) ==
194  offsetof(struct m0_xcode_type, xct_child[0]));
195 
196 static struct _m0_fop_unlink_rep_s {
199 } _m0_fop_unlink_rep = {
200  ._type = {
202  .xct_name = "m0_fop_unlink_rep",
203  .xct_sizeof = sizeof (struct m0_fop_unlink_rep),
204  .xct_nr = 3,
205  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
206  }
207 };
208 
210 M0_BASSERT(offsetof(struct _m0_fop_unlink_rep_s, _child[0]) ==
211  offsetof(struct m0_xcode_type, xct_child[0]));
212 
213 static struct _m0_fop_rename_s {
216 } _m0_fop_rename = {
217  ._type = {
219  .xct_name = "m0_fop_rename",
220  .xct_sizeof = sizeof (struct m0_fop_rename),
221  .xct_nr = 6,
222  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
223  }
224 };
225 
227 M0_BASSERT(offsetof(struct _m0_fop_rename_s, _child[0]) ==
228  offsetof(struct m0_xcode_type, xct_child[0]));
229 
230 static struct _m0_fop_rename_rep_s {
233 } _m0_fop_rename_rep = {
234  ._type = {
236  .xct_name = "m0_fop_rename_rep",
237  .xct_sizeof = sizeof (struct m0_fop_rename_rep),
238  .xct_nr = 3,
239  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
240  }
241 };
242 
244 M0_BASSERT(offsetof(struct _m0_fop_rename_rep_s, _child[0]) ==
245  offsetof(struct m0_xcode_type, xct_child[0]));
246 
247 static struct _m0_fop_open_s {
250 } _m0_fop_open = {
251  ._type = {
253  .xct_name = "m0_fop_open",
254  .xct_sizeof = sizeof (struct m0_fop_open),
255  .xct_nr = 2,
256  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
257  }
258 };
259 
261 M0_BASSERT(offsetof(struct _m0_fop_open_s, _child[0]) ==
262  offsetof(struct m0_xcode_type, xct_child[0]));
263 
264 static struct _m0_fop_open_rep_s {
267 } _m0_fop_open_rep = {
268  ._type = {
270  .xct_name = "m0_fop_open_rep",
271  .xct_sizeof = sizeof (struct m0_fop_open_rep),
272  .xct_nr = 3,
273  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
274  }
275 };
276 
278 M0_BASSERT(offsetof(struct _m0_fop_open_rep_s, _child[0]) ==
279  offsetof(struct m0_xcode_type, xct_child[0]));
280 
281 static struct _m0_fop_close_s {
284 } _m0_fop_close = {
285  ._type = {
287  .xct_name = "m0_fop_close",
288  .xct_sizeof = sizeof (struct m0_fop_close),
289  .xct_nr = 2,
290  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
291  }
292 };
293 
295 M0_BASSERT(offsetof(struct _m0_fop_close_s, _child[0]) ==
296  offsetof(struct m0_xcode_type, xct_child[0]));
297 
298 static struct _m0_fop_close_rep_s {
301 } _m0_fop_close_rep = {
302  ._type = {
304  .xct_name = "m0_fop_close_rep",
305  .xct_sizeof = sizeof (struct m0_fop_close_rep),
306  .xct_nr = 2,
307  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
308  }
309 };
310 
312 M0_BASSERT(offsetof(struct _m0_fop_close_rep_s, _child[0]) ==
313  offsetof(struct m0_xcode_type, xct_child[0]));
314 
315 static struct _m0_fop_setattr_s {
318 } _m0_fop_setattr = {
319  ._type = {
321  .xct_name = "m0_fop_setattr",
322  .xct_sizeof = sizeof (struct m0_fop_setattr),
323  .xct_nr = 2,
324  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
325  }
326 };
327 
329 M0_BASSERT(offsetof(struct _m0_fop_setattr_s, _child[0]) ==
330  offsetof(struct m0_xcode_type, xct_child[0]));
331 
332 static struct _m0_fop_setattr_rep_s {
336  ._type = {
338  .xct_name = "m0_fop_setattr_rep",
339  .xct_sizeof = sizeof (struct m0_fop_setattr_rep),
340  .xct_nr = 3,
341  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
342  }
343 };
344 
346 M0_BASSERT(offsetof(struct _m0_fop_setattr_rep_s, _child[0]) ==
347  offsetof(struct m0_xcode_type, xct_child[0]));
348 
349 static struct _m0_fop_getattr_s {
352 } _m0_fop_getattr = {
353  ._type = {
355  .xct_name = "m0_fop_getattr",
356  .xct_sizeof = sizeof (struct m0_fop_getattr),
357  .xct_nr = 2,
358  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
359  }
360 };
361 
363 M0_BASSERT(offsetof(struct _m0_fop_getattr_s, _child[0]) ==
364  offsetof(struct m0_xcode_type, xct_child[0]));
365 
366 static struct _m0_fop_getattr_rep_s {
370  ._type = {
372  .xct_name = "m0_fop_getattr_rep",
373  .xct_sizeof = sizeof (struct m0_fop_getattr_rep),
374  .xct_nr = 2,
375  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
376  }
377 };
378 
380 M0_BASSERT(offsetof(struct _m0_fop_getattr_rep_s, _child[0]) ==
381  offsetof(struct m0_xcode_type, xct_child[0]));
382 
383 static struct _m0_fop_getxattr_s {
386 } _m0_fop_getxattr = {
387  ._type = {
389  .xct_name = "m0_fop_getxattr",
390  .xct_sizeof = sizeof (struct m0_fop_getxattr),
391  .xct_nr = 2,
392  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
393  }
394 };
395 
397 M0_BASSERT(offsetof(struct _m0_fop_getxattr_s, _child[0]) ==
398  offsetof(struct m0_xcode_type, xct_child[0]));
399 
400 static struct _m0_fop_getxattr_rep_s {
404  ._type = {
406  .xct_name = "m0_fop_getxattr_rep",
407  .xct_sizeof = sizeof (struct m0_fop_getxattr_rep),
408  .xct_nr = 3,
409  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
410  }
411 };
412 
414 M0_BASSERT(offsetof(struct _m0_fop_getxattr_rep_s, _child[0]) ==
415  offsetof(struct m0_xcode_type, xct_child[0]));
416 
417 static struct _m0_fop_setxattr_s {
420 } _m0_fop_setxattr = {
421  ._type = {
423  .xct_name = "m0_fop_setxattr",
424  .xct_sizeof = sizeof (struct m0_fop_setxattr),
425  .xct_nr = 3,
426  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
427  }
428 };
429 
431 M0_BASSERT(offsetof(struct _m0_fop_setxattr_s, _child[0]) ==
432  offsetof(struct m0_xcode_type, xct_child[0]));
433 
434 static struct _m0_fop_setxattr_rep_s {
438  ._type = {
440  .xct_name = "m0_fop_setxattr_rep",
441  .xct_sizeof = sizeof (struct m0_fop_setxattr_rep),
442  .xct_nr = 3,
443  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
444  }
445 };
446 
448 M0_BASSERT(offsetof(struct _m0_fop_setxattr_rep_s, _child[0]) ==
449  offsetof(struct m0_xcode_type, xct_child[0]));
450 
451 static struct _m0_fop_delxattr_s {
454 } _m0_fop_delxattr = {
455  ._type = {
457  .xct_name = "m0_fop_delxattr",
458  .xct_sizeof = sizeof (struct m0_fop_delxattr),
459  .xct_nr = 2,
460  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
461  }
462 };
463 
465 M0_BASSERT(offsetof(struct _m0_fop_delxattr_s, _child[0]) ==
466  offsetof(struct m0_xcode_type, xct_child[0]));
467 
468 static struct _m0_fop_delxattr_rep_s {
472  ._type = {
474  .xct_name = "m0_fop_delxattr_rep",
475  .xct_sizeof = sizeof (struct m0_fop_delxattr_rep),
476  .xct_nr = 3,
477  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
478  }
479 };
480 
482 M0_BASSERT(offsetof(struct _m0_fop_delxattr_rep_s, _child[0]) ==
483  offsetof(struct m0_xcode_type, xct_child[0]));
484 
485 static struct _m0_fop_listxattr_s {
488 } _m0_fop_listxattr = {
489  ._type = {
491  .xct_name = "m0_fop_listxattr",
492  .xct_sizeof = sizeof (struct m0_fop_listxattr),
493  .xct_nr = 1,
494  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
495  }
496 };
497 
499 M0_BASSERT(offsetof(struct _m0_fop_listxattr_s, _child[0]) ==
500  offsetof(struct m0_xcode_type, xct_child[0]));
501 
502 static struct _m0_fop_listxattr_rep_s {
506  ._type = {
508  .xct_name = "m0_fop_listxattr_rep",
509  .xct_sizeof = sizeof (struct m0_fop_listxattr_rep),
510  .xct_nr = 4,
511  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
512  }
513 };
514 
516 M0_BASSERT(offsetof(struct _m0_fop_listxattr_rep_s, _child[0]) ==
517  offsetof(struct m0_xcode_type, xct_child[0]));
518 
519 static struct _m0_fop_readdir_s {
522 } _m0_fop_readdir = {
523  ._type = {
525  .xct_name = "m0_fop_readdir",
526  .xct_sizeof = sizeof (struct m0_fop_readdir),
527  .xct_nr = 3,
528  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
529  }
530 };
531 
533 M0_BASSERT(offsetof(struct _m0_fop_readdir_s, _child[0]) ==
534  offsetof(struct m0_xcode_type, xct_child[0]));
535 
536 static struct _m0_fop_readdir_rep_s {
540  ._type = {
542  .xct_name = "m0_fop_readdir_rep",
543  .xct_sizeof = sizeof (struct m0_fop_readdir_rep),
544  .xct_nr = 4,
545  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
546  }
547 };
548 
550 M0_BASSERT(offsetof(struct _m0_fop_readdir_rep_s, _child[0]) ==
551  offsetof(struct m0_xcode_type, xct_child[0]));
552 
553 static struct _m0_fop_statfs_s {
556 } _m0_fop_statfs = {
557  ._type = {
559  .xct_name = "m0_fop_statfs",
560  .xct_sizeof = sizeof (struct m0_fop_statfs),
561  .xct_nr = 1,
562  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
563  }
564 };
565 
567 M0_BASSERT(offsetof(struct _m0_fop_statfs_s, _child[0]) ==
568  offsetof(struct m0_xcode_type, xct_child[0]));
569 
570 static struct _m0_fop_statfs_rep_s {
572  struct m0_xcode_field _child[10];
573 } _m0_fop_statfs_rep = {
574  ._type = {
576  .xct_name = "m0_fop_statfs_rep",
577  .xct_sizeof = sizeof (struct m0_fop_statfs_rep),
578  .xct_nr = 10,
579  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
580  }
581 };
582 
584 M0_BASSERT(offsetof(struct _m0_fop_statfs_rep_s, _child[0]) ==
585  offsetof(struct m0_xcode_type, xct_child[0]));
586 
587 
588 M0_BASSERT(sizeof(struct m0_fop_cob) == 160U);
589 
590 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_rc == 4U);
591 M0_BASSERT(offsetof(struct m0_fop_cob, b_rc) == 0U);
592 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_index == 8U);
593 M0_BASSERT(offsetof(struct m0_fop_cob, b_index) == 8U);
594 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_version == 8U);
595 M0_BASSERT(offsetof(struct m0_fop_cob, b_version) == 16U);
596 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_flags == 4U);
597 M0_BASSERT(offsetof(struct m0_fop_cob, b_flags) == 24U);
598 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_valid == 4U);
599 M0_BASSERT(offsetof(struct m0_fop_cob, b_valid) == 28U);
600 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_mode == 4U);
601 M0_BASSERT(offsetof(struct m0_fop_cob, b_mode) == 32U);
602 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_size == 8U);
603 M0_BASSERT(offsetof(struct m0_fop_cob, b_size) == 40U);
604 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_blksize == 8U);
605 M0_BASSERT(offsetof(struct m0_fop_cob, b_blksize) == 48U);
606 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_blocks == 8U);
607 M0_BASSERT(offsetof(struct m0_fop_cob, b_blocks) == 56U);
608 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_nlink == 4U);
609 M0_BASSERT(offsetof(struct m0_fop_cob, b_nlink) == 64U);
610 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_uid == 4U);
611 M0_BASSERT(offsetof(struct m0_fop_cob, b_uid) == 68U);
612 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_gid == 4U);
613 M0_BASSERT(offsetof(struct m0_fop_cob, b_gid) == 72U);
614 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_sid == 4U);
615 M0_BASSERT(offsetof(struct m0_fop_cob, b_sid) == 76U);
616 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_nid == 8U);
617 M0_BASSERT(offsetof(struct m0_fop_cob, b_nid) == 80U);
618 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_rdev == 4U);
619 M0_BASSERT(offsetof(struct m0_fop_cob, b_rdev) == 88U);
620 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_atime == 4U);
621 M0_BASSERT(offsetof(struct m0_fop_cob, b_atime) == 92U);
622 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_mtime == 4U);
623 M0_BASSERT(offsetof(struct m0_fop_cob, b_mtime) == 96U);
624 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_ctime == 4U);
625 M0_BASSERT(offsetof(struct m0_fop_cob, b_ctime) == 100U);
626 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_lid == 8U);
627 M0_BASSERT(offsetof(struct m0_fop_cob, b_lid) == 104U);
628 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_pfid == 16U);
629 M0_BASSERT(offsetof(struct m0_fop_cob, b_pfid) == 112U);
630 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_tfid == 16U);
631 M0_BASSERT(offsetof(struct m0_fop_cob, b_tfid) == 128U);
632 M0_BASSERT(sizeof ((struct m0_fop_cob *)0)->b_pver == 16U);
633 M0_BASSERT(offsetof(struct m0_fop_cob, b_pver) == 144U);
634 
635 M0_BASSERT(sizeof(struct m0_fop_buf) == 16U);
636 
637 M0_BASSERT(sizeof ((struct m0_fop_buf *)0)->b_count == 4U);
638 M0_BASSERT(offsetof(struct m0_fop_buf, b_count) == 0U);
639 M0_BASSERT(sizeof ((struct m0_fop_buf *)0)->b_addr == 8U);
640 M0_BASSERT(offsetof(struct m0_fop_buf, b_addr) == 8U);
641 
642 M0_BASSERT(sizeof(struct m0_fop_create) == 208U);
643 
644 M0_BASSERT(sizeof ((struct m0_fop_create *)0)->c_body == 160U);
645 M0_BASSERT(offsetof(struct m0_fop_create, c_body) == 0U);
646 M0_BASSERT(sizeof ((struct m0_fop_create *)0)->c_target == 16U);
647 M0_BASSERT(offsetof(struct m0_fop_create, c_target) == 160U);
648 M0_BASSERT(sizeof ((struct m0_fop_create *)0)->c_path == 16U);
649 M0_BASSERT(offsetof(struct m0_fop_create, c_path) == 176U);
650 M0_BASSERT(sizeof ((struct m0_fop_create *)0)->c_name == 16U);
651 M0_BASSERT(offsetof(struct m0_fop_create, c_name) == 192U);
652 
653 M0_BASSERT(sizeof(struct m0_fop_create_rep) == 184U);
654 
655 M0_BASSERT(sizeof ((struct m0_fop_create_rep *)0)->c_rc == 4U);
656 M0_BASSERT(offsetof(struct m0_fop_create_rep, c_rc) == 0U);
657 M0_BASSERT(sizeof ((struct m0_fop_create_rep *)0)->c_body == 160U);
659 M0_BASSERT(sizeof ((struct m0_fop_create_rep *)0)->c_mod_rep == 16U);
661 
662 M0_BASSERT(sizeof(struct m0_fop_lookup) == 192U);
663 
664 M0_BASSERT(sizeof ((struct m0_fop_lookup *)0)->l_body == 160U);
665 M0_BASSERT(offsetof(struct m0_fop_lookup, l_body) == 0U);
666 M0_BASSERT(sizeof ((struct m0_fop_lookup *)0)->l_path == 16U);
667 M0_BASSERT(offsetof(struct m0_fop_lookup, l_path) == 160U);
668 M0_BASSERT(sizeof ((struct m0_fop_lookup *)0)->l_name == 16U);
669 M0_BASSERT(offsetof(struct m0_fop_lookup, l_name) == 176U);
670 
671 M0_BASSERT(sizeof(struct m0_fop_lookup_rep) == 168U);
672 
673 M0_BASSERT(sizeof ((struct m0_fop_lookup_rep *)0)->l_rc == 4U);
674 M0_BASSERT(offsetof(struct m0_fop_lookup_rep, l_rc) == 0U);
675 M0_BASSERT(sizeof ((struct m0_fop_lookup_rep *)0)->l_body == 160U);
677 
678 M0_BASSERT(sizeof(struct m0_fop_link) == 208U);
679 
680 M0_BASSERT(sizeof ((struct m0_fop_link *)0)->l_body == 160U);
681 M0_BASSERT(offsetof(struct m0_fop_link, l_body) == 0U);
682 M0_BASSERT(sizeof ((struct m0_fop_link *)0)->l_spath == 16U);
683 M0_BASSERT(offsetof(struct m0_fop_link, l_spath) == 160U);
684 M0_BASSERT(sizeof ((struct m0_fop_link *)0)->l_tpath == 16U);
685 M0_BASSERT(offsetof(struct m0_fop_link, l_tpath) == 176U);
686 M0_BASSERT(sizeof ((struct m0_fop_link *)0)->l_name == 16U);
687 M0_BASSERT(offsetof(struct m0_fop_link, l_name) == 192U);
688 
689 M0_BASSERT(sizeof(struct m0_fop_link_rep) == 184U);
690 
691 M0_BASSERT(sizeof ((struct m0_fop_link_rep *)0)->l_rc == 4U);
692 M0_BASSERT(offsetof(struct m0_fop_link_rep, l_rc) == 0U);
693 M0_BASSERT(sizeof ((struct m0_fop_link_rep *)0)->l_body == 160U);
694 M0_BASSERT(offsetof(struct m0_fop_link_rep, l_body) == 8U);
695 M0_BASSERT(sizeof ((struct m0_fop_link_rep *)0)->l_mod_rep == 16U);
696 M0_BASSERT(offsetof(struct m0_fop_link_rep, l_mod_rep) == 168U);
697 
698 M0_BASSERT(sizeof(struct m0_fop_unlink) == 192U);
699 
700 M0_BASSERT(sizeof ((struct m0_fop_unlink *)0)->u_body == 160U);
701 M0_BASSERT(offsetof(struct m0_fop_unlink, u_body) == 0U);
702 M0_BASSERT(sizeof ((struct m0_fop_unlink *)0)->u_path == 16U);
703 M0_BASSERT(offsetof(struct m0_fop_unlink, u_path) == 160U);
704 M0_BASSERT(sizeof ((struct m0_fop_unlink *)0)->u_name == 16U);
705 M0_BASSERT(offsetof(struct m0_fop_unlink, u_name) == 176U);
706 
707 M0_BASSERT(sizeof(struct m0_fop_unlink_rep) == 184U);
708 
709 M0_BASSERT(sizeof ((struct m0_fop_unlink_rep *)0)->u_rc == 4U);
710 M0_BASSERT(offsetof(struct m0_fop_unlink_rep, u_rc) == 0U);
711 M0_BASSERT(sizeof ((struct m0_fop_unlink_rep *)0)->u_body == 160U);
713 M0_BASSERT(sizeof ((struct m0_fop_unlink_rep *)0)->u_mod_rep == 16U);
715 
716 M0_BASSERT(sizeof(struct m0_fop_rename) == 384U);
717 
718 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_sbody == 160U);
719 M0_BASSERT(offsetof(struct m0_fop_rename, r_sbody) == 0U);
720 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_tbody == 160U);
721 M0_BASSERT(offsetof(struct m0_fop_rename, r_tbody) == 160U);
722 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_spath == 16U);
723 M0_BASSERT(offsetof(struct m0_fop_rename, r_spath) == 320U);
724 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_tpath == 16U);
725 M0_BASSERT(offsetof(struct m0_fop_rename, r_tpath) == 336U);
726 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_sname == 16U);
727 M0_BASSERT(offsetof(struct m0_fop_rename, r_sname) == 352U);
728 M0_BASSERT(sizeof ((struct m0_fop_rename *)0)->r_tname == 16U);
729 M0_BASSERT(offsetof(struct m0_fop_rename, r_tname) == 368U);
730 
731 M0_BASSERT(sizeof(struct m0_fop_rename_rep) == 184U);
732 
733 M0_BASSERT(sizeof ((struct m0_fop_rename_rep *)0)->r_rc == 4U);
734 M0_BASSERT(offsetof(struct m0_fop_rename_rep, r_rc) == 0U);
735 M0_BASSERT(sizeof ((struct m0_fop_rename_rep *)0)->r_body == 160U);
737 M0_BASSERT(sizeof ((struct m0_fop_rename_rep *)0)->r_mod_rep == 16U);
739 
740 M0_BASSERT(sizeof(struct m0_fop_open) == 176U);
741 
742 M0_BASSERT(sizeof ((struct m0_fop_open *)0)->o_path == 16U);
743 M0_BASSERT(offsetof(struct m0_fop_open, o_path) == 0U);
744 M0_BASSERT(sizeof ((struct m0_fop_open *)0)->o_body == 160U);
745 M0_BASSERT(offsetof(struct m0_fop_open, o_body) == 16U);
746 
747 M0_BASSERT(sizeof(struct m0_fop_open_rep) == 184U);
748 
749 M0_BASSERT(sizeof ((struct m0_fop_open_rep *)0)->o_rc == 4U);
750 M0_BASSERT(offsetof(struct m0_fop_open_rep, o_rc) == 0U);
751 M0_BASSERT(sizeof ((struct m0_fop_open_rep *)0)->o_body == 160U);
752 M0_BASSERT(offsetof(struct m0_fop_open_rep, o_body) == 8U);
753 M0_BASSERT(sizeof ((struct m0_fop_open_rep *)0)->o_mod_rep == 16U);
754 M0_BASSERT(offsetof(struct m0_fop_open_rep, o_mod_rep) == 168U);
755 
756 M0_BASSERT(sizeof(struct m0_fop_close) == 176U);
757 
758 M0_BASSERT(sizeof ((struct m0_fop_close *)0)->c_body == 160U);
759 M0_BASSERT(offsetof(struct m0_fop_close, c_body) == 0U);
760 M0_BASSERT(sizeof ((struct m0_fop_close *)0)->c_path == 16U);
761 M0_BASSERT(offsetof(struct m0_fop_close, c_path) == 160U);
762 
763 M0_BASSERT(sizeof(struct m0_fop_close_rep) == 168U);
764 
765 M0_BASSERT(sizeof ((struct m0_fop_close_rep *)0)->c_rc == 4U);
766 M0_BASSERT(offsetof(struct m0_fop_close_rep, c_rc) == 0U);
767 M0_BASSERT(sizeof ((struct m0_fop_close_rep *)0)->c_body == 160U);
769 
770 M0_BASSERT(sizeof(struct m0_fop_setattr) == 176U);
771 
772 M0_BASSERT(sizeof ((struct m0_fop_setattr *)0)->s_body == 160U);
773 M0_BASSERT(offsetof(struct m0_fop_setattr, s_body) == 0U);
774 M0_BASSERT(sizeof ((struct m0_fop_setattr *)0)->s_path == 16U);
775 M0_BASSERT(offsetof(struct m0_fop_setattr, s_path) == 160U);
776 
777 M0_BASSERT(sizeof(struct m0_fop_setattr_rep) == 184U);
778 
779 M0_BASSERT(sizeof ((struct m0_fop_setattr_rep *)0)->s_rc == 4U);
781 M0_BASSERT(sizeof ((struct m0_fop_setattr_rep *)0)->s_body == 160U);
783 M0_BASSERT(sizeof ((struct m0_fop_setattr_rep *)0)->s_mod_rep == 16U);
785 
786 M0_BASSERT(sizeof(struct m0_fop_getattr) == 176U);
787 
788 M0_BASSERT(sizeof ((struct m0_fop_getattr *)0)->g_body == 160U);
789 M0_BASSERT(offsetof(struct m0_fop_getattr, g_body) == 0U);
790 M0_BASSERT(sizeof ((struct m0_fop_getattr *)0)->g_path == 16U);
791 M0_BASSERT(offsetof(struct m0_fop_getattr, g_path) == 160U);
792 
793 M0_BASSERT(sizeof(struct m0_fop_getattr_rep) == 168U);
794 
795 M0_BASSERT(sizeof ((struct m0_fop_getattr_rep *)0)->g_rc == 4U);
797 M0_BASSERT(sizeof ((struct m0_fop_getattr_rep *)0)->g_body == 160U);
799 
800 M0_BASSERT(sizeof(struct m0_fop_getxattr) == 176U);
801 
802 M0_BASSERT(sizeof ((struct m0_fop_getxattr *)0)->g_body == 160U);
803 M0_BASSERT(offsetof(struct m0_fop_getxattr, g_body) == 0U);
804 M0_BASSERT(sizeof ((struct m0_fop_getxattr *)0)->g_key == 16U);
805 M0_BASSERT(offsetof(struct m0_fop_getxattr, g_key) == 160U);
806 
807 M0_BASSERT(sizeof(struct m0_fop_getxattr_rep) == 184U);
808 
809 M0_BASSERT(sizeof ((struct m0_fop_getxattr_rep *)0)->g_rc == 4U);
811 M0_BASSERT(sizeof ((struct m0_fop_getxattr_rep *)0)->g_body == 160U);
813 M0_BASSERT(sizeof ((struct m0_fop_getxattr_rep *)0)->g_value == 16U);
815 
816 M0_BASSERT(sizeof(struct m0_fop_setxattr) == 192U);
817 
818 M0_BASSERT(sizeof ((struct m0_fop_setxattr *)0)->s_body == 160U);
819 M0_BASSERT(offsetof(struct m0_fop_setxattr, s_body) == 0U);
820 M0_BASSERT(sizeof ((struct m0_fop_setxattr *)0)->s_key == 16U);
821 M0_BASSERT(offsetof(struct m0_fop_setxattr, s_key) == 160U);
822 M0_BASSERT(sizeof ((struct m0_fop_setxattr *)0)->s_value == 16U);
823 M0_BASSERT(offsetof(struct m0_fop_setxattr, s_value) == 176U);
824 
825 M0_BASSERT(sizeof(struct m0_fop_setxattr_rep) == 184U);
826 
827 M0_BASSERT(sizeof ((struct m0_fop_setxattr_rep *)0)->s_rc == 4U);
829 M0_BASSERT(sizeof ((struct m0_fop_setxattr_rep *)0)->s_body == 160U);
831 M0_BASSERT(sizeof ((struct m0_fop_setxattr_rep *)0)->s_mod_rep == 16U);
833 
834 M0_BASSERT(sizeof(struct m0_fop_delxattr) == 176U);
835 
836 M0_BASSERT(sizeof ((struct m0_fop_delxattr *)0)->d_body == 160U);
837 M0_BASSERT(offsetof(struct m0_fop_delxattr, d_body) == 0U);
838 M0_BASSERT(sizeof ((struct m0_fop_delxattr *)0)->d_key == 16U);
839 M0_BASSERT(offsetof(struct m0_fop_delxattr, d_key) == 160U);
840 
841 M0_BASSERT(sizeof(struct m0_fop_delxattr_rep) == 184U);
842 
843 M0_BASSERT(sizeof ((struct m0_fop_delxattr_rep *)0)->d_rc == 4U);
845 M0_BASSERT(sizeof ((struct m0_fop_delxattr_rep *)0)->d_body == 160U);
847 M0_BASSERT(sizeof ((struct m0_fop_delxattr_rep *)0)->d_mod_rep == 16U);
849 
850 M0_BASSERT(sizeof(struct m0_fop_listxattr) == 160U);
851 
852 M0_BASSERT(sizeof ((struct m0_fop_listxattr *)0)->l_body == 160U);
854 
855 M0_BASSERT(sizeof(struct m0_fop_listxattr_rep) == 200U);
856 
857 M0_BASSERT(sizeof ((struct m0_fop_listxattr_rep *)0)->l_rc == 4U);
859 M0_BASSERT(sizeof ((struct m0_fop_listxattr_rep *)0)->l_end == 16U);
861 M0_BASSERT(sizeof ((struct m0_fop_listxattr_rep *)0)->l_body == 160U);
863 M0_BASSERT(sizeof ((struct m0_fop_listxattr_rep *)0)->l_buf == 16U);
865 
866 M0_BASSERT(sizeof(struct m0_fop_readdir) == 192U);
867 
868 M0_BASSERT(sizeof ((struct m0_fop_readdir *)0)->r_body == 160U);
869 M0_BASSERT(offsetof(struct m0_fop_readdir, r_body) == 0U);
870 M0_BASSERT(sizeof ((struct m0_fop_readdir *)0)->r_path == 16U);
871 M0_BASSERT(offsetof(struct m0_fop_readdir, r_path) == 160U);
872 M0_BASSERT(sizeof ((struct m0_fop_readdir *)0)->r_pos == 16U);
873 M0_BASSERT(offsetof(struct m0_fop_readdir, r_pos) == 176U);
874 
875 M0_BASSERT(sizeof(struct m0_fop_readdir_rep) == 200U);
876 
877 M0_BASSERT(sizeof ((struct m0_fop_readdir_rep *)0)->r_rc == 4U);
879 M0_BASSERT(sizeof ((struct m0_fop_readdir_rep *)0)->r_end == 16U);
881 M0_BASSERT(sizeof ((struct m0_fop_readdir_rep *)0)->r_body == 160U);
883 M0_BASSERT(sizeof ((struct m0_fop_readdir_rep *)0)->r_buf == 16U);
884 M0_BASSERT(offsetof(struct m0_fop_readdir_rep, r_buf) == 184U);
885 
886 M0_BASSERT(sizeof(struct m0_fop_statfs) == 8U);
887 
888 M0_BASSERT(sizeof ((struct m0_fop_statfs *)0)->f_flags == 8U);
889 M0_BASSERT(offsetof(struct m0_fop_statfs, f_flags) == 0U);
890 
891 M0_BASSERT(sizeof(struct m0_fop_statfs_rep) == 88U);
892 
893 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_rc == 4U);
894 M0_BASSERT(offsetof(struct m0_fop_statfs_rep, f_rc) == 0U);
895 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_type == 8U);
897 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_bsize == 4U);
899 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_blocks == 8U);
901 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_bfree == 8U);
903 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_bavail == 8U);
905 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_files == 8U);
907 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_ffree == 8U);
909 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_namelen == 4U);
911 M0_BASSERT(sizeof ((struct m0_fop_statfs_rep *)0)->f_root == 16U);
913 
914 
915 
916 M0_INTERNAL void m0_xc_m0_fop_cob_struct_init(void)
917 {
918  _m0_fop_cob._child[0] = (struct m0_xcode_field) {
919  .xf_name = "b_rc",
920 
921  .xf_type = &M0_XT_U32,
922 
923  .xf_tag = 0,
924  .xf_opaque = NULL,
925  .xf_offset = offsetof(struct m0_fop_cob, b_rc),
926  .xf_read = NULL,
927  .xf_decor = {
929  }
930  };
931  m0_xc_u32_init();
932 
933  _m0_fop_cob._child[1] = (struct m0_xcode_field) {
934  .xf_name = "b_index",
935 
936  .xf_type = &M0_XT_U64,
937 
938  .xf_tag = 0,
939  .xf_opaque = NULL,
940  .xf_offset = offsetof(struct m0_fop_cob, b_index),
941  .xf_read = NULL,
942  .xf_decor = {
944  }
945  };
946  m0_xc_u64_init();
947 
948  _m0_fop_cob._child[2] = (struct m0_xcode_field) {
949  .xf_name = "b_version",
950 
951  .xf_type = &M0_XT_U64,
952 
953  .xf_tag = 0,
954  .xf_opaque = NULL,
955  .xf_offset = offsetof(struct m0_fop_cob, b_version),
956  .xf_read = NULL,
957  .xf_decor = {
959  }
960  };
961  m0_xc_u64_init();
962 
963  _m0_fop_cob._child[3] = (struct m0_xcode_field) {
964  .xf_name = "b_flags",
965 
966  .xf_type = &M0_XT_U32,
967 
968  .xf_tag = 0,
969  .xf_opaque = NULL,
970  .xf_offset = offsetof(struct m0_fop_cob, b_flags),
971  .xf_read = NULL,
972  .xf_decor = {
974  }
975  };
976  m0_xc_u32_init();
977 
978  _m0_fop_cob._child[4] = (struct m0_xcode_field) {
979  .xf_name = "b_valid",
980 
981  .xf_type = &M0_XT_U32,
982 
983  .xf_tag = 0,
984  .xf_opaque = NULL,
985  .xf_offset = offsetof(struct m0_fop_cob, b_valid),
986  .xf_read = NULL,
987  .xf_decor = {
989  }
990  };
991  m0_xc_u32_init();
992 
993  _m0_fop_cob._child[5] = (struct m0_xcode_field) {
994  .xf_name = "b_mode",
995 
996  .xf_type = &M0_XT_U32,
997 
998  .xf_tag = 0,
999  .xf_opaque = NULL,
1000  .xf_offset = offsetof(struct m0_fop_cob, b_mode),
1001  .xf_read = NULL,
1002  .xf_decor = {
1004  }
1005  };
1006  m0_xc_u32_init();
1007 
1008  _m0_fop_cob._child[6] = (struct m0_xcode_field) {
1009  .xf_name = "b_size",
1010 
1011  .xf_type = &M0_XT_U64,
1012 
1013  .xf_tag = 0,
1014  .xf_opaque = NULL,
1015  .xf_offset = offsetof(struct m0_fop_cob, b_size),
1016  .xf_read = NULL,
1017  .xf_decor = {
1019  }
1020  };
1021  m0_xc_u64_init();
1022 
1023  _m0_fop_cob._child[7] = (struct m0_xcode_field) {
1024  .xf_name = "b_blksize",
1025 
1026  .xf_type = &M0_XT_U64,
1027 
1028  .xf_tag = 0,
1029  .xf_opaque = NULL,
1030  .xf_offset = offsetof(struct m0_fop_cob, b_blksize),
1031  .xf_read = NULL,
1032  .xf_decor = {
1034  }
1035  };
1036  m0_xc_u64_init();
1037 
1038  _m0_fop_cob._child[8] = (struct m0_xcode_field) {
1039  .xf_name = "b_blocks",
1040 
1041  .xf_type = &M0_XT_U64,
1042 
1043  .xf_tag = 0,
1044  .xf_opaque = NULL,
1045  .xf_offset = offsetof(struct m0_fop_cob, b_blocks),
1046  .xf_read = NULL,
1047  .xf_decor = {
1049  }
1050  };
1051  m0_xc_u64_init();
1052 
1053  _m0_fop_cob._child[9] = (struct m0_xcode_field) {
1054  .xf_name = "b_nlink",
1055 
1056  .xf_type = &M0_XT_U32,
1057 
1058  .xf_tag = 0,
1059  .xf_opaque = NULL,
1060  .xf_offset = offsetof(struct m0_fop_cob, b_nlink),
1061  .xf_read = NULL,
1062  .xf_decor = {
1064  }
1065  };
1066  m0_xc_u32_init();
1067 
1068  _m0_fop_cob._child[10] = (struct m0_xcode_field) {
1069  .xf_name = "b_uid",
1070 
1071  .xf_type = &M0_XT_U32,
1072 
1073  .xf_tag = 0,
1074  .xf_opaque = NULL,
1075  .xf_offset = offsetof(struct m0_fop_cob, b_uid),
1076  .xf_read = NULL,
1077  .xf_decor = {
1079  }
1080  };
1081  m0_xc_u32_init();
1082 
1083  _m0_fop_cob._child[11] = (struct m0_xcode_field) {
1084  .xf_name = "b_gid",
1085 
1086  .xf_type = &M0_XT_U32,
1087 
1088  .xf_tag = 0,
1089  .xf_opaque = NULL,
1090  .xf_offset = offsetof(struct m0_fop_cob, b_gid),
1091  .xf_read = NULL,
1092  .xf_decor = {
1094  }
1095  };
1096  m0_xc_u32_init();
1097 
1098  _m0_fop_cob._child[12] = (struct m0_xcode_field) {
1099  .xf_name = "b_sid",
1100 
1101  .xf_type = &M0_XT_U32,
1102 
1103  .xf_tag = 0,
1104  .xf_opaque = NULL,
1105  .xf_offset = offsetof(struct m0_fop_cob, b_sid),
1106  .xf_read = NULL,
1107  .xf_decor = {
1109  }
1110  };
1111  m0_xc_u32_init();
1112 
1113  _m0_fop_cob._child[13] = (struct m0_xcode_field) {
1114  .xf_name = "b_nid",
1115 
1116  .xf_type = &M0_XT_U64,
1117 
1118  .xf_tag = 0,
1119  .xf_opaque = NULL,
1120  .xf_offset = offsetof(struct m0_fop_cob, b_nid),
1121  .xf_read = NULL,
1122  .xf_decor = {
1124  }
1125  };
1126  m0_xc_u64_init();
1127 
1128  _m0_fop_cob._child[14] = (struct m0_xcode_field) {
1129  .xf_name = "b_rdev",
1130 
1131  .xf_type = &M0_XT_U32,
1132 
1133  .xf_tag = 0,
1134  .xf_opaque = NULL,
1135  .xf_offset = offsetof(struct m0_fop_cob, b_rdev),
1136  .xf_read = NULL,
1137  .xf_decor = {
1139  }
1140  };
1141  m0_xc_u32_init();
1142 
1143  _m0_fop_cob._child[15] = (struct m0_xcode_field) {
1144  .xf_name = "b_atime",
1145 
1146  .xf_type = &M0_XT_U32,
1147 
1148  .xf_tag = 0,
1149  .xf_opaque = NULL,
1150  .xf_offset = offsetof(struct m0_fop_cob, b_atime),
1151  .xf_read = NULL,
1152  .xf_decor = {
1154  }
1155  };
1156  m0_xc_u32_init();
1157 
1158  _m0_fop_cob._child[16] = (struct m0_xcode_field) {
1159  .xf_name = "b_mtime",
1160 
1161  .xf_type = &M0_XT_U32,
1162 
1163  .xf_tag = 0,
1164  .xf_opaque = NULL,
1165  .xf_offset = offsetof(struct m0_fop_cob, b_mtime),
1166  .xf_read = NULL,
1167  .xf_decor = {
1169  }
1170  };
1171  m0_xc_u32_init();
1172 
1173  _m0_fop_cob._child[17] = (struct m0_xcode_field) {
1174  .xf_name = "b_ctime",
1175 
1176  .xf_type = &M0_XT_U32,
1177 
1178  .xf_tag = 0,
1179  .xf_opaque = NULL,
1180  .xf_offset = offsetof(struct m0_fop_cob, b_ctime),
1181  .xf_read = NULL,
1182  .xf_decor = {
1184  }
1185  };
1186  m0_xc_u32_init();
1187 
1188  _m0_fop_cob._child[18] = (struct m0_xcode_field) {
1189  .xf_name = "b_lid",
1190 
1191  .xf_type = &M0_XT_U64,
1192 
1193  .xf_tag = 0,
1194  .xf_opaque = NULL,
1195  .xf_offset = offsetof(struct m0_fop_cob, b_lid),
1196  .xf_read = NULL,
1197  .xf_decor = {
1199  }
1200  };
1201  m0_xc_u64_init();
1202 
1203  _m0_fop_cob._child[19] = (struct m0_xcode_field) {
1204  .xf_name = "b_pfid",
1205 
1206  .xf_type = m0_fid_xc,
1207 
1208  .xf_tag = 0,
1209  .xf_opaque = NULL,
1210  .xf_offset = offsetof(struct m0_fop_cob, b_pfid),
1211  .xf_read = NULL,
1212  .xf_decor = {
1214  }
1215  };
1217 
1218  _m0_fop_cob._child[20] = (struct m0_xcode_field) {
1219  .xf_name = "b_tfid",
1220 
1221  .xf_type = m0_fid_xc,
1222 
1223  .xf_tag = 0,
1224  .xf_opaque = NULL,
1225  .xf_offset = offsetof(struct m0_fop_cob, b_tfid),
1226  .xf_read = NULL,
1227  .xf_decor = {
1229  }
1230  };
1232 
1233  _m0_fop_cob._child[21] = (struct m0_xcode_field) {
1234  .xf_name = "b_pver",
1235 
1236  .xf_type = m0_fid_xc,
1237 
1238  .xf_tag = 0,
1239  .xf_opaque = NULL,
1240  .xf_offset = offsetof(struct m0_fop_cob, b_pver),
1241  .xf_read = NULL,
1242  .xf_decor = {
1244  }
1245  };
1247 
1249 }
1250 
1251 M0_INTERNAL void m0_xc_m0_fop_buf_struct_init(void)
1252 {
1253  _m0_fop_buf._child[0] = (struct m0_xcode_field) {
1254  .xf_name = "b_count",
1255 
1256  .xf_type = &M0_XT_U32,
1257 
1258  .xf_tag = 0,
1259  .xf_opaque = NULL,
1260  .xf_offset = offsetof(struct m0_fop_buf, b_count),
1261  .xf_read = NULL,
1262  .xf_decor = {
1264  }
1265  };
1266  m0_xc_u32_init();
1267 
1268  _m0_fop_buf._child[1] = (struct m0_xcode_field) {
1269  .xf_name = "b_addr",
1270 
1271  .xf_type = &M0_XT_U8,
1272 
1273  .xf_tag = 0,
1274  .xf_opaque = NULL,
1275  .xf_offset = offsetof(struct m0_fop_buf, b_addr),
1276  .xf_read = NULL,
1277  .xf_decor = {
1279  }
1280  };
1281  m0_xc_u8_init();
1282 
1284 }
1285 
1286 M0_INTERNAL void m0_xc_m0_fop_create_struct_init(void)
1287 {
1288  _m0_fop_create._child[0] = (struct m0_xcode_field) {
1289  .xf_name = "c_body",
1290 
1291  .xf_type = m0_fop_cob_xc,
1292 
1293  .xf_tag = 0,
1294  .xf_opaque = NULL,
1295  .xf_offset = offsetof(struct m0_fop_create, c_body),
1296  .xf_read = NULL,
1297  .xf_decor = {
1299  }
1300  };
1302 
1303  _m0_fop_create._child[1] = (struct m0_xcode_field) {
1304  .xf_name = "c_target",
1305 
1306  .xf_type = m0_fop_str_xc,
1307 
1308  .xf_tag = 0,
1309  .xf_opaque = NULL,
1310  .xf_offset = offsetof(struct m0_fop_create, c_target),
1311  .xf_read = NULL,
1312  .xf_decor = {
1314  }
1315  };
1317 
1318  _m0_fop_create._child[2] = (struct m0_xcode_field) {
1319  .xf_name = "c_path",
1320 
1321  .xf_type = m0_fop_str_xc,
1322 
1323  .xf_tag = 0,
1324  .xf_opaque = NULL,
1325  .xf_offset = offsetof(struct m0_fop_create, c_path),
1326  .xf_read = NULL,
1327  .xf_decor = {
1329  }
1330  };
1332 
1333  _m0_fop_create._child[3] = (struct m0_xcode_field) {
1334  .xf_name = "c_name",
1335 
1336  .xf_type = m0_fop_str_xc,
1337 
1338  .xf_tag = 0,
1339  .xf_opaque = NULL,
1340  .xf_offset = offsetof(struct m0_fop_create, c_name),
1341  .xf_read = NULL,
1342  .xf_decor = {
1344  }
1345  };
1347 
1349 }
1350 
1352 {
1353  _m0_fop_create_rep._child[0] = (struct m0_xcode_field) {
1354  .xf_name = "c_rc",
1355 
1356  .xf_type = &M0_XT_U32,
1357 
1358  .xf_tag = 0,
1359  .xf_opaque = NULL,
1360  .xf_offset = offsetof(struct m0_fop_create_rep, c_rc),
1361  .xf_read = NULL,
1362  .xf_decor = {
1364  }
1365  };
1366  m0_xc_u32_init();
1367 
1368  _m0_fop_create_rep._child[1] = (struct m0_xcode_field) {
1369  .xf_name = "c_body",
1370 
1371  .xf_type = m0_fop_cob_xc,
1372 
1373  .xf_tag = 0,
1374  .xf_opaque = NULL,
1375  .xf_offset = offsetof(struct m0_fop_create_rep, c_body),
1376  .xf_read = NULL,
1377  .xf_decor = {
1379  }
1380  };
1382 
1383  _m0_fop_create_rep._child[2] = (struct m0_xcode_field) {
1384  .xf_name = "c_mod_rep",
1385 
1386  .xf_type = m0_fop_mod_rep_xc,
1387 
1388  .xf_tag = 0,
1389  .xf_opaque = NULL,
1390  .xf_offset = offsetof(struct m0_fop_create_rep, c_mod_rep),
1391  .xf_read = NULL,
1392  .xf_decor = {
1394  }
1395  };
1397 
1399 }
1400 
1401 M0_INTERNAL void m0_xc_m0_fop_lookup_struct_init(void)
1402 {
1403  _m0_fop_lookup._child[0] = (struct m0_xcode_field) {
1404  .xf_name = "l_body",
1405 
1406  .xf_type = m0_fop_cob_xc,
1407 
1408  .xf_tag = 0,
1409  .xf_opaque = NULL,
1410  .xf_offset = offsetof(struct m0_fop_lookup, l_body),
1411  .xf_read = NULL,
1412  .xf_decor = {
1414  }
1415  };
1417 
1418  _m0_fop_lookup._child[1] = (struct m0_xcode_field) {
1419  .xf_name = "l_path",
1420 
1421  .xf_type = m0_fop_str_xc,
1422 
1423  .xf_tag = 0,
1424  .xf_opaque = NULL,
1425  .xf_offset = offsetof(struct m0_fop_lookup, l_path),
1426  .xf_read = NULL,
1427  .xf_decor = {
1429  }
1430  };
1432 
1433  _m0_fop_lookup._child[2] = (struct m0_xcode_field) {
1434  .xf_name = "l_name",
1435 
1436  .xf_type = m0_fop_str_xc,
1437 
1438  .xf_tag = 0,
1439  .xf_opaque = NULL,
1440  .xf_offset = offsetof(struct m0_fop_lookup, l_name),
1441  .xf_read = NULL,
1442  .xf_decor = {
1444  }
1445  };
1447 
1449 }
1450 
1452 {
1453  _m0_fop_lookup_rep._child[0] = (struct m0_xcode_field) {
1454  .xf_name = "l_rc",
1455 
1456  .xf_type = &M0_XT_U32,
1457 
1458  .xf_tag = 0,
1459  .xf_opaque = NULL,
1460  .xf_offset = offsetof(struct m0_fop_lookup_rep, l_rc),
1461  .xf_read = NULL,
1462  .xf_decor = {
1464  }
1465  };
1466  m0_xc_u32_init();
1467 
1468  _m0_fop_lookup_rep._child[1] = (struct m0_xcode_field) {
1469  .xf_name = "l_body",
1470 
1471  .xf_type = m0_fop_cob_xc,
1472 
1473  .xf_tag = 0,
1474  .xf_opaque = NULL,
1475  .xf_offset = offsetof(struct m0_fop_lookup_rep, l_body),
1476  .xf_read = NULL,
1477  .xf_decor = {
1479  }
1480  };
1482 
1484 }
1485 
1486 M0_INTERNAL void m0_xc_m0_fop_link_struct_init(void)
1487 {
1488  _m0_fop_link._child[0] = (struct m0_xcode_field) {
1489  .xf_name = "l_body",
1490 
1491  .xf_type = m0_fop_cob_xc,
1492 
1493  .xf_tag = 0,
1494  .xf_opaque = NULL,
1495  .xf_offset = offsetof(struct m0_fop_link, l_body),
1496  .xf_read = NULL,
1497  .xf_decor = {
1499  }
1500  };
1502 
1503  _m0_fop_link._child[1] = (struct m0_xcode_field) {
1504  .xf_name = "l_spath",
1505 
1506  .xf_type = m0_fop_str_xc,
1507 
1508  .xf_tag = 0,
1509  .xf_opaque = NULL,
1510  .xf_offset = offsetof(struct m0_fop_link, l_spath),
1511  .xf_read = NULL,
1512  .xf_decor = {
1514  }
1515  };
1517 
1518  _m0_fop_link._child[2] = (struct m0_xcode_field) {
1519  .xf_name = "l_tpath",
1520 
1521  .xf_type = m0_fop_str_xc,
1522 
1523  .xf_tag = 0,
1524  .xf_opaque = NULL,
1525  .xf_offset = offsetof(struct m0_fop_link, l_tpath),
1526  .xf_read = NULL,
1527  .xf_decor = {
1529  }
1530  };
1532 
1533  _m0_fop_link._child[3] = (struct m0_xcode_field) {
1534  .xf_name = "l_name",
1535 
1536  .xf_type = m0_fop_str_xc,
1537 
1538  .xf_tag = 0,
1539  .xf_opaque = NULL,
1540  .xf_offset = offsetof(struct m0_fop_link, l_name),
1541  .xf_read = NULL,
1542  .xf_decor = {
1544  }
1545  };
1547 
1549 }
1550 
1552 {
1553  _m0_fop_link_rep._child[0] = (struct m0_xcode_field) {
1554  .xf_name = "l_rc",
1555 
1556  .xf_type = &M0_XT_U32,
1557 
1558  .xf_tag = 0,
1559  .xf_opaque = NULL,
1560  .xf_offset = offsetof(struct m0_fop_link_rep, l_rc),
1561  .xf_read = NULL,
1562  .xf_decor = {
1564  }
1565  };
1566  m0_xc_u32_init();
1567 
1568  _m0_fop_link_rep._child[1] = (struct m0_xcode_field) {
1569  .xf_name = "l_body",
1570 
1571  .xf_type = m0_fop_cob_xc,
1572 
1573  .xf_tag = 0,
1574  .xf_opaque = NULL,
1575  .xf_offset = offsetof(struct m0_fop_link_rep, l_body),
1576  .xf_read = NULL,
1577  .xf_decor = {
1579  }
1580  };
1582 
1583  _m0_fop_link_rep._child[2] = (struct m0_xcode_field) {
1584  .xf_name = "l_mod_rep",
1585 
1586  .xf_type = m0_fop_mod_rep_xc,
1587 
1588  .xf_tag = 0,
1589  .xf_opaque = NULL,
1590  .xf_offset = offsetof(struct m0_fop_link_rep, l_mod_rep),
1591  .xf_read = NULL,
1592  .xf_decor = {
1594  }
1595  };
1597 
1599 }
1600 
1601 M0_INTERNAL void m0_xc_m0_fop_unlink_struct_init(void)
1602 {
1603  _m0_fop_unlink._child[0] = (struct m0_xcode_field) {
1604  .xf_name = "u_body",
1605 
1606  .xf_type = m0_fop_cob_xc,
1607 
1608  .xf_tag = 0,
1609  .xf_opaque = NULL,
1610  .xf_offset = offsetof(struct m0_fop_unlink, u_body),
1611  .xf_read = NULL,
1612  .xf_decor = {
1614  }
1615  };
1617 
1618  _m0_fop_unlink._child[1] = (struct m0_xcode_field) {
1619  .xf_name = "u_path",
1620 
1621  .xf_type = m0_fop_str_xc,
1622 
1623  .xf_tag = 0,
1624  .xf_opaque = NULL,
1625  .xf_offset = offsetof(struct m0_fop_unlink, u_path),
1626  .xf_read = NULL,
1627  .xf_decor = {
1629  }
1630  };
1632 
1633  _m0_fop_unlink._child[2] = (struct m0_xcode_field) {
1634  .xf_name = "u_name",
1635 
1636  .xf_type = m0_fop_str_xc,
1637 
1638  .xf_tag = 0,
1639  .xf_opaque = NULL,
1640  .xf_offset = offsetof(struct m0_fop_unlink, u_name),
1641  .xf_read = NULL,
1642  .xf_decor = {
1644  }
1645  };
1647 
1649 }
1650 
1652 {
1653  _m0_fop_unlink_rep._child[0] = (struct m0_xcode_field) {
1654  .xf_name = "u_rc",
1655 
1656  .xf_type = &M0_XT_U32,
1657 
1658  .xf_tag = 0,
1659  .xf_opaque = NULL,
1660  .xf_offset = offsetof(struct m0_fop_unlink_rep, u_rc),
1661  .xf_read = NULL,
1662  .xf_decor = {
1664  }
1665  };
1666  m0_xc_u32_init();
1667 
1668  _m0_fop_unlink_rep._child[1] = (struct m0_xcode_field) {
1669  .xf_name = "u_body",
1670 
1671  .xf_type = m0_fop_cob_xc,
1672 
1673  .xf_tag = 0,
1674  .xf_opaque = NULL,
1675  .xf_offset = offsetof(struct m0_fop_unlink_rep, u_body),
1676  .xf_read = NULL,
1677  .xf_decor = {
1679  }
1680  };
1682 
1683  _m0_fop_unlink_rep._child[2] = (struct m0_xcode_field) {
1684  .xf_name = "u_mod_rep",
1685 
1686  .xf_type = m0_fop_mod_rep_xc,
1687 
1688  .xf_tag = 0,
1689  .xf_opaque = NULL,
1690  .xf_offset = offsetof(struct m0_fop_unlink_rep, u_mod_rep),
1691  .xf_read = NULL,
1692  .xf_decor = {
1694  }
1695  };
1697 
1699 }
1700 
1701 M0_INTERNAL void m0_xc_m0_fop_rename_struct_init(void)
1702 {
1703  _m0_fop_rename._child[0] = (struct m0_xcode_field) {
1704  .xf_name = "r_sbody",
1705 
1706  .xf_type = m0_fop_cob_xc,
1707 
1708  .xf_tag = 0,
1709  .xf_opaque = NULL,
1710  .xf_offset = offsetof(struct m0_fop_rename, r_sbody),
1711  .xf_read = NULL,
1712  .xf_decor = {
1714  }
1715  };
1717 
1718  _m0_fop_rename._child[1] = (struct m0_xcode_field) {
1719  .xf_name = "r_tbody",
1720 
1721  .xf_type = m0_fop_cob_xc,
1722 
1723  .xf_tag = 0,
1724  .xf_opaque = NULL,
1725  .xf_offset = offsetof(struct m0_fop_rename, r_tbody),
1726  .xf_read = NULL,
1727  .xf_decor = {
1729  }
1730  };
1732 
1733  _m0_fop_rename._child[2] = (struct m0_xcode_field) {
1734  .xf_name = "r_spath",
1735 
1736  .xf_type = m0_fop_str_xc,
1737 
1738  .xf_tag = 0,
1739  .xf_opaque = NULL,
1740  .xf_offset = offsetof(struct m0_fop_rename, r_spath),
1741  .xf_read = NULL,
1742  .xf_decor = {
1744  }
1745  };
1747 
1748  _m0_fop_rename._child[3] = (struct m0_xcode_field) {
1749  .xf_name = "r_tpath",
1750 
1751  .xf_type = m0_fop_str_xc,
1752 
1753  .xf_tag = 0,
1754  .xf_opaque = NULL,
1755  .xf_offset = offsetof(struct m0_fop_rename, r_tpath),
1756  .xf_read = NULL,
1757  .xf_decor = {
1759  }
1760  };
1762 
1763  _m0_fop_rename._child[4] = (struct m0_xcode_field) {
1764  .xf_name = "r_sname",
1765 
1766  .xf_type = m0_fop_str_xc,
1767 
1768  .xf_tag = 0,
1769  .xf_opaque = NULL,
1770  .xf_offset = offsetof(struct m0_fop_rename, r_sname),
1771  .xf_read = NULL,
1772  .xf_decor = {
1774  }
1775  };
1777 
1778  _m0_fop_rename._child[5] = (struct m0_xcode_field) {
1779  .xf_name = "r_tname",
1780 
1781  .xf_type = m0_fop_str_xc,
1782 
1783  .xf_tag = 0,
1784  .xf_opaque = NULL,
1785  .xf_offset = offsetof(struct m0_fop_rename, r_tname),
1786  .xf_read = NULL,
1787  .xf_decor = {
1789  }
1790  };
1792 
1794 }
1795 
1797 {
1798  _m0_fop_rename_rep._child[0] = (struct m0_xcode_field) {
1799  .xf_name = "r_rc",
1800 
1801  .xf_type = &M0_XT_U32,
1802 
1803  .xf_tag = 0,
1804  .xf_opaque = NULL,
1805  .xf_offset = offsetof(struct m0_fop_rename_rep, r_rc),
1806  .xf_read = NULL,
1807  .xf_decor = {
1809  }
1810  };
1811  m0_xc_u32_init();
1812 
1813  _m0_fop_rename_rep._child[1] = (struct m0_xcode_field) {
1814  .xf_name = "r_body",
1815 
1816  .xf_type = m0_fop_cob_xc,
1817 
1818  .xf_tag = 0,
1819  .xf_opaque = NULL,
1820  .xf_offset = offsetof(struct m0_fop_rename_rep, r_body),
1821  .xf_read = NULL,
1822  .xf_decor = {
1824  }
1825  };
1827 
1828  _m0_fop_rename_rep._child[2] = (struct m0_xcode_field) {
1829  .xf_name = "r_mod_rep",
1830 
1831  .xf_type = m0_fop_mod_rep_xc,
1832 
1833  .xf_tag = 0,
1834  .xf_opaque = NULL,
1835  .xf_offset = offsetof(struct m0_fop_rename_rep, r_mod_rep),
1836  .xf_read = NULL,
1837  .xf_decor = {
1839  }
1840  };
1842 
1844 }
1845 
1846 M0_INTERNAL void m0_xc_m0_fop_open_struct_init(void)
1847 {
1848  _m0_fop_open._child[0] = (struct m0_xcode_field) {
1849  .xf_name = "o_path",
1850 
1851  .xf_type = m0_fop_str_xc,
1852 
1853  .xf_tag = 0,
1854  .xf_opaque = NULL,
1855  .xf_offset = offsetof(struct m0_fop_open, o_path),
1856  .xf_read = NULL,
1857  .xf_decor = {
1859  }
1860  };
1862 
1863  _m0_fop_open._child[1] = (struct m0_xcode_field) {
1864  .xf_name = "o_body",
1865 
1866  .xf_type = m0_fop_cob_xc,
1867 
1868  .xf_tag = 0,
1869  .xf_opaque = NULL,
1870  .xf_offset = offsetof(struct m0_fop_open, o_body),
1871  .xf_read = NULL,
1872  .xf_decor = {
1874  }
1875  };
1877 
1879 }
1880 
1882 {
1883  _m0_fop_open_rep._child[0] = (struct m0_xcode_field) {
1884  .xf_name = "o_rc",
1885 
1886  .xf_type = &M0_XT_U32,
1887 
1888  .xf_tag = 0,
1889  .xf_opaque = NULL,
1890  .xf_offset = offsetof(struct m0_fop_open_rep, o_rc),
1891  .xf_read = NULL,
1892  .xf_decor = {
1894  }
1895  };
1896  m0_xc_u32_init();
1897 
1898  _m0_fop_open_rep._child[1] = (struct m0_xcode_field) {
1899  .xf_name = "o_body",
1900 
1901  .xf_type = m0_fop_cob_xc,
1902 
1903  .xf_tag = 0,
1904  .xf_opaque = NULL,
1905  .xf_offset = offsetof(struct m0_fop_open_rep, o_body),
1906  .xf_read = NULL,
1907  .xf_decor = {
1909  }
1910  };
1912 
1913  _m0_fop_open_rep._child[2] = (struct m0_xcode_field) {
1914  .xf_name = "o_mod_rep",
1915 
1916  .xf_type = m0_fop_mod_rep_xc,
1917 
1918  .xf_tag = 0,
1919  .xf_opaque = NULL,
1920  .xf_offset = offsetof(struct m0_fop_open_rep, o_mod_rep),
1921  .xf_read = NULL,
1922  .xf_decor = {
1924  }
1925  };
1927 
1929 }
1930 
1931 M0_INTERNAL void m0_xc_m0_fop_close_struct_init(void)
1932 {
1933  _m0_fop_close._child[0] = (struct m0_xcode_field) {
1934  .xf_name = "c_body",
1935 
1936  .xf_type = m0_fop_cob_xc,
1937 
1938  .xf_tag = 0,
1939  .xf_opaque = NULL,
1940  .xf_offset = offsetof(struct m0_fop_close, c_body),
1941  .xf_read = NULL,
1942  .xf_decor = {
1944  }
1945  };
1947 
1948  _m0_fop_close._child[1] = (struct m0_xcode_field) {
1949  .xf_name = "c_path",
1950 
1951  .xf_type = m0_fop_str_xc,
1952 
1953  .xf_tag = 0,
1954  .xf_opaque = NULL,
1955  .xf_offset = offsetof(struct m0_fop_close, c_path),
1956  .xf_read = NULL,
1957  .xf_decor = {
1959  }
1960  };
1962 
1964 }
1965 
1967 {
1968  _m0_fop_close_rep._child[0] = (struct m0_xcode_field) {
1969  .xf_name = "c_rc",
1970 
1971  .xf_type = &M0_XT_U32,
1972 
1973  .xf_tag = 0,
1974  .xf_opaque = NULL,
1975  .xf_offset = offsetof(struct m0_fop_close_rep, c_rc),
1976  .xf_read = NULL,
1977  .xf_decor = {
1979  }
1980  };
1981  m0_xc_u32_init();
1982 
1983  _m0_fop_close_rep._child[1] = (struct m0_xcode_field) {
1984  .xf_name = "c_body",
1985 
1986  .xf_type = m0_fop_cob_xc,
1987 
1988  .xf_tag = 0,
1989  .xf_opaque = NULL,
1990  .xf_offset = offsetof(struct m0_fop_close_rep, c_body),
1991  .xf_read = NULL,
1992  .xf_decor = {
1994  }
1995  };
1997 
1999 }
2000 
2001 M0_INTERNAL void m0_xc_m0_fop_setattr_struct_init(void)
2002 {
2003  _m0_fop_setattr._child[0] = (struct m0_xcode_field) {
2004  .xf_name = "s_body",
2005 
2006  .xf_type = m0_fop_cob_xc,
2007 
2008  .xf_tag = 0,
2009  .xf_opaque = NULL,
2010  .xf_offset = offsetof(struct m0_fop_setattr, s_body),
2011  .xf_read = NULL,
2012  .xf_decor = {
2014  }
2015  };
2017 
2018  _m0_fop_setattr._child[1] = (struct m0_xcode_field) {
2019  .xf_name = "s_path",
2020 
2021  .xf_type = m0_fop_str_xc,
2022 
2023  .xf_tag = 0,
2024  .xf_opaque = NULL,
2025  .xf_offset = offsetof(struct m0_fop_setattr, s_path),
2026  .xf_read = NULL,
2027  .xf_decor = {
2029  }
2030  };
2032 
2034 }
2035 
2037 {
2038  _m0_fop_setattr_rep._child[0] = (struct m0_xcode_field) {
2039  .xf_name = "s_rc",
2040 
2041  .xf_type = &M0_XT_U32,
2042 
2043  .xf_tag = 0,
2044  .xf_opaque = NULL,
2045  .xf_offset = offsetof(struct m0_fop_setattr_rep, s_rc),
2046  .xf_read = NULL,
2047  .xf_decor = {
2049  }
2050  };
2051  m0_xc_u32_init();
2052 
2053  _m0_fop_setattr_rep._child[1] = (struct m0_xcode_field) {
2054  .xf_name = "s_body",
2055 
2056  .xf_type = m0_fop_cob_xc,
2057 
2058  .xf_tag = 0,
2059  .xf_opaque = NULL,
2060  .xf_offset = offsetof(struct m0_fop_setattr_rep, s_body),
2061  .xf_read = NULL,
2062  .xf_decor = {
2064  }
2065  };
2067 
2068  _m0_fop_setattr_rep._child[2] = (struct m0_xcode_field) {
2069  .xf_name = "s_mod_rep",
2070 
2071  .xf_type = m0_fop_mod_rep_xc,
2072 
2073  .xf_tag = 0,
2074  .xf_opaque = NULL,
2075  .xf_offset = offsetof(struct m0_fop_setattr_rep, s_mod_rep),
2076  .xf_read = NULL,
2077  .xf_decor = {
2079  }
2080  };
2082 
2084 }
2085 
2086 M0_INTERNAL void m0_xc_m0_fop_getattr_struct_init(void)
2087 {
2088  _m0_fop_getattr._child[0] = (struct m0_xcode_field) {
2089  .xf_name = "g_body",
2090 
2091  .xf_type = m0_fop_cob_xc,
2092 
2093  .xf_tag = 0,
2094  .xf_opaque = NULL,
2095  .xf_offset = offsetof(struct m0_fop_getattr, g_body),
2096  .xf_read = NULL,
2097  .xf_decor = {
2099  }
2100  };
2102 
2103  _m0_fop_getattr._child[1] = (struct m0_xcode_field) {
2104  .xf_name = "g_path",
2105 
2106  .xf_type = m0_fop_str_xc,
2107 
2108  .xf_tag = 0,
2109  .xf_opaque = NULL,
2110  .xf_offset = offsetof(struct m0_fop_getattr, g_path),
2111  .xf_read = NULL,
2112  .xf_decor = {
2114  }
2115  };
2117 
2119 }
2120 
2122 {
2123  _m0_fop_getattr_rep._child[0] = (struct m0_xcode_field) {
2124  .xf_name = "g_rc",
2125 
2126  .xf_type = &M0_XT_U32,
2127 
2128  .xf_tag = 0,
2129  .xf_opaque = NULL,
2130  .xf_offset = offsetof(struct m0_fop_getattr_rep, g_rc),
2131  .xf_read = NULL,
2132  .xf_decor = {
2134  }
2135  };
2136  m0_xc_u32_init();
2137 
2138  _m0_fop_getattr_rep._child[1] = (struct m0_xcode_field) {
2139  .xf_name = "g_body",
2140 
2141  .xf_type = m0_fop_cob_xc,
2142 
2143  .xf_tag = 0,
2144  .xf_opaque = NULL,
2145  .xf_offset = offsetof(struct m0_fop_getattr_rep, g_body),
2146  .xf_read = NULL,
2147  .xf_decor = {
2149  }
2150  };
2152 
2154 }
2155 
2157 {
2158  _m0_fop_getxattr._child[0] = (struct m0_xcode_field) {
2159  .xf_name = "g_body",
2160 
2161  .xf_type = m0_fop_cob_xc,
2162 
2163  .xf_tag = 0,
2164  .xf_opaque = NULL,
2165  .xf_offset = offsetof(struct m0_fop_getxattr, g_body),
2166  .xf_read = NULL,
2167  .xf_decor = {
2169  }
2170  };
2172 
2173  _m0_fop_getxattr._child[1] = (struct m0_xcode_field) {
2174  .xf_name = "g_key",
2175 
2176  .xf_type = m0_fop_str_xc,
2177 
2178  .xf_tag = 0,
2179  .xf_opaque = NULL,
2180  .xf_offset = offsetof(struct m0_fop_getxattr, g_key),
2181  .xf_read = NULL,
2182  .xf_decor = {
2184  }
2185  };
2187 
2189 }
2190 
2192 {
2194  .xf_name = "g_rc",
2195 
2196  .xf_type = &M0_XT_U32,
2197 
2198  .xf_tag = 0,
2199  .xf_opaque = NULL,
2200  .xf_offset = offsetof(struct m0_fop_getxattr_rep, g_rc),
2201  .xf_read = NULL,
2202  .xf_decor = {
2204  }
2205  };
2206  m0_xc_u32_init();
2207 
2209  .xf_name = "g_body",
2210 
2211  .xf_type = m0_fop_cob_xc,
2212 
2213  .xf_tag = 0,
2214  .xf_opaque = NULL,
2215  .xf_offset = offsetof(struct m0_fop_getxattr_rep, g_body),
2216  .xf_read = NULL,
2217  .xf_decor = {
2219  }
2220  };
2222 
2224  .xf_name = "g_value",
2225 
2226  .xf_type = m0_fop_str_xc,
2227 
2228  .xf_tag = 0,
2229  .xf_opaque = NULL,
2230  .xf_offset = offsetof(struct m0_fop_getxattr_rep, g_value),
2231  .xf_read = NULL,
2232  .xf_decor = {
2234  }
2235  };
2237 
2239 }
2240 
2242 {
2243  _m0_fop_setxattr._child[0] = (struct m0_xcode_field) {
2244  .xf_name = "s_body",
2245 
2246  .xf_type = m0_fop_cob_xc,
2247 
2248  .xf_tag = 0,
2249  .xf_opaque = NULL,
2250  .xf_offset = offsetof(struct m0_fop_setxattr, s_body),
2251  .xf_read = NULL,
2252  .xf_decor = {
2254  }
2255  };
2257 
2258  _m0_fop_setxattr._child[1] = (struct m0_xcode_field) {
2259  .xf_name = "s_key",
2260 
2261  .xf_type = m0_fop_str_xc,
2262 
2263  .xf_tag = 0,
2264  .xf_opaque = NULL,
2265  .xf_offset = offsetof(struct m0_fop_setxattr, s_key),
2266  .xf_read = NULL,
2267  .xf_decor = {
2269  }
2270  };
2272 
2273  _m0_fop_setxattr._child[2] = (struct m0_xcode_field) {
2274  .xf_name = "s_value",
2275 
2276  .xf_type = m0_fop_str_xc,
2277 
2278  .xf_tag = 0,
2279  .xf_opaque = NULL,
2280  .xf_offset = offsetof(struct m0_fop_setxattr, s_value),
2281  .xf_read = NULL,
2282  .xf_decor = {
2284  }
2285  };
2287 
2289 }
2290 
2292 {
2294  .xf_name = "s_rc",
2295 
2296  .xf_type = &M0_XT_U32,
2297 
2298  .xf_tag = 0,
2299  .xf_opaque = NULL,
2300  .xf_offset = offsetof(struct m0_fop_setxattr_rep, s_rc),
2301  .xf_read = NULL,
2302  .xf_decor = {
2304  }
2305  };
2306  m0_xc_u32_init();
2307 
2309  .xf_name = "s_body",
2310 
2311  .xf_type = m0_fop_cob_xc,
2312 
2313  .xf_tag = 0,
2314  .xf_opaque = NULL,
2315  .xf_offset = offsetof(struct m0_fop_setxattr_rep, s_body),
2316  .xf_read = NULL,
2317  .xf_decor = {
2319  }
2320  };
2322 
2324  .xf_name = "s_mod_rep",
2325 
2326  .xf_type = m0_fop_mod_rep_xc,
2327 
2328  .xf_tag = 0,
2329  .xf_opaque = NULL,
2330  .xf_offset = offsetof(struct m0_fop_setxattr_rep, s_mod_rep),
2331  .xf_read = NULL,
2332  .xf_decor = {
2334  }
2335  };
2337 
2339 }
2340 
2342 {
2343  _m0_fop_delxattr._child[0] = (struct m0_xcode_field) {
2344  .xf_name = "d_body",
2345 
2346  .xf_type = m0_fop_cob_xc,
2347 
2348  .xf_tag = 0,
2349  .xf_opaque = NULL,
2350  .xf_offset = offsetof(struct m0_fop_delxattr, d_body),
2351  .xf_read = NULL,
2352  .xf_decor = {
2354  }
2355  };
2357 
2358  _m0_fop_delxattr._child[1] = (struct m0_xcode_field) {
2359  .xf_name = "d_key",
2360 
2361  .xf_type = m0_fop_str_xc,
2362 
2363  .xf_tag = 0,
2364  .xf_opaque = NULL,
2365  .xf_offset = offsetof(struct m0_fop_delxattr, d_key),
2366  .xf_read = NULL,
2367  .xf_decor = {
2369  }
2370  };
2372 
2374 }
2375 
2377 {
2379  .xf_name = "d_rc",
2380 
2381  .xf_type = &M0_XT_U32,
2382 
2383  .xf_tag = 0,
2384  .xf_opaque = NULL,
2385  .xf_offset = offsetof(struct m0_fop_delxattr_rep, d_rc),
2386  .xf_read = NULL,
2387  .xf_decor = {
2389  }
2390  };
2391  m0_xc_u32_init();
2392 
2394  .xf_name = "d_body",
2395 
2396  .xf_type = m0_fop_cob_xc,
2397 
2398  .xf_tag = 0,
2399  .xf_opaque = NULL,
2400  .xf_offset = offsetof(struct m0_fop_delxattr_rep, d_body),
2401  .xf_read = NULL,
2402  .xf_decor = {
2404  }
2405  };
2407 
2409  .xf_name = "d_mod_rep",
2410 
2411  .xf_type = m0_fop_mod_rep_xc,
2412 
2413  .xf_tag = 0,
2414  .xf_opaque = NULL,
2415  .xf_offset = offsetof(struct m0_fop_delxattr_rep, d_mod_rep),
2416  .xf_read = NULL,
2417  .xf_decor = {
2419  }
2420  };
2422 
2424 }
2425 
2427 {
2428  _m0_fop_listxattr._child[0] = (struct m0_xcode_field) {
2429  .xf_name = "l_body",
2430 
2431  .xf_type = m0_fop_cob_xc,
2432 
2433  .xf_tag = 0,
2434  .xf_opaque = NULL,
2435  .xf_offset = offsetof(struct m0_fop_listxattr, l_body),
2436  .xf_read = NULL,
2437  .xf_decor = {
2439  }
2440  };
2442 
2444 }
2445 
2447 {
2449  .xf_name = "l_rc",
2450 
2451  .xf_type = &M0_XT_U32,
2452 
2453  .xf_tag = 0,
2454  .xf_opaque = NULL,
2455  .xf_offset = offsetof(struct m0_fop_listxattr_rep, l_rc),
2456  .xf_read = NULL,
2457  .xf_decor = {
2459  }
2460  };
2461  m0_xc_u32_init();
2462 
2464  .xf_name = "l_end",
2465 
2466  .xf_type = m0_fop_str_xc,
2467 
2468  .xf_tag = 0,
2469  .xf_opaque = NULL,
2470  .xf_offset = offsetof(struct m0_fop_listxattr_rep, l_end),
2471  .xf_read = NULL,
2472  .xf_decor = {
2474  }
2475  };
2477 
2479  .xf_name = "l_body",
2480 
2481  .xf_type = m0_fop_cob_xc,
2482 
2483  .xf_tag = 0,
2484  .xf_opaque = NULL,
2485  .xf_offset = offsetof(struct m0_fop_listxattr_rep, l_body),
2486  .xf_read = NULL,
2487  .xf_decor = {
2489  }
2490  };
2492 
2494  .xf_name = "l_buf",
2495 
2496  .xf_type = m0_fop_buf_xc,
2497 
2498  .xf_tag = 0,
2499  .xf_opaque = NULL,
2500  .xf_offset = offsetof(struct m0_fop_listxattr_rep, l_buf),
2501  .xf_read = NULL,
2502  .xf_decor = {
2504  }
2505  };
2507 
2509 }
2510 
2511 M0_INTERNAL void m0_xc_m0_fop_readdir_struct_init(void)
2512 {
2513  _m0_fop_readdir._child[0] = (struct m0_xcode_field) {
2514  .xf_name = "r_body",
2515 
2516  .xf_type = m0_fop_cob_xc,
2517 
2518  .xf_tag = 0,
2519  .xf_opaque = NULL,
2520  .xf_offset = offsetof(struct m0_fop_readdir, r_body),
2521  .xf_read = NULL,
2522  .xf_decor = {
2524  }
2525  };
2527 
2528  _m0_fop_readdir._child[1] = (struct m0_xcode_field) {
2529  .xf_name = "r_path",
2530 
2531  .xf_type = m0_fop_str_xc,
2532 
2533  .xf_tag = 0,
2534  .xf_opaque = NULL,
2535  .xf_offset = offsetof(struct m0_fop_readdir, r_path),
2536  .xf_read = NULL,
2537  .xf_decor = {
2539  }
2540  };
2542 
2543  _m0_fop_readdir._child[2] = (struct m0_xcode_field) {
2544  .xf_name = "r_pos",
2545 
2546  .xf_type = m0_fop_str_xc,
2547 
2548  .xf_tag = 0,
2549  .xf_opaque = NULL,
2550  .xf_offset = offsetof(struct m0_fop_readdir, r_pos),
2551  .xf_read = NULL,
2552  .xf_decor = {
2554  }
2555  };
2557 
2559 }
2560 
2562 {
2563  _m0_fop_readdir_rep._child[0] = (struct m0_xcode_field) {
2564  .xf_name = "r_rc",
2565 
2566  .xf_type = &M0_XT_U32,
2567 
2568  .xf_tag = 0,
2569  .xf_opaque = NULL,
2570  .xf_offset = offsetof(struct m0_fop_readdir_rep, r_rc),
2571  .xf_read = NULL,
2572  .xf_decor = {
2574  }
2575  };
2576  m0_xc_u32_init();
2577 
2578  _m0_fop_readdir_rep._child[1] = (struct m0_xcode_field) {
2579  .xf_name = "r_end",
2580 
2581  .xf_type = m0_fop_str_xc,
2582 
2583  .xf_tag = 0,
2584  .xf_opaque = NULL,
2585  .xf_offset = offsetof(struct m0_fop_readdir_rep, r_end),
2586  .xf_read = NULL,
2587  .xf_decor = {
2589  }
2590  };
2592 
2593  _m0_fop_readdir_rep._child[2] = (struct m0_xcode_field) {
2594  .xf_name = "r_body",
2595 
2596  .xf_type = m0_fop_cob_xc,
2597 
2598  .xf_tag = 0,
2599  .xf_opaque = NULL,
2600  .xf_offset = offsetof(struct m0_fop_readdir_rep, r_body),
2601  .xf_read = NULL,
2602  .xf_decor = {
2604  }
2605  };
2607 
2608  _m0_fop_readdir_rep._child[3] = (struct m0_xcode_field) {
2609  .xf_name = "r_buf",
2610 
2611  .xf_type = m0_fop_buf_xc,
2612 
2613  .xf_tag = 0,
2614  .xf_opaque = NULL,
2615  .xf_offset = offsetof(struct m0_fop_readdir_rep, r_buf),
2616  .xf_read = NULL,
2617  .xf_decor = {
2619  }
2620  };
2622 
2624 }
2625 
2626 M0_INTERNAL void m0_xc_m0_fop_statfs_struct_init(void)
2627 {
2628  _m0_fop_statfs._child[0] = (struct m0_xcode_field) {
2629  .xf_name = "f_flags",
2630 
2631  .xf_type = &M0_XT_U64,
2632 
2633  .xf_tag = 0,
2634  .xf_opaque = NULL,
2635  .xf_offset = offsetof(struct m0_fop_statfs, f_flags),
2636  .xf_read = NULL,
2637  .xf_decor = {
2639  }
2640  };
2641  m0_xc_u64_init();
2642 
2644 }
2645 
2647 {
2648  _m0_fop_statfs_rep._child[0] = (struct m0_xcode_field) {
2649  .xf_name = "f_rc",
2650 
2651  .xf_type = &M0_XT_U32,
2652 
2653  .xf_tag = 0,
2654  .xf_opaque = NULL,
2655  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_rc),
2656  .xf_read = NULL,
2657  .xf_decor = {
2659  }
2660  };
2661  m0_xc_u32_init();
2662 
2663  _m0_fop_statfs_rep._child[1] = (struct m0_xcode_field) {
2664  .xf_name = "f_type",
2665 
2666  .xf_type = &M0_XT_U64,
2667 
2668  .xf_tag = 0,
2669  .xf_opaque = NULL,
2670  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_type),
2671  .xf_read = NULL,
2672  .xf_decor = {
2674  }
2675  };
2676  m0_xc_u64_init();
2677 
2678  _m0_fop_statfs_rep._child[2] = (struct m0_xcode_field) {
2679  .xf_name = "f_bsize",
2680 
2681  .xf_type = &M0_XT_U32,
2682 
2683  .xf_tag = 0,
2684  .xf_opaque = NULL,
2685  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_bsize),
2686  .xf_read = NULL,
2687  .xf_decor = {
2689  }
2690  };
2691  m0_xc_u32_init();
2692 
2693  _m0_fop_statfs_rep._child[3] = (struct m0_xcode_field) {
2694  .xf_name = "f_blocks",
2695 
2696  .xf_type = &M0_XT_U64,
2697 
2698  .xf_tag = 0,
2699  .xf_opaque = NULL,
2700  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_blocks),
2701  .xf_read = NULL,
2702  .xf_decor = {
2704  }
2705  };
2706  m0_xc_u64_init();
2707 
2708  _m0_fop_statfs_rep._child[4] = (struct m0_xcode_field) {
2709  .xf_name = "f_bfree",
2710 
2711  .xf_type = &M0_XT_U64,
2712 
2713  .xf_tag = 0,
2714  .xf_opaque = NULL,
2715  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_bfree),
2716  .xf_read = NULL,
2717  .xf_decor = {
2719  }
2720  };
2721  m0_xc_u64_init();
2722 
2723  _m0_fop_statfs_rep._child[5] = (struct m0_xcode_field) {
2724  .xf_name = "f_bavail",
2725 
2726  .xf_type = &M0_XT_U64,
2727 
2728  .xf_tag = 0,
2729  .xf_opaque = NULL,
2730  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_bavail),
2731  .xf_read = NULL,
2732  .xf_decor = {
2734  }
2735  };
2736  m0_xc_u64_init();
2737 
2738  _m0_fop_statfs_rep._child[6] = (struct m0_xcode_field) {
2739  .xf_name = "f_files",
2740 
2741  .xf_type = &M0_XT_U64,
2742 
2743  .xf_tag = 0,
2744  .xf_opaque = NULL,
2745  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_files),
2746  .xf_read = NULL,
2747  .xf_decor = {
2749  }
2750  };
2751  m0_xc_u64_init();
2752 
2753  _m0_fop_statfs_rep._child[7] = (struct m0_xcode_field) {
2754  .xf_name = "f_ffree",
2755 
2756  .xf_type = &M0_XT_U64,
2757 
2758  .xf_tag = 0,
2759  .xf_opaque = NULL,
2760  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_ffree),
2761  .xf_read = NULL,
2762  .xf_decor = {
2764  }
2765  };
2766  m0_xc_u64_init();
2767 
2768  _m0_fop_statfs_rep._child[8] = (struct m0_xcode_field) {
2769  .xf_name = "f_namelen",
2770 
2771  .xf_type = &M0_XT_U32,
2772 
2773  .xf_tag = 0,
2774  .xf_opaque = NULL,
2775  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_namelen),
2776  .xf_read = NULL,
2777  .xf_decor = {
2779  }
2780  };
2781  m0_xc_u32_init();
2782 
2783  _m0_fop_statfs_rep._child[9] = (struct m0_xcode_field) {
2784  .xf_name = "f_root",
2785 
2786  .xf_type = m0_fid_xc,
2787 
2788  .xf_tag = 0,
2789  .xf_opaque = NULL,
2790  .xf_offset = offsetof(struct m0_fop_statfs_rep, f_root),
2791  .xf_read = NULL,
2792  .xf_decor = {
2794  }
2795  };
2797 
2799 }
2800 
2801 M0_INTERNAL void m0_xc_mdservice_md_fops_init(void)
2802 {
2835 }
2836 
2837 M0_INTERNAL void m0_xc_mdservice_md_fops_fini(void)
2838 {
2839 }
uint32_t b_ctime
Definition: md_fops.h:414
struct m0_xcode_type * m0_fop_unlink_rep_xc
Definition: md_fops_xc.c:19
uint64_t b_nid
Definition: md_fops.h:410
M0_INTERNAL void m0_xc_m0_fop_link_rep_struct_init(void)
Definition: md_fops_xc.c:1551
struct m0_xcode_type * m0_fop_mod_rep_xc
Definition: wire_xc.c:14
M0_INTERNAL void m0_xc_m0_fop_delxattr_rep_struct_init(void)
Definition: md_fops_xc.c:2376
struct m0_xcode_type * m0_fop_open_rep_xc
Definition: md_fops_xc.c:23
struct m0_xcode_field _child[6]
Definition: md_fops_xc.c:215
static struct _m0_fop_buf_s _m0_fop_buf
struct m0_xcode_type * m0_fop_close_rep_xc
Definition: md_fops_xc.c:25
struct m0_xcode_type _type
Definition: md_fops_xc.c:316
static struct _m0_fop_listxattr_s _m0_fop_listxattr
#define NULL
Definition: misc.h:38
struct m0_xcode_type * m0_fop_cob_xc
Definition: md_fops_xc.c:10
static struct _m0_fop_listxattr_rep_s _m0_fop_listxattr_rep
struct m0_xcode_type * m0_fop_lookup_xc
Definition: md_fops_xc.c:14
struct m0_fop_str u_name
Definition: md_fops.h:399
static struct _m0_fop_cob_s _m0_fop_cob
uint64_t b_index
Definition: md_fops.h:398
M0_INTERNAL void m0_xc_m0_fop_create_rep_struct_init(void)
Definition: md_fops_xc.c:1351
M0_INTERNAL void m0_xc_m0_fop_lookup_rep_struct_init(void)
Definition: md_fops_xc.c:1451
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:317
M0_INTERNAL void m0_xc_m0_fop_rename_rep_struct_init(void)
Definition: md_fops_xc.c:1796
struct m0_xcode_type * m0_fop_readdir_rep_xc
Definition: md_fops_xc.c:39
M0_INTERNAL void m0_xc_m0_fop_unlink_rep_struct_init(void)
Definition: md_fops_xc.c:1651
uint32_t f_bsize
Definition: md_fops.h:399
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:436
M0_INTERNAL void m0_xc_m0_fop_link_struct_init(void)
Definition: md_fops_xc.c:1486
struct m0_fop_cob u_body
Definition: md_fops.h:397
struct m0_xcode_type _type
Definition: md_fops_xc.c:299
struct m0_xcode_type * m0_fop_listxattr_xc
Definition: md_fops_xc.c:36
struct m0_xcode_field _child[10]
Definition: md_fops_xc.c:572
struct m0_xcode_type _type
Definition: md_fops_xc.c:44
M0_INTERNAL void m0_xc_m0_fop_buf_struct_init(void)
Definition: md_fops_xc.c:1251
M0_INTERNAL void m0_xc_m0_fop_getxattr_struct_init(void)
Definition: md_fops_xc.c:2156
struct m0_xcode_field _child[4]
Definition: md_fops_xc.c:504
static struct _m0_fop_rename_s _m0_fop_rename
int32_t l_rc
Definition: md_fops.h:397
static struct _m0_fop_rename_rep_s _m0_fop_rename_rep
uint64_t f_files
Definition: md_fops.h:403
static struct _m0_fop_unlink_s _m0_fop_unlink
struct m0_fop_str o_path
Definition: md_fops.h:397
M0_INTERNAL void m0_xc_m0_fop_lookup_struct_init(void)
Definition: md_fops_xc.c:1401
int32_t f_rc
Definition: md_fops.h:397
struct m0_xcode_field xct_child[0]
Definition: xcode.h:345
struct m0_xcode_type _type
Definition: md_fops_xc.c:486
struct m0_fop_str c_path
Definition: md_fops.h:399
uint32_t f_namelen
Definition: md_fops.h:405
static struct _m0_fop_close_rep_s _m0_fop_close_rep
struct m0_xcode_type _type
Definition: md_fops_xc.c:469
struct m0_xcode_field _child[4]
Definition: md_fops_xc.c:79
M0_INTERNAL void m0_xc_m0_fop_statfs_struct_init(void)
Definition: md_fops_xc.c:2626
M0_INTERNAL void m0_xc_m0_fid_struct_init(void)
Definition: fid_xc.c:64
struct m0_fop_buf l_buf
Definition: md_fops.h:400
struct m0_xcode_type * m0_fop_rename_rep_xc
Definition: md_fops_xc.c:21
struct m0_fop_cob l_body
Definition: md_fops.h:397
struct m0_fop_str r_end
Definition: md_fops.h:398
struct m0_xcode_type * m0_fop_create_rep_xc
Definition: md_fops_xc.c:13
M0_INTERNAL void m0_xc_m0_fop_getattr_rep_struct_init(void)
Definition: md_fops_xc.c:2121
struct m0_xcode_type _type
Definition: md_fops_xc.c:367
static struct _m0_fop_getxattr_s _m0_fop_getxattr
struct m0_fop_str g_key
Definition: md_fops.h:398
struct m0_xcode_type _type
Definition: md_fops_xc.c:571
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:96
M0_INTERNAL void m0_xc_m0_fop_readdir_struct_init(void)
Definition: md_fops_xc.c:2511
M0_INTERNAL void m0_xc_m0_fop_close_rep_struct_init(void)
Definition: md_fops_xc.c:1966
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:521
static struct _m0_fop_setxattr_rep_s _m0_fop_setxattr_rep
M0_INTERNAL void m0_xc_m0_fop_cob_struct_init(void)
Definition: md_fops_xc.c:916
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:113
struct m0_xcode_type * m0_fop_listxattr_rep_xc
Definition: md_fops_xc.c:37
struct m0_fop_str g_value
Definition: md_fops.h:399
uint32_t b_rc
Definition: md_fops.h:397
struct m0_xcode_type _type
Definition: md_fops_xc.c:214
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:130
int32_t s_rc
Definition: md_fops.h:397
M0_INTERNAL void m0_xc_mdservice_md_fops_fini(void)
Definition: md_fops_xc.c:2837
struct m0_fop_cob r_sbody
Definition: md_fops.h:397
struct m0_fop_cob r_body
Definition: md_fops.h:398
M0_INTERNAL void m0_xc_m0_fop_setattr_rep_struct_init(void)
Definition: md_fops_xc.c:2036
M0_INTERNAL void m0_xc_m0_fop_open_rep_struct_init(void)
Definition: md_fops_xc.c:1881
struct m0_fop_cob r_tbody
Definition: md_fops.h:398
struct m0_xcode_type _type
Definition: md_fops_xc.c:95
struct m0_fop_str c_name
Definition: md_fops.h:400
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:300
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:368
uint32_t b_mode
Definition: md_fops.h:402
M0_INTERNAL void m0_xc_m0_fop_close_struct_init(void)
Definition: md_fops_xc.c:1931
static struct _m0_fop_delxattr_rep_s _m0_fop_delxattr_rep
static struct _m0_fop_readdir_rep_s _m0_fop_readdir_rep
static struct _m0_fop_getxattr_rep_s _m0_fop_getxattr_rep
M0_INTERNAL void m0_xc_m0_fop_setxattr_struct_init(void)
Definition: md_fops_xc.c:2241
static struct _m0_fop_close_s _m0_fop_close
void * b_addr
Definition: buf.h:231
static struct _m0_fop_lookup_s _m0_fop_lookup
struct m0_xcode_type * m0_fop_rename_xc
Definition: md_fops_xc.c:20
struct m0_xcode_type * m0_fop_getxattr_rep_xc
Definition: md_fops_xc.c:31
struct m0_fop_str r_spath
Definition: md_fops.h:399
struct m0_xcode_type _type
Definition: md_fops_xc.c:520
M0_INTERNAL void m0_xc_m0_fop_create_struct_init(void)
Definition: md_fops_xc.c:1286
struct m0_fop_str l_name
Definition: md_fops.h:399
uint32_t b_rdev
Definition: md_fops.h:411
uint32_t b_uid
Definition: md_fops.h:407
M0_INTERNAL void m0_xc_m0_fop_unlink_struct_init(void)
Definition: md_fops_xc.c:1601
static struct _m0_fop_statfs_rep_s _m0_fop_statfs_rep
struct m0_fop_str r_tpath
Definition: md_fops.h:400
struct m0_fop_str c_target
Definition: md_fops.h:398
M0_INTERNAL void m0_xc_m0_fop_statfs_rep_struct_init(void)
Definition: md_fops_xc.c:2646
M0_INTERNAL void m0_xc_mdservice_md_fops_init(void)
Definition: md_fops_xc.c:2801
static struct _m0_fop_getattr_s _m0_fop_getattr
struct m0_fop_mod_rep u_mod_rep
Definition: md_fops.h:399
M0_INTERNAL void m0_xc_m0_fop_setattr_struct_init(void)
Definition: md_fops_xc.c:2001
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:385
uint32_t b_sid
Definition: md_fops.h:409
struct m0_xcode_field _child[22]
Definition: md_fops_xc.c:45
uint64_t f_ffree
Definition: md_fops.h:404
struct m0_xcode_type _type
Definition: md_fops_xc.c:350
uint64_t b_blksize
Definition: md_fops.h:404
struct m0_fop_str s_path
Definition: md_fops.h:398
struct m0_xcode_type * m0_fop_link_xc
Definition: md_fops_xc.c:16
static struct _m0_fop_setattr_rep_s _m0_fop_setattr_rep
uint64_t b_size
Definition: md_fops.h:403
struct m0_fop_mod_rep o_mod_rep
Definition: md_fops.h:399
struct m0_xcode_type _type
Definition: md_fops_xc.c:129
static struct _m0_fop_setattr_s _m0_fop_setattr
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:249
struct m0_xcode_type * m0_fop_create_xc
Definition: md_fops_xc.c:12
struct m0_xcode_type _type
Definition: md_fops_xc.c:554
struct m0_xcode_type * m0_fop_str_xc
Definition: wire_xc.c:11
uint32_t b_count
Definition: md_fops.h:397
struct m0_xcode_type * m0_fop_setattr_rep_xc
Definition: md_fops_xc.c:27
struct m0_xcode_field _child[4]
Definition: md_fops_xc.c:538
struct m0_xcode_type _type
Definition: md_fops_xc.c:231
M0_INTERNAL void m0_xc_m0_fop_delxattr_struct_init(void)
Definition: md_fops_xc.c:2341
M0_INTERNAL void m0_xc_m0_fop_getattr_struct_init(void)
Definition: md_fops_xc.c:2086
struct m0_fop_str s_value
Definition: md_fops.h:399
struct m0_fop_cob g_body
Definition: md_fops.h:397
struct m0_xcode_type _type
Definition: md_fops_xc.c:503
static struct _m0_fop_link_s _m0_fop_link
static struct _m0_fop_create_s _m0_fop_create
M0_INTERNAL void m0_xc_m0_fop_readdir_rep_struct_init(void)
Definition: md_fops_xc.c:2561
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:351
#define M0_POST(cond)
struct m0_fop_str l_spath
Definition: md_fops.h:398
struct m0_fop_str l_path
Definition: md_fops.h:398
struct m0_fop_cob d_body
Definition: md_fops.h:397
struct m0_fop_str r_pos
Definition: md_fops.h:399
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:453
struct m0_fid f_root
Definition: md_fops.h:406
struct m0_fop_buf r_buf
Definition: md_fops.h:400
uint64_t f_flags
Definition: md_fops.h:397
struct m0_xcode_type _type
Definition: md_fops_xc.c:435
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
Definition: xcode.c:74
struct m0_xcode_type * m0_fop_statfs_rep_xc
Definition: md_fops_xc.c:41
struct m0_xcode_type _type
Definition: md_fops_xc.c:248
struct m0_xcode_type _type
Definition: md_fops_xc.c:418
M0_INTERNAL void m0_xc_m0_fop_listxattr_rep_struct_init(void)
Definition: md_fops_xc.c:2446
M0_INTERNAL void m0_xc_m0_fop_mod_rep_struct_init(void)
Definition: wire_xc.c:315
struct m0_xcode_type _type
Definition: md_fops_xc.c:78
uint64_t b_lid
Definition: md_fops.h:415
struct m0_xcode_type * m0_fop_getattr_rep_xc
Definition: md_fops_xc.c:29
M0_INTERNAL void m0_xc_m0_fop_listxattr_struct_init(void)
Definition: md_fops_xc.c:2426
struct m0_fid b_pver
Definition: md_fops.h:418
M0_INTERNAL void m0_xc_m0_fop_setxattr_rep_struct_init(void)
Definition: md_fops_xc.c:2291
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:334
struct m0_xcode_type _type
Definition: md_fops_xc.c:265
void m0_xc_u64_init(void)
Definition: xcode.c:904
M0_BASSERT(offsetof(struct _m0_fop_cob_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
struct m0_fop_cob s_body
Definition: md_fops.h:397
struct m0_xcode_type * m0_fop_open_xc
Definition: md_fops_xc.c:22
struct m0_fop_mod_rep c_mod_rep
Definition: md_fops.h:399
uint32_t b_flags
Definition: md_fops.h:400
struct m0_xcode_type _type
Definition: md_fops_xc.c:384
struct m0_fop_mod_rep l_mod_rep
Definition: md_fops.h:399
struct m0_xcode_type * m0_fop_getxattr_xc
Definition: md_fops_xc.c:30
uint64_t f_type
Definition: md_fops.h:398
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:283
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:470
struct m0_xcode_type _type
Definition: md_fops_xc.c:333
struct m0_fop_mod_rep s_mod_rep
Definition: md_fops.h:399
uint32_t b_mtime
Definition: md_fops.h:413
static struct _m0_fop_open_s _m0_fop_open
const struct m0_xcode_type M0_XT_U32
Definition: xcode.c:932
static struct _m0_fop_unlink_rep_s _m0_fop_unlink_rep
static struct _m0_fop_create_rep_s _m0_fop_create_rep
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:266
struct m0_fop_mod_rep d_mod_rep
Definition: md_fops.h:399
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:419
M0_INTERNAL void m0_xc_m0_fop_getxattr_rep_struct_init(void)
Definition: md_fops_xc.c:2191
enum m0_xcode_aggr xct_aggr
Definition: xcode.h:316
struct m0_fop_str l_tpath
Definition: md_fops.h:399
struct m0_xcode_type * m0_fop_unlink_xc
Definition: md_fops_xc.c:18
uint64_t b_version
Definition: md_fops.h:399
static struct _m0_fop_delxattr_s _m0_fop_delxattr
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:402
struct m0_xcode_type * m0_fop_delxattr_xc
Definition: md_fops_xc.c:34
uint32_t b_valid
Definition: md_fops.h:401
static struct _m0_fop_getattr_rep_s _m0_fop_getattr_rep
uint32_t b_atime
Definition: md_fops.h:412
struct m0_fop_str g_path
Definition: md_fops.h:398
struct m0_xcode_type _type
Definition: md_fops_xc.c:537
struct m0_xcode_field _child[1]
Definition: md_fops_xc.c:555
struct m0_fid b_tfid
Definition: md_fops.h:417
static struct _m0_fop_readdir_s _m0_fop_readdir
int32_t u_rc
Definition: md_fops.h:397
struct m0_fop_str s_key
Definition: md_fops.h:398
struct m0_xcode_type _type
Definition: md_fops_xc.c:452
struct m0_xcode_type _type
Definition: md_fops_xc.c:401
struct m0_xcode_field _child[1]
Definition: md_fops_xc.c:487
struct m0_xcode_type * m0_fop_setxattr_xc
Definition: md_fops_xc.c:32
const struct m0_xcode_type M0_XT_U8
Definition: xcode.c:924
uint64_t f_blocks
Definition: md_fops.h:400
struct m0_fop_str r_path
Definition: md_fops.h:398
struct m0_fop_str l_end
Definition: md_fops.h:398
struct m0_xcode_type * m0_fop_getattr_xc
Definition: md_fops_xc.c:28
struct m0_xcode_type _type
Definition: md_fops_xc.c:112
struct m0_xcode_type * m0_fop_close_xc
Definition: md_fops_xc.c:24
void m0_xc_u8_init(void)
Definition: xcode.c:892
static struct _m0_fop_statfs_s _m0_fop_statfs
void m0_xc_u32_init(void)
Definition: xcode.c:900
struct m0_fop_mod_rep r_mod_rep
Definition: md_fops.h:399
uint64_t f_bavail
Definition: md_fops.h:402
struct m0_xcode_type * m0_fop_setxattr_rep_xc
Definition: md_fops_xc.c:33
struct m0_xcode_type _type
Definition: md_fops_xc.c:61
uint32_t b_nlink
Definition: md_fops.h:406
uint64_t b_blocks
Definition: md_fops.h:405
M0_INTERNAL void m0_xc_m0_fop_rename_struct_init(void)
Definition: md_fops_xc.c:1701
int32_t c_rc
Definition: io_fops.h:278
M0_INTERNAL void m0_xc_m0_fop_open_struct_init(void)
Definition: md_fops_xc.c:1846
struct m0_xcode_field _child[2]
Definition: md_fops_xc.c:62
struct m0_xcode_type * m0_fop_setattr_xc
Definition: md_fops_xc.c:26
struct m0_xcode_type * m0_fop_statfs_xc
Definition: md_fops_xc.c:40
struct m0_xcode_type * m0_fop_readdir_xc
Definition: md_fops_xc.c:38
struct m0_xcode_type * m0_fop_lookup_rep_xc
Definition: md_fops_xc.c:15
struct m0_fop_str r_sname
Definition: md_fops.h:401
static struct _m0_fop_link_rep_s _m0_fop_link_rep
static struct _m0_fop_setxattr_s _m0_fop_setxattr
const char * xf_name
Definition: xcode.h:251
static struct _m0_fop_lookup_rep_s _m0_fop_lookup_rep
struct m0_fid b_pfid
Definition: md_fops.h:416
struct m0_fop_str r_tname
Definition: md_fops.h:402
static struct _m0_fop_open_rep_s _m0_fop_open_rep
struct m0_xcode_type * m0_fid_xc
Definition: fid_xc.c:10
int32_t d_rc
Definition: md_fops.h:397
const struct m0_xcode_type M0_XT_U64
Definition: xcode.c:940
uint64_t f_bfree
Definition: md_fops.h:401
struct m0_xcode_field _child[3]
Definition: md_fops_xc.c:232
struct m0_fop_cob c_body
Definition: io_fops.h:279
struct m0_fop_str u_path
Definition: md_fops.h:398
uint32_t b_gid
Definition: md_fops.h:408
M0_INTERNAL void m0_xc_m0_fop_str_struct_init(void)
Definition: wire_xc.c:210
int32_t o_rc
Definition: md_fops.h:397
#define offsetof(typ, memb)
Definition: misc.h:29
struct m0_xcode_type * m0_fop_link_rep_xc
Definition: md_fops_xc.c:17
struct m0_xcode_type * m0_fop_buf_xc
Definition: md_fops_xc.c:11
struct m0_fop_str d_key
Definition: md_fops.h:398
struct m0_xcode_type _type
Definition: md_fops_xc.c:282
struct m0_xcode_type * m0_fop_delxattr_rep_xc
Definition: md_fops_xc.c:35
struct m0_fop_cob o_body
Definition: md_fops.h:398
int32_t r_rc
Definition: md_fops.h:397
int32_t g_rc
Definition: md_fops.h:397