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 <scsi/scsi_host.h>
29 : #include <linux/usb.h>
30 :
31 :
32 : struct ldv_struct_insmod_12 {
33 : int signal_pending;
34 : };
35 :
36 : struct ldv_struct_scsi_LLDd_scenario_1 {
37 : struct Scsi_Host *arg0;
38 : int signal_pending;
39 : };
40 :
41 : struct ldv_struct_usb_scenario_11 {
42 : struct usb_driver *arg0;
43 : int signal_pending;
44 : };
45 :
46 : /* EMG Function declarations */
47 :
48 : /* EMG variable declarations */
49 :
50 : /* EMG variable initialization */
51 :
52 : /* EMG function definitions */
53 :
54 : /* AUX_FUNC ERR_PTR */
55 : static inline void *ERR_PTR (long int error)
56 : {
57 :
58 : return ldv_err_ptr(error);
59 : }
60 :
61 : /* AUX_FUNC PTR_ERR */
62 : static inline long int PTR_ERR (void const *ptr)
63 : {
64 :
65 : return ldv_ptr_err(ptr);
66 : }
67 :
68 : /* AUX_FUNC IS_ERR */
69 : static inline long int IS_ERR (void const *ptr)
70 : {
71 :
72 : return ldv_is_err(ptr);
73 : }
74 :
75 : /* AUX_FUNC IS_ERR_OR_NULL */
76 : static inline long int IS_ERR_OR_NULL (void const *ptr)
77 : {
78 :
79 : return ldv_is_err_or_null(ptr);
80 : }
81 :
82 : /* AUX_FUNC kzalloc */
83 : static inline void *kzalloc (size_t size, gfp_t flags)
84 : {
85 2 :
86 6 : return ldv_kzalloc(size, flags);
87 : }
88 :
89 : /* AUX_FUNC ldv_dev_get_drvdata_6 */
90 : void *ldv_dev_get_drvdata_6 (struct device const *dev)
91 : {
92 :
93 : return ldv_dev_get_drvdata(dev);
94 : }
|