Motr  M0
xcode_fops_ff.h
Go to the documentation of this file.
1 /* This file is automatically generated from xcode_fops.ff */
2 
3 #pragma once
4 
5 #ifndef __MOTR_UT_XCODE_FOPS_FF_H__
6 #define __MOTR_UT_XCODE_FOPS_FF_H__
7 
8 #ifndef __KERNEL__
9 #include <sys/types.h>
10 #endif /* __KERNEL__ */
11 
12 #include "xcode/xcode.h"
13 
14 
15 struct m0_test_buf {
16  uint32_t tb_cnt;
17  uint8_t *tb_buf;
18 };
19 
20 struct m0_test_key {
21  uint32_t tk_index;
22  uint64_t tk_val;
23  uint8_t tk_flag;
24 };
25 
26 struct m0_pair {
27  uint64_t p_offset;
28  uint32_t p_cnt;
31 };
32 
33 struct m0_desc_arr {
34  uint32_t da_cnt;
35  struct m0_pair *da_pair;
36 };
37 
39  uint32_t fta_cnt;
41 };
42 
43 struct m0_fop_test {
44  uint32_t ft_cnt;
45  uint64_t ft_offset;
47 };
48 
49 struct m0_biquad {
50  uint32_t el[8];
51 };
52 
53 struct m0_octopair {
54  struct m0_pair p[8];
55 };
56 
57 
58 extern struct m0_xcode_type *m0_test_buf_xc;
59 extern struct m0_xcode_type *m0_test_key_xc;
60 extern struct m0_xcode_type *m0_pair_xc;
61 extern struct m0_xcode_type *m0_desc_arr_xc;
62 extern struct m0_xcode_type *m0_fop_test_arr_xc;
63 extern struct m0_xcode_type *m0_fop_test_xc;
64 extern struct m0_xcode_type *m0_biquad_xc;
65 extern struct m0_xcode_type *m0_octopair_xc;
66 
67 M0_INTERNAL void m0_xc_xcode_fops_init(void);
68 M0_INTERNAL void m0_xc_xcode_fops_fini(void);
69 
70 /* __MOTR_UT_XCODE_FOPS_FF_H__ */
71 #endif
72 
struct m0_xcode_type * m0_test_buf_xc
Definition: xcode_fops_ff.c:9
uint64_t tk_val
Definition: xcode_fops_ff.h:22
uint32_t el[8]
Definition: xcode_fops_ff.h:50
struct m0_xcode_type * m0_fop_test_arr_xc
Definition: xcode_fops_ff.c:13
struct m0_desc_arr * fta_data
Definition: xcode_fops_ff.h:40
struct m0_test_key p_key
Definition: xcode_fops_ff.h:29
uint32_t tk_index
Definition: xcode_fops_ff.h:21
M0_INTERNAL void m0_xc_xcode_fops_init(void)
uint32_t ft_cnt
Definition: xcode_fops_ff.h:44
uint64_t p_offset
Definition: xcode_fops_ff.h:27
uint32_t fta_cnt
Definition: xcode_fops_ff.h:39
struct m0_xcode_type * m0_octopair_xc
Definition: xcode_fops_ff.c:16
struct m0_pair * da_pair
Definition: xcode_fops_ff.h:35
uint32_t p_cnt
Definition: xcode_fops_ff.h:28
M0_INTERNAL void m0_xc_xcode_fops_fini(void)
struct m0_xcode_type * m0_desc_arr_xc
Definition: xcode_fops_ff.c:12
uint32_t da_cnt
Definition: xcode_fops_ff.h:34
struct m0_xcode_type * m0_biquad_xc
Definition: xcode_fops_ff.c:15
uint8_t tk_flag
Definition: xcode_fops_ff.h:23
struct m0_test_buf p_buf
Definition: xcode_fops_ff.h:30
uint8_t * tb_buf
Definition: xcode_fops_ff.h:17
struct m0_fop_test_arr ft_arr
Definition: xcode_fops_ff.h:46
struct m0_pair p[8]
Definition: xcode_fops_ff.h:54
struct m0_xcode_type * m0_test_key_xc
Definition: xcode_fops_ff.c:10
uint32_t tb_cnt
Definition: xcode_fops_ff.h:16
struct m0_xcode_type * m0_fop_test_xc
Definition: xcode_fops_ff.c:14
uint64_t ft_offset
Definition: xcode_fops_ff.h:45
struct m0_xcode_type * m0_pair_xc
Definition: xcode_fops_ff.c:11