This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
/
32_1_cilled_true-unreach-call_ok_nondet_linux-3.4-32_1-drivers--hid--hid-cherry.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
2432 lines (2395 loc) · 70.3 KB
/
32_1_cilled_true-unreach-call_ok_nondet_linux-3.4-32_1-drivers--hid--hid-cherry.ko-ldv_main0_sequence_infinite_withcheck_stateful.cil.out.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
extern void __VERIFIER_error() __attribute__ ((__noreturn__));
/* Generated by CIL v. 1.3.7 */
/* print_CIL_Input is true */
typedef signed char __s8;
typedef unsigned char __u8;
typedef short __s16;
typedef unsigned short __u16;
typedef int __s32;
typedef unsigned int __u32;
typedef unsigned long long __u64;
typedef unsigned char u8;
typedef short s16;
typedef unsigned short u16;
typedef int s32;
typedef unsigned int u32;
typedef long long s64;
typedef unsigned long long u64;
typedef long __kernel_long_t;
typedef unsigned long __kernel_ulong_t;
typedef unsigned int __kernel_uid32_t;
typedef unsigned int __kernel_gid32_t;
typedef __kernel_ulong_t __kernel_size_t;
typedef __kernel_long_t __kernel_ssize_t;
typedef long long __kernel_loff_t;
typedef __kernel_long_t __kernel_time_t;
typedef __u32 __kernel_dev_t;
typedef __kernel_dev_t dev_t;
typedef unsigned short umode_t;
typedef _Bool bool;
typedef __kernel_uid32_t uid_t;
typedef __kernel_gid32_t gid_t;
typedef __kernel_loff_t loff_t;
typedef __kernel_size_t size_t;
typedef __kernel_ssize_t ssize_t;
typedef __kernel_time_t time_t;
typedef unsigned long sector_t;
typedef unsigned long blkcnt_t;
typedef unsigned int gfp_t;
typedef unsigned int fmode_t;
struct __anonstruct_atomic_t_7 {
int counter ;
};
typedef struct __anonstruct_atomic_t_7 atomic_t;
struct __anonstruct_atomic64_t_8 {
long counter ;
};
typedef struct __anonstruct_atomic64_t_8 atomic64_t;
struct list_head {
struct list_head *next ;
struct list_head *prev ;
};
struct hlist_node;
struct hlist_head {
struct hlist_node *first ;
};
struct hlist_node {
struct hlist_node *next ;
struct hlist_node **pprev ;
};
struct rcu_head {
struct rcu_head *next ;
void (*func)(struct rcu_head *head ) ;
};
struct device;
struct device;
struct task_struct;
struct task_struct;
struct lock_class_key {
};
struct sock;
struct sock;
struct kobject;
struct kobject;
enum kobj_ns_type {
KOBJ_NS_TYPE_NONE = 0,
KOBJ_NS_TYPE_NET = 1,
KOBJ_NS_TYPES = 2
} ;
struct kobj_ns_type_operations {
enum kobj_ns_type type ;
void *(*grab_current_ns)(void) ;
void const *(*netlink_ns)(struct sock *sk ) ;
void const *(*initial_ns)(void) ;
void (*drop_ns)(void * ) ;
};
struct task_struct;
typedef void (*ctor_fn_t)(void);
struct page;
struct file;
struct file;
struct seq_file;
struct seq_file;
struct page;
struct task_struct;
struct arch_spinlock;
struct arch_spinlock;
struct task_struct;
struct module;
struct module;
struct device;
struct completion;
struct completion;
struct pid;
struct pid;
struct task_struct;
struct page;
struct bug_entry {
int bug_addr_disp ;
int file_disp ;
unsigned short line ;
unsigned short flags ;
};
struct static_key;
struct static_key;
typedef atomic64_t atomic_long_t;
struct kobject;
struct module;
enum kobj_ns_type;
struct attribute {
char const *name ;
umode_t mode ;
};
struct attribute_group {
char const *name ;
umode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
struct attribute **attrs ;
};
struct file;
struct vm_area_struct;
struct vm_area_struct;
struct bin_attribute {
struct attribute attr ;
size_t size ;
void *private ;
ssize_t (*read)(struct file * , struct kobject * , struct bin_attribute * , char * ,
loff_t , size_t ) ;
ssize_t (*write)(struct file * , struct kobject * , struct bin_attribute * , char * ,
loff_t , size_t ) ;
int (*mmap)(struct file * , struct kobject * , struct bin_attribute *attr , struct vm_area_struct *vma ) ;
};
struct sysfs_ops {
ssize_t (*show)(struct kobject * , struct attribute * , char * ) ;
ssize_t (*store)(struct kobject * , struct attribute * , char const * , size_t ) ;
void const *(*namespace)(struct kobject * , struct attribute const * ) ;
};
struct sysfs_dirent;
struct sysfs_dirent;
struct timespec;
struct timespec;
struct task_struct;
typedef u16 __ticket_t;
typedef u32 __ticketpair_t;
struct __raw_tickets {
__ticket_t head ;
__ticket_t tail ;
};
union __anonunion____missing_field_name_36 {
__ticketpair_t head_tail ;
struct __raw_tickets tickets ;
};
struct arch_spinlock {
union __anonunion____missing_field_name_36 __annonCompField17 ;
};
typedef struct arch_spinlock arch_spinlock_t;
struct __anonstruct____missing_field_name_38 {
u32 read ;
s32 write ;
};
union __anonunion_arch_rwlock_t_37 {
s64 lock ;
struct __anonstruct____missing_field_name_38 __annonCompField18 ;
};
typedef union __anonunion_arch_rwlock_t_37 arch_rwlock_t;
struct raw_spinlock {
arch_spinlock_t raw_lock ;
unsigned int magic ;
unsigned int owner_cpu ;
void *owner ;
};
typedef struct raw_spinlock raw_spinlock_t;
union __anonunion____missing_field_name_39 {
struct raw_spinlock rlock ;
};
struct spinlock {
union __anonunion____missing_field_name_39 __annonCompField19 ;
};
typedef struct spinlock spinlock_t;
struct __anonstruct_rwlock_t_40 {
arch_rwlock_t raw_lock ;
unsigned int magic ;
unsigned int owner_cpu ;
void *owner ;
};
typedef struct __anonstruct_rwlock_t_40 rwlock_t;
struct kref {
atomic_t refcount ;
};
struct __wait_queue_head {
spinlock_t lock ;
struct list_head task_list ;
};
typedef struct __wait_queue_head wait_queue_head_t;
struct task_struct;
struct kset;
struct kobj_type;
struct kobject {
char const *name ;
struct list_head entry ;
struct kobject *parent ;
struct kset *kset ;
struct kobj_type *ktype ;
struct sysfs_dirent *sd ;
struct kref kref ;
unsigned int state_initialized : 1 ;
unsigned int state_in_sysfs : 1 ;
unsigned int state_add_uevent_sent : 1 ;
unsigned int state_remove_uevent_sent : 1 ;
unsigned int uevent_suppress : 1 ;
};
struct kobj_type {
void (*release)(struct kobject *kobj ) ;
struct sysfs_ops const *sysfs_ops ;
struct attribute **default_attrs ;
struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject *kobj ) ;
void const *(*namespace)(struct kobject *kobj ) ;
};
struct kobj_uevent_env {
char *envp[32] ;
int envp_idx ;
char buf[2048] ;
int buflen ;
};
struct kset_uevent_ops {
int (* const filter)(struct kset *kset , struct kobject *kobj ) ;
char const *(* const name)(struct kset *kset , struct kobject *kobj ) ;
int (* const uevent)(struct kset *kset , struct kobject *kobj , struct kobj_uevent_env *env ) ;
};
struct sock;
struct kset {
struct list_head list ;
spinlock_t list_lock ;
struct kobject kobj ;
struct kset_uevent_ops const *uevent_ops ;
};
struct klist_node;
struct klist_node;
struct klist_node {
void *n_klist ;
struct list_head n_node ;
struct kref n_ref ;
};
struct mutex {
atomic_t count ;
spinlock_t wait_lock ;
struct list_head wait_list ;
struct task_struct *owner ;
char const *name ;
void *magic ;
};
struct seqcount {
unsigned int sequence ;
};
typedef struct seqcount seqcount_t;
struct timespec {
__kernel_time_t tv_sec ;
long tv_nsec ;
};
union ktime {
s64 tv64 ;
};
typedef union ktime ktime_t;
struct tvec_base;
struct tvec_base;
struct timer_list {
struct list_head entry ;
unsigned long expires ;
struct tvec_base *base ;
void (*function)(unsigned long ) ;
unsigned long data ;
int slack ;
int start_pid ;
void *start_site ;
char start_comm[16] ;
};
struct work_struct;
struct work_struct;
struct work_struct {
atomic_long_t data ;
struct list_head entry ;
void (*func)(struct work_struct *work ) ;
};
struct completion {
unsigned int done ;
wait_queue_head_t wait ;
};
struct device;
struct pm_message {
int event ;
};
typedef struct pm_message pm_message_t;
struct dev_pm_ops {
int (*prepare)(struct device *dev ) ;
void (*complete)(struct device *dev ) ;
int (*suspend)(struct device *dev ) ;
int (*resume)(struct device *dev ) ;
int (*freeze)(struct device *dev ) ;
int (*thaw)(struct device *dev ) ;
int (*poweroff)(struct device *dev ) ;
int (*restore)(struct device *dev ) ;
int (*suspend_late)(struct device *dev ) ;
int (*resume_early)(struct device *dev ) ;
int (*freeze_late)(struct device *dev ) ;
int (*thaw_early)(struct device *dev ) ;
int (*poweroff_late)(struct device *dev ) ;
int (*restore_early)(struct device *dev ) ;
int (*suspend_noirq)(struct device *dev ) ;
int (*resume_noirq)(struct device *dev ) ;
int (*freeze_noirq)(struct device *dev ) ;
int (*thaw_noirq)(struct device *dev ) ;
int (*poweroff_noirq)(struct device *dev ) ;
int (*restore_noirq)(struct device *dev ) ;
int (*runtime_suspend)(struct device *dev ) ;
int (*runtime_resume)(struct device *dev ) ;
int (*runtime_idle)(struct device *dev ) ;
};
enum rpm_status {
RPM_ACTIVE = 0,
RPM_RESUMING = 1,
RPM_SUSPENDED = 2,
RPM_SUSPENDING = 3
} ;
enum rpm_request {
RPM_REQ_NONE = 0,
RPM_REQ_IDLE = 1,
RPM_REQ_SUSPEND = 2,
RPM_REQ_AUTOSUSPEND = 3,
RPM_REQ_RESUME = 4
} ;
struct wakeup_source;
struct wakeup_source;
struct pm_subsys_data {
spinlock_t lock ;
unsigned int refcount ;
};
struct dev_pm_qos_request;
struct pm_qos_constraints;
struct dev_pm_info {
pm_message_t power_state ;
unsigned int can_wakeup : 1 ;
unsigned int async_suspend : 1 ;
bool is_prepared : 1 ;
bool is_suspended : 1 ;
bool ignore_children : 1 ;
spinlock_t lock ;
struct list_head entry ;
struct completion completion ;
struct wakeup_source *wakeup ;
bool wakeup_path : 1 ;
struct timer_list suspend_timer ;
unsigned long timer_expires ;
struct work_struct work ;
wait_queue_head_t wait_queue ;
atomic_t usage_count ;
atomic_t child_count ;
unsigned int disable_depth : 3 ;
unsigned int idle_notification : 1 ;
unsigned int request_pending : 1 ;
unsigned int deferred_resume : 1 ;
unsigned int run_wake : 1 ;
unsigned int runtime_auto : 1 ;
unsigned int no_callbacks : 1 ;
unsigned int irq_safe : 1 ;
unsigned int use_autosuspend : 1 ;
unsigned int timer_autosuspends : 1 ;
enum rpm_request request ;
enum rpm_status runtime_status ;
int runtime_error ;
int autosuspend_delay ;
unsigned long last_busy ;
unsigned long active_jiffies ;
unsigned long suspended_jiffies ;
unsigned long accounting_timestamp ;
ktime_t suspend_time ;
s64 max_time_suspended_ns ;
struct dev_pm_qos_request *pq_req ;
struct pm_subsys_data *subsys_data ;
struct pm_qos_constraints *constraints ;
};
struct dev_pm_domain {
struct dev_pm_ops ops ;
};
struct dma_map_ops;
struct dev_archdata {
void *acpi_handle ;
struct dma_map_ops *dma_ops ;
void *iommu ;
};
struct device;
struct device_private;
struct device_private;
struct device_driver;
struct device_driver;
struct driver_private;
struct driver_private;
struct module;
struct class;
struct class;
struct subsys_private;
struct subsys_private;
struct bus_type;
struct bus_type;
struct device_node;
struct device_node;
struct iommu_ops;
struct iommu_ops;
struct bus_attribute {
struct attribute attr ;
ssize_t (*show)(struct bus_type *bus , char *buf ) ;
ssize_t (*store)(struct bus_type *bus , char const *buf , size_t count ) ;
};
struct device_attribute;
struct driver_attribute;
struct bus_type {
char const *name ;
char const *dev_name ;
struct device *dev_root ;
struct bus_attribute *bus_attrs ;
struct device_attribute *dev_attrs ;
struct driver_attribute *drv_attrs ;
int (*match)(struct device *dev , struct device_driver *drv ) ;
int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
int (*probe)(struct device *dev ) ;
int (*remove)(struct device *dev ) ;
void (*shutdown)(struct device *dev ) ;
int (*suspend)(struct device *dev , pm_message_t state ) ;
int (*resume)(struct device *dev ) ;
struct dev_pm_ops const *pm ;
struct iommu_ops *iommu_ops ;
struct subsys_private *p ;
};
struct device_type;
struct of_device_id;
struct device_driver {
char const *name ;
struct bus_type *bus ;
struct module *owner ;
char const *mod_name ;
bool suppress_bind_attrs ;
struct of_device_id const *of_match_table ;
int (*probe)(struct device *dev ) ;
int (*remove)(struct device *dev ) ;
void (*shutdown)(struct device *dev ) ;
int (*suspend)(struct device *dev , pm_message_t state ) ;
int (*resume)(struct device *dev ) ;
struct attribute_group const **groups ;
struct dev_pm_ops const *pm ;
struct driver_private *p ;
};
struct driver_attribute {
struct attribute attr ;
ssize_t (*show)(struct device_driver *driver , char *buf ) ;
ssize_t (*store)(struct device_driver *driver , char const *buf , size_t count ) ;
};
struct class_attribute;
struct class {
char const *name ;
struct module *owner ;
struct class_attribute *class_attrs ;
struct device_attribute *dev_attrs ;
struct bin_attribute *dev_bin_attrs ;
struct kobject *dev_kobj ;
int (*dev_uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
char *(*devnode)(struct device *dev , umode_t *mode ) ;
void (*class_release)(struct class *class ) ;
void (*dev_release)(struct device *dev ) ;
int (*suspend)(struct device *dev , pm_message_t state ) ;
int (*resume)(struct device *dev ) ;
struct kobj_ns_type_operations const *ns_type ;
void const *(*namespace)(struct device *dev ) ;
struct dev_pm_ops const *pm ;
struct subsys_private *p ;
};
struct class_attribute {
struct attribute attr ;
ssize_t (*show)(struct class *class , struct class_attribute *attr , char *buf ) ;
ssize_t (*store)(struct class *class , struct class_attribute *attr , char const *buf ,
size_t count ) ;
void const *(*namespace)(struct class *class , struct class_attribute const *attr ) ;
};
struct device_type {
char const *name ;
struct attribute_group const **groups ;
int (*uevent)(struct device *dev , struct kobj_uevent_env *env ) ;
char *(*devnode)(struct device *dev , umode_t *mode ) ;
void (*release)(struct device *dev ) ;
struct dev_pm_ops const *pm ;
};
struct device_attribute {
struct attribute attr ;
ssize_t (*show)(struct device *dev , struct device_attribute *attr , char *buf ) ;
ssize_t (*store)(struct device *dev , struct device_attribute *attr , char const *buf ,
size_t count ) ;
};
struct device_dma_parameters {
unsigned int max_segment_size ;
unsigned long segment_boundary_mask ;
};
struct dma_coherent_mem;
struct device {
struct device *parent ;
struct device_private *p ;
struct kobject kobj ;
char const *init_name ;
struct device_type const *type ;
struct mutex mutex ;
struct bus_type *bus ;
struct device_driver *driver ;
void *platform_data ;
struct dev_pm_info power ;
struct dev_pm_domain *pm_domain ;
int numa_node ;
u64 *dma_mask ;
u64 coherent_dma_mask ;
struct device_dma_parameters *dma_parms ;
struct list_head dma_pools ;
struct dma_coherent_mem *dma_mem ;
struct dev_archdata archdata ;
struct device_node *of_node ;
dev_t devt ;
u32 id ;
spinlock_t devres_lock ;
struct list_head devres_head ;
struct klist_node knode_class ;
struct class *class ;
struct attribute_group const **groups ;
void (*release)(struct device *dev ) ;
};
struct wakeup_source {
char const *name ;
struct list_head entry ;
spinlock_t lock ;
struct timer_list timer ;
unsigned long timer_expires ;
ktime_t total_time ;
ktime_t max_time ;
ktime_t last_time ;
unsigned long event_count ;
unsigned long active_count ;
unsigned long relax_count ;
unsigned long hit_count ;
unsigned int active : 1 ;
};
struct page;
struct rw_semaphore;
struct rw_semaphore;
struct rw_semaphore {
long count ;
raw_spinlock_t wait_lock ;
struct list_head wait_list ;
};
struct page;
struct device;
struct vm_area_struct;
struct page;
struct vm_area_struct;
typedef unsigned long kernel_ulong_t;
struct hid_device_id {
__u16 bus ;
__u16 pad1 ;
__u32 vendor ;
__u32 product ;
kernel_ulong_t driver_data __attribute__((__aligned__(sizeof(kernel_ulong_t )))) ;
};
struct of_device_id {
char name[32] ;
char type[32] ;
char compatible[128] ;
void *data ;
};
struct input_device_id {
kernel_ulong_t flags ;
__u16 bustype ;
__u16 vendor ;
__u16 product ;
__u16 version ;
kernel_ulong_t evbit[1] ;
kernel_ulong_t keybit[12] ;
kernel_ulong_t relbit[1] ;
kernel_ulong_t absbit[1] ;
kernel_ulong_t mscbit[1] ;
kernel_ulong_t ledbit[1] ;
kernel_ulong_t sndbit[1] ;
kernel_ulong_t ffbit[2] ;
kernel_ulong_t swbit[1] ;
kernel_ulong_t driver_info ;
};
struct input_id {
__u16 bustype ;
__u16 vendor ;
__u16 product ;
__u16 version ;
};
struct input_absinfo {
__s32 value ;
__s32 minimum ;
__s32 maximum ;
__s32 fuzz ;
__s32 flat ;
__s32 resolution ;
};
struct input_keymap_entry {
__u8 flags ;
__u8 len ;
__u16 index ;
__u32 keycode ;
__u8 scancode[32] ;
};
struct ff_replay {
__u16 length ;
__u16 delay ;
};
struct ff_trigger {
__u16 button ;
__u16 interval ;
};
struct ff_envelope {
__u16 attack_length ;
__u16 attack_level ;
__u16 fade_length ;
__u16 fade_level ;
};
struct ff_constant_effect {
__s16 level ;
struct ff_envelope envelope ;
};
struct ff_ramp_effect {
__s16 start_level ;
__s16 end_level ;
struct ff_envelope envelope ;
};
struct ff_condition_effect {
__u16 right_saturation ;
__u16 left_saturation ;
__s16 right_coeff ;
__s16 left_coeff ;
__u16 deadband ;
__s16 center ;
};
struct ff_periodic_effect {
__u16 waveform ;
__u16 period ;
__s16 magnitude ;
__s16 offset ;
__u16 phase ;
struct ff_envelope envelope ;
__u32 custom_len ;
__s16 *custom_data ;
};
struct ff_rumble_effect {
__u16 strong_magnitude ;
__u16 weak_magnitude ;
};
union __anonunion_u_140 {
struct ff_constant_effect constant ;
struct ff_ramp_effect ramp ;
struct ff_periodic_effect periodic ;
struct ff_condition_effect condition[2] ;
struct ff_rumble_effect rumble ;
};
struct ff_effect {
__u16 type ;
__s16 id ;
__u16 direction ;
struct ff_trigger trigger ;
struct ff_replay replay ;
union __anonunion_u_140 u ;
};
struct page;
struct block_device;
struct block_device;
struct hlist_bl_node;
struct hlist_bl_head {
struct hlist_bl_node *first ;
};
struct hlist_bl_node {
struct hlist_bl_node *next ;
struct hlist_bl_node **pprev ;
};
struct nameidata;
struct nameidata;
struct path;
struct path;
struct vfsmount;
struct vfsmount;
struct qstr {
unsigned int hash ;
unsigned int len ;
unsigned char const *name ;
};
struct inode;
struct dentry_operations;
struct super_block;
union __anonunion_d_u_141 {
struct list_head d_child ;
struct rcu_head d_rcu ;
};
struct dentry {
unsigned int d_flags ;
seqcount_t d_seq ;
struct hlist_bl_node d_hash ;
struct dentry *d_parent ;
struct qstr d_name ;
struct inode *d_inode ;
unsigned char d_iname[32] ;
unsigned int d_count ;
spinlock_t d_lock ;
struct dentry_operations const *d_op ;
struct super_block *d_sb ;
unsigned long d_time ;
void *d_fsdata ;
struct list_head d_lru ;
union __anonunion_d_u_141 d_u ;
struct list_head d_subdirs ;
struct list_head d_alias ;
};
struct dentry_operations {
int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
int (*d_hash)(struct dentry const * , struct inode const * , struct qstr * ) ;
int (*d_compare)(struct dentry const * , struct inode const * , struct dentry const * ,
struct inode const * , unsigned int , char const * , struct qstr const * ) ;
int (*d_delete)(struct dentry const * ) ;
void (*d_release)(struct dentry * ) ;
void (*d_prune)(struct dentry * ) ;
void (*d_iput)(struct dentry * , struct inode * ) ;
char *(*d_dname)(struct dentry * , char * , int ) ;
struct vfsmount *(*d_automount)(struct path * ) ;
int (*d_manage)(struct dentry * , bool ) ;
} __attribute__((__aligned__((1) << (6) ))) ;
struct dentry;
struct vfsmount;
struct path {
struct vfsmount *mnt ;
struct dentry *dentry ;
};
struct kstat {
u64 ino ;
dev_t dev ;
umode_t mode ;
unsigned int nlink ;
uid_t uid ;
gid_t gid ;
dev_t rdev ;
loff_t size ;
struct timespec atime ;
struct timespec mtime ;
struct timespec ctime ;
unsigned long blksize ;
unsigned long long blocks ;
};
struct radix_tree_node;
struct radix_tree_root {
unsigned int height ;
gfp_t gfp_mask ;
struct radix_tree_node *rnode ;
};
struct prio_tree_node;
struct prio_tree_node {
struct prio_tree_node *left ;
struct prio_tree_node *right ;
struct prio_tree_node *parent ;
unsigned long start ;
unsigned long last ;
};
struct prio_tree_root {
struct prio_tree_node *prio_tree_node ;
unsigned short index_bits ;
unsigned short raw ;
};
enum pid_type {
PIDTYPE_PID = 0,
PIDTYPE_PGID = 1,
PIDTYPE_SID = 2,
PIDTYPE_MAX = 3
} ;
struct pid_namespace;
struct upid {
int nr ;
struct pid_namespace *ns ;
struct hlist_node pid_chain ;
};
struct pid {
atomic_t count ;
unsigned int level ;
struct hlist_head tasks[3] ;
struct rcu_head rcu ;
struct upid numbers[1] ;
};
struct pid_namespace;
struct task_struct;
struct dentry;
struct semaphore {
raw_spinlock_t lock ;
unsigned int count ;
struct list_head wait_list ;
};
struct fiemap_extent {
__u64 fe_logical ;
__u64 fe_physical ;
__u64 fe_length ;
__u64 fe_reserved64[2] ;
__u32 fe_flags ;
__u32 fe_reserved[3] ;
};
struct shrink_control {
gfp_t gfp_mask ;
unsigned long nr_to_scan ;
};
struct shrinker {
int (*shrink)(struct shrinker * , struct shrink_control *sc ) ;
int seeks ;
long batch ;
struct list_head list ;
atomic_long_t nr_in_batch ;
};
enum migrate_mode {
MIGRATE_ASYNC = 0,
MIGRATE_SYNC_LIGHT = 1,
MIGRATE_SYNC = 2
} ;
struct export_operations;
struct export_operations;
struct iovec;
struct iovec;
struct nameidata;
struct kiocb;
struct kiocb;
struct kobject;
struct pipe_inode_info;
struct pipe_inode_info;
struct poll_table_struct;
struct poll_table_struct;
struct kstatfs;
struct kstatfs;
struct vm_area_struct;
struct vfsmount;
struct cred;
struct cred;
struct iattr {
unsigned int ia_valid ;
umode_t ia_mode ;
uid_t ia_uid ;
gid_t ia_gid ;
loff_t ia_size ;
struct timespec ia_atime ;
struct timespec ia_mtime ;
struct timespec ia_ctime ;
struct file *ia_file ;
};
struct if_dqinfo {
__u64 dqi_bgrace ;
__u64 dqi_igrace ;
__u32 dqi_flags ;
__u32 dqi_valid ;
};
struct fs_disk_quota {
__s8 d_version ;
__s8 d_flags ;
__u16 d_fieldmask ;
__u32 d_id ;
__u64 d_blk_hardlimit ;
__u64 d_blk_softlimit ;
__u64 d_ino_hardlimit ;
__u64 d_ino_softlimit ;
__u64 d_bcount ;
__u64 d_icount ;
__s32 d_itimer ;
__s32 d_btimer ;
__u16 d_iwarns ;
__u16 d_bwarns ;
__s32 d_padding2 ;
__u64 d_rtb_hardlimit ;
__u64 d_rtb_softlimit ;
__u64 d_rtbcount ;
__s32 d_rtbtimer ;
__u16 d_rtbwarns ;
__s16 d_padding3 ;
char d_padding4[8] ;
};
struct fs_qfilestat {
__u64 qfs_ino ;
__u64 qfs_nblks ;
__u32 qfs_nextents ;
};
typedef struct fs_qfilestat fs_qfilestat_t;
struct fs_quota_stat {
__s8 qs_version ;
__u16 qs_flags ;
__s8 qs_pad ;
fs_qfilestat_t qs_uquota ;
fs_qfilestat_t qs_gquota ;
__u32 qs_incoredqs ;
__s32 qs_btimelimit ;
__s32 qs_itimelimit ;
__s32 qs_rtbtimelimit ;
__u16 qs_bwarnlimit ;
__u16 qs_iwarnlimit ;
};
struct dquot;
struct dquot;
typedef __kernel_uid32_t qid_t;
typedef long long qsize_t;
struct mem_dqblk {
qsize_t dqb_bhardlimit ;
qsize_t dqb_bsoftlimit ;
qsize_t dqb_curspace ;
qsize_t dqb_rsvspace ;
qsize_t dqb_ihardlimit ;
qsize_t dqb_isoftlimit ;
qsize_t dqb_curinodes ;
time_t dqb_btime ;
time_t dqb_itime ;
};
struct quota_format_type;
struct quota_format_type;
struct mem_dqinfo {
struct quota_format_type *dqi_format ;
int dqi_fmt_id ;
struct list_head dqi_dirty_list ;
unsigned long dqi_flags ;
unsigned int dqi_bgrace ;
unsigned int dqi_igrace ;
qsize_t dqi_maxblimit ;
qsize_t dqi_maxilimit ;
void *dqi_priv ;
};
struct super_block;
struct dquot {
struct hlist_node dq_hash ;
struct list_head dq_inuse ;
struct list_head dq_free ;
struct list_head dq_dirty ;
struct mutex dq_lock ;
atomic_t dq_count ;
wait_queue_head_t dq_wait_unused ;
struct super_block *dq_sb ;
unsigned int dq_id ;
loff_t dq_off ;
unsigned long dq_flags ;
short dq_type ;
struct mem_dqblk dq_dqb ;
};
struct quota_format_ops {
int (*check_quota_file)(struct super_block *sb , int type ) ;
int (*read_file_info)(struct super_block *sb , int type ) ;
int (*write_file_info)(struct super_block *sb , int type ) ;
int (*free_file_info)(struct super_block *sb , int type ) ;
int (*read_dqblk)(struct dquot *dquot ) ;
int (*commit_dqblk)(struct dquot *dquot ) ;
int (*release_dqblk)(struct dquot *dquot ) ;
};
struct dquot_operations {
int (*write_dquot)(struct dquot * ) ;
struct dquot *(*alloc_dquot)(struct super_block * , int ) ;
void (*destroy_dquot)(struct dquot * ) ;
int (*acquire_dquot)(struct dquot * ) ;
int (*release_dquot)(struct dquot * ) ;
int (*mark_dirty)(struct dquot * ) ;
int (*write_info)(struct super_block * , int ) ;
qsize_t *(*get_reserved_space)(struct inode * ) ;
};
struct path;
struct quotactl_ops {
int (*quota_on)(struct super_block * , int , int , struct path * ) ;
int (*quota_on_meta)(struct super_block * , int , int ) ;
int (*quota_off)(struct super_block * , int ) ;
int (*quota_sync)(struct super_block * , int , int ) ;
int (*get_info)(struct super_block * , int , struct if_dqinfo * ) ;
int (*set_info)(struct super_block * , int , struct if_dqinfo * ) ;
int (*get_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
int (*set_dqblk)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
int (*set_xstate)(struct super_block * , unsigned int , int ) ;
};
struct quota_format_type {
int qf_fmt_id ;
struct quota_format_ops const *qf_ops ;
struct module *qf_owner ;
struct quota_format_type *qf_next ;
};
struct quota_info {
unsigned int flags ;
struct mutex dqio_mutex ;
struct mutex dqonoff_mutex ;
struct rw_semaphore dqptr_sem ;
struct inode *files[2] ;
struct mem_dqinfo info[2] ;
struct quota_format_ops const *ops[2] ;