Line data Source code
1 :
2 : struct device;
3 :
4 : void *ldv_dev_get_drvdata(const struct device *dev);
5 : int ldv_dev_set_drvdata(struct device *dev, void *data);
6 :
7 : struct spi_master;
8 : struct device;
9 : struct spi_master *ldv_spi_alloc_master(struct device *host, unsigned size);
10 :
11 : #include <linux/ldv/err.h>
12 :
13 : #include <linux/types.h>
14 : void *ldv_kzalloc(size_t size, gfp_t flags);
15 :
16 : struct clk;
17 :
18 : extern void ldv_clk_disable(struct clk *clk);
19 : extern int ldv_clk_enable(void);
20 :
21 : #include <linux/ldv/common.h>
22 : #include <linux/ldv/irq.h>
23 : #include <verifier/common.h>
24 : #include <verifier/nondet.h>
25 : #include <verifier/memory.h>
26 : #include <verifier/thread.h>
27 :
28 : #include <linux/cdev.h>
29 : #include <linux/miscdevice.h>
30 : #include <linux/fs.h>
31 : #include <linux/seq_file.h>
32 : #include <linux/pagemap.h>
33 :
34 :
35 : struct ldv_struct_character_driver_scenario_1 {
36 : struct file_operations *arg0;
37 : int signal_pending;
38 : };
39 :
40 : struct ldv_struct_insmod_17 {
41 : int signal_pending;
42 : };
43 :
44 : struct ldv_struct_traverse_kernel_items_scenario_3 {
45 : struct seq_file *arg0;
46 : struct seq_operations *arg1;
47 : int signal_pending;
48 : };
49 :
50 : /* EMG Function declarations */
51 :
52 : /* EMG variable declarations */
53 :
54 : /* EMG variable initialization */
55 :
56 : /* EMG function definitions */
57 :
58 : /* AUX_FUNC ERR_PTR */
59 : static inline void *ERR_PTR (long int error)
60 : {
61 :
62 : return ldv_err_ptr(error);
63 : }
64 :
65 : /* AUX_FUNC PTR_ERR */
66 : static inline long int PTR_ERR (void const *ptr)
67 : {
68 :
69 : return ldv_ptr_err(ptr);
70 : }
71 :
72 : /* AUX_FUNC IS_ERR */
73 : static inline long int IS_ERR (void const *ptr)
74 : {
75 :
76 : return ldv_is_err(ptr);
77 : }
78 :
79 : /* AUX_FUNC IS_ERR_OR_NULL */
80 : static inline long int IS_ERR_OR_NULL (void const *ptr)
81 : {
82 :
83 : return ldv_is_err_or_null(ptr);
84 : }
85 :
86 : /* AUX_FUNC kzalloc */
87 : static inline void *kzalloc (size_t size, gfp_t flags)
88 : {
89 0 :
90 0 : return ldv_kzalloc(size, flags);
91 : }
92 :
93 : /* AUX_FUNC ldv_dev_get_drvdata_6 */
94 : void *ldv_dev_get_drvdata_6 (struct device const *dev)
95 : {
96 :
97 : return ldv_dev_get_drvdata(dev);
98 : }
99 :
100 : /* AUX_FUNC ldv_dev_get_drvdata_7 */
101 : void *ldv_dev_get_drvdata_7 (struct device const *dev)
102 : {
103 :
104 : return ldv_dev_get_drvdata(dev);
105 : }
106 :
107 : /* AUX_FUNC ldv_dev_get_drvdata_8 */
108 : void *ldv_dev_get_drvdata_8 (struct device const *dev)
109 : {
110 :
111 : return ldv_dev_get_drvdata(dev);
112 : }
113 :
114 : /* AUX_FUNC ldv_dev_get_drvdata_9 */
115 : void *ldv_dev_get_drvdata_9 (struct device const *dev)
116 : {
117 :
118 : return ldv_dev_get_drvdata(dev);
119 : }
|