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/seq_file.h>
31 : #include <linux/fs.h>
32 : #include <linux/pagemap.h>
33 :
34 :
35 : struct ldv_struct_insmod_10 {
36 : int signal_pending;
37 : };
38 :
39 : struct ldv_struct_random_containerless_scenario_5 {
40 : struct file_system_type *arg0;
41 : int signal_pending;
42 : };
43 :
44 : /* EMG Function declarations */
45 : void ldv_random_containerless_scenario_callback_8_14(int (*)(struct dentry *, char *, void *, size_t , int), struct dentry *, char *, void *, long unsigned int, int);
46 : void ldv_random_containerless_scenario_callback_8_23(size_t (*)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *, char *, long unsigned int, char *, long unsigned int, int);
47 : void ldv_random_containerless_scenario_callback_8_47(int (*)(struct dentry *, char *, void *, size_t , int, int), struct dentry *, char *, void *, long unsigned int, int, int);
48 :
49 : /* EMG variable declarations */
50 :
51 : /* EMG variable initialization */
52 :
53 : /* EMG function definitions */
54 : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_8_14 */
55 : void ldv_random_containerless_scenario_callback_8_14(int (*arg0)(struct dentry *, char *, void *, size_t , int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5) {
56 3 : ((& ext2_xattr_trusted_get))(arg1, arg2, arg3, arg4, arg5);
57 1 : }
58 :
59 : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_8_23 */
60 : void ldv_random_containerless_scenario_callback_8_23(size_t (*arg0)(struct dentry *, char *, size_t , char *, size_t , int), struct dentry *arg1, char *arg2, long unsigned int arg3, char *arg4, long unsigned int arg5, int arg6) {
61 2 : ((& ext2_xattr_trusted_list))(arg1, arg2, arg3, arg4, arg5, arg6);
62 1 : }
63 :
64 : /* AUX_FUNC_CALLBACK ldv_random_containerless_scenario_callback_8_47 */
65 : void ldv_random_containerless_scenario_callback_8_47(int (*arg0)(struct dentry *, char *, void *, size_t , int, int), struct dentry *arg1, char *arg2, void *arg3, long unsigned int arg4, int arg5, int arg6) {
66 3 : ((& ext2_xattr_trusted_set))(arg1, arg2, arg3, arg4, arg5, arg6);
67 1 : }
68 :
69 :
70 : /* AUX_FUNC ERR_PTR */
71 : static inline void *ERR_PTR (long int error)
72 : {
73 :
74 : return ldv_err_ptr(error);
75 : }
76 :
77 : /* AUX_FUNC PTR_ERR */
78 : static inline long int PTR_ERR (void const *ptr)
79 : {
80 :
81 : return ldv_ptr_err(ptr);
82 : }
83 :
84 : /* AUX_FUNC IS_ERR */
85 : static inline long int IS_ERR (void const *ptr)
86 : {
87 :
88 : return ldv_is_err(ptr);
89 : }
90 :
91 : /* AUX_FUNC IS_ERR_OR_NULL */
92 : static inline long int IS_ERR_OR_NULL (void const *ptr)
93 : {
94 :
95 : return ldv_is_err_or_null(ptr);
96 : }
97 :
98 : /* AUX_FUNC kzalloc */
99 : static inline void *kzalloc (size_t size, gfp_t flags)
100 : {
101 :
102 : return ldv_kzalloc(size, flags);
103 : }
|