Motr  M0
rm_fops_xc.c
Go to the documentation of this file.
1 /* This file is automatically generated from rm/rm_fops.h */
2 
3 #include "lib/misc.h" /* offsetof */
4 #include "lib/assert.h"
5 #include "xcode/xcode.h"
6 
7 #include "rm/rm_fops.h"
8 #include "rm/rm_fops_xc.h"
9 
19 
20 static struct _m0_rm_fop_owner_s {
23 } _m0_rm_fop_owner = {
24  ._type = {
26  .xct_name = "m0_rm_fop_owner",
27  .xct_sizeof = sizeof (struct m0_rm_fop_owner),
28  .xct_nr = 2,
29  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
30  }
31 };
32 
34 M0_BASSERT(offsetof(struct _m0_rm_fop_owner_s, _child[0]) ==
35  offsetof(struct m0_xcode_type, xct_child[0]));
36 
37 static struct _m0_rm_fop_loan_s {
40 } _m0_rm_fop_loan = {
41  ._type = {
43  .xct_name = "m0_rm_fop_loan",
44  .xct_sizeof = sizeof (struct m0_rm_fop_loan),
45  .xct_nr = 1,
46  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
47  }
48 };
49 
51 M0_BASSERT(offsetof(struct _m0_rm_fop_loan_s, _child[0]) ==
52  offsetof(struct m0_xcode_type, xct_child[0]));
53 
54 static struct _m0_rm_fop_credit_s {
58  ._type = {
60  .xct_name = "m0_rm_fop_credit",
61  .xct_sizeof = sizeof (struct m0_rm_fop_credit),
62  .xct_nr = 1,
63  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
64  }
65 };
66 
68 M0_BASSERT(offsetof(struct _m0_rm_fop_credit_s, _child[0]) ==
69  offsetof(struct m0_xcode_type, xct_child[0]));
70 
71 static struct _m0_rm_fop_req_s {
74 } _m0_rm_fop_req = {
75  ._type = {
77  .xct_name = "m0_rm_fop_req",
78  .xct_sizeof = sizeof (struct m0_rm_fop_req),
79  .xct_nr = 7,
80  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
81  }
82 };
83 
85 M0_BASSERT(offsetof(struct _m0_rm_fop_req_s, _child[0]) ==
86  offsetof(struct m0_xcode_type, xct_child[0]));
87 
88 static struct _m0_rm_fop_borrow_s {
92  ._type = {
94  .xct_name = "m0_rm_fop_borrow",
95  .xct_sizeof = sizeof (struct m0_rm_fop_borrow),
96  .xct_nr = 3,
97  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
98  }
99 };
100 
102 M0_BASSERT(offsetof(struct _m0_rm_fop_borrow_s, _child[0]) ==
103  offsetof(struct m0_xcode_type, xct_child[0]));
104 
105 static struct _m0_rm_fop_borrow_rep_s {
109  ._type = {
111  .xct_name = "m0_rm_fop_borrow_rep",
112  .xct_sizeof = sizeof (struct m0_rm_fop_borrow_rep),
113  .xct_nr = 5,
114  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
115  }
116 };
117 
119 M0_BASSERT(offsetof(struct _m0_rm_fop_borrow_rep_s, _child[0]) ==
120  offsetof(struct m0_xcode_type, xct_child[0]));
121 
122 static struct _m0_rm_fop_revoke_s {
125 } _m0_rm_fop_revoke = {
126  ._type = {
128  .xct_name = "m0_rm_fop_revoke",
129  .xct_sizeof = sizeof (struct m0_rm_fop_revoke),
130  .xct_nr = 2,
131  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
132  }
133 };
134 
136 M0_BASSERT(offsetof(struct _m0_rm_fop_revoke_s, _child[0]) ==
137  offsetof(struct m0_xcode_type, xct_child[0]));
138 
139 static struct _m0_rm_fop_revoke_rep_s {
143  ._type = {
145  .xct_name = "m0_rm_fop_revoke_rep",
146  .xct_sizeof = sizeof (struct m0_rm_fop_revoke_rep),
147  .xct_nr = 2,
148  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
149  }
150 };
151 
153 M0_BASSERT(offsetof(struct _m0_rm_fop_revoke_rep_s, _child[0]) ==
154  offsetof(struct m0_xcode_type, xct_child[0]));
155 
156 static struct _m0_rm_fop_cancel_s {
159 } _m0_rm_fop_cancel = {
160  ._type = {
162  .xct_name = "m0_rm_fop_cancel",
163  .xct_sizeof = sizeof (struct m0_rm_fop_cancel),
164  .xct_nr = 2,
165  .xct_flags = M0_XCODE_TYPE_FLAG_DOM_RPC,
166  }
167 };
168 
170 M0_BASSERT(offsetof(struct _m0_rm_fop_cancel_s, _child[0]) ==
171  offsetof(struct m0_xcode_type, xct_child[0]));
172 
173 
174 M0_BASSERT(sizeof(struct m0_rm_fop_owner) == 32U);
175 
176 M0_BASSERT(sizeof ((struct m0_rm_fop_owner *)0)->ow_cookie == 16U);
178 M0_BASSERT(sizeof ((struct m0_rm_fop_owner *)0)->ow_resource == 16U);
180 
181 M0_BASSERT(sizeof(struct m0_rm_fop_loan) == 16U);
182 
183 M0_BASSERT(sizeof ((struct m0_rm_fop_loan *)0)->lo_cookie == 16U);
185 
186 M0_BASSERT(sizeof(struct m0_rm_fop_credit) == 16U);
187 
188 M0_BASSERT(sizeof ((struct m0_rm_fop_credit *)0)->cr_opaque == 16U);
190 
191 M0_BASSERT(sizeof(struct m0_rm_fop_req) == 96U);
192 
193 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_owner == 32U);
195 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_credit == 16U);
197 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_policy == 8U);
199 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_flags == 8U);
200 M0_BASSERT(offsetof(struct m0_rm_fop_req, rrq_flags) == 56U);
201 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_orig_owner == 16U);
203 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_orig_time == 8U);
205 M0_BASSERT(sizeof ((struct m0_rm_fop_req *)0)->rrq_orig_seq == 8U);
207 
208 M0_BASSERT(sizeof(struct m0_rm_fop_borrow) == 144U);
209 
210 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow *)0)->bo_base == 96U);
212 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow *)0)->bo_creditor == 32U);
214 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow *)0)->bo_group_id == 16U);
216 
217 M0_BASSERT(sizeof(struct m0_rm_fop_borrow_rep) == 72U);
218 
219 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow_rep *)0)->br_rc == 4U);
221 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow_rep *)0)->br_loan == 16U);
223 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow_rep *)0)->br_credit == 16U);
225 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow_rep *)0)->br_lvb == 16U);
227 M0_BASSERT(sizeof ((struct m0_rm_fop_borrow_rep *)0)->br_creditor_cookie == 16U);
229 
230 M0_BASSERT(sizeof(struct m0_rm_fop_revoke) == 112U);
231 
232 M0_BASSERT(sizeof ((struct m0_rm_fop_revoke *)0)->fr_base == 96U);
234 M0_BASSERT(sizeof ((struct m0_rm_fop_revoke *)0)->fr_loan == 16U);
236 
237 M0_BASSERT(sizeof(struct m0_rm_fop_revoke_rep) == 24U);
238 
239 M0_BASSERT(sizeof ((struct m0_rm_fop_revoke_rep *)0)->rr_rc == 4U);
241 M0_BASSERT(sizeof ((struct m0_rm_fop_revoke_rep *)0)->rr_debtor_cookie == 16U);
243 
244 M0_BASSERT(sizeof(struct m0_rm_fop_cancel) == 32U);
245 
246 M0_BASSERT(sizeof ((struct m0_rm_fop_cancel *)0)->fc_loan == 16U);
248 M0_BASSERT(sizeof ((struct m0_rm_fop_cancel *)0)->fc_creditor_cookie == 16U);
250 
251 
252 
253 M0_INTERNAL void m0_xc_m0_rm_fop_owner_struct_init(void)
254 {
255  _m0_rm_fop_owner._child[0] = (struct m0_xcode_field) {
256  .xf_name = "ow_cookie",
257 
258  .xf_type = m0_cookie_xc,
259 
260  .xf_tag = 0,
261  .xf_opaque = NULL,
262  .xf_offset = offsetof(struct m0_rm_fop_owner, ow_cookie),
263  .xf_read = NULL,
264  .xf_decor = {
266  }
267  };
269 
270  _m0_rm_fop_owner._child[1] = (struct m0_xcode_field) {
271  .xf_name = "ow_resource",
272 
273  .xf_type = m0_buf_xc,
274 
275  .xf_tag = 0,
276  .xf_opaque = NULL,
277  .xf_offset = offsetof(struct m0_rm_fop_owner, ow_resource),
278  .xf_read = NULL,
279  .xf_decor = {
281  }
282  };
284 
286 }
287 
288 M0_INTERNAL void m0_xc_m0_rm_fop_loan_struct_init(void)
289 {
290  _m0_rm_fop_loan._child[0] = (struct m0_xcode_field) {
291  .xf_name = "lo_cookie",
292 
293  .xf_type = m0_cookie_xc,
294 
295  .xf_tag = 0,
296  .xf_opaque = NULL,
297  .xf_offset = offsetof(struct m0_rm_fop_loan, lo_cookie),
298  .xf_read = NULL,
299  .xf_decor = {
301  }
302  };
304 
306 }
307 
309 {
310  _m0_rm_fop_credit._child[0] = (struct m0_xcode_field) {
311  .xf_name = "cr_opaque",
312 
313  .xf_type = m0_buf_xc,
314 
315  .xf_tag = 0,
316  .xf_opaque = NULL,
317  .xf_offset = offsetof(struct m0_rm_fop_credit, cr_opaque),
318  .xf_read = NULL,
319  .xf_decor = {
321  }
322  };
324 
326 }
327 
328 M0_INTERNAL void m0_xc_m0_rm_fop_req_struct_init(void)
329 {
330  _m0_rm_fop_req._child[0] = (struct m0_xcode_field) {
331  .xf_name = "rrq_owner",
332 
333  .xf_type = m0_rm_fop_owner_xc,
334 
335  .xf_tag = 0,
336  .xf_opaque = NULL,
337  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_owner),
338  .xf_read = NULL,
339  .xf_decor = {
341  }
342  };
344 
345  _m0_rm_fop_req._child[1] = (struct m0_xcode_field) {
346  .xf_name = "rrq_credit",
347 
348  .xf_type = m0_rm_fop_credit_xc,
349 
350  .xf_tag = 0,
351  .xf_opaque = NULL,
352  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_credit),
353  .xf_read = NULL,
354  .xf_decor = {
356  }
357  };
359 
360  _m0_rm_fop_req._child[2] = (struct m0_xcode_field) {
361  .xf_name = "rrq_policy",
362 
363  .xf_type = &M0_XT_U64,
364 
365  .xf_tag = 0,
366  .xf_opaque = NULL,
367  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_policy),
368  .xf_read = NULL,
369  .xf_decor = {
371  }
372  };
373  m0_xc_u64_init();
374 
375  _m0_rm_fop_req._child[3] = (struct m0_xcode_field) {
376  .xf_name = "rrq_flags",
377 
378  .xf_type = &M0_XT_U64,
379 
380  .xf_tag = 0,
381  .xf_opaque = NULL,
382  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_flags),
383  .xf_read = NULL,
384  .xf_decor = {
386  }
387  };
388  m0_xc_u64_init();
389 
390  _m0_rm_fop_req._child[4] = (struct m0_xcode_field) {
391  .xf_name = "rrq_orig_owner",
392 
393  .xf_type = m0_fid_xc,
394 
395  .xf_tag = 0,
396  .xf_opaque = NULL,
397  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_orig_owner),
398  .xf_read = NULL,
399  .xf_decor = {
401  }
402  };
404 
405  _m0_rm_fop_req._child[5] = (struct m0_xcode_field) {
406  .xf_name = "rrq_orig_time",
407 
408  .xf_type = &M0_XT_U64,
409 
410  .xf_tag = 0,
411  .xf_opaque = NULL,
412  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_orig_time),
413  .xf_read = NULL,
414  .xf_decor = {
416  }
417  };
418  m0_xc_u64_init();
419 
420  _m0_rm_fop_req._child[6] = (struct m0_xcode_field) {
421  .xf_name = "rrq_orig_seq",
422 
423  .xf_type = &M0_XT_U64,
424 
425  .xf_tag = 0,
426  .xf_opaque = NULL,
427  .xf_offset = offsetof(struct m0_rm_fop_req, rrq_orig_seq),
428  .xf_read = NULL,
429  .xf_decor = {
431  }
432  };
433  m0_xc_u64_init();
434 
436 }
437 
439 {
440  _m0_rm_fop_borrow._child[0] = (struct m0_xcode_field) {
441  .xf_name = "bo_base",
442 
443  .xf_type = m0_rm_fop_req_xc,
444 
445  .xf_tag = 0,
446  .xf_opaque = NULL,
447  .xf_offset = offsetof(struct m0_rm_fop_borrow, bo_base),
448  .xf_read = NULL,
449  .xf_decor = {
451  }
452  };
454 
455  _m0_rm_fop_borrow._child[1] = (struct m0_xcode_field) {
456  .xf_name = "bo_creditor",
457 
458  .xf_type = m0_rm_fop_owner_xc,
459 
460  .xf_tag = 0,
461  .xf_opaque = NULL,
462  .xf_offset = offsetof(struct m0_rm_fop_borrow, bo_creditor),
463  .xf_read = NULL,
464  .xf_decor = {
466  }
467  };
469 
470  _m0_rm_fop_borrow._child[2] = (struct m0_xcode_field) {
471  .xf_name = "bo_group_id",
472 
473  .xf_type = m0_uint128_xc,
474 
475  .xf_tag = 0,
476  .xf_opaque = NULL,
477  .xf_offset = offsetof(struct m0_rm_fop_borrow, bo_group_id),
478  .xf_read = NULL,
479  .xf_decor = {
481  }
482  };
484 
486 }
487 
489 {
491  .xf_name = "br_rc",
492 
493  .xf_type = &M0_XT_U32,
494 
495  .xf_tag = 0,
496  .xf_opaque = NULL,
497  .xf_offset = offsetof(struct m0_rm_fop_borrow_rep, br_rc),
498  .xf_read = NULL,
499  .xf_decor = {
501  }
502  };
503  m0_xc_u32_init();
504 
506  .xf_name = "br_loan",
507 
508  .xf_type = m0_rm_fop_loan_xc,
509 
510  .xf_tag = 0,
511  .xf_opaque = NULL,
512  .xf_offset = offsetof(struct m0_rm_fop_borrow_rep, br_loan),
513  .xf_read = NULL,
514  .xf_decor = {
516  }
517  };
519 
521  .xf_name = "br_credit",
522 
523  .xf_type = m0_rm_fop_credit_xc,
524 
525  .xf_tag = 0,
526  .xf_opaque = NULL,
527  .xf_offset = offsetof(struct m0_rm_fop_borrow_rep, br_credit),
528  .xf_read = NULL,
529  .xf_decor = {
531  }
532  };
534 
536  .xf_name = "br_lvb",
537 
538  .xf_type = m0_buf_xc,
539 
540  .xf_tag = 0,
541  .xf_opaque = NULL,
542  .xf_offset = offsetof(struct m0_rm_fop_borrow_rep, br_lvb),
543  .xf_read = NULL,
544  .xf_decor = {
546  }
547  };
549 
551  .xf_name = "br_creditor_cookie",
552 
553  .xf_type = m0_cookie_xc,
554 
555  .xf_tag = 0,
556  .xf_opaque = NULL,
557  .xf_offset = offsetof(struct m0_rm_fop_borrow_rep, br_creditor_cookie),
558  .xf_read = NULL,
559  .xf_decor = {
561  }
562  };
564 
566 }
567 
569 {
570  _m0_rm_fop_revoke._child[0] = (struct m0_xcode_field) {
571  .xf_name = "fr_base",
572 
573  .xf_type = m0_rm_fop_req_xc,
574 
575  .xf_tag = 0,
576  .xf_opaque = NULL,
577  .xf_offset = offsetof(struct m0_rm_fop_revoke, fr_base),
578  .xf_read = NULL,
579  .xf_decor = {
581  }
582  };
584 
585  _m0_rm_fop_revoke._child[1] = (struct m0_xcode_field) {
586  .xf_name = "fr_loan",
587 
588  .xf_type = m0_rm_fop_loan_xc,
589 
590  .xf_tag = 0,
591  .xf_opaque = NULL,
592  .xf_offset = offsetof(struct m0_rm_fop_revoke, fr_loan),
593  .xf_read = NULL,
594  .xf_decor = {
596  }
597  };
599 
601 }
602 
604 {
606  .xf_name = "rr_rc",
607 
608  .xf_type = &M0_XT_U32,
609 
610  .xf_tag = 0,
611  .xf_opaque = NULL,
612  .xf_offset = offsetof(struct m0_rm_fop_revoke_rep, rr_rc),
613  .xf_read = NULL,
614  .xf_decor = {
616  }
617  };
618  m0_xc_u32_init();
619 
621  .xf_name = "rr_debtor_cookie",
622 
623  .xf_type = m0_cookie_xc,
624 
625  .xf_tag = 0,
626  .xf_opaque = NULL,
627  .xf_offset = offsetof(struct m0_rm_fop_revoke_rep, rr_debtor_cookie),
628  .xf_read = NULL,
629  .xf_decor = {
631  }
632  };
634 
636 }
637 
639 {
640  _m0_rm_fop_cancel._child[0] = (struct m0_xcode_field) {
641  .xf_name = "fc_loan",
642 
643  .xf_type = m0_rm_fop_loan_xc,
644 
645  .xf_tag = 0,
646  .xf_opaque = NULL,
647  .xf_offset = offsetof(struct m0_rm_fop_cancel, fc_loan),
648  .xf_read = NULL,
649  .xf_decor = {
651  }
652  };
654 
655  _m0_rm_fop_cancel._child[1] = (struct m0_xcode_field) {
656  .xf_name = "fc_creditor_cookie",
657 
658  .xf_type = m0_cookie_xc,
659 
660  .xf_tag = 0,
661  .xf_opaque = NULL,
662  .xf_offset = offsetof(struct m0_rm_fop_cancel, fc_creditor_cookie),
663  .xf_read = NULL,
664  .xf_decor = {
666  }
667  };
669 
671 }
672 
673 M0_INTERNAL void m0_xc_rm_rm_fops_init(void)
674 {
684 }
685 
686 M0_INTERNAL void m0_xc_rm_rm_fops_fini(void)
687 {
688 }
uint64_t rrq_flags
Definition: rm_fops.h:606
struct m0_xcode_type * m0_buf_xc
Definition: buf_xc.c:10
struct m0_xcode_type * m0_rm_fop_credit_xc
Definition: rm_fops_xc.c:12
struct m0_xcode_type * m0_rm_fop_loan_xc
Definition: rm_fops_xc.c:11
M0_INTERNAL void m0_xc_m0_rm_fop_revoke_rep_struct_init(void)
Definition: rm_fops_xc.c:603
struct m0_xcode_type * m0_rm_fop_owner_xc
Definition: rm_fops_xc.c:10
#define NULL
Definition: misc.h:38
M0_INTERNAL void m0_xc_m0_rm_fop_borrow_rep_struct_init(void)
Definition: rm_fops_xc.c:488
struct m0_cookie br_creditor_cookie
Definition: rm_fops.h:612
int32_t rr_rc
Definition: rm_fops.h:602
struct m0_cookie rr_debtor_cookie
Definition: rm_fops.h:609
M0_INTERNAL void m0_xc_m0_rm_fop_credit_struct_init(void)
Definition: rm_fops_xc.c:308
M0_INTERNAL void m0_xc_m0_cookie_struct_init(void)
Definition: cookie_xc.c:39
struct m0_rm_fop_loan fc_loan
Definition: rm_fops.h:602
M0_INTERNAL void m0_xc_m0_rm_fop_loan_struct_init(void)
Definition: rm_fops_xc.c:288
struct m0_xcode_type * m0_uint128_xc
Definition: types_xc.c:10
struct m0_xcode_field _child[2]
Definition: rm_fops_xc.c:141
struct m0_xcode_type * m0_rm_fop_borrow_xc
Definition: rm_fops_xc.c:14
uint64_t rrq_orig_seq
Definition: rm_fops.h:612
static struct _m0_rm_fop_borrow_rep_s _m0_rm_fop_borrow_rep
M0_INTERNAL void m0_xc_m0_rm_fop_cancel_struct_init(void)
Definition: rm_fops_xc.c:638
struct m0_xcode_field xct_child[0]
Definition: xcode.h:345
M0_INTERNAL void m0_xc_rm_rm_fops_fini(void)
Definition: rm_fops_xc.c:686
M0_INTERNAL void m0_xc_m0_fid_struct_init(void)
Definition: fid_xc.c:64
M0_INTERNAL void m0_xc_rm_rm_fops_init(void)
Definition: rm_fops_xc.c:673
M0_INTERNAL void m0_xc_m0_uint128_struct_init(void)
Definition: types_xc.c:39
static struct _m0_rm_fop_revoke_s _m0_rm_fop_revoke
M0_INTERNAL void m0_xc_m0_rm_fop_revoke_struct_init(void)
Definition: rm_fops_xc.c:568
struct m0_buf cr_opaque
Definition: rm_fops.h:602
M0_INTERNAL void m0_xc_m0_buf_struct_init(void)
Definition: buf_xc.c:64
int32_t br_rc
Definition: rm_fops.h:602
struct m0_xcode_type * m0_rm_fop_revoke_xc
Definition: rm_fops_xc.c:16
struct m0_xcode_type _type
Definition: rm_fops_xc.c:38
struct m0_xcode_field _child[1]
Definition: rm_fops_xc.c:39
struct m0_xcode_type _type
Definition: rm_fops_xc.c:140
struct m0_rm_fop_loan br_loan
Definition: rm_fops.h:603
struct m0_buf ow_resource
Definition: rm_fops.h:603
static struct _m0_rm_fop_cancel_s _m0_rm_fop_cancel
M0_INTERNAL void m0_xc_m0_rm_fop_borrow_struct_init(void)
Definition: rm_fops_xc.c:438
struct m0_fid rrq_orig_owner
Definition: rm_fops.h:610
struct m0_uint128 bo_group_id
Definition: rm_fops.h:604
struct m0_xcode_type _type
Definition: rm_fops_xc.c:106
struct m0_xcode_field _child[2]
Definition: rm_fops_xc.c:124
static struct _m0_rm_fop_revoke_rep_s _m0_rm_fop_revoke_rep
struct m0_cookie ow_cookie
Definition: rm_fops.h:602
#define M0_POST(cond)
struct m0_rm_fop_credit br_credit
Definition: rm_fops.h:604
struct m0_rm_fop_owner bo_creditor
Definition: rm_fops.h:603
M0_BASSERT(offsetof(struct _m0_rm_fop_owner_s, _child[0])==offsetof(struct m0_xcode_type, xct_child[0]))
bool m0_xcode_type_invariant(const struct m0_xcode_type *xt)
Definition: xcode.c:74
struct m0_buf br_lvb
Definition: rm_fops.h:605
struct m0_xcode_field _child[5]
Definition: rm_fops_xc.c:107
static struct _m0_rm_fop_owner_s _m0_rm_fop_owner
M0_INTERNAL void m0_xc_m0_rm_fop_req_struct_init(void)
Definition: rm_fops_xc.c:328
struct m0_cookie lo_cookie
Definition: rm_fops.h:602
void m0_xc_u64_init(void)
Definition: xcode.c:904
static struct _m0_rm_fop_borrow_s _m0_rm_fop_borrow
struct m0_xcode_type * m0_rm_fop_cancel_xc
Definition: rm_fops_xc.c:18
struct m0_xcode_type * m0_rm_fop_borrow_rep_xc
Definition: rm_fops_xc.c:15
struct m0_xcode_type * m0_rm_fop_revoke_rep_xc
Definition: rm_fops_xc.c:17
const struct m0_xcode_type M0_XT_U32
Definition: xcode.c:932
struct m0_xcode_type _type
Definition: rm_fops_xc.c:123
struct m0_rm_fop_req bo_base
Definition: rm_fops.h:602
enum m0_xcode_aggr xct_aggr
Definition: xcode.h:316
struct m0_xcode_field _child[2]
Definition: rm_fops_xc.c:158
struct m0_xcode_type _type
Definition: rm_fops_xc.c:55
struct m0_xcode_type _type
Definition: rm_fops_xc.c:157
M0_INTERNAL void m0_xc_m0_rm_fop_owner_struct_init(void)
Definition: rm_fops_xc.c:253
struct m0_xcode_type _type
Definition: rm_fops_xc.c:21
static struct _m0_rm_fop_credit_s _m0_rm_fop_credit
struct m0_rm_fop_credit rrq_credit
Definition: rm_fops.h:604
struct m0_xcode_field _child[7]
Definition: rm_fops_xc.c:73
struct m0_xcode_type * m0_rm_fop_req_xc
Definition: rm_fops_xc.c:13
void m0_xc_u32_init(void)
Definition: xcode.c:900
struct m0_xcode_type * m0_cookie_xc
Definition: cookie_xc.c:10
m0_time_t rrq_orig_time
Definition: rm_fops.h:611
struct m0_cookie fc_creditor_cookie
Definition: rm_fops.h:603
const char * xf_name
Definition: xcode.h:251
struct m0_xcode_field _child[3]
Definition: rm_fops_xc.c:90
struct m0_xcode_type * m0_fid_xc
Definition: fid_xc.c:10
struct m0_xcode_field _child[1]
Definition: rm_fops_xc.c:56
struct m0_rm_fop_req fr_base
Definition: rm_fops.h:602
static struct _m0_rm_fop_loan_s _m0_rm_fop_loan
const struct m0_xcode_type M0_XT_U64
Definition: xcode.c:940
struct m0_rm_fop_owner rrq_owner
Definition: rm_fops.h:603
struct m0_xcode_type _type
Definition: rm_fops_xc.c:72
#define offsetof(typ, memb)
Definition: misc.h:29
static struct _m0_rm_fop_req_s _m0_rm_fop_req
struct m0_xcode_field _child[2]
Definition: rm_fops_xc.c:22
struct m0_xcode_type _type
Definition: rm_fops_xc.c:89
struct m0_rm_fop_loan fr_loan
Definition: rm_fops.h:603
uint64_t rrq_policy
Definition: rm_fops.h:605