|
/* Generated by Frama-C */
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef signed char __s8;
|
|
|
|
#line 20 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef unsigned char __u8;
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef short __s16;
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef unsigned short __u16;
|
|
|
|
#line 25 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef int __s32;
|
|
|
|
#line 26 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef unsigned int __u32;
|
|
|
|
#line 30 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/int-ll64.h"
|
|
typedef unsigned long long __u64;
|
|
|
|
#line 16 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef unsigned char u8;
|
|
|
|
#line 18 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef short s16;
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef unsigned short u16;
|
|
|
|
#line 21 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef int s32;
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef unsigned int u32;
|
|
|
|
#line 24 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef long long s64;
|
|
|
|
#line 25 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/int-ll64.h"
|
|
typedef unsigned long long u64;
|
|
|
|
#line 14 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef long __kernel_long_t;
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef unsigned long __kernel_ulong_t;
|
|
|
|
#line 27 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef int __kernel_pid_t;
|
|
|
|
#line 40 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef __kernel_long_t __kernel_suseconds_t;
|
|
|
|
#line 48 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef unsigned int __kernel_uid32_t;
|
|
|
|
#line 49 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef unsigned int __kernel_gid32_t;
|
|
|
|
#line 71 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef __kernel_ulong_t __kernel_size_t;
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef __kernel_long_t __kernel_ssize_t;
|
|
|
|
#line 87 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef long long __kernel_loff_t;
|
|
|
|
#line 88 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef __kernel_long_t __kernel_time_t;
|
|
|
|
#line 89 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef __kernel_long_t __kernel_clock_t;
|
|
|
|
#line 90 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef int __kernel_timer_t;
|
|
|
|
#line 91 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/posix_types.h"
|
|
typedef int __kernel_clockid_t;
|
|
|
|
#line 12 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __u32 __kernel_dev_t;
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_dev_t dev_t;
|
|
|
|
#line 18 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned short umode_t;
|
|
|
|
#line 21 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_pid_t pid_t;
|
|
|
|
#line 26 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_clockid_t clockid_t;
|
|
|
|
#line 29 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef _Bool bool;
|
|
|
|
#line 31 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_uid32_t uid_t;
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_gid32_t gid_t;
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_loff_t loff_t;
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_size_t size_t;
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_ssize_t ssize_t;
|
|
|
|
#line 69 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __kernel_time_t time_t;
|
|
|
|
#line 91 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned int uint;
|
|
|
|
#line 102 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __s32 int32_t;
|
|
|
|
#line 108 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __u32 uint32_t;
|
|
|
|
#line 111 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef __u64 uint64_t;
|
|
|
|
#line 133 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned long sector_t;
|
|
|
|
#line 134 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned long blkcnt_t;
|
|
|
|
#line 146 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef u64 dma_addr_t;
|
|
|
|
#line 157 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned int gfp_t;
|
|
|
|
#line 158 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned int fmode_t;
|
|
|
|
#line 159 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef unsigned int oom_flags_t;
|
|
|
|
#line 162 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef u64 phys_addr_t;
|
|
|
|
#line 167 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef phys_addr_t resource_size_t;
|
|
|
|
#line 177 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct __anonstruct_atomic_t_6 {
|
|
int counter ;
|
|
};
|
|
|
|
#line 177 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef struct __anonstruct_atomic_t_6 atomic_t;
|
|
|
|
#line 182 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct __anonstruct_atomic64_t_7 {
|
|
long counter ;
|
|
};
|
|
|
|
#line 182 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
typedef struct __anonstruct_atomic64_t_7 atomic64_t;
|
|
|
|
#line 183 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct list_head {
|
|
struct list_head *next ;
|
|
struct list_head *prev ;
|
|
};
|
|
|
|
#line 188
|
|
struct hlist_node;
|
|
|
|
#line 188 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct hlist_head {
|
|
struct hlist_node *first ;
|
|
};
|
|
|
|
#line 192 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct hlist_node {
|
|
struct hlist_node *next ;
|
|
struct hlist_node **pprev ;
|
|
};
|
|
|
|
#line 203 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/types.h"
|
|
struct callback_head {
|
|
struct callback_head *next ;
|
|
void (*func)(struct callback_head *) ;
|
|
};
|
|
|
|
#line 17 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
struct device;
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/sysinfo.h"
|
|
struct kernel_symbol {
|
|
unsigned long value ;
|
|
char const *name ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/export.h"
|
|
struct module;
|
|
|
|
#line 65 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/page_types.h"
|
|
struct pt_regs {
|
|
unsigned long r15 ;
|
|
unsigned long r14 ;
|
|
unsigned long r13 ;
|
|
unsigned long r12 ;
|
|
unsigned long bp ;
|
|
unsigned long bx ;
|
|
unsigned long r11 ;
|
|
unsigned long r10 ;
|
|
unsigned long r9 ;
|
|
unsigned long r8 ;
|
|
unsigned long ax ;
|
|
unsigned long cx ;
|
|
unsigned long dx ;
|
|
unsigned long si ;
|
|
unsigned long di ;
|
|
unsigned long orig_ax ;
|
|
unsigned long ip ;
|
|
unsigned long cs ;
|
|
unsigned long flags ;
|
|
unsigned long sp ;
|
|
unsigned long ss ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/ptrace.h"
|
|
struct __anonstruct_9 {
|
|
unsigned int a ;
|
|
unsigned int b ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/ptrace.h"
|
|
struct __anonstruct_10 {
|
|
u16 limit0 ;
|
|
u16 base0 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(8))) base1 : 8 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(4))) type : 4 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) s : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(2))) dpl : 2 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) p : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(4))) limit : 4 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) avl : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) l : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) d : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) g : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(8))) base2 : 8 ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/ptrace.h"
|
|
union __anonunion_8 {
|
|
struct __anonstruct_9 __anonCompField___anonunion_8_4 ;
|
|
struct __anonstruct_10 __anonCompField___anonunion_8_5 ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/ptrace.h"
|
|
struct desc_struct {
|
|
union __anonunion_8 __anonCompField_desc_struct_6 ;
|
|
};
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_64_types.h"
|
|
typedef unsigned long pgdval_t;
|
|
|
|
#line 16 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_64_types.h"
|
|
typedef unsigned long pgprotval_t;
|
|
|
|
#line 20 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_64_types.h"
|
|
struct pgprot {
|
|
pgprotval_t pgprot ;
|
|
};
|
|
|
|
#line 243 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_types.h"
|
|
typedef struct pgprot pgprot_t;
|
|
|
|
#line 245 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_types.h"
|
|
struct __anonstruct_pgd_t_12 {
|
|
pgdval_t pgd ;
|
|
};
|
|
|
|
#line 245 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_types.h"
|
|
typedef struct __anonstruct_pgd_t_12 pgd_t;
|
|
|
|
#line 333
|
|
struct page;
|
|
|
|
#line 333 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_types.h"
|
|
typedef struct page *pgtable_t;
|
|
|
|
#line 341
|
|
struct file;
|
|
|
|
#line 354
|
|
struct seq_file;
|
|
|
|
#line 389
|
|
struct thread_struct;
|
|
|
|
#line 391
|
|
struct mm_struct;
|
|
|
|
#line 392
|
|
struct task_struct;
|
|
|
|
#line 393
|
|
struct cpumask;
|
|
|
|
#line 394 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pgtable_types.h"
|
|
struct paravirt_callee_save {
|
|
void *func ;
|
|
};
|
|
|
|
#line 196 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/paravirt_types.h"
|
|
struct pv_irq_ops {
|
|
struct paravirt_callee_save save_fl ;
|
|
struct paravirt_callee_save restore_fl ;
|
|
struct paravirt_callee_save irq_disable ;
|
|
struct paravirt_callee_save irq_enable ;
|
|
void (*safe_halt)(void) ;
|
|
void (*halt)(void) ;
|
|
void (*adjust_exception_frame)(void) ;
|
|
};
|
|
|
|
#line 327
|
|
struct arch_spinlock;
|
|
|
|
#line 18 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
typedef u16 __ticket_t;
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
typedef u32 __ticketpair_t;
|
|
|
|
#line 20 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
struct __raw_tickets {
|
|
__ticket_t head ;
|
|
__ticket_t tail ;
|
|
};
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
union __anonunion_15 {
|
|
__ticketpair_t head_tail ;
|
|
struct __raw_tickets tickets ;
|
|
};
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
struct arch_spinlock {
|
|
union __anonunion_15 __anonCompField_arch_spinlock_7 ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/spinlock_types.h"
|
|
typedef struct arch_spinlock arch_spinlock_t;
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/rwlock.h"
|
|
struct __anonstruct_17 {
|
|
u32 read ;
|
|
s32 write ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/rwlock.h"
|
|
union __anonunion_arch_rwlock_t_16 {
|
|
s64 lock ;
|
|
struct __anonstruct_17 __anonCompField___anonunion_arch_rwlock_t_16_8 ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/rwlock.h"
|
|
typedef union __anonunion_arch_rwlock_t_16 arch_rwlock_t;
|
|
|
|
#line 142 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/init.h"
|
|
typedef void (*ctor_fn_t)(void);
|
|
|
|
#line 376 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/printk.h"
|
|
struct file_operations;
|
|
|
|
#line 388
|
|
struct completion;
|
|
|
|
#line 416 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernel.h"
|
|
struct pid;
|
|
|
|
#line 527 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/percpu.h"
|
|
struct bug_entry {
|
|
int bug_addr_disp ;
|
|
int file_disp ;
|
|
unsigned short line ;
|
|
unsigned short flags ;
|
|
};
|
|
|
|
#line 102 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bug.h"
|
|
struct timespec;
|
|
|
|
#line 127 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/uapi/asm/vm86.h"
|
|
struct kernel_vm86_regs {
|
|
struct pt_regs pt ;
|
|
unsigned short es ;
|
|
unsigned short __esh ;
|
|
unsigned short ds ;
|
|
unsigned short __dsh ;
|
|
unsigned short fs ;
|
|
unsigned short __fsh ;
|
|
unsigned short gs ;
|
|
unsigned short __gsh ;
|
|
};
|
|
|
|
#line 79 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/vm86.h"
|
|
union __anonunion_22 {
|
|
struct pt_regs *regs ;
|
|
struct kernel_vm86_regs *vm86 ;
|
|
};
|
|
|
|
#line 79 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/vm86.h"
|
|
struct math_emu_info {
|
|
long ___orig_eip ;
|
|
union __anonunion_22 __anonCompField_math_emu_info_10 ;
|
|
};
|
|
|
|
#line 306 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bitmap.h"
|
|
struct cpumask {
|
|
unsigned long bits[128U] ;
|
|
};
|
|
|
|
#line 14 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
typedef struct cpumask cpumask_t;
|
|
|
|
#line 663 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
typedef struct cpumask *cpumask_var_t;
|
|
|
|
#line 195 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/paravirt.h"
|
|
struct static_key;
|
|
|
|
#line 162 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct seq_operations;
|
|
|
|
#line 294 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct i387_fsave_struct {
|
|
u32 cwd ;
|
|
u32 swd ;
|
|
u32 twd ;
|
|
u32 fip ;
|
|
u32 fcs ;
|
|
u32 foo ;
|
|
u32 fos ;
|
|
u32 st_space[20U] ;
|
|
u32 status ;
|
|
};
|
|
|
|
#line 312 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct __anonstruct_27 {
|
|
u64 rip ;
|
|
u64 rdp ;
|
|
};
|
|
|
|
#line 312 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct __anonstruct_28 {
|
|
u32 fip ;
|
|
u32 fcs ;
|
|
u32 foo ;
|
|
u32 fos ;
|
|
};
|
|
|
|
#line 312 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
union __anonunion_26 {
|
|
struct __anonstruct_27 __anonCompField___anonunion_26_14 ;
|
|
struct __anonstruct_28 __anonCompField___anonunion_26_15 ;
|
|
};
|
|
|
|
#line 312 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
union __anonunion_29 {
|
|
u32 padding1[12U] ;
|
|
u32 sw_reserved[12U] ;
|
|
};
|
|
|
|
#line 312 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct i387_fxsave_struct {
|
|
u16 cwd ;
|
|
u16 swd ;
|
|
u16 twd ;
|
|
u16 fop ;
|
|
union __anonunion_26 __anonCompField_i387_fxsave_struct_16 ;
|
|
u32 mxcsr ;
|
|
u32 mxcsr_mask ;
|
|
u32 st_space[32U] ;
|
|
u32 xmm_space[64U] ;
|
|
u32 padding[12U] ;
|
|
union __anonunion_29 __anonCompField_i387_fxsave_struct_17 ;
|
|
};
|
|
|
|
#line 346 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct i387_soft_struct {
|
|
u32 cwd ;
|
|
u32 swd ;
|
|
u32 twd ;
|
|
u32 fip ;
|
|
u32 fcs ;
|
|
u32 foo ;
|
|
u32 fos ;
|
|
u32 st_space[20U] ;
|
|
u8 ftop ;
|
|
u8 changed ;
|
|
u8 lookahead ;
|
|
u8 no_update ;
|
|
u8 rm ;
|
|
u8 alimit ;
|
|
struct math_emu_info *info ;
|
|
u32 entry_eip ;
|
|
};
|
|
|
|
#line 367 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct ymmh_struct {
|
|
u32 ymmh_space[64U] ;
|
|
};
|
|
|
|
#line 372 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct lwp_struct {
|
|
u8 reserved[128U] ;
|
|
};
|
|
|
|
#line 377 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct bndregs_struct {
|
|
u64 bndregs[8U] ;
|
|
};
|
|
|
|
#line 381 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct bndcsr_struct {
|
|
u64 cfg_reg_u ;
|
|
u64 status_reg ;
|
|
};
|
|
|
|
#line 386 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct xsave_hdr_struct {
|
|
u64 xstate_bv ;
|
|
u64 reserved1[2U] ;
|
|
u64 reserved2[5U] ;
|
|
};
|
|
|
|
#line 392 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct xsave_struct {
|
|
struct i387_fxsave_struct i387 ;
|
|
struct xsave_hdr_struct xsave_hdr ;
|
|
struct ymmh_struct ymmh ;
|
|
struct lwp_struct lwp ;
|
|
struct bndregs_struct bndregs ;
|
|
struct bndcsr_struct bndcsr ;
|
|
};
|
|
|
|
#line 401 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
union thread_xstate {
|
|
struct i387_fsave_struct fsave ;
|
|
struct i387_fxsave_struct fxsave ;
|
|
struct i387_soft_struct soft ;
|
|
struct xsave_struct xsave ;
|
|
};
|
|
|
|
#line 409 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct fpu {
|
|
unsigned int last_cpu ;
|
|
unsigned int has_fpu ;
|
|
union thread_xstate *state ;
|
|
};
|
|
|
|
#line 456
|
|
struct kmem_cache;
|
|
|
|
#line 457
|
|
struct perf_event;
|
|
|
|
#line 458 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/processor.h"
|
|
struct thread_struct {
|
|
struct desc_struct tls_array[3U] ;
|
|
unsigned long sp0 ;
|
|
unsigned long sp ;
|
|
unsigned long usersp ;
|
|
unsigned short es ;
|
|
unsigned short ds ;
|
|
unsigned short fsindex ;
|
|
unsigned short gsindex ;
|
|
unsigned long fs ;
|
|
unsigned long gs ;
|
|
struct perf_event *ptrace_bps[4U] ;
|
|
unsigned long debugreg6 ;
|
|
unsigned long ptrace_dr7 ;
|
|
unsigned long cr2 ;
|
|
unsigned long trap_nr ;
|
|
unsigned long error_code ;
|
|
struct fpu fpu ;
|
|
unsigned long *io_bitmap_ptr ;
|
|
unsigned long iopl ;
|
|
unsigned int io_bitmap_max ;
|
|
unsigned char fpu_counter ;
|
|
};
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/atomic-long.h"
|
|
typedef atomic64_t atomic_long_t;
|
|
|
|
#line 152 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/barrier.h"
|
|
struct lockdep_map;
|
|
|
|
#line 55 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/debug_locks.h"
|
|
struct stack_trace {
|
|
unsigned int nr_entries ;
|
|
unsigned int max_entries ;
|
|
unsigned long *entries ;
|
|
int skip ;
|
|
};
|
|
|
|
#line 26 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/stacktrace.h"
|
|
struct lockdep_subclass_key {
|
|
char __one_byte ;
|
|
};
|
|
|
|
#line 53 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockdep.h"
|
|
struct lock_class_key {
|
|
struct lockdep_subclass_key subkeys[8U] ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockdep.h"
|
|
struct lock_class {
|
|
struct list_head hash_entry ;
|
|
struct list_head lock_entry ;
|
|
struct lockdep_subclass_key *key ;
|
|
unsigned int subclass ;
|
|
unsigned int dep_gen_id ;
|
|
unsigned long usage_mask ;
|
|
struct stack_trace usage_traces[13U] ;
|
|
struct list_head locks_after ;
|
|
struct list_head locks_before ;
|
|
unsigned int version ;
|
|
unsigned long ops ;
|
|
char const *name ;
|
|
int name_version ;
|
|
unsigned long contention_point[4U] ;
|
|
unsigned long contending_point[4U] ;
|
|
};
|
|
|
|
#line 144 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockdep.h"
|
|
struct lockdep_map {
|
|
struct lock_class_key *key ;
|
|
struct lock_class *class_cache[2U] ;
|
|
char const *name ;
|
|
int cpu ;
|
|
unsigned long ip ;
|
|
};
|
|
|
|
#line 205 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockdep.h"
|
|
struct held_lock {
|
|
u64 prev_chain_key ;
|
|
unsigned long acquire_ip ;
|
|
struct lockdep_map *instance ;
|
|
struct lockdep_map *nest_lock ;
|
|
u64 waittime_stamp ;
|
|
u64 holdtime_stamp ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(13))) class_idx : 13 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(2))) irq_context : 2 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) trylock : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(2))) read : 2 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(2))) check : 2 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) hardirqs_off : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(11))) references : 11 ;
|
|
};
|
|
|
|
#line 537 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockdep.h"
|
|
struct raw_spinlock {
|
|
arch_spinlock_t raw_lock ;
|
|
unsigned int magic ;
|
|
unsigned int owner_cpu ;
|
|
void *owner ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_types.h"
|
|
typedef struct raw_spinlock raw_spinlock_t;
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_types.h"
|
|
struct __anonstruct_33 {
|
|
u8 __padding[24U] ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_types.h"
|
|
union __anonunion_32 {
|
|
struct raw_spinlock rlock ;
|
|
struct __anonstruct_33 __anonCompField___anonunion_32_19 ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_types.h"
|
|
struct spinlock {
|
|
union __anonunion_32 __anonCompField_spinlock_20 ;
|
|
};
|
|
|
|
#line 76 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_types.h"
|
|
typedef struct spinlock spinlock_t;
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rwlock_types.h"
|
|
struct __anonstruct_rwlock_t_34 {
|
|
arch_rwlock_t raw_lock ;
|
|
unsigned int magic ;
|
|
unsigned int owner_cpu ;
|
|
void *owner ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rwlock_types.h"
|
|
typedef struct __anonstruct_rwlock_t_34 rwlock_t;
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/jump_label.h"
|
|
struct jump_entry;
|
|
|
|
#line 54
|
|
struct static_key_mod;
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/jump_label.h"
|
|
struct static_key {
|
|
atomic_t enabled ;
|
|
struct jump_entry *entries ;
|
|
struct static_key_mod *next ;
|
|
};
|
|
|
|
#line 36 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/jump_label.h"
|
|
typedef u64 jump_label_t;
|
|
|
|
#line 37 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/jump_label.h"
|
|
struct jump_entry {
|
|
jump_label_t code ;
|
|
jump_label_t target ;
|
|
jump_label_t key ;
|
|
};
|
|
|
|
#line 412 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock.h"
|
|
struct seqcount {
|
|
unsigned int sequence ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 51 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/seqlock.h"
|
|
typedef struct seqcount seqcount_t;
|
|
|
|
#line 431 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/seqlock.h"
|
|
struct timespec {
|
|
__kernel_time_t tv_sec ;
|
|
long tv_nsec ;
|
|
};
|
|
|
|
#line 13 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/time.h"
|
|
struct timeval {
|
|
__kernel_time_t tv_sec ;
|
|
__kernel_suseconds_t tv_usec ;
|
|
};
|
|
|
|
#line 83 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/highuid.h"
|
|
struct user_namespace;
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uidgid.h"
|
|
struct __anonstruct_kuid_t_36 {
|
|
uid_t val ;
|
|
};
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uidgid.h"
|
|
typedef struct __anonstruct_kuid_t_36 kuid_t;
|
|
|
|
#line 27 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uidgid.h"
|
|
struct __anonstruct_kgid_t_37 {
|
|
gid_t val ;
|
|
};
|
|
|
|
#line 27 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uidgid.h"
|
|
typedef struct __anonstruct_kgid_t_37 kgid_t;
|
|
|
|
#line 127 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uidgid.h"
|
|
struct kstat {
|
|
u64 ino ;
|
|
dev_t dev ;
|
|
umode_t mode ;
|
|
unsigned int nlink ;
|
|
kuid_t uid ;
|
|
kgid_t gid ;
|
|
dev_t rdev ;
|
|
loff_t size ;
|
|
struct timespec atime ;
|
|
struct timespec mtime ;
|
|
struct timespec ctime ;
|
|
unsigned long blksize ;
|
|
unsigned long long blocks ;
|
|
};
|
|
|
|
#line 34 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/wait.h"
|
|
struct __wait_queue_head {
|
|
spinlock_t lock ;
|
|
struct list_head task_list ;
|
|
};
|
|
|
|
#line 39 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/wait.h"
|
|
typedef struct __wait_queue_head wait_queue_head_t;
|
|
|
|
#line 98 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nodemask.h"
|
|
struct __anonstruct_nodemask_t_38 {
|
|
unsigned long bits[16U] ;
|
|
};
|
|
|
|
#line 98 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nodemask.h"
|
|
typedef struct __anonstruct_nodemask_t_38 nodemask_t;
|
|
|
|
#line 820 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mmzone.h"
|
|
struct mutex {
|
|
atomic_t count ;
|
|
spinlock_t wait_lock ;
|
|
struct list_head wait_list ;
|
|
struct task_struct *owner ;
|
|
char const *name ;
|
|
void *magic ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 67 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mutex.h"
|
|
struct mutex_waiter {
|
|
struct list_head list ;
|
|
struct task_struct *task ;
|
|
void *magic ;
|
|
};
|
|
|
|
#line 177
|
|
struct rw_semaphore;
|
|
|
|
#line 178 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mutex.h"
|
|
struct rw_semaphore {
|
|
long count ;
|
|
raw_spinlock_t wait_lock ;
|
|
struct list_head wait_list ;
|
|
struct lockdep_map dep_map ;
|
|
};
|
|
|
|
#line 155 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rwsem.h"
|
|
struct completion {
|
|
unsigned int done ;
|
|
wait_queue_head_t wait ;
|
|
};
|
|
|
|
#line 223 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rcupdate.h"
|
|
struct notifier_block;
|
|
|
|
#line 311 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/jiffies.h"
|
|
union ktime {
|
|
s64 tv64 ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/ktime.h"
|
|
typedef union ktime ktime_t;
|
|
|
|
#line 388
|
|
struct tvec_base;
|
|
|
|
#line 389 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/ktime.h"
|
|
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[16U] ;
|
|
struct lockdep_map lockdep_map ;
|
|
};
|
|
|
|
#line 254 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/timer.h"
|
|
struct hrtimer;
|
|
|
|
#line 266
|
|
struct workqueue_struct;
|
|
|
|
#line 267
|
|
struct work_struct;
|
|
|
|
#line 55 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/workqueue.h"
|
|
struct work_struct {
|
|
atomic_long_t data ;
|
|
struct list_head entry ;
|
|
void (*func)(struct work_struct *) ;
|
|
struct lockdep_map lockdep_map ;
|
|
};
|
|
|
|
#line 108 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/workqueue.h"
|
|
struct delayed_work {
|
|
struct work_struct work ;
|
|
struct timer_list timer ;
|
|
struct workqueue_struct *wq ;
|
|
int cpu ;
|
|
};
|
|
|
|
#line 51 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/notifier.h"
|
|
struct notifier_block {
|
|
int (*notifier_call)(struct notifier_block *, unsigned long , void *) ;
|
|
struct notifier_block *next ;
|
|
int priority ;
|
|
};
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/e820.h"
|
|
struct resource {
|
|
resource_size_t start ;
|
|
resource_size_t end ;
|
|
char const *name ;
|
|
unsigned long flags ;
|
|
struct resource *parent ;
|
|
struct resource *sibling ;
|
|
struct resource *child ;
|
|
};
|
|
|
|
#line 172 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/x86_init.h"
|
|
struct pci_dev;
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
struct pm_message {
|
|
int event ;
|
|
};
|
|
|
|
#line 64 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
typedef struct pm_message pm_message_t;
|
|
|
|
#line 65 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
struct dev_pm_ops {
|
|
int (*prepare)(struct device *) ;
|
|
void (*complete)(struct device *) ;
|
|
int (*suspend)(struct device *) ;
|
|
int (*resume)(struct device *) ;
|
|
int (*freeze)(struct device *) ;
|
|
int (*thaw)(struct device *) ;
|
|
int (*poweroff)(struct device *) ;
|
|
int (*restore)(struct device *) ;
|
|
int (*suspend_late)(struct device *) ;
|
|
int (*resume_early)(struct device *) ;
|
|
int (*freeze_late)(struct device *) ;
|
|
int (*thaw_early)(struct device *) ;
|
|
int (*poweroff_late)(struct device *) ;
|
|
int (*restore_early)(struct device *) ;
|
|
int (*suspend_noirq)(struct device *) ;
|
|
int (*resume_noirq)(struct device *) ;
|
|
int (*freeze_noirq)(struct device *) ;
|
|
int (*thaw_noirq)(struct device *) ;
|
|
int (*poweroff_noirq)(struct device *) ;
|
|
int (*restore_noirq)(struct device *) ;
|
|
int (*runtime_suspend)(struct device *) ;
|
|
int (*runtime_resume)(struct device *) ;
|
|
int (*runtime_idle)(struct device *) ;
|
|
};
|
|
|
|
#line 301
|
|
enum rpm_status {
|
|
RPM_ACTIVE = 0,
|
|
RPM_RESUMING = 1,
|
|
RPM_SUSPENDED = 2,
|
|
RPM_SUSPENDING = 3
|
|
};
|
|
|
|
#line 308
|
|
enum rpm_request {
|
|
RPM_REQ_NONE = 0,
|
|
RPM_REQ_IDLE = 1,
|
|
RPM_REQ_SUSPEND = 2,
|
|
RPM_REQ_AUTOSUSPEND = 3,
|
|
RPM_REQ_RESUME = 4
|
|
};
|
|
|
|
#line 316
|
|
struct wakeup_source;
|
|
|
|
#line 527 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
struct pm_subsys_data {
|
|
spinlock_t lock ;
|
|
unsigned int refcount ;
|
|
struct list_head clock_list ;
|
|
};
|
|
|
|
#line 534
|
|
struct dev_pm_qos;
|
|
|
|
#line 534 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
struct dev_pm_info {
|
|
pm_message_t power_state ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) can_wakeup : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) async_suspend : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_prepared : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_suspended : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) ignore_children : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) early_init : 1 ;
|
|
spinlock_t lock ;
|
|
struct list_head entry ;
|
|
struct completion completion ;
|
|
struct wakeup_source *wakeup ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) wakeup_path : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) syscore : 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 __attribute__((__FRAMA_C_BITFIELD_SIZE__(3))) disable_depth : 3 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) idle_notification : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) request_pending : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) deferred_resume : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) run_wake : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) runtime_auto : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_callbacks : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) irq_safe : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) use_autosuspend : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) timer_autosuspends : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) memalloc_noio : 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 ;
|
|
struct pm_subsys_data *subsys_data ;
|
|
struct dev_pm_qos *qos ;
|
|
};
|
|
|
|
#line 591 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pm.h"
|
|
struct dev_pm_domain {
|
|
struct dev_pm_ops ops ;
|
|
};
|
|
|
|
#line 133 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/topology.h"
|
|
struct pci_bus;
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/mmu.h"
|
|
struct __anonstruct_mm_context_t_103 {
|
|
void *ldt ;
|
|
int size ;
|
|
unsigned short ia32_compat ;
|
|
struct mutex lock ;
|
|
void *vdso ;
|
|
};
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/mmu.h"
|
|
typedef struct __anonstruct_mm_context_t_103 mm_context_t;
|
|
|
|
#line 18 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/pci_iomap.h"
|
|
struct rb_node {
|
|
unsigned long __rb_parent_color ;
|
|
struct rb_node *rb_right ;
|
|
struct rb_node *rb_left ;
|
|
};
|
|
|
|
#line 40 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rbtree.h"
|
|
struct rb_root {
|
|
struct rb_node *rb_node ;
|
|
};
|
|
|
|
#line 87
|
|
struct vm_area_struct;
|
|
|
|
#line 341 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/clocksource.h"
|
|
struct device_node;
|
|
|
|
#line 1297 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mmzone.h"
|
|
struct llist_node;
|
|
|
|
#line 64 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/llist.h"
|
|
struct llist_node {
|
|
struct llist_node *next ;
|
|
};
|
|
|
|
#line 835 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/sysctl.h"
|
|
struct nsproxy;
|
|
|
|
#line 37 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kmod.h"
|
|
struct cred;
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
typedef __u64 Elf64_Addr;
|
|
|
|
#line 16 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
typedef __u16 Elf64_Half;
|
|
|
|
#line 20 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
typedef __u32 Elf64_Word;
|
|
|
|
#line 21 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
typedef __u64 Elf64_Xword;
|
|
|
|
#line 190 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
struct elf64_sym {
|
|
Elf64_Word st_name ;
|
|
unsigned char st_info ;
|
|
unsigned char st_other ;
|
|
Elf64_Half st_shndx ;
|
|
Elf64_Addr st_value ;
|
|
Elf64_Xword st_size ;
|
|
};
|
|
|
|
#line 198 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/elf.h"
|
|
typedef struct elf64_sym Elf64_Sym;
|
|
|
|
#line 48 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/elf.h"
|
|
struct idr_layer {
|
|
int prefix ;
|
|
unsigned long bitmap[4U] ;
|
|
struct idr_layer *ary[256U] ;
|
|
int count ;
|
|
int layer ;
|
|
struct callback_head callback_head ;
|
|
};
|
|
|
|
#line 38 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/idr.h"
|
|
struct idr {
|
|
struct idr_layer *hint ;
|
|
struct idr_layer *top ;
|
|
struct idr_layer *id_free ;
|
|
int layers ;
|
|
int id_free_cnt ;
|
|
int cur ;
|
|
spinlock_t lock ;
|
|
};
|
|
|
|
#line 197 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/idr.h"
|
|
struct ida_bitmap {
|
|
long nr_busy ;
|
|
unsigned long bitmap[15U] ;
|
|
};
|
|
|
|
#line 213 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/idr.h"
|
|
struct ida {
|
|
struct idr idr ;
|
|
struct ida_bitmap *free_bitmap ;
|
|
};
|
|
|
|
#line 245
|
|
struct dentry;
|
|
|
|
#line 246
|
|
struct iattr;
|
|
|
|
#line 247
|
|
struct super_block;
|
|
|
|
#line 248
|
|
struct file_system_type;
|
|
|
|
#line 249
|
|
struct kernfs_open_node;
|
|
|
|
#line 250
|
|
struct kernfs_iattrs;
|
|
|
|
#line 266
|
|
struct kernfs_root;
|
|
|
|
#line 266 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/idr.h"
|
|
struct kernfs_elem_dir {
|
|
unsigned long subdirs ;
|
|
struct rb_root children ;
|
|
struct kernfs_root *root ;
|
|
};
|
|
|
|
#line 62 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_node;
|
|
|
|
#line 62 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_elem_symlink {
|
|
struct kernfs_node *target_kn ;
|
|
};
|
|
|
|
#line 66
|
|
struct kernfs_ops;
|
|
|
|
#line 66 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_elem_attr {
|
|
struct kernfs_ops const *ops ;
|
|
struct kernfs_open_node *open ;
|
|
loff_t size ;
|
|
};
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
union __anonunion_u_137 {
|
|
struct completion *completion ;
|
|
struct kernfs_node *removed_list ;
|
|
};
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
union __anonunion_138 {
|
|
struct kernfs_elem_dir dir ;
|
|
struct kernfs_elem_symlink symlink ;
|
|
struct kernfs_elem_attr attr ;
|
|
};
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_node {
|
|
atomic_t count ;
|
|
atomic_t active ;
|
|
struct lockdep_map dep_map ;
|
|
struct kernfs_node *parent ;
|
|
char const *name ;
|
|
struct rb_node rb ;
|
|
union __anonunion_u_137 u ;
|
|
void const *ns ;
|
|
unsigned int hash ;
|
|
union __anonunion_138 __anonCompField_kernfs_node_34 ;
|
|
void *priv ;
|
|
unsigned short flags ;
|
|
umode_t mode ;
|
|
unsigned int ino ;
|
|
struct kernfs_iattrs *iattr ;
|
|
};
|
|
|
|
#line 114 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_dir_ops {
|
|
int (*mkdir)(struct kernfs_node *, char const *, umode_t ) ;
|
|
int (*rmdir)(struct kernfs_node *) ;
|
|
int (*rename)(struct kernfs_node *, struct kernfs_node *, char const *) ;
|
|
};
|
|
|
|
#line 127 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_root {
|
|
struct kernfs_node *kn ;
|
|
struct ida ino_ida ;
|
|
struct kernfs_dir_ops *dir_ops ;
|
|
};
|
|
|
|
#line 137
|
|
struct vm_operations_struct;
|
|
|
|
#line 137 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_open_file {
|
|
struct kernfs_node *kn ;
|
|
struct file *file ;
|
|
struct mutex mutex ;
|
|
int event ;
|
|
struct list_head list ;
|
|
bool mmapped ;
|
|
struct vm_operations_struct const *vm_ops ;
|
|
};
|
|
|
|
#line 151 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kernfs_ops {
|
|
int (*seq_show)(struct seq_file *, void *) ;
|
|
void *(*seq_start)(struct seq_file *, loff_t *) ;
|
|
void *(*seq_next)(struct seq_file *, void *, loff_t *) ;
|
|
void (*seq_stop)(struct seq_file *, void *) ;
|
|
ssize_t (*read)(struct kernfs_open_file *, char *, size_t , loff_t ) ;
|
|
ssize_t (*write)(struct kernfs_open_file *, char *, size_t , loff_t ) ;
|
|
int (*mmap)(struct kernfs_open_file *, struct vm_area_struct *) ;
|
|
struct lock_class_key lockdep_key ;
|
|
};
|
|
|
|
#line 376
|
|
struct sock;
|
|
|
|
#line 377
|
|
struct kobject;
|
|
|
|
#line 378
|
|
enum kobj_ns_type {
|
|
KOBJ_NS_TYPE_NONE = 0,
|
|
KOBJ_NS_TYPE_NET = 1,
|
|
KOBJ_NS_TYPES = 2
|
|
};
|
|
|
|
#line 384 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernfs.h"
|
|
struct kobj_ns_type_operations {
|
|
enum kobj_ns_type type ;
|
|
bool (*current_may_mount)(void) ;
|
|
void *(*grab_current_ns)(void) ;
|
|
void const *(*netlink_ns)(struct sock *) ;
|
|
void const *(*initial_ns)(void) ;
|
|
void (*drop_ns)(void *) ;
|
|
};
|
|
|
|
#line 59 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject_ns.h"
|
|
struct bin_attribute;
|
|
|
|
#line 60 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject_ns.h"
|
|
struct attribute {
|
|
char const *name ;
|
|
umode_t mode ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) ignore_lockdep : 1 ;
|
|
struct lock_class_key *key ;
|
|
struct lock_class_key skey ;
|
|
};
|
|
|
|
#line 37 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sysfs.h"
|
|
struct attribute_group {
|
|
char const *name ;
|
|
umode_t (*is_visible)(struct kobject *, struct attribute *, int ) ;
|
|
struct attribute **attrs ;
|
|
struct bin_attribute **bin_attrs ;
|
|
};
|
|
|
|
#line 67 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sysfs.h"
|
|
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 *, struct vm_area_struct *) ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sysfs.h"
|
|
struct sysfs_ops {
|
|
ssize_t (*show)(struct kobject *, struct attribute *, char *) ;
|
|
ssize_t (*store)(struct kobject *, struct attribute *, char const *, size_t ) ;
|
|
};
|
|
|
|
#line 462 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sysfs.h"
|
|
struct kref {
|
|
atomic_t refcount ;
|
|
};
|
|
|
|
#line 50 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kset;
|
|
|
|
#line 50
|
|
struct kobj_type;
|
|
|
|
#line 50 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kobject {
|
|
char const *name ;
|
|
struct list_head entry ;
|
|
struct kobject *parent ;
|
|
struct kset *kset ;
|
|
struct kobj_type *ktype ;
|
|
struct kernfs_node *sd ;
|
|
struct kref kref ;
|
|
struct delayed_work release ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) state_initialized : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) state_in_sysfs : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) state_add_uevent_sent : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) state_remove_uevent_sent : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) uevent_suppress : 1 ;
|
|
};
|
|
|
|
#line 112 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kobj_type {
|
|
void (*release)(struct kobject *) ;
|
|
struct sysfs_ops const *sysfs_ops ;
|
|
struct attribute **default_attrs ;
|
|
struct kobj_ns_type_operations const *(*child_ns_type)(struct kobject *) ;
|
|
void const *(*namespace)(struct kobject *) ;
|
|
};
|
|
|
|
#line 120 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kobj_uevent_env {
|
|
char *envp[32U] ;
|
|
int envp_idx ;
|
|
char buf[2048U] ;
|
|
int buflen ;
|
|
};
|
|
|
|
#line 127 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kset_uevent_ops {
|
|
int (* const filter)(struct kset *, struct kobject *) ;
|
|
char const *(* const name)(struct kset *, struct kobject *) ;
|
|
int (* const uevent)(struct kset *, struct kobject *, struct kobj_uevent_env *) ;
|
|
};
|
|
|
|
#line 144 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kset {
|
|
struct list_head list ;
|
|
spinlock_t list_lock ;
|
|
struct kobject kobj ;
|
|
struct kset_uevent_ops const *uevent_ops ;
|
|
};
|
|
|
|
#line 219
|
|
struct kernel_param;
|
|
|
|
#line 224 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kobject.h"
|
|
struct kernel_param_ops {
|
|
unsigned int flags ;
|
|
int (*set)(char const *, struct kernel_param const *) ;
|
|
int (*get)(char *, struct kernel_param const *) ;
|
|
void (*free)(void *) ;
|
|
};
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
struct kparam_string;
|
|
|
|
#line 58
|
|
struct kparam_array;
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
union __anonunion_139 {
|
|
void *arg ;
|
|
struct kparam_string const *str ;
|
|
struct kparam_array const *arr ;
|
|
};
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
struct kernel_param {
|
|
char const *name ;
|
|
struct kernel_param_ops const *ops ;
|
|
u16 perm ;
|
|
s16 level ;
|
|
union __anonunion_139 __anonCompField_kernel_param_35 ;
|
|
};
|
|
|
|
#line 70 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
struct kparam_string {
|
|
unsigned int maxlen ;
|
|
char *string ;
|
|
};
|
|
|
|
#line 76 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
struct kparam_array {
|
|
unsigned int max ;
|
|
unsigned int elemsize ;
|
|
unsigned int *num ;
|
|
struct kernel_param_ops const *ops ;
|
|
void *elem ;
|
|
};
|
|
|
|
#line 463
|
|
struct tracepoint;
|
|
|
|
#line 464 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/moduleparam.h"
|
|
struct tracepoint_func {
|
|
void *func ;
|
|
void *data ;
|
|
};
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/tracepoint.h"
|
|
struct tracepoint {
|
|
char const *name ;
|
|
struct static_key key ;
|
|
void (*regfunc)(void) ;
|
|
void (*unregfunc)(void) ;
|
|
struct tracepoint_func *funcs ;
|
|
};
|
|
|
|
#line 95 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/tracepoint.h"
|
|
struct mod_arch_specific {
|
|
|
|
};
|
|
|
|
#line 36 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct module_param_attrs;
|
|
|
|
#line 36 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct module_kobject {
|
|
struct kobject kobj ;
|
|
struct module *mod ;
|
|
struct kobject *drivers_dir ;
|
|
struct module_param_attrs *mp ;
|
|
struct completion *kobj_completion ;
|
|
};
|
|
|
|
#line 46 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct module_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct module_attribute *, struct module_kobject *, char *) ;
|
|
ssize_t (*store)(struct module_attribute *, struct module_kobject *, char const *, size_t ) ;
|
|
void (*setup)(struct module *, char const *) ;
|
|
int (*test)(struct module *) ;
|
|
void (*free)(struct module *) ;
|
|
};
|
|
|
|
#line 72
|
|
struct exception_table_entry;
|
|
|
|
#line 208
|
|
enum module_state {
|
|
MODULE_STATE_LIVE = 0,
|
|
MODULE_STATE_COMING = 1,
|
|
MODULE_STATE_GOING = 2,
|
|
MODULE_STATE_UNFORMED = 3
|
|
};
|
|
|
|
#line 215 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct module_ref {
|
|
unsigned long incs ;
|
|
unsigned long decs ;
|
|
};
|
|
|
|
#line 229 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct mod_kallsyms {
|
|
Elf64_Sym *symtab ;
|
|
unsigned int num_symtab ;
|
|
char *strtab ;
|
|
};
|
|
|
|
#line 235
|
|
struct module_sect_attrs;
|
|
|
|
#line 235
|
|
struct module_notes_attrs;
|
|
|
|
#line 235
|
|
struct ftrace_event_call;
|
|
|
|
#line 235 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/module.h"
|
|
struct module {
|
|
enum module_state state ;
|
|
struct list_head list ;
|
|
char name[56U] ;
|
|
struct module_kobject mkobj ;
|
|
struct module_attribute *modinfo_attrs ;
|
|
char const *version ;
|
|
char const *srcversion ;
|
|
struct kobject *holders_dir ;
|
|
struct kernel_symbol const *syms ;
|
|
unsigned long const *crcs ;
|
|
unsigned int num_syms ;
|
|
struct kernel_param *kp ;
|
|
unsigned int num_kp ;
|
|
unsigned int num_gpl_syms ;
|
|
struct kernel_symbol const *gpl_syms ;
|
|
unsigned long const *gpl_crcs ;
|
|
struct kernel_symbol const *unused_syms ;
|
|
unsigned long const *unused_crcs ;
|
|
unsigned int num_unused_syms ;
|
|
unsigned int num_unused_gpl_syms ;
|
|
struct kernel_symbol const *unused_gpl_syms ;
|
|
unsigned long const *unused_gpl_crcs ;
|
|
bool sig_ok ;
|
|
struct kernel_symbol const *gpl_future_syms ;
|
|
unsigned long const *gpl_future_crcs ;
|
|
unsigned int num_gpl_future_syms ;
|
|
unsigned int num_exentries ;
|
|
struct exception_table_entry *extable ;
|
|
int (*init)(void) ;
|
|
void *module_init ;
|
|
void *module_core ;
|
|
unsigned int init_size ;
|
|
unsigned int core_size ;
|
|
unsigned int init_text_size ;
|
|
unsigned int core_text_size ;
|
|
unsigned int init_ro_size ;
|
|
unsigned int core_ro_size ;
|
|
struct mod_arch_specific arch ;
|
|
unsigned int taints ;
|
|
unsigned int num_bugs ;
|
|
struct list_head bug_list ;
|
|
struct bug_entry *bug_table ;
|
|
struct mod_kallsyms *kallsyms ;
|
|
struct mod_kallsyms core_kallsyms ;
|
|
struct module_sect_attrs *sect_attrs ;
|
|
struct module_notes_attrs *notes_attrs ;
|
|
char *args ;
|
|
void *percpu ;
|
|
unsigned int percpu_size ;
|
|
unsigned int num_tracepoints ;
|
|
struct tracepoint * const *tracepoints_ptrs ;
|
|
struct jump_entry *jump_entries ;
|
|
unsigned int num_jump_entries ;
|
|
unsigned int num_trace_bprintk_fmt ;
|
|
char const **trace_bprintk_fmt_start ;
|
|
struct ftrace_event_call **trace_events ;
|
|
unsigned int num_trace_events ;
|
|
unsigned int num_ftrace_callsites ;
|
|
unsigned long *ftrace_callsites ;
|
|
struct list_head source_list ;
|
|
struct list_head target_list ;
|
|
void (*exit)(void) ;
|
|
struct module_ref *refptr ;
|
|
ctor_fn_t (**ctors)(void) ;
|
|
unsigned int num_ctors ;
|
|
};
|
|
|
|
#line 13 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mod_devicetable.h"
|
|
typedef unsigned long kernel_ulong_t;
|
|
|
|
#line 14 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mod_devicetable.h"
|
|
struct pci_device_id {
|
|
__u32 vendor ;
|
|
__u32 device ;
|
|
__u32 subvendor ;
|
|
__u32 subdevice ;
|
|
__u32 class ;
|
|
__u32 class_mask ;
|
|
kernel_ulong_t driver_data ;
|
|
};
|
|
|
|
#line 186 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mod_devicetable.h"
|
|
struct acpi_device_id {
|
|
__u8 id[9U] ;
|
|
kernel_ulong_t driver_data ;
|
|
};
|
|
|
|
#line 219 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mod_devicetable.h"
|
|
struct of_device_id {
|
|
char name[32U] ;
|
|
char type[32U] ;
|
|
char compatible[128U] ;
|
|
void const *data ;
|
|
};
|
|
|
|
#line 609
|
|
struct klist_node;
|
|
|
|
#line 37 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/klist.h"
|
|
struct klist_node {
|
|
void *n_klist ;
|
|
struct list_head n_node ;
|
|
struct kref n_ref ;
|
|
};
|
|
|
|
#line 67
|
|
struct path;
|
|
|
|
#line 68
|
|
struct inode;
|
|
|
|
#line 69 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/klist.h"
|
|
struct seq_file {
|
|
char *buf ;
|
|
size_t size ;
|
|
size_t from ;
|
|
size_t count ;
|
|
size_t pad_until ;
|
|
loff_t index ;
|
|
loff_t read_pos ;
|
|
u64 version ;
|
|
struct mutex lock ;
|
|
struct seq_operations const *op ;
|
|
int poll_event ;
|
|
struct user_namespace *user_ns ;
|
|
void *private ;
|
|
};
|
|
|
|
#line 35 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/seq_file.h"
|
|
struct seq_operations {
|
|
void *(*start)(struct seq_file *, loff_t *) ;
|
|
void (*stop)(struct seq_file *, void *) ;
|
|
void *(*next)(struct seq_file *, void *, loff_t *) ;
|
|
int (*show)(struct seq_file *, void *) ;
|
|
};
|
|
|
|
#line 196
|
|
struct pinctrl;
|
|
|
|
#line 197
|
|
struct pinctrl_state;
|
|
|
|
#line 194 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pinctrl/consumer.h"
|
|
struct dev_pin_info {
|
|
struct pinctrl *p ;
|
|
struct pinctrl_state *default_state ;
|
|
struct pinctrl_state *sleep_state ;
|
|
struct pinctrl_state *idle_state ;
|
|
};
|
|
|
|
#line 42 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/ratelimit.h"
|
|
struct dma_map_ops;
|
|
|
|
#line 42 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/ratelimit.h"
|
|
struct dev_archdata {
|
|
struct dma_map_ops *dma_ops ;
|
|
void *iommu ;
|
|
};
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/device.h"
|
|
struct device_driver;
|
|
|
|
#line 16
|
|
struct driver_private;
|
|
|
|
#line 17
|
|
struct class;
|
|
|
|
#line 18
|
|
struct subsys_private;
|
|
|
|
#line 19
|
|
struct bus_type;
|
|
|
|
#line 20
|
|
struct iommu_ops;
|
|
|
|
#line 21
|
|
struct iommu_group;
|
|
|
|
#line 60 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct device_attribute;
|
|
|
|
#line 60 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct bus_type {
|
|
char const *name ;
|
|
char const *dev_name ;
|
|
struct device *dev_root ;
|
|
struct device_attribute *dev_attrs ;
|
|
struct attribute_group const **bus_groups ;
|
|
struct attribute_group const **dev_groups ;
|
|
struct attribute_group const **drv_groups ;
|
|
int (*match)(struct device *, struct device_driver *) ;
|
|
int (*uevent)(struct device *, struct kobj_uevent_env *) ;
|
|
int (*probe)(struct device *) ;
|
|
int (*remove)(struct device *) ;
|
|
void (*shutdown)(struct device *) ;
|
|
int (*online)(struct device *) ;
|
|
int (*offline)(struct device *) ;
|
|
int (*suspend)(struct device *, pm_message_t ) ;
|
|
int (*resume)(struct device *) ;
|
|
struct dev_pm_ops const *pm ;
|
|
struct iommu_ops *iommu_ops ;
|
|
struct subsys_private *p ;
|
|
struct lock_class_key lock_key ;
|
|
};
|
|
|
|
#line 138
|
|
struct device_type;
|
|
|
|
#line 195 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
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 ;
|
|
struct acpi_device_id const *acpi_match_table ;
|
|
int (*probe)(struct device *) ;
|
|
int (*remove)(struct device *) ;
|
|
void (*shutdown)(struct device *) ;
|
|
int (*suspend)(struct device *, pm_message_t ) ;
|
|
int (*resume)(struct device *) ;
|
|
struct attribute_group const **groups ;
|
|
struct dev_pm_ops const *pm ;
|
|
struct driver_private *p ;
|
|
};
|
|
|
|
#line 321
|
|
struct class_attribute;
|
|
|
|
#line 321 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct class {
|
|
char const *name ;
|
|
struct module *owner ;
|
|
struct class_attribute *class_attrs ;
|
|
struct attribute_group const **dev_groups ;
|
|
struct kobject *dev_kobj ;
|
|
int (*dev_uevent)(struct device *, struct kobj_uevent_env *) ;
|
|
char *(*devnode)(struct device *, umode_t *) ;
|
|
void (*class_release)(struct class *) ;
|
|
void (*dev_release)(struct device *) ;
|
|
int (*suspend)(struct device *, pm_message_t ) ;
|
|
int (*resume)(struct device *) ;
|
|
struct kobj_ns_type_operations const *ns_type ;
|
|
void const *(*namespace)(struct device *) ;
|
|
struct dev_pm_ops const *pm ;
|
|
struct subsys_private *p ;
|
|
};
|
|
|
|
#line 414 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct class_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct class *, struct class_attribute *, char *) ;
|
|
ssize_t (*store)(struct class *, struct class_attribute *, char const *, size_t ) ;
|
|
};
|
|
|
|
#line 482 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct device_type {
|
|
char const *name ;
|
|
struct attribute_group const **groups ;
|
|
int (*uevent)(struct device *, struct kobj_uevent_env *) ;
|
|
char *(*devnode)(struct device *, umode_t *, kuid_t *, kgid_t *) ;
|
|
void (*release)(struct device *) ;
|
|
struct dev_pm_ops const *pm ;
|
|
};
|
|
|
|
#line 510 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct device_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct device *, struct device_attribute *, char *) ;
|
|
ssize_t (*store)(struct device *, struct device_attribute *, char const *, size_t ) ;
|
|
};
|
|
|
|
#line 637 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct device_dma_parameters {
|
|
unsigned int max_segment_size ;
|
|
unsigned long segment_boundary_mask ;
|
|
};
|
|
|
|
#line 646
|
|
struct acpi_device;
|
|
|
|
#line 647 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
struct acpi_dev_node {
|
|
struct acpi_device *companion ;
|
|
};
|
|
|
|
#line 653
|
|
struct dma_coherent_mem;
|
|
|
|
#line 653 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
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 ;
|
|
struct dev_pin_info *pins ;
|
|
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 ;
|
|
struct acpi_dev_node acpi_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 *) ;
|
|
struct iommu_group *iommu_group ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) offline_disabled : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) offline : 1 ;
|
|
};
|
|
|
|
#line 795 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/device.h"
|
|
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 ;
|
|
ktime_t start_prevent_time ;
|
|
ktime_t prevent_sleep_time ;
|
|
unsigned long event_count ;
|
|
unsigned long active_count ;
|
|
unsigned long relax_count ;
|
|
unsigned long expire_count ;
|
|
unsigned long wakeup_count ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) active : 1 ;
|
|
bool __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) autosleep_enabled : 1 ;
|
|
};
|
|
|
|
#line 17 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/irqreturn.h"
|
|
struct hotplug_slot;
|
|
|
|
#line 17 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/irqreturn.h"
|
|
struct pci_slot {
|
|
struct pci_bus *bus ;
|
|
struct list_head list ;
|
|
struct hotplug_slot *hotplug ;
|
|
unsigned char number ;
|
|
struct kobject kobj ;
|
|
};
|
|
|
|
#line 110 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
typedef int pci_power_t;
|
|
|
|
#line 137 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
typedef unsigned int pci_channel_state_t;
|
|
|
|
#line 138
|
|
enum pci_channel_state {
|
|
pci_channel_io_normal = 1,
|
|
pci_channel_io_frozen = 2,
|
|
pci_channel_io_perm_failure = 3
|
|
};
|
|
|
|
#line 163 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
typedef unsigned short pci_dev_flags_t;
|
|
|
|
#line 182 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
typedef unsigned short pci_bus_flags_t;
|
|
|
|
#line 239
|
|
struct pcie_link_state;
|
|
|
|
#line 240
|
|
struct pci_vpd;
|
|
|
|
#line 241
|
|
struct pci_sriov;
|
|
|
|
#line 242
|
|
struct pci_ats;
|
|
|
|
#line 243
|
|
struct proc_dir_entry;
|
|
|
|
#line 243
|
|
struct pci_driver;
|
|
|
|
#line 243 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
union __anonunion_143 {
|
|
struct pci_sriov *sriov ;
|
|
struct pci_dev *physfn ;
|
|
};
|
|
|
|
#line 243 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_dev {
|
|
struct list_head bus_list ;
|
|
struct pci_bus *bus ;
|
|
struct pci_bus *subordinate ;
|
|
void *sysdata ;
|
|
struct proc_dir_entry *procent ;
|
|
struct pci_slot *slot ;
|
|
unsigned int devfn ;
|
|
unsigned short vendor ;
|
|
unsigned short device ;
|
|
unsigned short subsystem_vendor ;
|
|
unsigned short subsystem_device ;
|
|
unsigned int class ;
|
|
u8 revision ;
|
|
u8 hdr_type ;
|
|
u8 pcie_cap ;
|
|
u8 msi_cap ;
|
|
u8 msix_cap ;
|
|
u8 __attribute__((__FRAMA_C_BITFIELD_SIZE__(3))) pcie_mpss : 3 ;
|
|
u8 rom_base_reg ;
|
|
u8 pin ;
|
|
u16 pcie_flags_reg ;
|
|
struct pci_driver *driver ;
|
|
u64 dma_mask ;
|
|
struct device_dma_parameters dma_parms ;
|
|
pci_power_t current_state ;
|
|
u8 pm_cap ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(5))) pme_support : 5 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) pme_interrupt : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) pme_poll : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) d1_support : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) d2_support : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_d1d2 : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_d3cold : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) d3cold_allowed : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) mmio_always_on : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) wakeup_prepared : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) runtime_d3cold : 1 ;
|
|
unsigned int d3_delay ;
|
|
unsigned int d3cold_delay ;
|
|
struct pcie_link_state *link_state ;
|
|
pci_channel_state_t error_state ;
|
|
struct device dev ;
|
|
int cfg_size ;
|
|
unsigned int irq ;
|
|
struct resource resource[17U] ;
|
|
bool match_driver ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) transparent : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) multifunction : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_added : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_busmaster : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_msi : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_64bit_msi : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) block_cfg_access : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) broken_parity_status : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(2))) irq_reroute_variant : 2 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) msi_enabled : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) msix_enabled : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) ari_enabled : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_managed : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) needs_freset : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) state_saved : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_physfn : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_virtfn : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) reset_fn : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_hotplug_bridge : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) __aer_firmware_first_valid : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) __aer_firmware_first : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) broken_intx_masking : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) io_window_1k : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) non_compliant_bars : 1 ;
|
|
pci_dev_flags_t dev_flags ;
|
|
atomic_t enable_cnt ;
|
|
u32 saved_config_space[16U] ;
|
|
struct hlist_head saved_cap_space ;
|
|
struct bin_attribute *rom_attr ;
|
|
int rom_attr_enabled ;
|
|
struct bin_attribute *res_attr[17U] ;
|
|
struct bin_attribute *res_attr_wc[17U] ;
|
|
struct list_head msi_list ;
|
|
struct attribute_group const **msi_irq_groups ;
|
|
struct pci_vpd *vpd ;
|
|
union __anonunion_143 __anonCompField_pci_dev_36 ;
|
|
struct pci_ats *ats ;
|
|
phys_addr_t rom ;
|
|
size_t romlen ;
|
|
};
|
|
|
|
#line 433
|
|
struct pci_ops;
|
|
|
|
#line 433
|
|
struct msi_chip;
|
|
|
|
#line 433 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_bus {
|
|
struct list_head node ;
|
|
struct pci_bus *parent ;
|
|
struct list_head children ;
|
|
struct list_head devices ;
|
|
struct pci_dev *self ;
|
|
struct list_head slots ;
|
|
struct resource *resource[4U] ;
|
|
struct list_head resources ;
|
|
struct resource busn_res ;
|
|
struct pci_ops *ops ;
|
|
struct msi_chip *msi ;
|
|
void *sysdata ;
|
|
struct proc_dir_entry *procdir ;
|
|
unsigned char number ;
|
|
unsigned char primary ;
|
|
unsigned char max_bus_speed ;
|
|
unsigned char cur_bus_speed ;
|
|
char name[48U] ;
|
|
unsigned short bridge_ctl ;
|
|
pci_bus_flags_t bus_flags ;
|
|
struct device *bridge ;
|
|
struct device dev ;
|
|
struct bin_attribute *legacy_io ;
|
|
struct bin_attribute *legacy_mem ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_added : 1 ;
|
|
};
|
|
|
|
#line 538 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_ops {
|
|
int (*read)(struct pci_bus *, unsigned int , int , int , u32 *) ;
|
|
int (*write)(struct pci_bus *, unsigned int , int , int , u32 ) ;
|
|
};
|
|
|
|
#line 559 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_dynids {
|
|
spinlock_t lock ;
|
|
struct list_head list ;
|
|
};
|
|
|
|
#line 573 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
typedef unsigned int pci_ers_result_t;
|
|
|
|
#line 583 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_error_handlers {
|
|
pci_ers_result_t (*error_detected)(struct pci_dev *, enum pci_channel_state ) ;
|
|
pci_ers_result_t (*mmio_enabled)(struct pci_dev *) ;
|
|
pci_ers_result_t (*link_reset)(struct pci_dev *) ;
|
|
pci_ers_result_t (*slot_reset)(struct pci_dev *) ;
|
|
void (*resume)(struct pci_dev *) ;
|
|
};
|
|
|
|
#line 613 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_driver {
|
|
struct list_head node ;
|
|
char const *name ;
|
|
struct pci_device_id const *id_table ;
|
|
int (*probe)(struct pci_dev *, struct pci_device_id const *) ;
|
|
void (*remove)(struct pci_dev *) ;
|
|
int (*suspend)(struct pci_dev *, pm_message_t ) ;
|
|
int (*suspend_late)(struct pci_dev *, pm_message_t ) ;
|
|
int (*resume_early)(struct pci_dev *) ;
|
|
int (*resume)(struct pci_dev *) ;
|
|
void (*shutdown)(struct pci_dev *) ;
|
|
int (*sriov_configure)(struct pci_dev *, int ) ;
|
|
struct pci_error_handlers const *err_handler ;
|
|
struct device_driver driver ;
|
|
struct pci_dynids dynids ;
|
|
};
|
|
|
|
#line 1135 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct scatterlist {
|
|
unsigned long sg_magic ;
|
|
unsigned long page_link ;
|
|
unsigned int offset ;
|
|
unsigned int length ;
|
|
dma_addr_t dma_address ;
|
|
unsigned int dma_length ;
|
|
};
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/uprobes.h"
|
|
struct arch_uprobe_task {
|
|
unsigned long saved_scratch_register ;
|
|
unsigned int saved_trap_nr ;
|
|
unsigned int saved_tf ;
|
|
};
|
|
|
|
#line 54
|
|
enum uprobe_task_state {
|
|
UTASK_RUNNING = 0,
|
|
UTASK_SSTEP = 1,
|
|
UTASK_SSTEP_ACK = 2,
|
|
UTASK_SSTEP_TRAPPED = 3
|
|
};
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/uprobes.h"
|
|
struct __anonstruct_146 {
|
|
struct arch_uprobe_task autask ;
|
|
unsigned long vaddr ;
|
|
};
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/uprobes.h"
|
|
struct __anonstruct_147 {
|
|
struct callback_head dup_xol_work ;
|
|
unsigned long dup_xol_addr ;
|
|
};
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/uprobes.h"
|
|
union __anonunion_145 {
|
|
struct __anonstruct_146 __anonCompField___anonunion_145_38 ;
|
|
struct __anonstruct_147 __anonCompField___anonunion_145_39 ;
|
|
};
|
|
|
|
#line 61
|
|
struct uprobe;
|
|
|
|
#line 61
|
|
struct return_instance;
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/uprobes.h"
|
|
struct uprobe_task {
|
|
enum uprobe_task_state state ;
|
|
union __anonunion_145 __anonCompField_uprobe_task_40 ;
|
|
struct uprobe *active_uprobe ;
|
|
unsigned long xol_vaddr ;
|
|
struct return_instance *return_instances ;
|
|
unsigned int depth ;
|
|
};
|
|
|
|
#line 93 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct xol_area;
|
|
|
|
#line 94 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct uprobes_state {
|
|
struct xol_area *xol_area ;
|
|
};
|
|
|
|
#line 129
|
|
struct address_space;
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_148 {
|
|
struct address_space *mapping ;
|
|
void *s_mem ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_150 {
|
|
unsigned long index ;
|
|
void *freelist ;
|
|
bool pfmemalloc ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct __anonstruct_154 {
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(16))) inuse : 16 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(15))) objects : 15 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) frozen : 1 ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_153 {
|
|
atomic_t _mapcount ;
|
|
struct __anonstruct_154 __anonCompField___anonunion_153_43 ;
|
|
int units ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct __anonstruct_152 {
|
|
union __anonunion_153 __anonCompField___anonstruct_152_44 ;
|
|
atomic_t _count ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_151 {
|
|
unsigned long counters ;
|
|
struct __anonstruct_152 __anonCompField___anonunion_151_45 ;
|
|
unsigned int active ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct __anonstruct_149 {
|
|
union __anonunion_150 __anonCompField___anonstruct_149_42 ;
|
|
union __anonunion_151 __anonCompField___anonstruct_149_46 ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct __anonstruct_156 {
|
|
struct page *next ;
|
|
int pages ;
|
|
int pobjects ;
|
|
};
|
|
|
|
#line 130
|
|
struct slab;
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_155 {
|
|
struct list_head lru ;
|
|
struct __anonstruct_156 __anonCompField___anonunion_155_48 ;
|
|
struct list_head list ;
|
|
struct slab *slab_page ;
|
|
struct callback_head callback_head ;
|
|
pgtable_t pmd_huge_pte ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
union __anonunion_157 {
|
|
unsigned long private ;
|
|
spinlock_t *ptl ;
|
|
struct kmem_cache *slab_cache ;
|
|
struct page *first_page ;
|
|
};
|
|
|
|
#line 130 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/uprobes.h"
|
|
struct page {
|
|
unsigned long flags ;
|
|
union __anonunion_148 __anonCompField_page_41 ;
|
|
struct __anonstruct_149 __anonCompField_page_47 ;
|
|
union __anonunion_155 __anonCompField_page_49 ;
|
|
union __anonunion_157 __anonCompField_page_50 ;
|
|
unsigned long debug_flags ;
|
|
};
|
|
|
|
#line 186 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct page_frag {
|
|
struct page *page ;
|
|
__u32 offset ;
|
|
__u32 size ;
|
|
};
|
|
|
|
#line 238 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct __anonstruct_linear_159 {
|
|
struct rb_node rb ;
|
|
unsigned long rb_subtree_last ;
|
|
};
|
|
|
|
#line 238 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
union __anonunion_shared_158 {
|
|
struct __anonstruct_linear_159 linear ;
|
|
struct list_head nonlinear ;
|
|
};
|
|
|
|
#line 238
|
|
struct anon_vma;
|
|
|
|
#line 238
|
|
struct mempolicy;
|
|
|
|
#line 238 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct vm_area_struct {
|
|
unsigned long vm_start ;
|
|
unsigned long vm_end ;
|
|
struct vm_area_struct *vm_next ;
|
|
struct vm_area_struct *vm_prev ;
|
|
struct rb_node vm_rb ;
|
|
unsigned long rb_subtree_gap ;
|
|
struct mm_struct *vm_mm ;
|
|
pgprot_t vm_page_prot ;
|
|
unsigned long vm_flags ;
|
|
union __anonunion_shared_158 shared ;
|
|
struct list_head anon_vma_chain ;
|
|
struct anon_vma *anon_vma ;
|
|
struct vm_operations_struct const *vm_ops ;
|
|
unsigned long vm_pgoff ;
|
|
struct file *vm_file ;
|
|
void *vm_private_data ;
|
|
struct mempolicy *vm_policy ;
|
|
};
|
|
|
|
#line 310 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct core_thread {
|
|
struct task_struct *task ;
|
|
struct core_thread *next ;
|
|
};
|
|
|
|
#line 316 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct core_state {
|
|
atomic_t nr_threads ;
|
|
struct core_thread dumper ;
|
|
struct completion startup ;
|
|
};
|
|
|
|
#line 329 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct task_rss_stat {
|
|
int events ;
|
|
int count[3U] ;
|
|
};
|
|
|
|
#line 337 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct mm_rss_stat {
|
|
atomic_long_t count[3U] ;
|
|
};
|
|
|
|
#line 342
|
|
struct kioctx_table;
|
|
|
|
#line 343
|
|
struct linux_binfmt;
|
|
|
|
#line 343
|
|
struct mmu_notifier_mm;
|
|
|
|
#line 343 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm_types.h"
|
|
struct mm_struct {
|
|
struct vm_area_struct *mmap ;
|
|
struct rb_root mm_rb ;
|
|
u32 vmacache_seqnum ;
|
|
unsigned long (*get_unmapped_area)(struct file *, unsigned long , unsigned long , unsigned long , unsigned long ) ;
|
|
unsigned long mmap_base ;
|
|
unsigned long mmap_legacy_base ;
|
|
unsigned long task_size ;
|
|
unsigned long highest_vm_end ;
|
|
pgd_t *pgd ;
|
|
atomic_t mm_users ;
|
|
atomic_t mm_count ;
|
|
atomic_long_t nr_ptes ;
|
|
int map_count ;
|
|
spinlock_t page_table_lock ;
|
|
struct rw_semaphore mmap_sem ;
|
|
struct list_head mmlist ;
|
|
unsigned long hiwater_rss ;
|
|
unsigned long hiwater_vm ;
|
|
unsigned long total_vm ;
|
|
unsigned long locked_vm ;
|
|
unsigned long pinned_vm ;
|
|
unsigned long shared_vm ;
|
|
unsigned long exec_vm ;
|
|
unsigned long stack_vm ;
|
|
unsigned long def_flags ;
|
|
unsigned long start_code ;
|
|
unsigned long end_code ;
|
|
unsigned long start_data ;
|
|
unsigned long end_data ;
|
|
unsigned long start_brk ;
|
|
unsigned long brk ;
|
|
unsigned long start_stack ;
|
|
unsigned long arg_start ;
|
|
unsigned long arg_end ;
|
|
unsigned long env_start ;
|
|
unsigned long env_end ;
|
|
unsigned long saved_auxv[46U] ;
|
|
struct mm_rss_stat rss_stat ;
|
|
struct linux_binfmt *binfmt ;
|
|
cpumask_var_t cpu_vm_mask_var ;
|
|
mm_context_t context ;
|
|
unsigned long flags ;
|
|
struct core_state *core_state ;
|
|
spinlock_t ioctx_lock ;
|
|
struct kioctx_table *ioctx_table ;
|
|
struct task_struct *owner ;
|
|
struct file *exe_file ;
|
|
struct mmu_notifier_mm *mmu_notifier_mm ;
|
|
struct cpumask cpumask_allocation ;
|
|
unsigned long numa_next_scan ;
|
|
unsigned long numa_scan_offset ;
|
|
int numa_scan_seq ;
|
|
bool tlb_flush_pending ;
|
|
struct uprobes_state uprobes_state ;
|
|
};
|
|
|
|
#line 93 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bit_spinlock.h"
|
|
struct shrink_control {
|
|
gfp_t gfp_mask ;
|
|
unsigned long nr_to_scan ;
|
|
nodemask_t nodes_to_scan ;
|
|
int nid ;
|
|
};
|
|
|
|
#line 26 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/shrinker.h"
|
|
struct shrinker {
|
|
unsigned long (*count_objects)(struct shrinker *, struct shrink_control *) ;
|
|
unsigned long (*scan_objects)(struct shrinker *, struct shrink_control *) ;
|
|
int seeks ;
|
|
long batch ;
|
|
unsigned long flags ;
|
|
struct list_head list ;
|
|
atomic_long_t *nr_deferred ;
|
|
};
|
|
|
|
#line 71
|
|
struct file_ra_state;
|
|
|
|
#line 72
|
|
struct user_struct;
|
|
|
|
#line 73
|
|
struct writeback_control;
|
|
|
|
#line 185 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm.h"
|
|
struct vm_fault {
|
|
unsigned int flags ;
|
|
unsigned long pgoff ;
|
|
void *virtual_address ;
|
|
struct page *page ;
|
|
};
|
|
|
|
#line 210 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/mm.h"
|
|
struct vm_operations_struct {
|
|
void (*open)(struct vm_area_struct *) ;
|
|
void (*close)(struct vm_area_struct *) ;
|
|
int (*fault)(struct vm_area_struct *, struct vm_fault *) ;
|
|
int (*page_mkwrite)(struct vm_area_struct *, struct vm_fault *) ;
|
|
int (*access)(struct vm_area_struct *, unsigned long , void *, int , int ) ;
|
|
int (*set_policy)(struct vm_area_struct *, struct mempolicy *) ;
|
|
struct mempolicy *(*get_policy)(struct vm_area_struct *, unsigned long ) ;
|
|
int (*migrate)(struct vm_area_struct *, nodemask_t const *, nodemask_t const *, unsigned long ) ;
|
|
int (*remap_pages)(struct vm_area_struct *, unsigned long , unsigned long , unsigned long ) ;
|
|
};
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kmemleak.h"
|
|
struct mem_cgroup;
|
|
|
|
#line 355 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slab.h"
|
|
struct kmem_cache_cpu {
|
|
void **freelist ;
|
|
unsigned long tid ;
|
|
struct page *page ;
|
|
struct page *partial ;
|
|
unsigned int stat[26U] ;
|
|
};
|
|
|
|
#line 48 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slub_def.h"
|
|
struct kmem_cache_order_objects {
|
|
unsigned long x ;
|
|
};
|
|
|
|
#line 58
|
|
struct memcg_cache_params;
|
|
|
|
#line 58
|
|
struct kmem_cache_node;
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slub_def.h"
|
|
struct kmem_cache {
|
|
struct kmem_cache_cpu *cpu_slab ;
|
|
unsigned long flags ;
|
|
unsigned long min_partial ;
|
|
int size ;
|
|
int object_size ;
|
|
int offset ;
|
|
int cpu_partial ;
|
|
struct kmem_cache_order_objects oo ;
|
|
struct kmem_cache_order_objects max ;
|
|
struct kmem_cache_order_objects min ;
|
|
gfp_t allocflags ;
|
|
int refcount ;
|
|
void (*ctor)(void *) ;
|
|
int inuse ;
|
|
int align ;
|
|
int reserved ;
|
|
char const *name ;
|
|
struct list_head list ;
|
|
struct kobject kobj ;
|
|
struct memcg_cache_params *memcg_params ;
|
|
int max_attr_size ;
|
|
int remote_node_defrag_ratio ;
|
|
struct kmem_cache_node *node[1024U] ;
|
|
};
|
|
|
|
#line 501 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slab.h"
|
|
struct __anonstruct_161 {
|
|
struct callback_head callback_head ;
|
|
struct kmem_cache *memcg_caches[0U] ;
|
|
};
|
|
|
|
#line 501 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slab.h"
|
|
struct __anonstruct_162 {
|
|
struct mem_cgroup *memcg ;
|
|
struct list_head list ;
|
|
struct kmem_cache *root_cache ;
|
|
bool dead ;
|
|
atomic_t nr_pages ;
|
|
struct work_struct destroy ;
|
|
};
|
|
|
|
#line 501 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slab.h"
|
|
union __anonunion_160 {
|
|
struct __anonstruct_161 __anonCompField___anonunion_160_51 ;
|
|
struct __anonstruct_162 __anonCompField___anonunion_160_52 ;
|
|
};
|
|
|
|
#line 501 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/slab.h"
|
|
struct memcg_cache_params {
|
|
bool is_root_cache ;
|
|
union __anonunion_160 __anonCompField_memcg_cache_params_53 ;
|
|
};
|
|
|
|
#line 34 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/pci_64.h"
|
|
struct dma_attrs {
|
|
unsigned long flags[1U] ;
|
|
};
|
|
|
|
#line 70 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dma-attrs.h"
|
|
enum dma_data_direction {
|
|
DMA_BIDIRECTIONAL = 0,
|
|
DMA_TO_DEVICE = 1,
|
|
DMA_FROM_DEVICE = 2,
|
|
DMA_NONE = 3
|
|
};
|
|
|
|
#line 77 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dma-attrs.h"
|
|
struct sg_table {
|
|
struct scatterlist *sgl ;
|
|
unsigned int nents ;
|
|
unsigned int orig_nents ;
|
|
};
|
|
|
|
#line 351 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/scatterlist.h"
|
|
struct dma_map_ops {
|
|
void *(*alloc)(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *) ;
|
|
void (*free)(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *) ;
|
|
int (*mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t , size_t , struct dma_attrs *) ;
|
|
int (*get_sgtable)(struct device *, struct sg_table *, void *, dma_addr_t , size_t , struct dma_attrs *) ;
|
|
dma_addr_t (*map_page)(struct device *, struct page *, unsigned long , size_t , enum dma_data_direction , struct dma_attrs *) ;
|
|
void (*unmap_page)(struct device *, dma_addr_t , size_t , enum dma_data_direction , struct dma_attrs *) ;
|
|
int (*map_sg)(struct device *, struct scatterlist *, int , enum dma_data_direction , struct dma_attrs *) ;
|
|
void (*unmap_sg)(struct device *, struct scatterlist *, int , enum dma_data_direction , struct dma_attrs *) ;
|
|
void (*sync_single_for_cpu)(struct device *, dma_addr_t , size_t , enum dma_data_direction ) ;
|
|
void (*sync_single_for_device)(struct device *, dma_addr_t , size_t , enum dma_data_direction ) ;
|
|
void (*sync_sg_for_cpu)(struct device *, struct scatterlist *, int , enum dma_data_direction ) ;
|
|
void (*sync_sg_for_device)(struct device *, struct scatterlist *, int , enum dma_data_direction ) ;
|
|
int (*mapping_error)(struct device *, dma_addr_t ) ;
|
|
int (*dma_supported)(struct device *, u64 ) ;
|
|
int (*set_dma_mask)(struct device *, u64 ) ;
|
|
int is_phys ;
|
|
};
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/capability.h"
|
|
struct kernel_cap_struct {
|
|
__u32 cap[2U] ;
|
|
};
|
|
|
|
#line 25 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/capability.h"
|
|
typedef struct kernel_cap_struct kernel_cap_t;
|
|
|
|
#line 84 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/plist.h"
|
|
struct plist_node {
|
|
int prio ;
|
|
struct list_head prio_list ;
|
|
struct list_head node_list ;
|
|
};
|
|
|
|
#line 4 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/cputime_jiffies.h"
|
|
typedef unsigned long cputime_t;
|
|
|
|
#line 25 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sem.h"
|
|
struct sem_undo_list;
|
|
|
|
#line 25 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sem.h"
|
|
struct sysv_sem {
|
|
struct sem_undo_list *undo_list ;
|
|
};
|
|
|
|
#line 24 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/signal.h"
|
|
struct __anonstruct_sigset_t_164 {
|
|
unsigned long sig[1U] ;
|
|
};
|
|
|
|
#line 24 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/signal.h"
|
|
typedef struct __anonstruct_sigset_t_164 sigset_t;
|
|
|
|
#line 25
|
|
struct siginfo;
|
|
|
|
#line 17 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/signal-defs.h"
|
|
typedef void __signalfn_t(int );
|
|
|
|
#line 18 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/signal-defs.h"
|
|
typedef __signalfn_t *__sighandler_t;
|
|
|
|
#line 20 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/signal-defs.h"
|
|
typedef void __restorefn_t(void);
|
|
|
|
#line 21 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/signal-defs.h"
|
|
typedef __restorefn_t *__sigrestore_t;
|
|
|
|
#line 34 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/signal.h"
|
|
union sigval {
|
|
int sival_int ;
|
|
void *sival_ptr ;
|
|
};
|
|
|
|
#line 10 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
typedef union sigval sigval_t;
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__kill_166 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__timer_167 {
|
|
__kernel_timer_t _tid ;
|
|
int _overrun ;
|
|
char _pad[0U] ;
|
|
sigval_t _sigval ;
|
|
int _sys_private ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__rt_168 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
sigval_t _sigval ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigchld_169 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
int _status ;
|
|
__kernel_clock_t _utime ;
|
|
__kernel_clock_t _stime ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigfault_170 {
|
|
void *_addr ;
|
|
short _addr_lsb ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigpoll_171 {
|
|
long _band ;
|
|
int _fd ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigsys_172 {
|
|
void *_call_addr ;
|
|
int _syscall ;
|
|
unsigned int _arch ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
union __anonunion__sifields_165 {
|
|
int _pad[28U] ;
|
|
struct __anonstruct__kill_166 _kill ;
|
|
struct __anonstruct__timer_167 _timer ;
|
|
struct __anonstruct__rt_168 _rt ;
|
|
struct __anonstruct__sigchld_169 _sigchld ;
|
|
struct __anonstruct__sigfault_170 _sigfault ;
|
|
struct __anonstruct__sigpoll_171 _sigpoll ;
|
|
struct __anonstruct__sigsys_172 _sigsys ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
struct siginfo {
|
|
int si_signo ;
|
|
int si_errno ;
|
|
int si_code ;
|
|
union __anonunion__sifields_165 _sifields ;
|
|
};
|
|
|
|
#line 109 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/asm-generic/siginfo.h"
|
|
typedef struct siginfo siginfo_t;
|
|
|
|
#line 21 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/signal.h"
|
|
struct sigpending {
|
|
struct list_head list ;
|
|
sigset_t signal ;
|
|
};
|
|
|
|
#line 250 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/signal.h"
|
|
struct sigaction {
|
|
__sighandler_t sa_handler ;
|
|
unsigned long sa_flags ;
|
|
__sigrestore_t sa_restorer ;
|
|
sigset_t sa_mask ;
|
|
};
|
|
|
|
#line 264 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/signal.h"
|
|
struct k_sigaction {
|
|
struct sigaction sa ;
|
|
};
|
|
|
|
#line 447
|
|
enum pid_type {
|
|
PIDTYPE_PID = 0,
|
|
PIDTYPE_PGID = 1,
|
|
PIDTYPE_SID = 2,
|
|
PIDTYPE_MAX = 3
|
|
};
|
|
|
|
#line 454
|
|
struct pid_namespace;
|
|
|
|
#line 454 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/signal.h"
|
|
struct upid {
|
|
int nr ;
|
|
struct pid_namespace *ns ;
|
|
struct hlist_node pid_chain ;
|
|
};
|
|
|
|
#line 56 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pid.h"
|
|
struct pid {
|
|
atomic_t count ;
|
|
unsigned int level ;
|
|
struct hlist_head tasks[3U] ;
|
|
struct callback_head rcu ;
|
|
struct upid numbers[1U] ;
|
|
};
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pid.h"
|
|
struct pid_link {
|
|
struct hlist_node node ;
|
|
struct pid *pid ;
|
|
};
|
|
|
|
#line 174 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pid.h"
|
|
struct percpu_counter {
|
|
raw_spinlock_t lock ;
|
|
s64 count ;
|
|
struct list_head list ;
|
|
s32 *counters ;
|
|
};
|
|
|
|
#line 46 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/seccomp.h"
|
|
struct seccomp_filter;
|
|
|
|
#line 47 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/seccomp.h"
|
|
struct seccomp {
|
|
int mode ;
|
|
struct seccomp_filter *filter ;
|
|
};
|
|
|
|
#line 40 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rtmutex.h"
|
|
struct rt_mutex_waiter;
|
|
|
|
#line 41 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/resource.h"
|
|
struct rlimit {
|
|
__kernel_ulong_t rlim_cur ;
|
|
__kernel_ulong_t rlim_max ;
|
|
};
|
|
|
|
#line 11 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/resource.h"
|
|
struct timerqueue_node {
|
|
struct rb_node node ;
|
|
ktime_t expires ;
|
|
};
|
|
|
|
#line 12 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/timerqueue.h"
|
|
struct timerqueue_head {
|
|
struct rb_root head ;
|
|
struct timerqueue_node *next ;
|
|
};
|
|
|
|
#line 50
|
|
struct hrtimer_clock_base;
|
|
|
|
#line 51
|
|
struct hrtimer_cpu_base;
|
|
|
|
#line 65 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/timerqueue.h"
|
|
struct hrtimer {
|
|
struct timerqueue_node node ;
|
|
ktime_t _softexpires ;
|
|
int (*function)(struct hrtimer *) ;
|
|
struct hrtimer_clock_base *base ;
|
|
unsigned long state ;
|
|
int start_pid ;
|
|
void *start_site ;
|
|
char start_comm[16U] ;
|
|
};
|
|
|
|
#line 132 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/hrtimer.h"
|
|
struct hrtimer_clock_base {
|
|
struct hrtimer_cpu_base *cpu_base ;
|
|
int index ;
|
|
clockid_t clockid ;
|
|
struct timerqueue_head active ;
|
|
ktime_t resolution ;
|
|
ktime_t (*get_time)(void) ;
|
|
ktime_t softirq_time ;
|
|
ktime_t offset ;
|
|
};
|
|
|
|
#line 163 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/hrtimer.h"
|
|
struct hrtimer_cpu_base {
|
|
raw_spinlock_t lock ;
|
|
unsigned int active_bases ;
|
|
unsigned int clock_was_set ;
|
|
ktime_t expires_next ;
|
|
int hres_active ;
|
|
int hang_detected ;
|
|
unsigned long nr_events ;
|
|
unsigned long nr_retries ;
|
|
unsigned long nr_hangs ;
|
|
ktime_t max_hang_time ;
|
|
struct hrtimer_clock_base clock_base[4U] ;
|
|
};
|
|
|
|
#line 463 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/hrtimer.h"
|
|
struct task_io_accounting {
|
|
u64 rchar ;
|
|
u64 wchar ;
|
|
u64 syscr ;
|
|
u64 syscw ;
|
|
u64 read_bytes ;
|
|
u64 write_bytes ;
|
|
u64 cancelled_write_bytes ;
|
|
};
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/task_io_accounting.h"
|
|
struct latency_record {
|
|
unsigned long backtrace[12U] ;
|
|
unsigned int count ;
|
|
unsigned long time ;
|
|
unsigned long max ;
|
|
};
|
|
|
|
#line 39 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/latencytop.h"
|
|
struct assoc_array_ptr;
|
|
|
|
#line 39 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/latencytop.h"
|
|
struct assoc_array {
|
|
struct assoc_array_ptr *root ;
|
|
unsigned long nr_leaves_on_tree ;
|
|
};
|
|
|
|
#line 31 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
typedef int32_t key_serial_t;
|
|
|
|
#line 34 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
typedef uint32_t key_perm_t;
|
|
|
|
#line 35
|
|
struct key;
|
|
|
|
#line 36
|
|
struct signal_struct;
|
|
|
|
#line 37
|
|
struct key_type;
|
|
|
|
#line 41 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
struct keyring_index_key {
|
|
struct key_type *type ;
|
|
char const *description ;
|
|
size_t desc_len ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_175 {
|
|
struct list_head graveyard_link ;
|
|
struct rb_node serial_node ;
|
|
};
|
|
|
|
#line 123
|
|
struct key_user;
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_176 {
|
|
time_t expiry ;
|
|
time_t revoked_at ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
struct __anonstruct_178 {
|
|
struct key_type *type ;
|
|
char *description ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_177 {
|
|
struct keyring_index_key index_key ;
|
|
struct __anonstruct_178 __anonCompField___anonunion_177_56 ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_type_data_179 {
|
|
struct list_head link ;
|
|
unsigned long x[2U] ;
|
|
void *p[2U] ;
|
|
int reject_error ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_payload_181 {
|
|
unsigned long value ;
|
|
void *rcudata ;
|
|
void *data ;
|
|
void *data2[2U] ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
union __anonunion_180 {
|
|
union __anonunion_payload_181 payload ;
|
|
struct assoc_array keys ;
|
|
};
|
|
|
|
#line 123 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/key.h"
|
|
struct key {
|
|
atomic_t usage ;
|
|
key_serial_t serial ;
|
|
union __anonunion_175 __anonCompField_key_54 ;
|
|
struct rw_semaphore sem ;
|
|
struct key_user *user ;
|
|
void *security ;
|
|
union __anonunion_176 __anonCompField_key_55 ;
|
|
time_t last_used_at ;
|
|
kuid_t uid ;
|
|
kgid_t gid ;
|
|
key_perm_t perm ;
|
|
unsigned short quotalen ;
|
|
unsigned short datalen ;
|
|
unsigned long flags ;
|
|
union __anonunion_177 __anonCompField_key_57 ;
|
|
union __anonunion_type_data_179 type_data ;
|
|
union __anonunion_180 __anonCompField_key_58 ;
|
|
};
|
|
|
|
#line 345
|
|
struct audit_context;
|
|
|
|
#line 27 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/selinux.h"
|
|
struct group_info {
|
|
atomic_t usage ;
|
|
int ngroups ;
|
|
int nblocks ;
|
|
kgid_t small_block[32U] ;
|
|
kgid_t *blocks[0U] ;
|
|
};
|
|
|
|
#line 79 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cred.h"
|
|
struct cred {
|
|
atomic_t usage ;
|
|
atomic_t subscribers ;
|
|
void *put_addr ;
|
|
unsigned int magic ;
|
|
kuid_t uid ;
|
|
kgid_t gid ;
|
|
kuid_t suid ;
|
|
kgid_t sgid ;
|
|
kuid_t euid ;
|
|
kgid_t egid ;
|
|
kuid_t fsuid ;
|
|
kgid_t fsgid ;
|
|
unsigned int securebits ;
|
|
kernel_cap_t cap_inheritable ;
|
|
kernel_cap_t cap_permitted ;
|
|
kernel_cap_t cap_effective ;
|
|
kernel_cap_t cap_bset ;
|
|
unsigned char jit_keyring ;
|
|
struct key *session_keyring ;
|
|
struct key *process_keyring ;
|
|
struct key *thread_keyring ;
|
|
struct key *request_key_auth ;
|
|
void *security ;
|
|
struct user_struct *user ;
|
|
struct user_namespace *user_ns ;
|
|
struct group_info *group_info ;
|
|
struct callback_head rcu ;
|
|
};
|
|
|
|
#line 127 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct futex_pi_state;
|
|
|
|
#line 128
|
|
struct robust_list_head;
|
|
|
|
#line 129
|
|
struct bio_list;
|
|
|
|
#line 130
|
|
struct fs_struct;
|
|
|
|
#line 131
|
|
struct perf_event_context;
|
|
|
|
#line 132
|
|
struct blk_plug;
|
|
|
|
#line 184
|
|
struct cfs_rq;
|
|
|
|
#line 185
|
|
struct task_group;
|
|
|
|
#line 425 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sighand_struct {
|
|
atomic_t count ;
|
|
struct k_sigaction action[64U] ;
|
|
spinlock_t siglock ;
|
|
wait_queue_head_t signalfd_wqh ;
|
|
};
|
|
|
|
#line 464 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct pacct_struct {
|
|
int ac_flag ;
|
|
long ac_exitcode ;
|
|
unsigned long ac_mem ;
|
|
cputime_t ac_utime ;
|
|
cputime_t ac_stime ;
|
|
unsigned long ac_minflt ;
|
|
unsigned long ac_majflt ;
|
|
};
|
|
|
|
#line 472 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct cpu_itimer {
|
|
cputime_t expires ;
|
|
cputime_t incr ;
|
|
u32 error ;
|
|
u32 incr_error ;
|
|
};
|
|
|
|
#line 479 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct cputime {
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
};
|
|
|
|
#line 491 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct task_cputime {
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
unsigned long long sum_exec_runtime ;
|
|
};
|
|
|
|
#line 511 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct thread_group_cputimer {
|
|
struct task_cputime cputime ;
|
|
int running ;
|
|
raw_spinlock_t lock ;
|
|
};
|
|
|
|
#line 553
|
|
struct autogroup;
|
|
|
|
#line 554
|
|
struct tty_struct;
|
|
|
|
#line 554
|
|
struct taskstats;
|
|
|
|
#line 554
|
|
struct tty_audit_buf;
|
|
|
|
#line 554 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct signal_struct {
|
|
atomic_t sigcnt ;
|
|
atomic_t live ;
|
|
int nr_threads ;
|
|
struct list_head thread_head ;
|
|
wait_queue_head_t wait_chldexit ;
|
|
struct task_struct *curr_target ;
|
|
struct sigpending shared_pending ;
|
|
int group_exit_code ;
|
|
int notify_count ;
|
|
struct task_struct *group_exit_task ;
|
|
int group_stop_count ;
|
|
unsigned int flags ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_child_subreaper : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) has_child_subreaper : 1 ;
|
|
int posix_timer_id ;
|
|
struct list_head posix_timers ;
|
|
struct hrtimer real_timer ;
|
|
struct pid *leader_pid ;
|
|
ktime_t it_real_incr ;
|
|
struct cpu_itimer it[2U] ;
|
|
struct thread_group_cputimer cputimer ;
|
|
struct task_cputime cputime_expires ;
|
|
struct list_head cpu_timers[3U] ;
|
|
struct pid *tty_old_pgrp ;
|
|
int leader ;
|
|
struct tty_struct *tty ;
|
|
struct autogroup *autogroup ;
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
cputime_t cutime ;
|
|
cputime_t cstime ;
|
|
cputime_t gtime ;
|
|
cputime_t cgtime ;
|
|
struct cputime prev_cputime ;
|
|
unsigned long nvcsw ;
|
|
unsigned long nivcsw ;
|
|
unsigned long cnvcsw ;
|
|
unsigned long cnivcsw ;
|
|
unsigned long min_flt ;
|
|
unsigned long maj_flt ;
|
|
unsigned long cmin_flt ;
|
|
unsigned long cmaj_flt ;
|
|
unsigned long inblock ;
|
|
unsigned long oublock ;
|
|
unsigned long cinblock ;
|
|
unsigned long coublock ;
|
|
unsigned long maxrss ;
|
|
unsigned long cmaxrss ;
|
|
struct task_io_accounting ioac ;
|
|
unsigned long long sum_sched_runtime ;
|
|
struct rlimit rlim[16U] ;
|
|
struct pacct_struct pacct ;
|
|
struct taskstats *stats ;
|
|
unsigned int audit_tty ;
|
|
unsigned int audit_tty_log_passwd ;
|
|
struct tty_audit_buf *tty_audit_buf ;
|
|
struct rw_semaphore group_rwsem ;
|
|
oom_flags_t oom_flags ;
|
|
short oom_score_adj ;
|
|
short oom_score_adj_min ;
|
|
struct mutex cred_guard_mutex ;
|
|
};
|
|
|
|
#line 734 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct user_struct {
|
|
atomic_t __count ;
|
|
atomic_t processes ;
|
|
atomic_t files ;
|
|
atomic_t sigpending ;
|
|
atomic_t inotify_watches ;
|
|
atomic_t inotify_devs ;
|
|
atomic_t fanotify_listeners ;
|
|
atomic_long_t epoll_watches ;
|
|
unsigned long mq_bytes ;
|
|
unsigned long locked_shm ;
|
|
unsigned long unix_inflight ;
|
|
atomic_long_t pipe_bufs ;
|
|
struct key *uid_keyring ;
|
|
struct key *session_keyring ;
|
|
struct hlist_node uidhash_node ;
|
|
kuid_t uid ;
|
|
atomic_long_t locked_vm ;
|
|
};
|
|
|
|
#line 780
|
|
struct backing_dev_info;
|
|
|
|
#line 781
|
|
struct reclaim_state;
|
|
|
|
#line 782 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_info {
|
|
unsigned long pcount ;
|
|
unsigned long long run_delay ;
|
|
unsigned long long last_arrival ;
|
|
unsigned long long last_queued ;
|
|
};
|
|
|
|
#line 796 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct task_delay_info {
|
|
spinlock_t lock ;
|
|
unsigned int flags ;
|
|
struct timespec blkio_start ;
|
|
struct timespec blkio_end ;
|
|
u64 blkio_delay ;
|
|
u64 swapin_delay ;
|
|
u32 blkio_count ;
|
|
u32 swapin_count ;
|
|
struct timespec freepages_start ;
|
|
struct timespec freepages_end ;
|
|
u64 freepages_delay ;
|
|
u32 freepages_count ;
|
|
};
|
|
|
|
#line 982
|
|
struct io_context;
|
|
|
|
#line 1010
|
|
struct pipe_inode_info;
|
|
|
|
#line 1012 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct load_weight {
|
|
unsigned long weight ;
|
|
u32 inv_weight ;
|
|
};
|
|
|
|
#line 1019 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_avg {
|
|
u32 runnable_avg_sum ;
|
|
u32 runnable_avg_period ;
|
|
u64 last_runnable_update ;
|
|
s64 decay_count ;
|
|
unsigned long load_avg_contrib ;
|
|
};
|
|
|
|
#line 1031 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_statistics {
|
|
u64 wait_start ;
|
|
u64 wait_max ;
|
|
u64 wait_count ;
|
|
u64 wait_sum ;
|
|
u64 iowait_count ;
|
|
u64 iowait_sum ;
|
|
u64 sleep_start ;
|
|
u64 sleep_max ;
|
|
s64 sum_sleep_runtime ;
|
|
u64 block_start ;
|
|
u64 block_max ;
|
|
u64 exec_max ;
|
|
u64 slice_max ;
|
|
u64 nr_migrations_cold ;
|
|
u64 nr_failed_migrations_affine ;
|
|
u64 nr_failed_migrations_running ;
|
|
u64 nr_failed_migrations_hot ;
|
|
u64 nr_forced_migrations ;
|
|
u64 nr_wakeups ;
|
|
u64 nr_wakeups_sync ;
|
|
u64 nr_wakeups_migrate ;
|
|
u64 nr_wakeups_local ;
|
|
u64 nr_wakeups_remote ;
|
|
u64 nr_wakeups_affine ;
|
|
u64 nr_wakeups_affine_attempts ;
|
|
u64 nr_wakeups_passive ;
|
|
u64 nr_wakeups_idle ;
|
|
};
|
|
|
|
#line 1066 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_entity {
|
|
struct load_weight load ;
|
|
struct rb_node run_node ;
|
|
struct list_head group_node ;
|
|
unsigned int on_rq ;
|
|
u64 exec_start ;
|
|
u64 sum_exec_runtime ;
|
|
u64 vruntime ;
|
|
u64 prev_sum_exec_runtime ;
|
|
u64 nr_migrations ;
|
|
struct sched_statistics statistics ;
|
|
struct sched_entity *parent ;
|
|
struct cfs_rq *cfs_rq ;
|
|
struct cfs_rq *my_q ;
|
|
struct sched_avg avg ;
|
|
};
|
|
|
|
#line 1097
|
|
struct rt_rq;
|
|
|
|
#line 1097 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_rt_entity {
|
|
struct list_head run_list ;
|
|
unsigned long timeout ;
|
|
unsigned long watchdog_stamp ;
|
|
unsigned int time_slice ;
|
|
struct sched_rt_entity *back ;
|
|
struct sched_rt_entity *parent ;
|
|
struct rt_rq *rt_rq ;
|
|
struct rt_rq *my_q ;
|
|
};
|
|
|
|
#line 1113 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct sched_dl_entity {
|
|
struct rb_node rb_node ;
|
|
u64 dl_runtime ;
|
|
u64 dl_deadline ;
|
|
u64 dl_period ;
|
|
u64 dl_bw ;
|
|
s64 runtime ;
|
|
u64 deadline ;
|
|
unsigned int flags ;
|
|
int dl_throttled ;
|
|
int dl_new ;
|
|
int dl_boosted ;
|
|
struct hrtimer dl_timer ;
|
|
};
|
|
|
|
#line 1168 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct memcg_batch_info {
|
|
int do_batch ;
|
|
struct mem_cgroup *memcg ;
|
|
unsigned long nr_pages ;
|
|
unsigned long memsw_nr_pages ;
|
|
};
|
|
|
|
#line 1578 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct memcg_oom_info {
|
|
struct mem_cgroup *memcg ;
|
|
gfp_t gfp_mask ;
|
|
int order ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) may_oom : 1 ;
|
|
};
|
|
|
|
#line 1585
|
|
struct sched_class;
|
|
|
|
#line 1585
|
|
struct files_struct;
|
|
|
|
#line 1585
|
|
struct css_set;
|
|
|
|
#line 1585
|
|
struct compat_robust_list_head;
|
|
|
|
#line 1585
|
|
struct numa_group;
|
|
|
|
#line 1585
|
|
struct ftrace_ret_stack;
|
|
|
|
#line 1585 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/sched.h"
|
|
struct task_struct {
|
|
long volatile state ;
|
|
void *stack ;
|
|
atomic_t usage ;
|
|
unsigned int flags ;
|
|
unsigned int ptrace ;
|
|
struct llist_node wake_entry ;
|
|
int on_cpu ;
|
|
struct task_struct *last_wakee ;
|
|
unsigned long wakee_flips ;
|
|
unsigned long wakee_flip_decay_ts ;
|
|
int wake_cpu ;
|
|
int on_rq ;
|
|
int prio ;
|
|
int static_prio ;
|
|
int normal_prio ;
|
|
unsigned int rt_priority ;
|
|
struct sched_class const *sched_class ;
|
|
struct sched_entity se ;
|
|
struct sched_rt_entity rt ;
|
|
struct task_group *sched_task_group ;
|
|
struct sched_dl_entity dl ;
|
|
struct hlist_head preempt_notifiers ;
|
|
unsigned int btrace_seq ;
|
|
unsigned int policy ;
|
|
int nr_cpus_allowed ;
|
|
cpumask_t cpus_allowed ;
|
|
struct sched_info sched_info ;
|
|
struct list_head tasks ;
|
|
struct plist_node pushable_tasks ;
|
|
struct rb_node pushable_dl_tasks ;
|
|
struct mm_struct *mm ;
|
|
struct mm_struct *active_mm ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) brk_randomized : 1 ;
|
|
u32 vmacache_seqnum ;
|
|
struct vm_area_struct *vmacache[4U] ;
|
|
struct task_rss_stat rss_stat ;
|
|
int exit_state ;
|
|
int exit_code ;
|
|
int exit_signal ;
|
|
int pdeath_signal ;
|
|
unsigned int jobctl ;
|
|
unsigned int personality ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) in_execve : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) in_iowait : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) no_new_privs : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) sched_reset_on_fork : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) sched_contributes_to_load : 1 ;
|
|
pid_t pid ;
|
|
pid_t tgid ;
|
|
struct task_struct *real_parent ;
|
|
struct task_struct *parent ;
|
|
struct list_head children ;
|
|
struct list_head sibling ;
|
|
struct task_struct *group_leader ;
|
|
struct list_head ptraced ;
|
|
struct list_head ptrace_entry ;
|
|
struct pid_link pids[3U] ;
|
|
struct list_head thread_group ;
|
|
struct list_head thread_node ;
|
|
struct completion *vfork_done ;
|
|
int *set_child_tid ;
|
|
int *clear_child_tid ;
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
cputime_t utimescaled ;
|
|
cputime_t stimescaled ;
|
|
cputime_t gtime ;
|
|
struct cputime prev_cputime ;
|
|
unsigned long nvcsw ;
|
|
unsigned long nivcsw ;
|
|
struct timespec start_time ;
|
|
struct timespec real_start_time ;
|
|
unsigned long min_flt ;
|
|
unsigned long maj_flt ;
|
|
struct task_cputime cputime_expires ;
|
|
struct list_head cpu_timers[3U] ;
|
|
struct cred const *real_cred ;
|
|
struct cred const *cred ;
|
|
char comm[16U] ;
|
|
int link_count ;
|
|
int total_link_count ;
|
|
struct sysv_sem sysvsem ;
|
|
unsigned long last_switch_count ;
|
|
struct thread_struct thread ;
|
|
struct fs_struct *fs ;
|
|
struct files_struct *files ;
|
|
struct nsproxy *nsproxy ;
|
|
struct signal_struct *signal ;
|
|
struct sighand_struct *sighand ;
|
|
sigset_t blocked ;
|
|
sigset_t real_blocked ;
|
|
sigset_t saved_sigmask ;
|
|
struct sigpending pending ;
|
|
unsigned long sas_ss_sp ;
|
|
size_t sas_ss_size ;
|
|
int (*notifier)(void *) ;
|
|
void *notifier_data ;
|
|
sigset_t *notifier_mask ;
|
|
struct callback_head *task_works ;
|
|
struct audit_context *audit_context ;
|
|
kuid_t loginuid ;
|
|
unsigned int sessionid ;
|
|
struct seccomp seccomp ;
|
|
u32 parent_exec_id ;
|
|
u32 self_exec_id ;
|
|
spinlock_t alloc_lock ;
|
|
raw_spinlock_t pi_lock ;
|
|
struct rb_root pi_waiters ;
|
|
struct rb_node *pi_waiters_leftmost ;
|
|
struct rt_mutex_waiter *pi_blocked_on ;
|
|
struct task_struct *pi_top_task ;
|
|
struct mutex_waiter *blocked_on ;
|
|
unsigned int irq_events ;
|
|
unsigned long hardirq_enable_ip ;
|
|
unsigned long hardirq_disable_ip ;
|
|
unsigned int hardirq_enable_event ;
|
|
unsigned int hardirq_disable_event ;
|
|
int hardirqs_enabled ;
|
|
int hardirq_context ;
|
|
unsigned long softirq_disable_ip ;
|
|
unsigned long softirq_enable_ip ;
|
|
unsigned int softirq_disable_event ;
|
|
unsigned int softirq_enable_event ;
|
|
int softirqs_enabled ;
|
|
int softirq_context ;
|
|
u64 curr_chain_key ;
|
|
int lockdep_depth ;
|
|
unsigned int lockdep_recursion ;
|
|
struct held_lock held_locks[48U] ;
|
|
gfp_t lockdep_reclaim_gfp ;
|
|
void *journal_info ;
|
|
struct bio_list *bio_list ;
|
|
struct blk_plug *plug ;
|
|
struct reclaim_state *reclaim_state ;
|
|
struct backing_dev_info *backing_dev_info ;
|
|
struct io_context *io_context ;
|
|
unsigned long ptrace_message ;
|
|
siginfo_t *last_siginfo ;
|
|
struct task_io_accounting ioac ;
|
|
u64 acct_rss_mem1 ;
|
|
u64 acct_vm_mem1 ;
|
|
cputime_t acct_timexpd ;
|
|
nodemask_t mems_allowed ;
|
|
seqcount_t mems_allowed_seq ;
|
|
int cpuset_mem_spread_rotor ;
|
|
int cpuset_slab_spread_rotor ;
|
|
struct css_set *cgroups ;
|
|
struct list_head cg_list ;
|
|
struct robust_list_head *robust_list ;
|
|
struct compat_robust_list_head *compat_robust_list ;
|
|
struct list_head pi_state_list ;
|
|
struct futex_pi_state *pi_state_cache ;
|
|
struct perf_event_context *perf_event_ctxp[2U] ;
|
|
struct mutex perf_event_mutex ;
|
|
struct list_head perf_event_list ;
|
|
struct mempolicy *mempolicy ;
|
|
short il_next ;
|
|
short pref_node_fork ;
|
|
int numa_scan_seq ;
|
|
unsigned int numa_scan_period ;
|
|
unsigned int numa_scan_period_max ;
|
|
int numa_preferred_nid ;
|
|
int numa_migrate_deferred ;
|
|
unsigned long numa_migrate_retry ;
|
|
u64 node_stamp ;
|
|
struct callback_head numa_work ;
|
|
struct list_head numa_entry ;
|
|
struct numa_group *numa_group ;
|
|
unsigned long *numa_faults ;
|
|
unsigned long total_numa_faults ;
|
|
unsigned long *numa_faults_buffer ;
|
|
unsigned long numa_faults_locality[2U] ;
|
|
unsigned long numa_pages_migrated ;
|
|
struct callback_head rcu ;
|
|
struct pipe_inode_info *splice_pipe ;
|
|
struct page_frag task_frag ;
|
|
struct task_delay_info *delays ;
|
|
int make_it_fail ;
|
|
int nr_dirtied ;
|
|
int nr_dirtied_pause ;
|
|
unsigned long dirty_paused_when ;
|
|
int latency_record_count ;
|
|
struct latency_record latency_record[32U] ;
|
|
unsigned long timer_slack_ns ;
|
|
unsigned long default_timer_slack_ns ;
|
|
int curr_ret_stack ;
|
|
struct ftrace_ret_stack *ret_stack ;
|
|
unsigned long long ftrace_timestamp ;
|
|
atomic_t trace_overrun ;
|
|
atomic_t tracing_graph_pause ;
|
|
unsigned long trace ;
|
|
unsigned long trace_recursion ;
|
|
struct memcg_batch_info memcg_batch ;
|
|
unsigned int memcg_kmem_skip_account ;
|
|
struct memcg_oom_info memcg_oom ;
|
|
struct uprobe_task *utask ;
|
|
unsigned int sequential_io ;
|
|
unsigned int sequential_io_avg ;
|
|
};
|
|
|
|
#line 91 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kdev_t.h"
|
|
struct hlist_bl_node;
|
|
|
|
#line 91 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kdev_t.h"
|
|
struct hlist_bl_head {
|
|
struct hlist_bl_node *first ;
|
|
};
|
|
|
|
#line 36 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/list_bl.h"
|
|
struct hlist_bl_node {
|
|
struct hlist_bl_node *next ;
|
|
struct hlist_bl_node **pprev ;
|
|
};
|
|
|
|
#line 114 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rculist_bl.h"
|
|
struct __anonstruct_184 {
|
|
spinlock_t lock ;
|
|
unsigned int count ;
|
|
};
|
|
|
|
#line 114 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rculist_bl.h"
|
|
union __anonunion_183 {
|
|
struct __anonstruct_184 __anonCompField___anonunion_183_60 ;
|
|
};
|
|
|
|
#line 114 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/rculist_bl.h"
|
|
struct lockref {
|
|
union __anonunion_183 __anonCompField_lockref_61 ;
|
|
};
|
|
|
|
#line 49 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockref.h"
|
|
struct nameidata;
|
|
|
|
#line 50
|
|
struct vfsmount;
|
|
|
|
#line 51 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockref.h"
|
|
struct __anonstruct_186 {
|
|
u32 hash ;
|
|
u32 len ;
|
|
};
|
|
|
|
#line 51 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockref.h"
|
|
union __anonunion_185 {
|
|
struct __anonstruct_186 __anonCompField___anonunion_185_62 ;
|
|
u64 hash_len ;
|
|
};
|
|
|
|
#line 51 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/lockref.h"
|
|
struct qstr {
|
|
union __anonunion_185 __anonCompField_qstr_63 ;
|
|
unsigned char const *name ;
|
|
};
|
|
|
|
#line 90 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dcache.h"
|
|
struct dentry_operations;
|
|
|
|
#line 90 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dcache.h"
|
|
union __anonunion_d_u_187 {
|
|
struct hlist_node d_alias ;
|
|
struct callback_head d_rcu ;
|
|
};
|
|
|
|
#line 90 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dcache.h"
|
|
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[32U] ;
|
|
struct lockref d_lockref ;
|
|
struct dentry_operations const *d_op ;
|
|
struct super_block *d_sb ;
|
|
unsigned long d_time ;
|
|
void *d_fsdata ;
|
|
struct list_head d_lru ;
|
|
struct list_head d_child ;
|
|
struct list_head d_subdirs ;
|
|
union __anonunion_d_u_187 d_u ;
|
|
};
|
|
|
|
#line 142 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dcache.h"
|
|
struct dentry_operations {
|
|
int (*d_revalidate)(struct dentry *, unsigned int ) ;
|
|
int (*d_weak_revalidate)(struct dentry *, unsigned int ) ;
|
|
int (*d_hash)(struct dentry const *, struct qstr *) ;
|
|
int (*d_compare)(struct dentry const *, struct dentry 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 ) ;
|
|
};
|
|
|
|
#line 476 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dcache.h"
|
|
struct path {
|
|
struct vfsmount *mnt ;
|
|
struct dentry *dentry ;
|
|
};
|
|
|
|
#line 26 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/path.h"
|
|
struct list_lru_node {
|
|
spinlock_t lock ;
|
|
struct list_head list ;
|
|
long nr_items ;
|
|
};
|
|
|
|
#line 28 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/list_lru.h"
|
|
struct list_lru {
|
|
struct list_lru_node *node ;
|
|
nodemask_t active_nodes ;
|
|
};
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/radix-tree.h"
|
|
struct radix_tree_node;
|
|
|
|
#line 58 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/radix-tree.h"
|
|
struct radix_tree_root {
|
|
unsigned int height ;
|
|
gfp_t gfp_mask ;
|
|
struct radix_tree_node *rnode ;
|
|
};
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/semaphore.h"
|
|
struct fiemap_extent {
|
|
__u64 fe_logical ;
|
|
__u64 fe_physical ;
|
|
__u64 fe_length ;
|
|
__u64 fe_reserved64[2U] ;
|
|
__u32 fe_flags ;
|
|
__u32 fe_reserved[3U] ;
|
|
};
|
|
|
|
#line 38 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/fiemap.h"
|
|
enum migrate_mode {
|
|
MIGRATE_ASYNC = 0,
|
|
MIGRATE_SYNC_LIGHT = 1,
|
|
MIGRATE_SYNC = 2
|
|
};
|
|
|
|
#line 30 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/percpu-rwsem.h"
|
|
struct block_device;
|
|
|
|
#line 56 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/fs.h"
|
|
struct export_operations;
|
|
|
|
#line 58
|
|
struct iovec;
|
|
|
|
#line 59
|
|
struct kiocb;
|
|
|
|
#line 61
|
|
struct kstatfs;
|
|
|
|
#line 62
|
|
struct swap_info_struct;
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct iattr {
|
|
unsigned int ia_valid ;
|
|
umode_t ia_mode ;
|
|
kuid_t ia_uid ;
|
|
kgid_t ia_gid ;
|
|
loff_t ia_size ;
|
|
struct timespec ia_atime ;
|
|
struct timespec ia_mtime ;
|
|
struct timespec ia_ctime ;
|
|
struct file *ia_file ;
|
|
};
|
|
|
|
#line 246 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
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[8U] ;
|
|
};
|
|
|
|
#line 76 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/dqblk_xfs.h"
|
|
struct fs_qfilestat {
|
|
__u64 qfs_ino ;
|
|
__u64 qfs_nblks ;
|
|
__u32 qfs_nextents ;
|
|
};
|
|
|
|
#line 151 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/dqblk_xfs.h"
|
|
typedef struct fs_qfilestat fs_qfilestat_t;
|
|
|
|
#line 152 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/dqblk_xfs.h"
|
|
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 ;
|
|
};
|
|
|
|
#line 166 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/dqblk_xfs.h"
|
|
struct fs_qfilestatv {
|
|
__u64 qfs_ino ;
|
|
__u64 qfs_nblks ;
|
|
__u32 qfs_nextents ;
|
|
__u32 qfs_pad ;
|
|
};
|
|
|
|
#line 196 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/dqblk_xfs.h"
|
|
struct fs_quota_statv {
|
|
__s8 qs_version ;
|
|
__u8 qs_pad1 ;
|
|
__u16 qs_flags ;
|
|
__u32 qs_incoredqs ;
|
|
struct fs_qfilestatv qs_uquota ;
|
|
struct fs_qfilestatv qs_gquota ;
|
|
struct fs_qfilestatv qs_pquota ;
|
|
__s32 qs_btimelimit ;
|
|
__s32 qs_itimelimit ;
|
|
__s32 qs_rtbtimelimit ;
|
|
__u16 qs_bwarnlimit ;
|
|
__u16 qs_iwarnlimit ;
|
|
__u64 qs_pad2[8U] ;
|
|
};
|
|
|
|
#line 212
|
|
struct dquot;
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/projid.h"
|
|
typedef __kernel_uid32_t projid_t;
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/projid.h"
|
|
struct __anonstruct_kprojid_t_188 {
|
|
projid_t val ;
|
|
};
|
|
|
|
#line 23 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/projid.h"
|
|
typedef struct __anonstruct_kprojid_t_188 kprojid_t;
|
|
|
|
#line 119 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/uapi/linux/quota.h"
|
|
struct if_dqinfo {
|
|
__u64 dqi_bgrace ;
|
|
__u64 dqi_igrace ;
|
|
__u32 dqi_flags ;
|
|
__u32 dqi_valid ;
|
|
};
|
|
|
|
#line 152
|
|
enum quota_type {
|
|
USRQUOTA = 0,
|
|
GRPQUOTA = 1,
|
|
PRJQUOTA = 2
|
|
};
|
|
|
|
#line 60 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
typedef long long qsize_t;
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
union __anonunion_189 {
|
|
kuid_t uid ;
|
|
kgid_t gid ;
|
|
kprojid_t projid ;
|
|
};
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
struct kqid {
|
|
union __anonunion_189 __anonCompField_kqid_64 ;
|
|
enum quota_type type ;
|
|
};
|
|
|
|
#line 178 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 ;
|
|
};
|
|
|
|
#line 200
|
|
struct quota_format_type;
|
|
|
|
#line 201 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 ;
|
|
};
|
|
|
|
#line 264 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 ;
|
|
struct kqid dq_id ;
|
|
loff_t dq_off ;
|
|
unsigned long dq_flags ;
|
|
struct mem_dqblk dq_dqb ;
|
|
};
|
|
|
|
#line 291 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
struct quota_format_ops {
|
|
int (*check_quota_file)(struct super_block *, int ) ;
|
|
int (*read_file_info)(struct super_block *, int ) ;
|
|
int (*write_file_info)(struct super_block *, int ) ;
|
|
int (*free_file_info)(struct super_block *, int ) ;
|
|
int (*read_dqblk)(struct dquot *) ;
|
|
int (*commit_dqblk)(struct dquot *) ;
|
|
int (*release_dqblk)(struct dquot *) ;
|
|
};
|
|
|
|
#line 302 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 *) ;
|
|
};
|
|
|
|
#line 316 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 (*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 *, struct kqid , struct fs_disk_quota *) ;
|
|
int (*set_dqblk)(struct super_block *, struct kqid , struct fs_disk_quota *) ;
|
|
int (*get_xstate)(struct super_block *, struct fs_quota_stat *) ;
|
|
int (*set_xstate)(struct super_block *, unsigned int , int ) ;
|
|
int (*get_xstatev)(struct super_block *, struct fs_quota_statv *) ;
|
|
};
|
|
|
|
#line 333 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
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 ;
|
|
};
|
|
|
|
#line 379 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/quota.h"
|
|
struct quota_info {
|
|
unsigned int flags ;
|
|
struct mutex dqio_mutex ;
|
|
struct mutex dqonoff_mutex ;
|
|
struct rw_semaphore dqptr_sem ;
|
|
struct inode *files[2U] ;
|
|
struct mem_dqinfo info[2U] ;
|
|
struct quota_format_ops const *ops[2U] ;
|
|
};
|
|
|
|
#line 345 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
union __anonunion_arg_191 {
|
|
char *buf ;
|
|
void *data ;
|
|
};
|
|
|
|
#line 345 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct __anonstruct_read_descriptor_t_190 {
|
|
size_t written ;
|
|
size_t count ;
|
|
union __anonunion_arg_191 arg ;
|
|
int error ;
|
|
};
|
|
|
|
#line 345 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
typedef struct __anonstruct_read_descriptor_t_190 read_descriptor_t;
|
|
|
|
#line 348 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct address_space_operations {
|
|
int (*writepage)(struct page *, struct writeback_control *) ;
|
|
int (*readpage)(struct file *, struct page *) ;
|
|
int (*writepages)(struct address_space *, struct writeback_control *) ;
|
|
int (*set_page_dirty)(struct page *) ;
|
|
int (*readpages)(struct file *, struct address_space *, struct list_head *, unsigned int ) ;
|
|
int (*write_begin)(struct file *, struct address_space *, loff_t , unsigned int , unsigned int , struct page **, void **) ;
|
|
int (*write_end)(struct file *, struct address_space *, loff_t , unsigned int , unsigned int , struct page *, void *) ;
|
|
sector_t (*bmap)(struct address_space *, sector_t ) ;
|
|
void (*invalidatepage)(struct page *, unsigned int , unsigned int ) ;
|
|
int (*releasepage)(struct page *, gfp_t ) ;
|
|
void (*freepage)(struct page *) ;
|
|
ssize_t (*direct_IO)(int , struct kiocb *, struct iovec const *, loff_t , unsigned long ) ;
|
|
int (*get_xip_mem)(struct address_space *, unsigned long , int , void **, unsigned long *) ;
|
|
int (*migratepage)(struct address_space *, struct page *, struct page *, enum migrate_mode ) ;
|
|
int (*launder_page)(struct page *) ;
|
|
int (*is_partially_uptodate)(struct page *, read_descriptor_t *, unsigned long ) ;
|
|
void (*is_dirty_writeback)(struct page *, bool *, bool *) ;
|
|
int (*error_remove_page)(struct address_space *, struct page *) ;
|
|
int (*swap_activate)(struct swap_info_struct *, struct file *, sector_t *) ;
|
|
void (*swap_deactivate)(struct file *) ;
|
|
};
|
|
|
|
#line 408 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct address_space {
|
|
struct inode *host ;
|
|
struct radix_tree_root page_tree ;
|
|
spinlock_t tree_lock ;
|
|
unsigned int i_mmap_writable ;
|
|
struct rb_root i_mmap ;
|
|
struct list_head i_mmap_nonlinear ;
|
|
struct mutex i_mmap_mutex ;
|
|
unsigned long nrpages ;
|
|
unsigned long writeback_index ;
|
|
struct address_space_operations const *a_ops ;
|
|
unsigned long flags ;
|
|
struct backing_dev_info *backing_dev_info ;
|
|
spinlock_t private_lock ;
|
|
struct list_head private_list ;
|
|
void *private_data ;
|
|
};
|
|
|
|
#line 430
|
|
struct request_queue;
|
|
|
|
#line 431
|
|
struct hd_struct;
|
|
|
|
#line 431
|
|
struct gendisk;
|
|
|
|
#line 431 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct block_device {
|
|
dev_t bd_dev ;
|
|
int bd_openers ;
|
|
struct inode *bd_inode ;
|
|
struct super_block *bd_super ;
|
|
struct mutex bd_mutex ;
|
|
struct list_head bd_inodes ;
|
|
void *bd_claiming ;
|
|
void *bd_holder ;
|
|
int bd_holders ;
|
|
bool bd_write_holder ;
|
|
struct list_head bd_holder_disks ;
|
|
struct block_device *bd_contains ;
|
|
unsigned int bd_block_size ;
|
|
struct hd_struct *bd_part ;
|
|
unsigned int bd_part_count ;
|
|
int bd_invalidated ;
|
|
struct gendisk *bd_disk ;
|
|
struct request_queue *bd_queue ;
|
|
struct list_head bd_list ;
|
|
unsigned long bd_private ;
|
|
int bd_fsfreeze_count ;
|
|
struct mutex bd_fsfreeze_mutex ;
|
|
};
|
|
|
|
#line 503
|
|
struct posix_acl;
|
|
|
|
#line 504
|
|
struct inode_operations;
|
|
|
|
#line 504 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
union __anonunion_192 {
|
|
unsigned int const i_nlink ;
|
|
unsigned int __i_nlink ;
|
|
};
|
|
|
|
#line 504 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
union __anonunion_193 {
|
|
struct hlist_head i_dentry ;
|
|
struct callback_head i_rcu ;
|
|
};
|
|
|
|
#line 504
|
|
struct file_lock;
|
|
|
|
#line 504
|
|
struct cdev;
|
|
|
|
#line 504 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
union __anonunion_194 {
|
|
struct pipe_inode_info *i_pipe ;
|
|
struct block_device *i_bdev ;
|
|
struct cdev *i_cdev ;
|
|
};
|
|
|
|
#line 504 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct inode {
|
|
umode_t i_mode ;
|
|
unsigned short i_opflags ;
|
|
kuid_t i_uid ;
|
|
kgid_t i_gid ;
|
|
unsigned int i_flags ;
|
|
struct posix_acl *i_acl ;
|
|
struct posix_acl *i_default_acl ;
|
|
struct inode_operations const *i_op ;
|
|
struct super_block *i_sb ;
|
|
struct address_space *i_mapping ;
|
|
void *i_security ;
|
|
unsigned long i_ino ;
|
|
union __anonunion_192 __anonCompField_inode_65 ;
|
|
dev_t i_rdev ;
|
|
loff_t i_size ;
|
|
struct timespec i_atime ;
|
|
struct timespec i_mtime ;
|
|
struct timespec i_ctime ;
|
|
spinlock_t i_lock ;
|
|
unsigned short i_bytes ;
|
|
unsigned int i_blkbits ;
|
|
blkcnt_t i_blocks ;
|
|
unsigned long i_state ;
|
|
struct mutex i_mutex ;
|
|
unsigned long dirtied_when ;
|
|
struct hlist_node i_hash ;
|
|
struct list_head i_wb_list ;
|
|
struct list_head i_lru ;
|
|
struct list_head i_sb_list ;
|
|
union __anonunion_193 __anonCompField_inode_66 ;
|
|
u64 i_version ;
|
|
atomic_t i_count ;
|
|
atomic_t i_dio_count ;
|
|
atomic_t i_writecount ;
|
|
struct file_operations const *i_fop ;
|
|
struct file_lock *i_flock ;
|
|
struct address_space i_data ;
|
|
struct dquot *i_dquot[2U] ;
|
|
struct list_head i_devices ;
|
|
union __anonunion_194 __anonCompField_inode_67 ;
|
|
__u32 i_generation ;
|
|
__u32 i_fsnotify_mask ;
|
|
struct hlist_head i_fsnotify_marks ;
|
|
atomic_t i_readcount ;
|
|
void *i_private ;
|
|
};
|
|
|
|
#line 740 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct fown_struct {
|
|
rwlock_t lock ;
|
|
struct pid *pid ;
|
|
enum pid_type pid_type ;
|
|
kuid_t uid ;
|
|
kuid_t euid ;
|
|
int signum ;
|
|
};
|
|
|
|
#line 748 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct file_ra_state {
|
|
unsigned long start ;
|
|
unsigned int size ;
|
|
unsigned int async_size ;
|
|
unsigned int ra_pages ;
|
|
unsigned int mmap_miss ;
|
|
loff_t prev_pos ;
|
|
};
|
|
|
|
#line 771 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
union __anonunion_f_u_195 {
|
|
struct llist_node fu_llist ;
|
|
struct callback_head fu_rcuhead ;
|
|
};
|
|
|
|
#line 771 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct file {
|
|
union __anonunion_f_u_195 f_u ;
|
|
struct path f_path ;
|
|
struct inode *f_inode ;
|
|
struct file_operations const *f_op ;
|
|
spinlock_t f_lock ;
|
|
atomic_long_t f_count ;
|
|
unsigned int f_flags ;
|
|
fmode_t f_mode ;
|
|
struct mutex f_pos_lock ;
|
|
loff_t f_pos ;
|
|
struct fown_struct f_owner ;
|
|
struct cred const *f_cred ;
|
|
struct file_ra_state f_ra ;
|
|
u64 f_version ;
|
|
void *f_security ;
|
|
void *private_data ;
|
|
struct list_head f_ep_links ;
|
|
struct list_head f_tfile_llink ;
|
|
struct address_space *f_mapping ;
|
|
unsigned long f_mnt_write_state ;
|
|
};
|
|
|
|
#line 909 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
typedef struct files_struct *fl_owner_t;
|
|
|
|
#line 910 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct file_lock_operations {
|
|
void (*fl_copy_lock)(struct file_lock *, struct file_lock *) ;
|
|
void (*fl_release_private)(struct file_lock *) ;
|
|
};
|
|
|
|
#line 915 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct lock_manager_operations {
|
|
int (*lm_compare_owner)(struct file_lock *, struct file_lock *) ;
|
|
unsigned long (*lm_owner_key)(struct file_lock *) ;
|
|
void (*lm_notify)(struct file_lock *) ;
|
|
int (*lm_grant)(struct file_lock *, struct file_lock *, int ) ;
|
|
void (*lm_break)(struct file_lock *) ;
|
|
int (*lm_change)(struct file_lock **, int ) ;
|
|
};
|
|
|
|
#line 933
|
|
struct nlm_lockowner;
|
|
|
|
#line 934 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct nfs_lock_info {
|
|
u32 state ;
|
|
struct nlm_lockowner *owner ;
|
|
struct list_head list ;
|
|
};
|
|
|
|
#line 14 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nfs_fs_i.h"
|
|
struct nfs4_lock_state;
|
|
|
|
#line 15 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nfs_fs_i.h"
|
|
struct nfs4_lock_info {
|
|
struct nfs4_lock_state *owner ;
|
|
};
|
|
|
|
#line 19
|
|
struct fasync_struct;
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nfs_fs_i.h"
|
|
struct __anonstruct_afs_197 {
|
|
struct list_head link ;
|
|
int state ;
|
|
};
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nfs_fs_i.h"
|
|
union __anonunion_fl_u_196 {
|
|
struct nfs_lock_info nfs_fl ;
|
|
struct nfs4_lock_info nfs4_fl ;
|
|
struct __anonstruct_afs_197 afs ;
|
|
};
|
|
|
|
#line 19 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/nfs_fs_i.h"
|
|
struct file_lock {
|
|
struct file_lock *fl_next ;
|
|
struct hlist_node fl_link ;
|
|
struct list_head fl_block ;
|
|
fl_owner_t fl_owner ;
|
|
unsigned int fl_flags ;
|
|
unsigned char fl_type ;
|
|
unsigned int fl_pid ;
|
|
int fl_link_cpu ;
|
|
struct pid *fl_nspid ;
|
|
wait_queue_head_t fl_wait ;
|
|
struct file *fl_file ;
|
|
loff_t fl_start ;
|
|
loff_t fl_end ;
|
|
struct fasync_struct *fl_fasync ;
|
|
unsigned long fl_break_time ;
|
|
unsigned long fl_downgrade_time ;
|
|
struct file_lock_operations const *fl_ops ;
|
|
struct lock_manager_operations const *fl_lmops ;
|
|
union __anonunion_fl_u_196 fl_u ;
|
|
};
|
|
|
|
#line 1036 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct fasync_struct {
|
|
spinlock_t fa_lock ;
|
|
int magic ;
|
|
int fa_fd ;
|
|
struct fasync_struct *fa_next ;
|
|
struct file *fa_file ;
|
|
struct callback_head fa_rcu ;
|
|
};
|
|
|
|
#line 1228 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct sb_writers {
|
|
struct percpu_counter counter[3U] ;
|
|
wait_queue_head_t wait ;
|
|
int frozen ;
|
|
wait_queue_head_t wait_unfrozen ;
|
|
struct lockdep_map lock_map[3U] ;
|
|
};
|
|
|
|
#line 1244
|
|
struct super_operations;
|
|
|
|
#line 1244
|
|
struct xattr_handler;
|
|
|
|
#line 1244
|
|
struct mtd_info;
|
|
|
|
#line 1244 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct super_block {
|
|
struct list_head s_list ;
|
|
dev_t s_dev ;
|
|
unsigned char s_blocksize_bits ;
|
|
unsigned long s_blocksize ;
|
|
loff_t s_maxbytes ;
|
|
struct file_system_type *s_type ;
|
|
struct super_operations const *s_op ;
|
|
struct dquot_operations const *dq_op ;
|
|
struct quotactl_ops const *s_qcop ;
|
|
struct export_operations const *s_export_op ;
|
|
unsigned long s_flags ;
|
|
unsigned long s_magic ;
|
|
struct dentry *s_root ;
|
|
struct rw_semaphore s_umount ;
|
|
int s_count ;
|
|
atomic_t s_active ;
|
|
void *s_security ;
|
|
struct xattr_handler const **s_xattr ;
|
|
struct list_head s_inodes ;
|
|
struct hlist_bl_head s_anon ;
|
|
struct list_head s_mounts ;
|
|
struct block_device *s_bdev ;
|
|
struct backing_dev_info *s_bdi ;
|
|
struct mtd_info *s_mtd ;
|
|
struct hlist_node s_instances ;
|
|
struct quota_info s_dquot ;
|
|
struct sb_writers s_writers ;
|
|
char s_id[32U] ;
|
|
u8 s_uuid[16U] ;
|
|
void *s_fs_info ;
|
|
unsigned int s_max_links ;
|
|
fmode_t s_mode ;
|
|
u32 s_time_gran ;
|
|
struct mutex s_vfs_rename_mutex ;
|
|
char *s_subtype ;
|
|
char *s_options ;
|
|
struct dentry_operations const *s_d_op ;
|
|
int cleancache_poolid ;
|
|
struct shrinker s_shrink ;
|
|
atomic_long_t s_remove_count ;
|
|
int s_readonly_remount ;
|
|
struct workqueue_struct *s_dio_done_wq ;
|
|
struct list_lru s_dentry_lru ;
|
|
struct list_lru s_inode_lru ;
|
|
struct callback_head rcu ;
|
|
};
|
|
|
|
#line 1474 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct fiemap_extent_info {
|
|
unsigned int fi_flags ;
|
|
unsigned int fi_extents_mapped ;
|
|
unsigned int fi_extents_max ;
|
|
struct fiemap_extent *fi_extents_start ;
|
|
};
|
|
|
|
#line 1512 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct dir_context {
|
|
int (*actor)(void *, char const *, int , loff_t , u64 , unsigned int ) ;
|
|
loff_t pos ;
|
|
};
|
|
|
|
#line 1517 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct file_operations {
|
|
struct module *owner ;
|
|
loff_t (*llseek)(struct file *, loff_t , int ) ;
|
|
ssize_t (*read)(struct file *, char *, size_t , loff_t *) ;
|
|
ssize_t (*write)(struct file *, char const *, size_t , loff_t *) ;
|
|
ssize_t (*aio_read)(struct kiocb *, struct iovec const *, unsigned long , loff_t ) ;
|
|
ssize_t (*aio_write)(struct kiocb *, struct iovec const *, unsigned long , loff_t ) ;
|
|
int (*iterate)(struct file *, struct dir_context *) ;
|
|
unsigned int (*poll)(struct file *, struct poll_table_struct *) ;
|
|
long (*unlocked_ioctl)(struct file *, unsigned int , unsigned long ) ;
|
|
long (*compat_ioctl)(struct file *, unsigned int , unsigned long ) ;
|
|
int (*mmap)(struct file *, struct vm_area_struct *) ;
|
|
int (*open)(struct inode *, struct file *) ;
|
|
int (*flush)(struct file *, fl_owner_t ) ;
|
|
int (*release)(struct inode *, struct file *) ;
|
|
int (*fsync)(struct file *, loff_t , loff_t , int ) ;
|
|
int (*aio_fsync)(struct kiocb *, int ) ;
|
|
int (*fasync)(int , struct file *, int ) ;
|
|
int (*lock)(struct file *, int , struct file_lock *) ;
|
|
ssize_t (*sendpage)(struct file *, struct page *, int , size_t , loff_t *, int ) ;
|
|
unsigned long (*get_unmapped_area)(struct file *, unsigned long , unsigned long , unsigned long , unsigned long ) ;
|
|
int (*check_flags)(int ) ;
|
|
int (*flock)(struct file *, int , struct file_lock *) ;
|
|
ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t , unsigned int ) ;
|
|
ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t , unsigned int ) ;
|
|
int (*setlease)(struct file *, long , struct file_lock **) ;
|
|
long (*fallocate)(struct file *, int , loff_t , loff_t ) ;
|
|
int (*show_fdinfo)(struct seq_file *, struct file *) ;
|
|
};
|
|
|
|
#line 1555 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct inode_operations {
|
|
struct dentry *(*lookup)(struct inode *, struct dentry *, unsigned int ) ;
|
|
void *(*follow_link)(struct dentry *, struct nameidata *) ;
|
|
int (*permission)(struct inode *, int ) ;
|
|
struct posix_acl *(*get_acl)(struct inode *, int ) ;
|
|
int (*readlink)(struct dentry *, char *, int ) ;
|
|
void (*put_link)(struct dentry *, struct nameidata *, void *) ;
|
|
int (*create)(struct inode *, struct dentry *, umode_t , bool ) ;
|
|
int (*link)(struct dentry *, struct inode *, struct dentry *) ;
|
|
int (*unlink)(struct inode *, struct dentry *) ;
|
|
int (*symlink)(struct inode *, struct dentry *, char const *) ;
|
|
int (*mkdir)(struct inode *, struct dentry *, umode_t ) ;
|
|
int (*rmdir)(struct inode *, struct dentry *) ;
|
|
int (*mknod)(struct inode *, struct dentry *, umode_t , dev_t ) ;
|
|
int (*rename)(struct inode *, struct dentry *, struct inode *, struct dentry *) ;
|
|
int (*setattr)(struct dentry *, struct iattr *) ;
|
|
int (*getattr)(struct vfsmount *, struct dentry *, struct kstat *) ;
|
|
int (*setxattr)(struct dentry *, char const *, void const *, size_t , int ) ;
|
|
ssize_t (*getxattr)(struct dentry *, char const *, void *, size_t ) ;
|
|
ssize_t (*listxattr)(struct dentry *, char *, size_t ) ;
|
|
int (*removexattr)(struct dentry *, char const *) ;
|
|
int (*fiemap)(struct inode *, struct fiemap_extent_info *, u64 , u64 ) ;
|
|
int (*update_time)(struct inode *, struct timespec *, int ) ;
|
|
int (*atomic_open)(struct inode *, struct dentry *, struct file *, unsigned int , umode_t , int *) ;
|
|
int (*tmpfile)(struct inode *, struct dentry *, umode_t ) ;
|
|
int (*set_acl)(struct inode *, struct posix_acl *, int ) ;
|
|
};
|
|
|
|
#line 1600 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct super_operations {
|
|
struct inode *(*alloc_inode)(struct super_block *) ;
|
|
void (*destroy_inode)(struct inode *) ;
|
|
void (*dirty_inode)(struct inode *, int ) ;
|
|
int (*write_inode)(struct inode *, struct writeback_control *) ;
|
|
int (*drop_inode)(struct inode *) ;
|
|
void (*evict_inode)(struct inode *) ;
|
|
void (*put_super)(struct super_block *) ;
|
|
int (*sync_fs)(struct super_block *, int ) ;
|
|
int (*freeze_fs)(struct super_block *) ;
|
|
int (*unfreeze_fs)(struct super_block *) ;
|
|
int (*statfs)(struct dentry *, struct kstatfs *) ;
|
|
int (*remount_fs)(struct super_block *, int *, char *) ;
|
|
void (*umount_begin)(struct super_block *) ;
|
|
int (*show_options)(struct seq_file *, struct dentry *) ;
|
|
int (*show_devname)(struct seq_file *, struct dentry *) ;
|
|
int (*show_path)(struct seq_file *, struct dentry *) ;
|
|
int (*show_stats)(struct seq_file *, struct dentry *) ;
|
|
ssize_t (*quota_read)(struct super_block *, int , char *, size_t , loff_t ) ;
|
|
ssize_t (*quota_write)(struct super_block *, int , char const *, size_t , loff_t ) ;
|
|
int (*bdev_try_to_free_page)(struct super_block *, struct page *, gfp_t ) ;
|
|
long (*nr_cached_objects)(struct super_block *, int ) ;
|
|
long (*free_cached_objects)(struct super_block *, long , int ) ;
|
|
};
|
|
|
|
#line 1814 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
struct file_system_type {
|
|
char const *name ;
|
|
int fs_flags ;
|
|
struct dentry *(*mount)(struct file_system_type *, int , char const *, void *) ;
|
|
void (*kill_sb)(struct super_block *) ;
|
|
struct module *owner ;
|
|
struct file_system_type *next ;
|
|
struct hlist_head fs_supers ;
|
|
struct lock_class_key s_lock_key ;
|
|
struct lock_class_key s_umount_key ;
|
|
struct lock_class_key s_vfs_rename_key ;
|
|
struct lock_class_key s_writers_key[3U] ;
|
|
struct lock_class_key i_lock_key ;
|
|
struct lock_class_key i_mutex_key ;
|
|
struct lock_class_key i_mutex_dir_key ;
|
|
};
|
|
|
|
#line 129 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/stop_machine.h"
|
|
struct fbd_ioat {
|
|
unsigned int vendor ;
|
|
unsigned int ioat_dev ;
|
|
unsigned int enabled ;
|
|
};
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/dma/ioat/hw.h"
|
|
struct __anonstruct_ctl_f_199 {
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) int_en : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) src_snoop_dis : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) dest_snoop_dis : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) compl_write : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) fence : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) null : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) src_brk : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) dest_brk : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) bundle : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) dest_dca : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) hint : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(13))) rsvd2 : 13 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(8))) op : 8 ;
|
|
};
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/dma/ioat/hw.h"
|
|
union __anonunion_198 {
|
|
uint32_t ctl ;
|
|
struct __anonstruct_ctl_f_199 ctl_f ;
|
|
};
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/dma/ioat/hw.h"
|
|
union __anonunion_200 {
|
|
uint64_t user1 ;
|
|
uint64_t tx_cnt ;
|
|
};
|
|
|
|
#line 68 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/dma/ioat/hw.h"
|
|
struct ioat_dma_descriptor {
|
|
uint32_t size ;
|
|
union __anonunion_198 __anonCompField_ioat_dma_descriptor_68 ;
|
|
uint64_t src_addr ;
|
|
uint64_t dst_addr ;
|
|
uint64_t next ;
|
|
uint64_t rsv1 ;
|
|
uint64_t rsv2 ;
|
|
union __anonunion_200 __anonCompField_ioat_dma_descriptor_69 ;
|
|
uint64_t user2 ;
|
|
};
|
|
|
|
#line 532 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
struct debugfs_file_info {
|
|
void *ptr ;
|
|
char name[32U] ;
|
|
struct dentry *file ;
|
|
};
|
|
|
|
#line 62 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memory.h"
|
|
struct ldv_list_element {
|
|
void *data ;
|
|
struct ldv_list_element *next ;
|
|
};
|
|
|
|
#line 26 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memlist.h"
|
|
typedef struct ldv_list_element *ldv_list_ptr;
|
|
|
|
#line 41 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.h"
|
|
struct device_private {
|
|
void *driver_data ;
|
|
};
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kthread.h"
|
|
struct kthread_work;
|
|
|
|
#line 65 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kthread.h"
|
|
struct kthread_worker {
|
|
spinlock_t lock ;
|
|
struct list_head work_list ;
|
|
struct task_struct *task ;
|
|
struct kthread_work *current_work ;
|
|
};
|
|
|
|
#line 72 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kthread.h"
|
|
struct kthread_work {
|
|
struct list_head node ;
|
|
void (*func)(struct kthread_work *) ;
|
|
wait_queue_head_t done ;
|
|
struct kthread_worker *worker ;
|
|
};
|
|
|
|
#line 33 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spi/spi.h"
|
|
struct spi_device {
|
|
struct device dev ;
|
|
struct spi_master *master ;
|
|
u32 max_speed_hz ;
|
|
u8 chip_select ;
|
|
u8 bits_per_word ;
|
|
u16 mode ;
|
|
int irq ;
|
|
void *controller_state ;
|
|
void *controller_data ;
|
|
char modalias[32U] ;
|
|
int cs_gpio ;
|
|
};
|
|
|
|
#line 152
|
|
struct spi_message;
|
|
|
|
#line 153
|
|
struct spi_transfer;
|
|
|
|
#line 210 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spi/spi.h"
|
|
struct spi_master {
|
|
struct device dev ;
|
|
struct list_head list ;
|
|
s16 bus_num ;
|
|
u16 num_chipselect ;
|
|
u16 dma_alignment ;
|
|
u16 mode_bits ;
|
|
u32 bits_per_word_mask ;
|
|
u32 min_speed_hz ;
|
|
u32 max_speed_hz ;
|
|
u16 flags ;
|
|
spinlock_t bus_lock_spinlock ;
|
|
struct mutex bus_lock_mutex ;
|
|
bool bus_lock_flag ;
|
|
int (*setup)(struct spi_device *) ;
|
|
int (*transfer)(struct spi_device *, struct spi_message *) ;
|
|
void (*cleanup)(struct spi_device *) ;
|
|
bool queued ;
|
|
struct kthread_worker kworker ;
|
|
struct task_struct *kworker_task ;
|
|
struct kthread_work pump_messages ;
|
|
spinlock_t queue_lock ;
|
|
struct list_head queue ;
|
|
struct spi_message *cur_msg ;
|
|
bool busy ;
|
|
bool running ;
|
|
bool rt ;
|
|
bool auto_runtime_pm ;
|
|
bool cur_msg_prepared ;
|
|
struct completion xfer_completion ;
|
|
int (*prepare_transfer_hardware)(struct spi_master *) ;
|
|
int (*transfer_one_message)(struct spi_master *, struct spi_message *) ;
|
|
int (*unprepare_transfer_hardware)(struct spi_master *) ;
|
|
int (*prepare_message)(struct spi_master *, struct spi_message *) ;
|
|
int (*unprepare_message)(struct spi_master *, struct spi_message *) ;
|
|
void (*set_cs)(struct spi_device *, bool ) ;
|
|
int (*transfer_one)(struct spi_master *, struct spi_device *, struct spi_transfer *) ;
|
|
int *cs_gpios ;
|
|
};
|
|
|
|
#line 475 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spi/spi.h"
|
|
struct spi_transfer {
|
|
void const *tx_buf ;
|
|
void *rx_buf ;
|
|
unsigned int len ;
|
|
dma_addr_t tx_dma ;
|
|
dma_addr_t rx_dma ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) cs_change : 1 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(3))) tx_nbits : 3 ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(3))) rx_nbits : 3 ;
|
|
u8 bits_per_word ;
|
|
u16 delay_usecs ;
|
|
u32 speed_hz ;
|
|
struct list_head transfer_list ;
|
|
};
|
|
|
|
#line 595 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spi/spi.h"
|
|
struct spi_message {
|
|
struct list_head transfers ;
|
|
struct spi_device *spi ;
|
|
unsigned int __attribute__((__FRAMA_C_BITFIELD_SIZE__(1))) is_dma_mapped : 1 ;
|
|
void (*complete)(void *) ;
|
|
void *context ;
|
|
unsigned int frame_length ;
|
|
unsigned int actual_length ;
|
|
int status ;
|
|
struct list_head queue ;
|
|
void *state ;
|
|
};
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/poll.h"
|
|
struct poll_table_struct {
|
|
void (*_qproc)(struct file *, wait_queue_head_t *, struct poll_table_struct *) ;
|
|
unsigned long _key ;
|
|
};
|
|
|
|
#line 163 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/poll.h"
|
|
struct ldv_struct_character_driver_scenario_4 {
|
|
struct file_operations *arg0 ;
|
|
int signal_pending ;
|
|
};
|
|
long __builtin_expect(long exp, long c);
|
|
|
|
void __builtin_unreachable(void);
|
|
|
|
|
|
#line 4 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
void ldv_atomic_add(int i, atomic_t *v);
|
|
|
|
|
|
#line 5
|
|
void ldv_atomic_sub(int i, atomic_t *v);
|
|
|
|
|
|
#line 6
|
|
int ldv_atomic_sub_and_test(int i, atomic_t *v);
|
|
|
|
|
|
#line 7
|
|
void ldv_atomic_inc(atomic_t *v);
|
|
|
|
|
|
#line 8
|
|
void ldv_atomic_dec(atomic_t *v);
|
|
|
|
|
|
#line 9
|
|
int ldv_atomic_dec_and_test(atomic_t *v);
|
|
|
|
|
|
#line 10
|
|
int ldv_atomic_inc_and_test(atomic_t *v);
|
|
|
|
|
|
#line 11
|
|
int ldv_atomic_add_return(int i, atomic_t *v);
|
|
|
|
|
|
#line 12
|
|
int ldv_atomic_add_negative(int i, atomic_t *v);
|
|
|
|
|
|
#line 13
|
|
int ldv_atomic_inc_short(short *v);
|
|
|
|
|
|
#line 15
|
|
void *ldv_io_mem_remap(void);
|
|
|
|
|
|
#line 16
|
|
void ldv_io_mem_unmap(void);
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/device.h"
|
|
void *ldv_dev_get_drvdata(struct device const *dev);
|
|
|
|
|
|
#line 24
|
|
int ldv_dev_set_drvdata(struct device *dev, void *data);
|
|
|
|
|
|
#line 22 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
struct spi_master *ldv_spi_alloc_master(struct device *host, unsigned int size);
|
|
|
|
|
|
#line 27 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/err.h"
|
|
long ldv_is_err(void const *ptr);
|
|
|
|
|
|
#line 28
|
|
long ldv_is_err_or_null(void const *ptr);
|
|
|
|
|
|
#line 29
|
|
void *ldv_err_ptr(long error);
|
|
|
|
|
|
#line 30
|
|
long ldv_ptr_err(void const *ptr);
|
|
|
|
|
|
#line 21 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/panic.h"
|
|
void ldv_panic(void);
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/slab.h"
|
|
void *ldv_kzalloc(size_t size, gfp_t flags);
|
|
|
|
|
|
#line 24
|
|
void *ldv_kmalloc(size_t size, gfp_t flags);
|
|
|
|
|
|
#line 25
|
|
void *ldv_kcalloc(size_t n, size_t size, gfp_t flags);
|
|
|
|
|
|
#line 26
|
|
void *ldv_kmalloc_array(size_t n, size_t size, gfp_t flags);
|
|
|
|
|
|
#line 28
|
|
void ldv_check_alloc_flags(gfp_t);
|
|
|
|
|
|
#line 29
|
|
void ldv_after_alloc(void *);
|
|
|
|
|
|
#line 358 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/paravirt_types.h"
|
|
extern struct pv_irq_ops pv_irq_ops;
|
|
|
|
|
|
#line 71 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/bitops.h"
|
|
__inline static void set_bit(long nr, unsigned long volatile *addr)
|
|
{
|
|
|
|
#line 73
|
|
if (0 != 0)
|
|
#line 74
|
|
|
|
#line 74
|
|
__asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; orb %1,%0": "+m" (*((long volatile *)addr + (nr >> 3))): "iq"((unsigned char)(1 << (nr & 7L))): "memory"); else
|
|
|
|
#line 79
|
|
|
|
#line 79
|
|
__asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; bts %1,%0": "+m" (*((long volatile *)addr)): "Ir"(nr): "memory");
|
|
|
|
#line 81
|
|
return;
|
|
}
|
|
|
|
|
|
#line 109 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/bitops.h"
|
|
__inline static void clear_bit(long nr, unsigned long volatile *addr)
|
|
{
|
|
|
|
#line 111
|
|
if (0 != 0)
|
|
#line 112
|
|
|
|
#line 112
|
|
__asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; andb %1,%0": "+m" (*((long volatile *)addr + (nr >> 3))): "iq"(~ ((int)((unsigned char)(1 << (nr & 7L)))))); else
|
|
|
|
#line 116
|
|
|
|
#line 116
|
|
__asm__ volatile (".pushsection .smp_locks,\"a\"\n.balign 4\n.long 671f - .\n.popsection\n671:\n\tlock; btr %1,%0": "+m" (*((long volatile *)addr)): "Ir"(nr));
|
|
|
|
#line 118
|
|
return;
|
|
}
|
|
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/arch_hweight.h"
|
|
__inline static unsigned long __arch_hweight64(__u64 w)
|
|
{
|
|
|
|
#line 47
|
|
unsigned long res = 0UL;
|
|
|
|
#line 53
|
|
|
|
#line 53
|
|
__asm__ ("661:\n\tcall __sw_hweight64\n662:\n.pushsection .altinstructions,\"a\"\n .long 661b - .\n .long 6631f - .\n .word (4*32+23)\n .byte 662b-661b\n .byte 6641f-6631f\n.popsection\n.pushsection .discard,\"aw\",@progbits\n .byte 0xff + (6641f-6631f) - (662b-661b)\n.popsection\n.pushsection .altinstr_replacement, \"ax\"\n6631:\n\t.byte 0xf3,0x48,0x0f,0xb8,0xc7\n6641:\n\t.popsection": "=a" (res): "D"(w));
|
|
|
|
#line 58
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 78 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bitops.h"
|
|
__inline static unsigned long hweight_long(unsigned long w)
|
|
{
|
|
unsigned long tmp_0;
|
|
|
|
#line 80
|
|
if (0 != 0)
|
|
#line 80
|
|
tmp_0 = (unsigned long)(((((((((((((unsigned long long)w & 1ULL) != 0ULL) + (((unsigned long long)w & 2ULL) != 0ULL)) + (((unsigned long long)w & 4ULL) != 0ULL)) + (((unsigned long long)w & 8ULL) != 0ULL)) + (((unsigned long long)w & 16ULL) != 0ULL)) + (((unsigned long long)w & 32ULL) != 0ULL)) + (((unsigned long long)w & 64ULL) != 0ULL)) + (((unsigned long long)w & 128ULL) != 0ULL)) + ((((((((((unsigned long long)(w >> 8) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 8) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 8) & 128ULL) != 0ULL))) + (((((((((((unsigned long long)(w >> 16) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 16) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 16) & 128ULL) != 0ULL)) + ((((((((((unsigned long long)(w >> 24) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 24) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 24) & 128ULL) != 0ULL)))) + ((((((((((((unsigned long long)(w >> 32) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 32) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 32) & 128ULL) != 0ULL)) + ((((((((((unsigned long long)(w >> 40) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 40) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 40) & 128ULL) != 0ULL))) + (((((((((((unsigned long long)(w >> 48) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 48) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 48) & 128ULL) != 0ULL)) + ((((((((((unsigned long long)(w >> 56) & 1ULL) != 0ULL) + (((unsigned long long)(w >> 56) & 2ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 4ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 8ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 16ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 32ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 64ULL) != 0ULL)) + (((unsigned long long)(w >> 56) & 128ULL) != 0ULL))))); else
|
|
|
|
#line 80
|
|
tmp_0 = __arch_hweight64((unsigned long long)w);
|
|
|
|
#line 80
|
|
return tmp_0;
|
|
}
|
|
|
|
|
|
#line 132 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/printk.h"
|
|
int printk(char const *, void * const *__va_params);
|
|
|
|
|
|
#line 88 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/percpu.h"
|
|
void __bad_percpu_size(void);
|
|
|
|
|
|
#line 71 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/bug.h"
|
|
void warn_slowpath_null(char const *, int const);
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/string_64.h"
|
|
void *memcpy(void *, void const *, size_t);
|
|
|
|
|
|
#line 55
|
|
void *memset(void *, int, size_t);
|
|
|
|
|
|
#line 113 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bitmap.h"
|
|
int __bitmap_weight(unsigned long const *, int);
|
|
|
|
|
|
#line 276 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/bitmap.h"
|
|
__inline static int bitmap_weight(unsigned long const *src, int nbits)
|
|
{
|
|
int __retres;
|
|
int tmp_1;
|
|
|
|
#line 278
|
|
if (0 != 0 && nbits <= 64) {
|
|
unsigned long tmp_0;
|
|
unsigned long tmp;
|
|
|
|
#line 279
|
|
if (((unsigned int)nbits & 63U) != 0U)
|
|
#line 279
|
|
tmp = (1UL << nbits % 64) + 18446744073709551615UL; else
|
|
|
|
#line 279
|
|
tmp = 18446744073709551615UL;
|
|
|
|
#line 279
|
|
;
|
|
|
|
#line 279
|
|
tmp_0 = hweight_long(*src & tmp);
|
|
|
|
#line 279
|
|
__retres = (int)tmp_0;
|
|
|
|
#line 279
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 280
|
|
tmp_1 = __bitmap_weight(src,nbits);
|
|
|
|
#line 280
|
|
__retres = tmp_1;
|
|
return_label:
|
|
#line 280
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 28 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
extern int nr_cpu_ids;
|
|
|
|
|
|
#line 80
|
|
extern struct cpumask const * const cpu_online_mask;
|
|
|
|
|
|
#line 105 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
__inline static unsigned int cpumask_check(unsigned int cpu)
|
|
{
|
|
{
|
|
bool __warned;
|
|
|
|
#line 108
|
|
int __ret_warn_once = cpu >= (unsigned int)nr_cpu_ids;
|
|
|
|
#line 108
|
|
if ((long)(__ret_warn_once != 0) != 0L) {
|
|
int tmp;
|
|
{
|
|
|
|
#line 108
|
|
int __ret_warn_on = ! __warned;
|
|
|
|
#line 108
|
|
if ((long)(__ret_warn_on != 0) != 0L)
|
|
#line 108
|
|
warn_slowpath_null("include/linux/cpumask.h",108); else ;
|
|
|
|
#line 108
|
|
tmp = (long)(__ret_warn_on != 0);
|
|
}
|
|
|
|
#line 108
|
|
if ((long)tmp != 0L)
|
|
#line 108
|
|
__warned = (_Bool)1; else ;
|
|
}
|
|
else ;
|
|
|
|
#line 108
|
|
long tmp_2 = (long)(__ret_warn_once != 0);
|
|
}
|
|
|
|
#line 110
|
|
return cpu;
|
|
}
|
|
|
|
|
|
#line 255 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
__inline static void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp)
|
|
{
|
|
unsigned int tmp;
|
|
|
|
#line 257
|
|
;
|
|
|
|
#line 257
|
|
tmp = cpumask_check(cpu);
|
|
|
|
#line 257
|
|
set_bit((long)tmp,(unsigned long volatile *)(& dstp->bits));
|
|
|
|
#line 258
|
|
return;
|
|
}
|
|
|
|
|
|
#line 265 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
__inline static void cpumask_clear_cpu(int cpu, struct cpumask *dstp)
|
|
{
|
|
unsigned int tmp;
|
|
|
|
#line 267
|
|
;
|
|
|
|
#line 267
|
|
tmp = cpumask_check((unsigned int)cpu);
|
|
|
|
#line 267
|
|
clear_bit((long)tmp,(unsigned long volatile *)(& dstp->bits));
|
|
|
|
#line 268
|
|
return;
|
|
}
|
|
|
|
|
|
#line 459 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/cpumask.h"
|
|
__inline static unsigned int cpumask_weight(struct cpumask const *srcp)
|
|
{
|
|
unsigned int __retres;
|
|
int tmp;
|
|
|
|
#line 461
|
|
tmp = bitmap_weight((unsigned long const *)(& srcp->bits),nr_cpu_ids);
|
|
|
|
#line 461
|
|
__retres = (unsigned int)tmp;
|
|
|
|
#line 461
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 668
|
|
bool zalloc_cpumask_var(cpumask_var_t **, gfp_t);
|
|
|
|
|
|
#line 670
|
|
void free_cpumask_var(cpumask_var_t);
|
|
|
|
|
|
#line 802 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/paravirt.h"
|
|
__inline static unsigned long arch_local_save_flags(void)
|
|
{
|
|
unsigned long tmp;
|
|
{
|
|
unsigned long __ret;
|
|
|
|
#line 804
|
|
unsigned long __edi = __edi;
|
|
|
|
#line 804
|
|
unsigned long __esi = __esi;
|
|
|
|
#line 804
|
|
unsigned long __edx = __edx;
|
|
|
|
#line 804
|
|
unsigned long __ecx = __ecx;
|
|
|
|
#line 804
|
|
unsigned long __eax = __eax;
|
|
|
|
#line 804
|
|
if ((long)(pv_irq_ops.save_fl.func == (void *)0) != 0L) {
|
|
|
|
#line 804
|
|
|
|
#line 804
|
|
__asm__ volatile ("1:\tud2\n.pushsection __bug_table,\"a\"\n2:\t.long 1b - 2b, %c0 - 2b\n\t.word %c1, 0\n\t.org 2b+%c2\n.popsection": : "i"((char *)"/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/paravirt.h"), "i"(804), "i"(12UL));
|
|
|
|
#line 804
|
|
;
|
|
}
|
|
else ;
|
|
|
|
#line 804
|
|
|
|
#line 804
|
|
__asm__ volatile ("771:\n\tcall *%c2;\n772:\n.pushsection .parainstructions,\"a\"\n .balign 8 \n .quad 771b\n .byte %c1\n .byte 772b-771b\n .short %c3\n.popsection\n": "=a" (__eax): [paravirt_typenum] "i"(44UL), [paravirt_opptr] "i"(& pv_irq_ops.save_fl.func), [paravirt_clobber] "i"(1): "memory", "cc");
|
|
|
|
#line 804
|
|
__ret = __eax;
|
|
|
|
#line 804
|
|
tmp = __ret;
|
|
}
|
|
|
|
#line 804
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 155 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/irqflags.h"
|
|
__inline static int arch_irqs_disabled_flags(unsigned long flags)
|
|
{
|
|
int __retres;
|
|
|
|
#line 157
|
|
__retres = (flags & 512UL) == 0UL;
|
|
|
|
#line 157
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 93 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock.h"
|
|
void __raw_spin_lock_init(raw_spinlock_t *, char const *, struct lock_class_key *);
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/spinlock_api_smp.h"
|
|
unsigned long _raw_spin_lock_irqsave(raw_spinlock_t *);
|
|
|
|
|
|
#line 43
|
|
void _raw_spin_unlock_irqrestore(raw_spinlock_t *, unsigned long);
|
|
|
|
|
|
#line 267 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/time.h"
|
|
struct timeval ns_to_timeval(s64 const);
|
|
|
|
|
|
#line 307 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/ktime.h"
|
|
__inline static s64 ktime_to_us(ktime_t const kt)
|
|
{
|
|
s64 __retres;
|
|
|
|
#line 309
|
|
struct timeval tv = ns_to_timeval(kt.tv64);
|
|
|
|
#line 310
|
|
__retres = (long long)tv.tv_sec * 1000000LL + (long long)tv.tv_usec;
|
|
|
|
#line 310
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 53 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static unsigned char readb(void const volatile *addr)
|
|
{
|
|
unsigned char ret;
|
|
|
|
#line 53
|
|
|
|
#line 53
|
|
__asm__ volatile ("movb %1,%0": "=q" (ret): "m"(*((unsigned char volatile *)addr)): "memory");
|
|
|
|
#line 53
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static unsigned short readw(void const volatile *addr)
|
|
{
|
|
unsigned short ret;
|
|
|
|
#line 54
|
|
|
|
#line 54
|
|
__asm__ volatile ("movw %1,%0": "=r" (ret): "m"(*((unsigned short volatile *)addr)): "memory");
|
|
|
|
#line 54
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 55 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static unsigned int readl(void const volatile *addr)
|
|
{
|
|
unsigned int ret;
|
|
|
|
#line 55
|
|
|
|
#line 55
|
|
__asm__ volatile ("movl %1,%0": "=r" (ret): "m"(*((unsigned int volatile *)addr)): "memory");
|
|
|
|
#line 55
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 61 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static void writeb(unsigned char val, void volatile *addr)
|
|
{
|
|
|
|
#line 61
|
|
|
|
#line 61
|
|
__asm__ volatile ("movb %0,%1": : "q"(val), "m"(*((unsigned char volatile *)addr)): "memory");
|
|
|
|
#line 62
|
|
return;
|
|
}
|
|
|
|
|
|
#line 62 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static void writew(unsigned short val, void volatile *addr)
|
|
{
|
|
|
|
#line 62
|
|
|
|
#line 62
|
|
__asm__ volatile ("movw %0,%1": : "r"(val), "m"(*((unsigned short volatile *)addr)): "memory");
|
|
|
|
#line 63
|
|
return;
|
|
}
|
|
|
|
|
|
#line 63 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static void writel(unsigned int val, void volatile *addr)
|
|
{
|
|
|
|
#line 63
|
|
|
|
#line 63
|
|
__asm__ volatile ("movl %0,%1": : "r"(val), "m"(*((unsigned int volatile *)addr)): "memory");
|
|
|
|
#line 64
|
|
return;
|
|
}
|
|
|
|
|
|
#line 84 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/io.h"
|
|
__inline static unsigned long readq(void const volatile *addr)
|
|
{
|
|
unsigned long ret;
|
|
|
|
#line 84
|
|
|
|
#line 84
|
|
__asm__ volatile ("movq %1,%0": "=r" (ret): "m"(*((unsigned long volatile *)addr)): "memory");
|
|
|
|
#line 84
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 181
|
|
static void *ldv_ioremap_nocache_23(resource_size_t ldv_func_arg1, unsigned long ldv_func_arg2);
|
|
|
|
|
|
#line 202
|
|
static void ldv_iounmap_24(void volatile *ldv_func_arg1);
|
|
|
|
|
|
#line 206
|
|
static void ldv_iounmap_25(void volatile *ldv_func_arg1);
|
|
|
|
|
|
#line 8 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/idle.h"
|
|
void idle_notifier_register(struct notifier_block *);
|
|
|
|
|
|
#line 9
|
|
void idle_notifier_unregister(struct notifier_block *);
|
|
|
|
|
|
#line 38 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/smp.h"
|
|
extern int cpu_number;
|
|
|
|
|
|
#line 174 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/percpu.h"
|
|
void __bad_size_call_parameter(void);
|
|
|
|
|
|
#line 814 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
struct pci_dev *pci_get_domain_bus_and_slot(int, unsigned int, unsigned int);
|
|
|
|
|
|
#line 816 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
__inline static struct pci_dev *pci_get_bus_and_slot(unsigned int bus, unsigned int devfn)
|
|
{
|
|
struct pci_dev *tmp;
|
|
|
|
#line 819
|
|
tmp = pci_get_domain_bus_and_slot(0,bus,devfn);
|
|
|
|
#line 819
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 824
|
|
int pci_bus_read_config_byte(struct pci_bus *, unsigned int, int, u8 *);
|
|
|
|
|
|
#line 828
|
|
int pci_bus_read_config_dword(struct pci_bus *, unsigned int, int, u32 *);
|
|
|
|
|
|
#line 830
|
|
int pci_bus_write_config_byte(struct pci_bus *, unsigned int, int, u8);
|
|
|
|
|
|
#line 834
|
|
int pci_bus_write_config_dword(struct pci_bus *, unsigned int, int, u32);
|
|
|
|
|
|
#line 838 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
__inline static int pci_read_config_byte(struct pci_dev const *dev, int where, u8 *val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 840
|
|
tmp = pci_bus_read_config_byte(dev->bus,dev->devfn,where,val);
|
|
|
|
#line 840
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 846 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
__inline static int pci_read_config_dword(struct pci_dev const *dev, int where, u32 *val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 849
|
|
tmp = pci_bus_read_config_dword(dev->bus,dev->devfn,where,val);
|
|
|
|
#line 849
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 851 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
__inline static int pci_write_config_byte(struct pci_dev const *dev, int where, u8 val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 853
|
|
tmp = pci_bus_write_config_byte(dev->bus,dev->devfn,where,(unsigned char)((int)val));
|
|
|
|
#line 853
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 859 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/pci.h"
|
|
__inline static int pci_write_config_dword(struct pci_dev const *dev, int where, u32 val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 862
|
|
tmp = pci_bus_write_config_dword(dev->bus,dev->devfn,where,val);
|
|
|
|
#line 862
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 70 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dma-mapping.h"
|
|
__inline static int is_device_dma_capable(struct device *dev)
|
|
{
|
|
int __retres;
|
|
|
|
#line 72
|
|
__retres = (dev->dma_mask != (u64 *)0ULL && *(dev->dma_mask) != 0ULL) != 0;
|
|
|
|
#line 72
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 53 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/dma-debug.h"
|
|
void debug_dma_alloc_coherent(struct device *, size_t, dma_addr_t, void *);
|
|
|
|
|
|
#line 56
|
|
void debug_dma_free_coherent(struct device *, size_t, void *, dma_addr_t);
|
|
|
|
|
|
#line 27 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
extern struct device x86_dma_fallback_dev;
|
|
|
|
|
|
#line 30
|
|
extern struct dma_map_ops *dma_ops;
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
__inline static struct dma_map_ops *get_dma_ops(struct device *dev)
|
|
{
|
|
struct dma_map_ops *__retres;
|
|
|
|
#line 37
|
|
if ((long)(dev == (struct device *)0) != 0L || dev->archdata.dma_ops == (struct dma_map_ops *)0) {
|
|
|
|
#line 38
|
|
__retres = dma_ops;
|
|
|
|
#line 38
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 40
|
|
__retres = dev->archdata.dma_ops;
|
|
|
|
#line 40
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 37
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 103 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
__inline static unsigned long dma_alloc_coherent_mask(struct device *dev, gfp_t gfp)
|
|
{
|
|
|
|
#line 106
|
|
unsigned long dma_mask = 0UL;
|
|
|
|
#line 108
|
|
dma_mask = (unsigned long)dev->coherent_dma_mask;
|
|
|
|
#line 109
|
|
if (dma_mask == 0UL) {
|
|
unsigned long long tmp;
|
|
|
|
#line 110
|
|
if ((gfp & 1U) != 0U)
|
|
#line 110
|
|
tmp = 16777215ULL; else
|
|
#line 110
|
|
tmp = 4294967295ULL;
|
|
|
|
#line 110
|
|
dma_mask = (unsigned long)tmp;
|
|
}
|
|
else ;
|
|
|
|
#line 112
|
|
return dma_mask;
|
|
}
|
|
|
|
|
|
#line 115 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
__inline static gfp_t dma_alloc_coherent_gfp_flags(struct device *dev, gfp_t gfp)
|
|
{
|
|
|
|
#line 117
|
|
unsigned long dma_mask = dma_alloc_coherent_mask(dev,gfp);
|
|
|
|
#line 119
|
|
if (dma_mask <= 16777215UL)
|
|
#line 120
|
|
gfp |= 1U; else ;
|
|
|
|
#line 122
|
|
if (dma_mask <= 4294967295UL && (gfp & 1U) == 0U)
|
|
#line 123
|
|
gfp |= 4U; else ;
|
|
|
|
#line 125
|
|
return gfp;
|
|
}
|
|
|
|
|
|
#line 131 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
__inline static void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs)
|
|
{
|
|
void *__retres;
|
|
void *memory;
|
|
int tmp_0;
|
|
gfp_t tmp_1;
|
|
|
|
#line 134
|
|
struct dma_map_ops *ops = get_dma_ops(dev);
|
|
|
|
#line 137
|
|
gfp &= 4294967288U;
|
|
|
|
#line 142
|
|
if (dev == (struct device *)0)
|
|
#line 143
|
|
dev = & x86_dma_fallback_dev; else ;
|
|
|
|
#line 145
|
|
tmp_0 = is_device_dma_capable(dev);
|
|
|
|
#line 145
|
|
if (tmp_0 == 0) {
|
|
|
|
#line 146
|
|
__retres = (void *)0;
|
|
|
|
#line 146
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 148
|
|
if (ops->alloc == (void *(*)(struct device *, size_t , dma_addr_t *, gfp_t , struct dma_attrs *))0) {
|
|
|
|
#line 149
|
|
__retres = (void *)0;
|
|
|
|
#line 149
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 151
|
|
;
|
|
|
|
#line 151
|
|
tmp_1 = dma_alloc_coherent_gfp_flags(dev,gfp);
|
|
|
|
#line 151
|
|
;
|
|
|
|
#line 151
|
|
;
|
|
|
|
#line 151
|
|
;
|
|
|
|
#line 151
|
|
memory = (*(ops->alloc))(dev,size,dma_handle,tmp_1,attrs);
|
|
|
|
#line 153
|
|
debug_dma_alloc_coherent(dev,size,*dma_handle,memory);
|
|
|
|
#line 155
|
|
__retres = memory;
|
|
return_label:
|
|
#line 155
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 160 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h"
|
|
__inline static void dma_free_attrs(struct device *dev, size_t size, void *vaddr, dma_addr_t bus, struct dma_attrs *attrs)
|
|
{
|
|
|
|
#line 164
|
|
struct dma_map_ops *ops = get_dma_ops(dev);
|
|
{
|
|
int tmp_2;
|
|
{
|
|
unsigned long _flags;
|
|
int tmp_1;
|
|
{
|
|
unsigned long __dummy;
|
|
unsigned long __dummy2;
|
|
|
|
}
|
|
|
|
#line 166
|
|
_flags = arch_local_save_flags();
|
|
{
|
|
unsigned long __dummy_0;
|
|
unsigned long __dummy2_0;
|
|
|
|
}
|
|
|
|
#line 166
|
|
tmp_1 = arch_irqs_disabled_flags(_flags);
|
|
|
|
#line 166
|
|
tmp_2 = tmp_1;
|
|
}
|
|
|
|
#line 166
|
|
int __ret_warn_on = tmp_2 != 0;
|
|
|
|
#line 166
|
|
if ((long)(__ret_warn_on != 0) != 0L)
|
|
#line 166
|
|
warn_slowpath_null("/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/arch/x86/include/asm/dma-mapping.h",166); else ;
|
|
|
|
#line 166
|
|
long tmp_3 = (long)(__ret_warn_on != 0);
|
|
}
|
|
|
|
#line 171
|
|
debug_dma_free_coherent(dev,size,vaddr,bus);
|
|
|
|
#line 172
|
|
if (ops->free != (void (*)(struct device *, size_t , void *, dma_addr_t , struct dma_attrs *))0)
|
|
|
|
#line 173
|
|
(*(ops->free))(dev,size,vaddr,bus,attrs); else ;
|
|
|
|
#line 174
|
|
return;
|
|
}
|
|
|
|
|
|
#line 327 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/hrtimer.h"
|
|
ktime_t ktime_get(void);
|
|
|
|
|
|
#line 10 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/asm-generic/delay.h"
|
|
void __const_udelay(unsigned long);
|
|
|
|
|
|
#line 2400 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/fs.h"
|
|
loff_t default_llseek(struct file *, loff_t, int);
|
|
|
|
|
|
#line 2623
|
|
int simple_open(struct inode *, struct file *);
|
|
|
|
|
|
#line 2651
|
|
ssize_t simple_read_from_buffer(void *, size_t, loff_t *, void const *, size_t);
|
|
|
|
|
|
#line 54 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/debugfs.h"
|
|
static struct dentry *ldv_debugfs_create_file_26(char const *ldv_func_arg1, umode_t ldv_func_arg2, struct dentry *ldv_func_arg3, void *ldv_func_arg4, struct file_operations const *ldv_func_arg5);
|
|
|
|
|
|
#line 57
|
|
struct dentry *debugfs_create_dir(char const *, struct dentry *);
|
|
|
|
|
|
#line 65
|
|
static void ldv_debugfs_remove_27(struct dentry *ldv_func_arg1);
|
|
|
|
|
|
#line 69
|
|
static void ldv_debugfs_remove_28(struct dentry *ldv_func_arg1);
|
|
|
|
|
|
#line 29 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/i7300_idle.h"
|
|
static struct fbd_ioat const fbd_ioat_list[3U] = {{.vendor = 32902U, .ioat_dev = 13835U, .enabled = 1U}, {.vendor = 32902U, .ioat_dev = 6712U, .enabled = 0U}, {.vendor = 0U, .ioat_dev = 0U, .enabled = 0U}};
|
|
|
|
#line 36 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/i7300_idle.h"
|
|
static struct pci_device_id const pci_tbl[3U] = {{.vendor = 32902U, .device = 13836U, .subvendor = 4294967295U, .subdevice = 4294967295U, .class = 0U, .class_mask = 0U, .driver_data = 0UL}, {.vendor = 32902U, .device = 9712U, .subvendor = 4294967295U, .subdevice = 4294967295U, .class = 0U, .class_mask = 0U, .driver_data = 0UL}, {.vendor = 0U, .device = 0U, .subvendor = 0U, .subdevice = 0U, .class = 0U, .class_mask = 0U, .driver_data = 0UL}};
|
|
|
|
#line 43 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/i7300_idle.h"
|
|
__inline static int i7300_idle_platform_probe(struct pci_dev **fbd_dev_0, struct pci_dev **ioat_dev_0, int enable_all)
|
|
{
|
|
int __retres;
|
|
int i;
|
|
struct pci_dev *memdev;
|
|
struct pci_dev *dmadev;
|
|
|
|
#line 50
|
|
memdev = pci_get_bus_and_slot(0U,129U);
|
|
|
|
#line 51
|
|
if (memdev == (struct pci_dev *)0) {
|
|
|
|
#line 52
|
|
__retres = -19;
|
|
|
|
#line 52
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 54
|
|
i = 0;
|
|
|
|
#line 54
|
|
goto ldv_29666;
|
|
ldv_29665:
|
|
#line 55
|
|
;
|
|
|
|
#line 55
|
|
if ((unsigned int)memdev->vendor == pci_tbl[i].vendor && (unsigned int)memdev->device == pci_tbl[i].device)
|
|
|
|
#line 57
|
|
goto ldv_29664; else ;
|
|
|
|
#line 54
|
|
i += 1;
|
|
ldv_29666:
|
|
#line 55
|
|
;
|
|
|
|
#line 54
|
|
if (pci_tbl[i].vendor != 0U)
|
|
#line 56
|
|
goto ldv_29665; else
|
|
#line 59
|
|
goto ldv_29664;
|
|
ldv_29664:
|
|
#line 60
|
|
;
|
|
|
|
#line 60
|
|
if (pci_tbl[i].vendor == 0U) {
|
|
|
|
#line 61
|
|
__retres = -19;
|
|
|
|
#line 61
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 63
|
|
dmadev = pci_get_bus_and_slot(0U,64U);
|
|
|
|
#line 64
|
|
if (dmadev == (struct pci_dev *)0) {
|
|
|
|
#line 65
|
|
__retres = -19;
|
|
|
|
#line 65
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 67
|
|
i = 0;
|
|
|
|
#line 67
|
|
goto ldv_29669;
|
|
ldv_29668:
|
|
#line 68
|
|
;
|
|
|
|
#line 68
|
|
if ((unsigned int)dmadev->vendor == fbd_ioat_list[i].vendor && (unsigned int)dmadev->device == fbd_ioat_list[i].ioat_dev) {
|
|
|
|
#line 70
|
|
if (fbd_ioat_list[i].enabled == 0U && enable_all == 0)
|
|
#line 71
|
|
goto ldv_29667; else ;
|
|
|
|
#line 72
|
|
if (fbd_dev_0 != (struct pci_dev **)0)
|
|
#line 73
|
|
*fbd_dev_0 = memdev; else ;
|
|
|
|
#line 74
|
|
if (ioat_dev_0 != (struct pci_dev **)0)
|
|
#line 75
|
|
*ioat_dev_0 = dmadev; else ;
|
|
|
|
#line 77
|
|
__retres = 0;
|
|
|
|
#line 77
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
ldv_29667:
|
|
#line 79
|
|
;
|
|
|
|
#line 67
|
|
i += 1;
|
|
ldv_29669:
|
|
#line 68
|
|
;
|
|
|
|
#line 67
|
|
if (fbd_ioat_list[i].vendor != 0U)
|
|
#line 69
|
|
goto ldv_29668; else
|
|
#line 72
|
|
goto ldv_29670;
|
|
ldv_29670:
|
|
#line 73
|
|
;
|
|
|
|
#line 80
|
|
__retres = -19;
|
|
return_label:
|
|
#line 80
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 41 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int debug;
|
|
|
|
#line 45 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int forceload;
|
|
|
|
#line 60 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static uint throttle_low_limit = 1U;
|
|
|
|
#line 69 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static unsigned long total_starts;
|
|
|
|
#line 70 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static unsigned long total_us;
|
|
|
|
#line 76 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct pci_dev *fbd_dev;
|
|
|
|
#line 78 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static raw_spinlock_t i7300_idle_lock;
|
|
|
|
#line 79 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_active;
|
|
|
|
#line 81 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static u8 i7300_idle_thrtctl_saved;
|
|
|
|
#line 82 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static u8 i7300_idle_thrtlow_saved;
|
|
|
|
#line 83 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static u32 i7300_idle_mc_saved;
|
|
|
|
#line 85 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static cpumask_var_t idle_cpumask;
|
|
|
|
#line 86 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static ktime_t start_ktime;
|
|
|
|
#line 87 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static unsigned long avg_idle_us;
|
|
|
|
#line 89 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct dentry *debugfs_dir;
|
|
|
|
#line 98 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct pci_dev *ioat_dev;
|
|
|
|
#line 99 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct ioat_dma_descriptor *ioat_desc;
|
|
|
|
#line 100 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static unsigned long ioat_desc_phys;
|
|
|
|
#line 101 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static u8 *ioat_iomap;
|
|
|
|
#line 102 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static u8 *ioat_chanbase;
|
|
|
|
#line 105 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_ioat_start(void)
|
|
{
|
|
int __retres;
|
|
u32 err;
|
|
|
|
#line 109
|
|
err = readl((void const volatile *)(ioat_chanbase + 40U));
|
|
|
|
#line 110
|
|
if (err != 0U)
|
|
#line 111
|
|
writel(err,(void volatile *)(ioat_chanbase + 40U)); else ;
|
|
|
|
#line 113
|
|
writeb((unsigned char)1,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 114
|
|
__retres = 0;
|
|
|
|
#line 114
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 118 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_ioat_stop(void)
|
|
{
|
|
int i;
|
|
u64 sts;
|
|
unsigned long tmp;
|
|
|
|
#line 123
|
|
i = 0;
|
|
|
|
#line 123
|
|
goto ldv_29918;
|
|
ldv_29917:
|
|
#line 124
|
|
;
|
|
|
|
#line 124
|
|
writeb((unsigned char)32,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 127
|
|
__const_udelay(42950UL);
|
|
|
|
#line 129
|
|
tmp = readq((void const volatile *)(ioat_chanbase + 4U));
|
|
|
|
#line 129
|
|
sts = (unsigned long long)tmp & 7ULL;
|
|
|
|
#line 132
|
|
if (sts != 0ULL)
|
|
#line 133
|
|
goto ldv_29916; else ;
|
|
|
|
#line 123
|
|
i += 1;
|
|
ldv_29918:
|
|
#line 124
|
|
;
|
|
|
|
#line 123
|
|
if (i <= 9)
|
|
#line 125
|
|
goto ldv_29917; else
|
|
#line 128
|
|
goto ldv_29916;
|
|
ldv_29916:
|
|
#line 129
|
|
;
|
|
|
|
#line 137
|
|
if (i == 10) {
|
|
|
|
#line 138
|
|
if (debug != 0) {
|
|
{
|
|
|
|
#line 138
|
|
int __va_arg0 = 10;
|
|
|
|
#line 138
|
|
void *__va_args[1] = {& __va_arg0};
|
|
|
|
#line 138
|
|
printk("\016i7300_idle:failed to stop I/O AT after %d retries\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
}
|
|
else ;
|
|
}
|
|
else ;
|
|
|
|
#line 139
|
|
return;
|
|
}
|
|
|
|
|
|
#line 144 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_ioat_selftest(u8 *ctl, struct ioat_dma_descriptor *desc, unsigned long desc_phys)
|
|
{
|
|
int __retres;
|
|
u64 chan_sts;
|
|
unsigned long tmp;
|
|
|
|
#line 149
|
|
memset((void *)desc,0,2048UL);
|
|
|
|
#line 150
|
|
memset((void *)desc + 2048U,171,1024UL);
|
|
|
|
#line 152
|
|
desc->size = 1024U;
|
|
|
|
#line 153
|
|
desc->__anonCompField_ioat_dma_descriptor_68.ctl = 0U;
|
|
|
|
#line 154
|
|
desc->src_addr = (unsigned long long)(desc_phys + 2048UL);
|
|
|
|
#line 155
|
|
desc->dst_addr = (unsigned long long)(desc_phys + 1024UL);
|
|
|
|
#line 156
|
|
desc->next = 0ULL;
|
|
|
|
#line 158
|
|
writeb((unsigned char)32,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 159
|
|
writeb((unsigned char)1,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 161
|
|
__const_udelay(4295000UL);
|
|
|
|
#line 163
|
|
tmp = readq((void const volatile *)(ioat_chanbase + 4U));
|
|
|
|
#line 163
|
|
chan_sts = (unsigned long long)tmp & 7ULL;
|
|
|
|
#line 166
|
|
if (chan_sts != 1ULL) {
|
|
|
|
#line 168
|
|
writeb((unsigned char)32,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 170
|
|
__retres = -1;
|
|
|
|
#line 170
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 173
|
|
if (*((u32 *)desc + 3068U) != 2880154539U || *((u32 *)desc + 2044U) != 2880154539U) {
|
|
|
|
#line 175
|
|
if (debug != 0) {
|
|
{
|
|
|
|
#line 175
|
|
u32 __va_arg0 = *((u32 *)desc + 2048U);
|
|
|
|
#line 175
|
|
u32 __va_arg1 = *((u32 *)desc + 1024U);
|
|
|
|
#line 175
|
|
u32 __va_arg2 = *((u32 *)desc + 3072U);
|
|
|
|
#line 175
|
|
void *__va_args[3] = {& __va_arg0, & __va_arg1, & __va_arg2};
|
|
|
|
#line 175
|
|
printk("\016i7300_idle:Data values src 0x%x, dest 0x%x, memset 0x%x\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
}
|
|
else ;
|
|
|
|
#line 179
|
|
__retres = -1;
|
|
|
|
#line 179
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 181
|
|
__retres = 0;
|
|
return_label:
|
|
#line 181
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 184 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct device dummy_dma_dev = {.parent = (struct device *)0, .p = (struct device_private *)0, .kobj = {.name = (char const *)0, .entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .parent = (struct kobject *)0, .kset = (struct kset *)0, .ktype = (struct kobj_type *)0, .sd = (struct kernfs_node *)0, .kref = {.refcount = {.counter = 0}}, .release = {.work = {.data = {.counter = 0L}, .entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .func = (void (*)(struct work_struct *))0, .lockdep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}, .timer = {.entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .expires = 0UL, .base = (struct tvec_base *)0, .function = (void (*)(unsigned long ))0, .data = 0UL, .slack = 0, .start_pid = 0, .start_site = (void *)0, .start_comm = {(char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0}, .lockdep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}, .wq = (struct workqueue_struct *)0, .cpu = 0}, .state_initialized = 0U, .state_in_sysfs = 0U, .state_add_uevent_sent = 0U, .state_remove_uevent_sent = 0U, .uevent_suppress = 0U}, .init_name = "fallback device", .type = (struct device_type const *)0, .mutex = {.count = {.counter = 0}, .wait_lock = {.__anonCompField_spinlock_20 = {.rlock = {.raw_lock = {.__anonCompField_arch_spinlock_7 = {.head_tail = 0U}}, .magic = 0U, .owner_cpu = 0U, .owner = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}}}, .wait_list = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .owner = (struct task_struct *)0, .name = (char const *)0, .magic = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}, .bus = (struct bus_type *)0, .driver = (struct device_driver *)0, .platform_data = (void *)0, .power = {.power_state = {.event = 0}, .can_wakeup = 0U, .async_suspend = 0U, .is_prepared = (_Bool)0, .is_suspended = (_Bool)0, .ignore_children = (_Bool)0, .early_init = (_Bool)0, .lock = {.__anonCompField_spinlock_20 = {.rlock = {.raw_lock = {.__anonCompField_arch_spinlock_7 = {.head_tail = 0U}}, .magic = 0U, .owner_cpu = 0U, .owner = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}}}, .entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .completion = {.done = 0U, .wait = {.lock = {.__anonCompField_spinlock_20 = {.rlock = {.raw_lock = {.__anonCompField_arch_spinlock_7 = {.head_tail = 0U}}, .magic = 0U, .owner_cpu = 0U, .owner = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}}}, .task_list = {.next = (struct list_head *)0, .prev = (struct list_head *)0}}}, .wakeup = (struct wakeup_source *)0, .wakeup_path = (_Bool)0, .syscore = (_Bool)0, .suspend_timer = {.entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .expires = 0UL, .base = (struct tvec_base *)0, .function = (void (*)(unsigned long ))0, .data = 0UL, .slack = 0, .start_pid = 0, .start_site = (void *)0, .start_comm = {(char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0, (char)0}, .lockdep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}, .timer_expires = 0UL, .work = {.data = {.counter = 0L}, .entry = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .func = (void (*)(struct work_struct *))0, .lockdep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}, .wait_queue = {.lock = {.__anonCompField_spinlock_20 = {.rlock = {.raw_lock = {.__anonCompField_arch_spinlock_7 = {.head_tail = 0U}}, .magic = 0U, .owner_cpu = 0U, .owner = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}}}, .task_list = {.next = (struct list_head *)0, .prev = (struct list_head *)0}}, .usage_count = {.counter = 0}, .child_count = {.counter = 0}, .disable_depth = 0U, .idle_notification = 0U, .request_pending = 0U, .deferred_resume = 0U, .run_wake = 0U, .runtime_auto = 0U, .no_callbacks = 0U, .irq_safe = 0U, .use_autosuspend = 0U, .timer_autosuspends = 0U, .memalloc_noio = 0U, .request = 0, .runtime_status = 0, .runtime_error = 0, .autosuspend_delay = 0, .last_busy = 0UL, .active_jiffies = 0UL, .suspended_jiffies = 0UL, .accounting_timestamp = 0UL, .subsys_data = (struct pm_subsys_data *)0, .qos = (struct dev_pm_qos *)0}, .pm_domain = (struct dev_pm_domain *)0, .pins = (struct dev_pin_info *)0, .numa_node = 0, .dma_mask = & dummy_dma_dev.coherent_dma_mask, .coherent_dma_mask = 18446744073709551615ULL, .dma_parms = (struct device_dma_parameters *)0, .dma_pools = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .dma_mem = (struct dma_coherent_mem *)0, .archdata = {.dma_ops = (struct dma_map_ops *)0, .iommu = (void *)0}, .of_node = (struct device_node *)0, .acpi_node = {.companion = (struct acpi_device *)0}, .devt = 0U, .id = 0U, .devres_lock = {.__anonCompField_spinlock_20 = {.rlock = {.raw_lock = {.__anonCompField_arch_spinlock_7 = {.head_tail = 0U}}, .magic = 0U, .owner_cpu = 0U, .owner = (void *)0, .dep_map = {.key = (struct lock_class_key *)0, .class_cache = {(struct lock_class *)0, (struct lock_class *)0}, .name = (char const *)0, .cpu = 0, .ip = 0UL}}}}, .devres_head = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .knode_class = {.n_klist = (void *)0, .n_node = {.next = (struct list_head *)0, .prev = (struct list_head *)0}, .n_ref = {.refcount = {.counter = 0}}}, .class = (struct class *)0, .groups = (struct attribute_group const **)0, .release = (void (*)(struct device *))0, .iommu_group = (struct iommu_group *)0, .offline_disabled = (_Bool)0, .offline = (_Bool)0};
|
|
|
|
#line 195 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_ioat_init(void)
|
|
{
|
|
int __retres;
|
|
u8 ver;
|
|
u8 chan_count;
|
|
u8 ioat_chan;
|
|
u16 chan_ctl;
|
|
void *tmp_0;
|
|
resource_size_t tmp;
|
|
int tmp_2;
|
|
|
|
#line 201
|
|
if (ioat_dev->resource[0].start != 0ULL || ioat_dev->resource[0].end != ioat_dev->resource[0].start)
|
|
|
|
#line 201
|
|
tmp = (ioat_dev->resource[0].end - ioat_dev->resource[0].start) + 1ULL; else
|
|
|
|
#line 201
|
|
tmp = 0ULL;
|
|
|
|
#line 200
|
|
;
|
|
|
|
#line 200
|
|
tmp_0 = ldv_ioremap_nocache_23(ioat_dev->resource[0].start,(unsigned long)tmp);
|
|
|
|
#line 200
|
|
ioat_iomap = (u8 *)tmp_0;
|
|
|
|
#line 203
|
|
if (ioat_iomap == (u8 *)0U) {
|
|
{
|
|
|
|
#line 204
|
|
void *__va_args[1] = {(void *)0};
|
|
|
|
#line 204
|
|
printk("\vi7300_idle:failed to map I/O AT registers\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
|
|
#line 205
|
|
goto err_ret;
|
|
}
|
|
else ;
|
|
|
|
#line 208
|
|
ver = readb((void const volatile *)(ioat_iomap + 8U));
|
|
|
|
#line 209
|
|
if ((unsigned int)ver != 18U) {
|
|
{
|
|
|
|
#line 210
|
|
int __va_arg0 = (int)ver >> 4;
|
|
|
|
#line 210
|
|
int __va_arg1 = (int)ver & 15;
|
|
|
|
#line 210
|
|
void *__va_args_13[2] = {& __va_arg0, & __va_arg1};
|
|
|
|
#line 210
|
|
printk("\vi7300_idle:unknown I/O AT version (%u.%u)\n",(void * const *)(&(__va_args_13[0])));
|
|
}
|
|
|
|
#line 212
|
|
goto err_unmap;
|
|
}
|
|
else ;
|
|
|
|
#line 215
|
|
chan_count = readb((void const volatile *)ioat_iomap);
|
|
|
|
#line 216
|
|
if ((unsigned int)chan_count == 0U) {
|
|
{
|
|
|
|
#line 217
|
|
int __va_arg0_15 = (int)chan_count;
|
|
|
|
#line 217
|
|
void *__va_args_17[1] = {& __va_arg0_15};
|
|
|
|
#line 217
|
|
printk("\vi7300_idle:unexpected # of I/O AT channels (%u)\n",(void * const *)(&(__va_args_17[0])));
|
|
}
|
|
|
|
#line 220
|
|
goto err_unmap;
|
|
}
|
|
else ;
|
|
|
|
#line 223
|
|
ioat_chan = (unsigned char)((unsigned int)chan_count + 255U);
|
|
|
|
#line 224
|
|
ioat_chanbase = ioat_iomap + ((unsigned int)((int)ioat_chan * 128) + 128U);
|
|
|
|
#line 226
|
|
chan_ctl = readw((void const volatile *)ioat_chanbase);
|
|
|
|
#line 227
|
|
if (((int)chan_ctl & 256) != 0) {
|
|
{
|
|
|
|
#line 228
|
|
int __va_arg0_19 = (int)ioat_chan;
|
|
|
|
#line 228
|
|
void *__va_args_21[1] = {& __va_arg0_19};
|
|
|
|
#line 228
|
|
printk("\vi7300_idle:channel %d in use\n",(void * const *)(&(__va_args_21[0])));
|
|
}
|
|
|
|
#line 229
|
|
goto err_unmap;
|
|
}
|
|
else ;
|
|
|
|
#line 232
|
|
writew((unsigned short)256,(void volatile *)ioat_chanbase);
|
|
|
|
#line 235
|
|
ioat_desc = (struct ioat_dma_descriptor *)dma_alloc_attrs(& dummy_dma_dev,4096UL,(dma_addr_t *)(& ioat_desc_phys),208U,(struct dma_attrs *)0);
|
|
|
|
#line 238
|
|
if (ioat_desc == (struct ioat_dma_descriptor *)0) {
|
|
{
|
|
|
|
#line 239
|
|
void *__va_args_23[1] = {(void *)0};
|
|
|
|
#line 239
|
|
printk("\vi7300_idle:failed to allocate I/O AT desc\n",(void * const *)(&(__va_args_23[0])));
|
|
}
|
|
|
|
#line 240
|
|
goto err_mark_unused;
|
|
}
|
|
else ;
|
|
|
|
#line 243
|
|
writel((unsigned int)ioat_desc_phys,(void volatile *)(ioat_chanbase + 12U));
|
|
|
|
#line 245
|
|
writel((unsigned int)(ioat_desc_phys >> 32),(void volatile *)(ioat_chanbase + 16U));
|
|
|
|
#line 248
|
|
tmp_2 = i7300_idle_ioat_selftest(ioat_iomap,ioat_desc,ioat_desc_phys);
|
|
|
|
#line 248
|
|
if (tmp_2 != 0) {
|
|
{
|
|
|
|
#line 249
|
|
void *__va_args_25[1] = {(void *)0};
|
|
|
|
#line 249
|
|
printk("\vi7300_idle:I/O AT self-test failed\n",(void * const *)(&(__va_args_25[0])));
|
|
}
|
|
|
|
#line 250
|
|
goto err_free;
|
|
}
|
|
else ;
|
|
|
|
#line 254
|
|
ioat_desc->__anonCompField_ioat_dma_descriptor_68.ctl = 6U;
|
|
|
|
#line 255
|
|
ioat_desc->src_addr = (unsigned long long)(ioat_desc_phys + 2048UL);
|
|
|
|
#line 256
|
|
ioat_desc->dst_addr = (unsigned long long)(ioat_desc_phys + 3072UL);
|
|
|
|
#line 257
|
|
ioat_desc->size = 128U;
|
|
|
|
#line 258
|
|
ioat_desc->next = (unsigned long long)(ioat_desc_phys + 64UL);
|
|
|
|
#line 260
|
|
(ioat_desc + 1U)->__anonCompField_ioat_dma_descriptor_68.ctl = ioat_desc->__anonCompField_ioat_dma_descriptor_68.ctl;
|
|
|
|
#line 261
|
|
(ioat_desc + 1U)->src_addr = ioat_desc->src_addr;
|
|
|
|
#line 262
|
|
(ioat_desc + 1U)->dst_addr = ioat_desc->dst_addr;
|
|
|
|
#line 263
|
|
(ioat_desc + 1U)->size = ioat_desc->size;
|
|
|
|
#line 264
|
|
(ioat_desc + 1U)->next = (unsigned long long)ioat_desc_phys;
|
|
|
|
#line 266
|
|
__retres = 0;
|
|
|
|
#line 266
|
|
goto return_label;
|
|
err_free:
|
|
#line 268
|
|
;
|
|
|
|
#line 269
|
|
dma_free_attrs(& dummy_dma_dev,4096UL,(void *)ioat_desc,0ULL,(struct dma_attrs *)0);
|
|
err_mark_unused:
|
|
#line 270
|
|
;
|
|
|
|
#line 271
|
|
writew((unsigned short)0,(void volatile *)ioat_chanbase);
|
|
err_unmap:
|
|
#line 272
|
|
;
|
|
|
|
#line 273
|
|
ldv_iounmap_24((void volatile *)ioat_iomap);
|
|
err_ret:
|
|
#line 274
|
|
;
|
|
|
|
#line 275
|
|
__retres = -19;
|
|
return_label:
|
|
#line 275
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 279 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_ioat_exit(void)
|
|
{
|
|
int i;
|
|
u64 chan_sts;
|
|
unsigned long tmp;
|
|
unsigned long tmp_0;
|
|
|
|
#line 284
|
|
i7300_idle_ioat_stop();
|
|
|
|
#line 287
|
|
i = 0;
|
|
|
|
#line 287
|
|
goto ldv_29944;
|
|
ldv_29943:
|
|
#line 288
|
|
;
|
|
|
|
#line 288
|
|
writeb((unsigned char)32,(void volatile *)(ioat_chanbase + 20U));
|
|
|
|
#line 291
|
|
tmp = readq((void const volatile *)(ioat_chanbase + 4U));
|
|
|
|
#line 291
|
|
chan_sts = (unsigned long long)tmp & 7ULL;
|
|
|
|
#line 294
|
|
if (chan_sts != 0ULL) {
|
|
|
|
#line 295
|
|
writew((unsigned short)0,(void volatile *)ioat_chanbase);
|
|
|
|
#line 296
|
|
goto ldv_29942;
|
|
}
|
|
else ;
|
|
|
|
#line 298
|
|
__const_udelay(4295000UL);
|
|
|
|
#line 287
|
|
i += 1;
|
|
ldv_29944:
|
|
#line 288
|
|
;
|
|
|
|
#line 287
|
|
if (i <= 9)
|
|
#line 289
|
|
goto ldv_29943; else
|
|
#line 292
|
|
goto ldv_29942;
|
|
ldv_29942:
|
|
#line 293
|
|
;
|
|
|
|
#line 301
|
|
tmp_0 = readq((void const volatile *)(ioat_chanbase + 4U));
|
|
|
|
#line 301
|
|
chan_sts = (unsigned long long)tmp_0 & 7ULL;
|
|
|
|
#line 309
|
|
if (chan_sts == 0ULL) {
|
|
{
|
|
|
|
#line 310
|
|
void *__va_args[1] = {(void *)0};
|
|
|
|
#line 310
|
|
printk("\vi7300_idle:Unable to stop IO A/T channels. Not freeing resources\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
|
|
#line 312
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 315
|
|
dma_free_attrs(& dummy_dma_dev,4096UL,(void *)ioat_desc,0ULL,(struct dma_attrs *)0);
|
|
|
|
#line 316
|
|
ldv_iounmap_25((void volatile *)ioat_iomap);
|
|
return_label:
|
|
#line 317
|
|
return;
|
|
}
|
|
|
|
|
|
#line 346 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_thrt_save(void)
|
|
{
|
|
int __retres;
|
|
u32 new_mc_val;
|
|
u8 gblactlm;
|
|
|
|
#line 351
|
|
pci_read_config_byte((struct pci_dev const *)fbd_dev,103,& i7300_idle_thrtctl_saved);
|
|
|
|
#line 352
|
|
pci_read_config_byte((struct pci_dev const *)fbd_dev,100,& i7300_idle_thrtlow_saved);
|
|
|
|
#line 353
|
|
pci_read_config_dword((struct pci_dev const *)fbd_dev,64,& i7300_idle_mc_saved);
|
|
|
|
#line 367
|
|
pci_read_config_byte((struct pci_dev const *)fbd_dev,96,& gblactlm);
|
|
|
|
#line 368
|
|
if (debug != 0) {
|
|
{
|
|
|
|
#line 368
|
|
int __va_arg0 = (int)i7300_idle_thrtctl_saved;
|
|
|
|
#line 368
|
|
int __va_arg1 = (int)i7300_idle_thrtlow_saved;
|
|
|
|
#line 368
|
|
void *__va_args[2] = {& __va_arg0, & __va_arg1};
|
|
|
|
#line 368
|
|
printk("\016i7300_idle:thrtctl_saved = 0x%02x, thrtlow_saved = 0x%02x\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
}
|
|
else ;
|
|
|
|
#line 371
|
|
if (debug != 0) {
|
|
{
|
|
|
|
#line 371
|
|
u32 __va_arg0_7 = i7300_idle_mc_saved;
|
|
|
|
#line 371
|
|
int __va_arg1_9 = (int)gblactlm;
|
|
|
|
#line 371
|
|
void *__va_args_11[2] = {& __va_arg0_7, & __va_arg1_9};
|
|
|
|
#line 371
|
|
printk("\016i7300_idle:mc_saved = 0x%08x, gblactlm = 0x%02x\n",(void * const *)(&(__va_args_11[0])));
|
|
}
|
|
}
|
|
else ;
|
|
|
|
#line 374
|
|
if ((unsigned int)gblactlm == 0U) {
|
|
|
|
#line 375
|
|
new_mc_val = i7300_idle_mc_saved | 131072U;
|
|
|
|
#line 376
|
|
pci_write_config_dword((struct pci_dev const *)fbd_dev,64,new_mc_val);
|
|
|
|
#line 377
|
|
__retres = 0;
|
|
|
|
#line 377
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 379
|
|
if (debug != 0) {
|
|
{
|
|
|
|
#line 379
|
|
void *__va_args_13[1] = {(void *)0};
|
|
|
|
#line 379
|
|
printk("\016i7300_idle:could not set GTW_MODE = 1 (OLTT enabled)\n",(void * const *)(&(__va_args_13[0])));
|
|
}
|
|
}
|
|
else ;
|
|
|
|
#line 380
|
|
__retres = -19;
|
|
|
|
#line 380
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 374
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 385 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_thrt_restore(void)
|
|
{
|
|
|
|
#line 387
|
|
pci_write_config_dword((struct pci_dev const *)fbd_dev,64,i7300_idle_mc_saved);
|
|
|
|
#line 388
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,100,(unsigned char)((int)i7300_idle_thrtlow_saved));
|
|
|
|
#line 389
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,103,(unsigned char)((int)i7300_idle_thrtctl_saved));
|
|
|
|
#line 390
|
|
return;
|
|
}
|
|
|
|
|
|
#line 393 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_start(void)
|
|
{
|
|
u8 new_ctl;
|
|
u8 limit;
|
|
|
|
#line 398
|
|
new_ctl = (unsigned char)((unsigned int)i7300_idle_thrtctl_saved & 254U);
|
|
|
|
#line 399
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,103,(unsigned char)((int)new_ctl));
|
|
|
|
#line 401
|
|
limit = (unsigned char)throttle_low_limit;
|
|
|
|
#line 402
|
|
if ((long)((unsigned int)limit > 168U) != 0L)
|
|
#line 403
|
|
limit = (unsigned char)168U; else ;
|
|
|
|
#line 405
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,100,(unsigned char)((int)limit));
|
|
|
|
#line 407
|
|
new_ctl = (unsigned char)((unsigned int)i7300_idle_thrtctl_saved | 1U);
|
|
|
|
#line 408
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,103,(unsigned char)((int)new_ctl));
|
|
|
|
#line 409
|
|
return;
|
|
}
|
|
|
|
|
|
#line 412 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_stop(void)
|
|
{
|
|
u8 new_ctl;
|
|
u8 got_ctl;
|
|
|
|
#line 417
|
|
new_ctl = (unsigned char)((unsigned int)i7300_idle_thrtctl_saved & 254U);
|
|
|
|
#line 418
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,103,(unsigned char)((int)new_ctl));
|
|
|
|
#line 420
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,100,(unsigned char)((int)i7300_idle_thrtlow_saved));
|
|
|
|
#line 421
|
|
pci_write_config_byte((struct pci_dev const *)fbd_dev,103,(unsigned char)((int)i7300_idle_thrtctl_saved));
|
|
|
|
#line 422
|
|
pci_read_config_byte((struct pci_dev const *)fbd_dev,103,& got_ctl);
|
|
{
|
|
bool __warned;
|
|
|
|
#line 423
|
|
int __ret_warn_once = (int)got_ctl != (int)i7300_idle_thrtctl_saved;
|
|
|
|
#line 423
|
|
if ((long)(__ret_warn_once != 0) != 0L) {
|
|
int tmp;
|
|
{
|
|
|
|
#line 423
|
|
int __ret_warn_on = ! __warned;
|
|
|
|
#line 423
|
|
if ((long)(__ret_warn_on != 0) != 0L)
|
|
#line 423
|
|
warn_slowpath_null("drivers/idle/i7300_idle.c",423); else ;
|
|
|
|
#line 423
|
|
tmp = (long)(__ret_warn_on != 0);
|
|
}
|
|
|
|
#line 423
|
|
if ((long)tmp != 0L)
|
|
#line 423
|
|
__warned = (_Bool)1; else ;
|
|
}
|
|
else ;
|
|
|
|
#line 423
|
|
long tmp_2 = (long)(__ret_warn_once != 0);
|
|
}
|
|
|
|
#line 425
|
|
return;
|
|
}
|
|
|
|
|
|
#line 432 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_avg_duration_check(void)
|
|
{
|
|
int __retres;
|
|
|
|
#line 434
|
|
if (avg_idle_us > 99UL) {
|
|
|
|
#line 435
|
|
__retres = 0;
|
|
|
|
#line 435
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 440
|
|
__retres = 1;
|
|
return_label:
|
|
#line 440
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 444 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_notifier(struct notifier_block *nb, unsigned long val, void *data)
|
|
{
|
|
int __retres;
|
|
unsigned long flags;
|
|
ktime_t now_ktime;
|
|
ktime_t idle_begin_time;
|
|
|
|
#line 450
|
|
int time_init = 1;
|
|
|
|
#line 452
|
|
if (throttle_low_limit == 0U) {
|
|
|
|
#line 453
|
|
__retres = 0;
|
|
|
|
#line 453
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 455
|
|
if ((long)(time_init != 0) != 0L) {
|
|
|
|
#line 456
|
|
time_init = 0;
|
|
|
|
#line 457
|
|
idle_begin_time = ktime_get();
|
|
}
|
|
else ;
|
|
{
|
|
unsigned long __dummy;
|
|
unsigned long __dummy2;
|
|
|
|
}
|
|
|
|
#line 460
|
|
flags = _raw_spin_lock_irqsave(& i7300_idle_lock);
|
|
|
|
#line 461
|
|
if (val == 1UL) {
|
|
int tmp_3;
|
|
unsigned int tmp_4;
|
|
unsigned int tmp_5;
|
|
int tmp_6;
|
|
|
|
#line 463
|
|
;
|
|
{
|
|
int pscr_ret__;
|
|
{
|
|
|
|
#line 463
|
|
void const *__vpp_verify = (void const *)0;
|
|
|
|
#line 463
|
|
void const *tmp = __vpp_verify;
|
|
}
|
|
|
|
#line 463
|
|
switch (4UL) {
|
|
int tmp_0;
|
|
int tmp_0_0;
|
|
int tmp_1;
|
|
int tmp_2;
|
|
case (unsigned long)1:
|
|
#line 463
|
|
;
|
|
{
|
|
int pfo_ret__;
|
|
|
|
#line 463
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret__): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29988;
|
|
case (unsigned long)2:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret__): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29988;
|
|
case (unsigned long)4:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret__): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29988;
|
|
case (unsigned long)8:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret__): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29988;
|
|
default:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_29988:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
tmp_0 = pfo_ret__;
|
|
}
|
|
|
|
#line 463
|
|
pscr_ret__ = tmp_0;
|
|
|
|
#line 463
|
|
goto ldv_29994;
|
|
case (unsigned long)2:
|
|
#line 463
|
|
;
|
|
{
|
|
int pfo_ret___0;
|
|
|
|
#line 463
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___0): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29998;
|
|
case (unsigned long)2:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___0): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29998;
|
|
case (unsigned long)4:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___0): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29998;
|
|
case (unsigned long)8:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___0): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_29998;
|
|
default:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_29998:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
tmp_0_0 = pfo_ret___0;
|
|
}
|
|
|
|
#line 463
|
|
pscr_ret__ = tmp_0_0;
|
|
|
|
#line 463
|
|
goto ldv_29994;
|
|
case (unsigned long)4:
|
|
#line 463
|
|
;
|
|
{
|
|
int pfo_ret___1;
|
|
|
|
#line 463
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___1): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30007;
|
|
case (unsigned long)2:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___1): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30007;
|
|
case (unsigned long)4:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___1): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30007;
|
|
case (unsigned long)8:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___1): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30007;
|
|
default:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30007:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
tmp_1 = pfo_ret___1;
|
|
}
|
|
|
|
#line 463
|
|
pscr_ret__ = tmp_1;
|
|
|
|
#line 463
|
|
goto ldv_29994;
|
|
case (unsigned long)8:
|
|
#line 463
|
|
;
|
|
{
|
|
int pfo_ret___2;
|
|
|
|
#line 463
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___2): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30016;
|
|
case (unsigned long)2:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___2): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30016;
|
|
case (unsigned long)4:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___2): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30016;
|
|
case (unsigned long)8:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
|
|
#line 463
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___2): "m"(cpu_number));
|
|
|
|
#line 463
|
|
goto ldv_30016;
|
|
default:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30016:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
tmp_2 = pfo_ret___2;
|
|
}
|
|
|
|
#line 463
|
|
pscr_ret__ = tmp_2;
|
|
|
|
#line 463
|
|
goto ldv_29994;
|
|
default:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
__bad_size_call_parameter();
|
|
|
|
#line 463
|
|
goto ldv_29994;
|
|
}
|
|
ldv_29994:
|
|
#line 463
|
|
;
|
|
|
|
#line 463
|
|
tmp_3 = pscr_ret__;
|
|
}
|
|
|
|
#line 463
|
|
cpumask_set_cpu((unsigned int)tmp_3,idle_cpumask);
|
|
|
|
#line 465
|
|
tmp_4 = cpumask_weight((struct cpumask const *)idle_cpumask);
|
|
|
|
#line 465
|
|
tmp_5 = cpumask_weight(cpu_online_mask);
|
|
|
|
#line 465
|
|
if (tmp_4 != tmp_5)
|
|
#line 466
|
|
goto end; else ;
|
|
|
|
#line 468
|
|
now_ktime = ktime_get();
|
|
|
|
#line 469
|
|
idle_begin_time = now_ktime;
|
|
|
|
#line 471
|
|
tmp_6 = i7300_avg_duration_check();
|
|
|
|
#line 471
|
|
if (tmp_6 != 0)
|
|
#line 472
|
|
goto end; else ;
|
|
|
|
#line 474
|
|
i7300_idle_active = 1;
|
|
|
|
#line 475
|
|
total_starts += 1UL;
|
|
|
|
#line 476
|
|
start_ktime = now_ktime;
|
|
|
|
#line 478
|
|
i7300_idle_start();
|
|
|
|
#line 479
|
|
i7300_idle_ioat_start();
|
|
}
|
|
else
|
|
|
|
#line 481
|
|
if (val == 2UL) {
|
|
int tmp_11;
|
|
unsigned int tmp_14;
|
|
unsigned int tmp_15;
|
|
|
|
#line 482
|
|
;
|
|
{
|
|
int pscr_ret___0;
|
|
{
|
|
|
|
#line 482
|
|
void const *__vpp_verify_0 = (void const *)0;
|
|
|
|
#line 482
|
|
void const *tmp_7 = __vpp_verify_0;
|
|
}
|
|
|
|
#line 482
|
|
switch (4UL) {
|
|
int tmp_7_0;
|
|
int tmp_8;
|
|
int tmp_9;
|
|
int tmp_10;
|
|
case (unsigned long)1:
|
|
#line 482
|
|
;
|
|
{
|
|
int pfo_ret___3;
|
|
|
|
#line 482
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___3): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30030;
|
|
case (unsigned long)2:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___3): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30030;
|
|
case (unsigned long)4:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___3): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30030;
|
|
case (unsigned long)8:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___3): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30030;
|
|
default:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30030:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
tmp_7_0 = pfo_ret___3;
|
|
}
|
|
|
|
#line 482
|
|
pscr_ret___0 = tmp_7_0;
|
|
|
|
#line 482
|
|
goto ldv_30036;
|
|
case (unsigned long)2:
|
|
#line 482
|
|
;
|
|
{
|
|
int pfo_ret___4;
|
|
|
|
#line 482
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___4): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30040;
|
|
case (unsigned long)2:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___4): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30040;
|
|
case (unsigned long)4:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___4): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30040;
|
|
case (unsigned long)8:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___4): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30040;
|
|
default:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30040:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
tmp_8 = pfo_ret___4;
|
|
}
|
|
|
|
#line 482
|
|
pscr_ret___0 = tmp_8;
|
|
|
|
#line 482
|
|
goto ldv_30036;
|
|
case (unsigned long)4:
|
|
#line 482
|
|
;
|
|
{
|
|
int pfo_ret___5;
|
|
|
|
#line 482
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___5): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30049;
|
|
case (unsigned long)2:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___5): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30049;
|
|
case (unsigned long)4:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___5): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30049;
|
|
case (unsigned long)8:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___5): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30049;
|
|
default:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30049:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
tmp_9 = pfo_ret___5;
|
|
}
|
|
|
|
#line 482
|
|
pscr_ret___0 = tmp_9;
|
|
|
|
#line 482
|
|
goto ldv_30036;
|
|
case (unsigned long)8:
|
|
#line 482
|
|
;
|
|
{
|
|
int pfo_ret___6;
|
|
|
|
#line 482
|
|
switch (4UL) {
|
|
case (unsigned long)1:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movb %%gs:%P1,%0": "=q" (pfo_ret___6): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30058;
|
|
case (unsigned long)2:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movw %%gs:%P1,%0": "=r" (pfo_ret___6): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30058;
|
|
case (unsigned long)4:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movl %%gs:%P1,%0": "=r" (pfo_ret___6): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30058;
|
|
case (unsigned long)8:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
|
|
#line 482
|
|
__asm__ ("movq %%gs:%P1,%0": "=r" (pfo_ret___6): "m"(cpu_number));
|
|
|
|
#line 482
|
|
goto ldv_30058;
|
|
default:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
__bad_percpu_size();
|
|
}
|
|
ldv_30058:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
tmp_10 = pfo_ret___6;
|
|
}
|
|
|
|
#line 482
|
|
pscr_ret___0 = tmp_10;
|
|
|
|
#line 482
|
|
goto ldv_30036;
|
|
default:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
__bad_size_call_parameter();
|
|
|
|
#line 482
|
|
goto ldv_30036;
|
|
}
|
|
ldv_30036:
|
|
#line 482
|
|
;
|
|
|
|
#line 482
|
|
tmp_11 = pscr_ret___0;
|
|
}
|
|
|
|
#line 482
|
|
cpumask_clear_cpu(tmp_11,idle_cpumask);
|
|
|
|
#line 483
|
|
tmp_14 = cpumask_weight((struct cpumask const *)idle_cpumask);
|
|
|
|
#line 483
|
|
tmp_15 = cpumask_weight(cpu_online_mask);
|
|
|
|
#line 483
|
|
if (tmp_14 == tmp_15 + 4294967295U) {
|
|
u64 idle_duration_us;
|
|
s64 tmp_12;
|
|
|
|
#line 487
|
|
now_ktime = ktime_get();
|
|
|
|
#line 489
|
|
ktime_t __constr_expr_31 = {.tv64 = now_ktime.tv64 - idle_begin_time.tv64};
|
|
|
|
#line 489
|
|
tmp_12 = ktime_to_us(__constr_expr_31);
|
|
|
|
#line 489
|
|
idle_duration_us = (unsigned long long)tmp_12;
|
|
|
|
#line 492
|
|
avg_idle_us = (unsigned long)(((unsigned long long)(avg_idle_us * 45UL) + idle_duration_us * 55ULL) / 100ULL);
|
|
|
|
#line 496
|
|
if (i7300_idle_active != 0) {
|
|
ktime_t idle_ktime;
|
|
s64 tmp_13;
|
|
|
|
#line 499
|
|
ktime_t __constr_expr_32 = {.tv64 = now_ktime.tv64 - start_ktime.tv64};
|
|
|
|
#line 499
|
|
idle_ktime = __constr_expr_32;
|
|
|
|
#line 500
|
|
ktime_to_us(idle_ktime);
|
|
|
|
#line 500
|
|
tmp_13 = ktime_to_us(idle_ktime);
|
|
|
|
#line 500
|
|
total_us = (unsigned long)((unsigned long long)tmp_13 + (unsigned long long)total_us);
|
|
|
|
#line 502
|
|
i7300_idle_ioat_stop();
|
|
|
|
#line 503
|
|
i7300_idle_stop();
|
|
|
|
#line 504
|
|
i7300_idle_active = 0;
|
|
}
|
|
else ;
|
|
}
|
|
else ;
|
|
}
|
|
else ;
|
|
end:
|
|
#line 508
|
|
;
|
|
{
|
|
unsigned long __dummy_0;
|
|
unsigned long __dummy2_0;
|
|
|
|
}
|
|
|
|
#line 509
|
|
_raw_spin_unlock_irqrestore(& i7300_idle_lock,flags);
|
|
|
|
#line 510
|
|
__retres = 0;
|
|
return_label:
|
|
#line 510
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 513 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct notifier_block i7300_idle_nb = {.notifier_call = & i7300_idle_notifier, .next = (struct notifier_block *)0, .priority = 0};
|
|
|
|
#line 517 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
struct pci_device_id const __mod_pci_device_table;
|
|
|
|
#line 391 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/kernel.h"
|
|
int snprintf_va_1(char *, size_t, char const *, unsigned long param0);
|
|
|
|
|
|
#line 519 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static ssize_t stats_read_ul(struct file *fp, char *ubuf, size_t count, loff_t *off)
|
|
{
|
|
char buf[32U];
|
|
int len;
|
|
ssize_t tmp;
|
|
|
|
#line 522
|
|
unsigned long *p = (unsigned long *)fp->private_data;
|
|
|
|
#line 526
|
|
len = snprintf_va_1((char *)(& buf),32UL,"%lu\n",*p);
|
|
|
|
#line 527
|
|
tmp = simple_read_from_buffer((void *)ubuf,count,off,(void const *)(& buf),(unsigned long)len);
|
|
|
|
#line 527
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 530 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static struct file_operations const idle_fops = {.owner = (struct module *)0, .llseek = & default_llseek, .read = & stats_read_ul, .write = (ssize_t (*)(struct file *, char const *, size_t , loff_t *))0, .aio_read = (ssize_t (*)(struct kiocb *, struct iovec const *, unsigned long , loff_t ))0, .aio_write = (ssize_t (*)(struct kiocb *, struct iovec const *, unsigned long , loff_t ))0, .iterate = (int (*)(struct file *, struct dir_context *))0, .poll = (unsigned int (*)(struct file *, struct poll_table_struct *))0, .unlocked_ioctl = (long (*)(struct file *, unsigned int , unsigned long ))0, .compat_ioctl = (long (*)(struct file *, unsigned int , unsigned long ))0, .mmap = (int (*)(struct file *, struct vm_area_struct *))0, .open = & simple_open, .flush = (int (*)(struct file *, fl_owner_t ))0, .release = (int (*)(struct inode *, struct file *))0, .fsync = (int (*)(struct file *, loff_t , loff_t , int ))0, .aio_fsync = (int (*)(struct kiocb *, int ))0, .fasync = (int (*)(int , struct file *, int ))0, .lock = (int (*)(struct file *, int , struct file_lock *))0, .sendpage = (ssize_t (*)(struct file *, struct page *, int , size_t , loff_t *, int ))0, .get_unmapped_area = (unsigned long (*)(struct file *, unsigned long , unsigned long , unsigned long , unsigned long ))0, .check_flags = (int (*)(int ))0, .flock = (int (*)(struct file *, int , struct file_lock *))0, .splice_write = (ssize_t (*)(struct pipe_inode_info *, struct file *, loff_t *, size_t , unsigned int ))0, .splice_read = (ssize_t (*)(struct file *, loff_t *, struct pipe_inode_info *, size_t , unsigned int ))0, .setlease = (int (*)(struct file *, long , struct file_lock **))0, .fallocate = (long (*)(struct file *, int , loff_t , loff_t ))0, .show_fdinfo = (int (*)(struct seq_file *, struct file *))0};
|
|
|
|
#line 540 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
struct debugfs_file_info debugfs_file_list[3U] = {{.ptr = (void *)(& total_starts), .name = {(char)'t', (char)'o', (char)'t', (char)'a', (char)'l', (char)'_', (char)'s', (char)'t', (char)'a', (char)'r', (char)'t', (char)'s', (char)'\000'}, .file = (struct dentry *)0}, {.ptr = (void *)(& total_us), .name = {(char)'t', (char)'o', (char)'t', (char)'a', (char)'l', (char)'_', (char)'u', (char)'s', (char)'\000'}, .file = (struct dentry *)0}, {.ptr = (void *)0, .name = {(char)'\000'}, .file = (struct dentry *)0}};
|
|
|
|
#line 549 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static int i7300_idle_init(void)
|
|
{
|
|
int __retres;
|
|
int tmp;
|
|
int tmp_0;
|
|
int tmp_1;
|
|
int tmp_3;
|
|
bool tmp_2;
|
|
{
|
|
struct lock_class_key __key;
|
|
|
|
#line 551
|
|
__raw_spin_lock_init(& i7300_idle_lock,"&i7300_idle_lock",& __key);
|
|
}
|
|
|
|
#line 552
|
|
total_us = 0UL;
|
|
|
|
#line 554
|
|
tmp = i7300_idle_platform_probe(& fbd_dev,& ioat_dev,forceload);
|
|
|
|
#line 554
|
|
if (tmp != 0) {
|
|
|
|
#line 555
|
|
__retres = -19;
|
|
|
|
#line 555
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 557
|
|
tmp_0 = i7300_idle_thrt_save();
|
|
|
|
#line 557
|
|
if (tmp_0 != 0) {
|
|
|
|
#line 558
|
|
__retres = -19;
|
|
|
|
#line 558
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 560
|
|
tmp_1 = i7300_idle_ioat_init();
|
|
|
|
#line 560
|
|
if (tmp_1 != 0) {
|
|
|
|
#line 561
|
|
__retres = -19;
|
|
|
|
#line 561
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 563
|
|
tmp_2 = zalloc_cpumask_var((cpumask_var_t **)(& idle_cpumask),208U);
|
|
|
|
#line 563
|
|
if (tmp_2)
|
|
#line 563
|
|
tmp_3 = 0; else
|
|
#line 563
|
|
tmp_3 = 1;
|
|
|
|
#line 563
|
|
if (tmp_3) {
|
|
|
|
#line 564
|
|
__retres = -12;
|
|
|
|
#line 564
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 566
|
|
debugfs_dir = debugfs_create_dir("i7300_idle",(struct dentry *)0);
|
|
|
|
#line 567
|
|
if (debugfs_dir != (struct dentry *)0) {
|
|
|
|
#line 568
|
|
int i = 0;
|
|
|
|
#line 570
|
|
goto ldv_30096;
|
|
ldv_30095:
|
|
#line 571
|
|
;
|
|
|
|
#line 571
|
|
debugfs_file_list[i].file = ldv_debugfs_create_file_26((char const *)(& debugfs_file_list[i].name),(unsigned short)256,debugfs_dir,debugfs_file_list[i].ptr,& idle_fops);
|
|
|
|
#line 577
|
|
i += 1;
|
|
ldv_30096:
|
|
#line 578
|
|
;
|
|
|
|
#line 570
|
|
if (debugfs_file_list[i].ptr != (void *)0)
|
|
#line 572
|
|
goto ldv_30095; else
|
|
#line 575
|
|
goto ldv_30097;
|
|
ldv_30097:
|
|
#line 576
|
|
;
|
|
}
|
|
else ;
|
|
|
|
#line 581
|
|
idle_notifier_register(& i7300_idle_nb);
|
|
{
|
|
|
|
#line 583
|
|
char *__va_arg0 = (char *)"1.55";
|
|
|
|
#line 583
|
|
void *__va_args[1] = {& __va_arg0};
|
|
|
|
#line 583
|
|
printk("\016i7300_idle: loaded v%s\n",(void * const *)(&(__va_args[0])));
|
|
}
|
|
|
|
#line 584
|
|
__retres = 0;
|
|
return_label:
|
|
#line 584
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 587 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/drivers/idle/i7300_idle.c"
|
|
static void i7300_idle_exit(void)
|
|
{
|
|
|
|
#line 589
|
|
idle_notifier_unregister(& i7300_idle_nb);
|
|
|
|
#line 590
|
|
free_cpumask_var(idle_cpumask);
|
|
|
|
#line 592
|
|
if (debugfs_dir != (struct dentry *)0) {
|
|
|
|
#line 593
|
|
int i = 0;
|
|
|
|
#line 595
|
|
goto ldv_30103;
|
|
ldv_30102:
|
|
#line 596
|
|
;
|
|
|
|
#line 596
|
|
ldv_debugfs_remove_27(debugfs_file_list[i].file);
|
|
|
|
#line 597
|
|
i += 1;
|
|
ldv_30103:
|
|
#line 598
|
|
;
|
|
|
|
#line 595
|
|
if (debugfs_file_list[i].file != (struct dentry *)0)
|
|
#line 597
|
|
goto ldv_30102; else
|
|
|
|
#line 600
|
|
goto ldv_30104;
|
|
ldv_30104:
|
|
#line 601
|
|
;
|
|
|
|
#line 600
|
|
ldv_debugfs_remove_28(debugfs_dir);
|
|
}
|
|
else ;
|
|
|
|
#line 602
|
|
i7300_idle_thrt_restore();
|
|
|
|
#line 603
|
|
i7300_idle_ioat_exit();
|
|
|
|
#line 604
|
|
return;
|
|
}
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
struct file_operations *ldv_emg_alias_idle_fops_2 = (struct file_operations *)(& idle_fops);
|
|
|
|
#line 33 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
long long (*ldv_emg_alias_default_llseek_2)(struct file *, long long , int ) = & default_llseek;
|
|
|
|
#line 34 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
int (*ldv_emg_alias_simple_open_4)(struct inode *, struct file *) = & simple_open;
|
|
|
|
#line 37
|
|
struct dentry *ldv_emg_debugfs_create_file(char *arg0, unsigned short arg1, struct dentry *arg2, void *arg3, struct file_operations *arg4);
|
|
|
|
|
|
#line 38
|
|
void ldv_emg_debugfs_remove(struct dentry *arg0);
|
|
|
|
|
|
#line 42 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
long ldv_emg_wrapper_stats_read_ul_3(struct file *arg0, char *arg1, unsigned long arg2, long long *arg3)
|
|
{
|
|
long tmp;
|
|
|
|
#line 43
|
|
tmp = stats_read_ul(arg0,arg1,arg2,arg3);
|
|
|
|
#line 43
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 47 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
int ldv_emg_i7300_idle_init(void)
|
|
{
|
|
int tmp;
|
|
|
|
#line 48
|
|
tmp = i7300_idle_init();
|
|
|
|
#line 48
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 51 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
void ldv_emg_i7300_idle_exit(void)
|
|
{
|
|
|
|
#line 52
|
|
i7300_idle_exit();
|
|
|
|
#line 53
|
|
return;
|
|
}
|
|
|
|
|
|
#line 210 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static void *ldv_ioremap_nocache_23(resource_size_t ldv_func_arg1, unsigned long ldv_func_arg2)
|
|
{
|
|
void *tmp;
|
|
|
|
#line 213
|
|
tmp = ldv_io_mem_remap();
|
|
|
|
#line 213
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 217 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static void ldv_iounmap_24(void volatile *ldv_func_arg1)
|
|
{
|
|
|
|
#line 220
|
|
ldv_io_mem_unmap();
|
|
|
|
#line 221
|
|
return;
|
|
}
|
|
|
|
|
|
#line 224 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static void ldv_iounmap_25(void volatile *ldv_func_arg1)
|
|
{
|
|
|
|
#line 227
|
|
ldv_io_mem_unmap();
|
|
|
|
#line 228
|
|
return;
|
|
}
|
|
|
|
|
|
#line 231 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static struct dentry *ldv_debugfs_create_file_26(char const *ldv_func_arg1, umode_t ldv_func_arg2, struct dentry *ldv_func_arg3, void *ldv_func_arg4, struct file_operations const *ldv_func_arg5)
|
|
{
|
|
struct dentry *tmp;
|
|
|
|
#line 235
|
|
tmp = ldv_emg_debugfs_create_file((char *)ldv_func_arg1,(unsigned short)((int)ldv_func_arg2),ldv_func_arg3,ldv_func_arg4,(struct file_operations *)ldv_func_arg5);
|
|
|
|
#line 235
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 239 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static void ldv_debugfs_remove_27(struct dentry *ldv_func_arg1)
|
|
{
|
|
|
|
#line 243
|
|
ldv_emg_debugfs_remove(ldv_func_arg1);
|
|
|
|
#line 244
|
|
return;
|
|
}
|
|
|
|
|
|
#line 247 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/weaver/.tmp_i7300_idle.c.aux"
|
|
static void ldv_debugfs_remove_28(struct dentry *ldv_func_arg1)
|
|
{
|
|
|
|
#line 251
|
|
ldv_emg_debugfs_remove(ldv_func_arg1);
|
|
|
|
#line 252
|
|
return;
|
|
}
|
|
|
|
|
|
#line 21 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
void ldv_atomic_add(int i, atomic_t *v)
|
|
{
|
|
|
|
#line 23
|
|
v->counter += i;
|
|
|
|
#line 24
|
|
return;
|
|
}
|
|
|
|
|
|
#line 27 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
void ldv_atomic_sub(int i, atomic_t *v)
|
|
{
|
|
|
|
#line 29
|
|
v->counter -= i;
|
|
|
|
#line 30
|
|
return;
|
|
}
|
|
|
|
|
|
#line 33 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_sub_and_test(int i, atomic_t *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 35
|
|
v->counter -= i;
|
|
|
|
#line 36
|
|
if (v->counter != 0) {
|
|
|
|
#line 37
|
|
__retres = 0;
|
|
|
|
#line 37
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 39
|
|
__retres = 1;
|
|
return_label:
|
|
#line 39
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 43 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
void ldv_atomic_inc(atomic_t *v)
|
|
{
|
|
|
|
#line 45
|
|
v->counter += 1;
|
|
|
|
#line 46
|
|
return;
|
|
}
|
|
|
|
|
|
#line 49 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
void ldv_atomic_dec(atomic_t *v)
|
|
{
|
|
|
|
#line 51
|
|
v->counter -= 1;
|
|
|
|
#line 52
|
|
return;
|
|
}
|
|
|
|
|
|
#line 55 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_dec_and_test(atomic_t *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 57
|
|
v->counter -= 1;
|
|
|
|
#line 58
|
|
if (v->counter != 0) {
|
|
|
|
#line 59
|
|
__retres = 0;
|
|
|
|
#line 59
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 61
|
|
__retres = 1;
|
|
return_label:
|
|
#line 61
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 65 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_inc_and_test(atomic_t *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 67
|
|
v->counter += 1;
|
|
|
|
#line 68
|
|
if (v->counter != 0) {
|
|
|
|
#line 69
|
|
__retres = 0;
|
|
|
|
#line 69
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 71
|
|
__retres = 1;
|
|
return_label:
|
|
#line 71
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 75 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_add_return(int i, atomic_t *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 77
|
|
v->counter += i;
|
|
|
|
#line 78
|
|
__retres = v->counter;
|
|
|
|
#line 78
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 82 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_add_negative(int i, atomic_t *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 84
|
|
v->counter += i;
|
|
|
|
#line 85
|
|
__retres = v->counter < 0;
|
|
|
|
#line 85
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 89 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/atomic.c"
|
|
int ldv_atomic_inc_short(short *v)
|
|
{
|
|
int __retres;
|
|
|
|
#line 91
|
|
*v = (short)((unsigned int)*v + 1U);
|
|
|
|
#line 92
|
|
__retres = (int)*v;
|
|
|
|
#line 92
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 1 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/rsg/models/io.bk.c"
|
|
void ldv_assert_linux_arch_io__less_initial_decrement(int expr);
|
|
|
|
|
|
#line 2
|
|
void ldv_assert_linux_arch_io__more_initial_at_exit(int expr);
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.h"
|
|
void ldv_switch_to_interrupt_context(void);
|
|
|
|
|
|
#line 42
|
|
void ldv_switch_to_process_context(void);
|
|
|
|
|
|
#line 50
|
|
bool ldv_in_interrupt_context(void);
|
|
|
|
|
|
#line 62
|
|
void ldv_initialize(void);
|
|
|
|
|
|
#line 76
|
|
void ldv_check_final_state(void);
|
|
|
|
|
|
#line 112
|
|
int ldv_post_init(int init_ret_val);
|
|
|
|
|
|
#line 132
|
|
int ldv_post_probe(int probe_ret_val);
|
|
|
|
|
|
#line 133
|
|
void ldv_check_return_value_probe(int);
|
|
|
|
|
|
#line 141
|
|
int ldv_filter_err_code(int ret_val);
|
|
|
|
|
|
#line 22 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/common.h"
|
|
void __VERIFIER_error(void);
|
|
|
|
|
|
#line 23
|
|
void __VERIFIER_assume(int);
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.h"
|
|
int ldv_undef_int(void);
|
|
|
|
|
|
#line 24
|
|
int ldv_undef_long(void);
|
|
|
|
|
|
#line 25
|
|
unsigned int ldv_undef_uint(void);
|
|
|
|
|
|
#line 26
|
|
unsigned long ldv_undef_ulong(void);
|
|
|
|
|
|
#line 27
|
|
unsigned long long ldv_undef_ulonglong(void);
|
|
|
|
|
|
#line 28
|
|
void *ldv_undef_ptr(void);
|
|
|
|
|
|
#line 31
|
|
int ldv_undef_int_positive(void);
|
|
|
|
|
|
#line 34
|
|
int ldv_undef_int_negative(void);
|
|
|
|
|
|
#line 37
|
|
int ldv_undef_int_nonpositive(void);
|
|
|
|
|
|
#line 40
|
|
void *ldv_undef_ptr_non_null(void);
|
|
|
|
|
|
#line 22 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/io.c"
|
|
int ldv_iomem = 0;
|
|
|
|
#line 25 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/io.c"
|
|
void *ldv_io_mem_remap(void)
|
|
{
|
|
void *__retres;
|
|
|
|
#line 27
|
|
void *ptr = ldv_undef_ptr();
|
|
|
|
#line 29
|
|
if (ptr != (void *)0) {
|
|
|
|
#line 31
|
|
ldv_iomem += 1;
|
|
|
|
#line 33
|
|
__retres = ptr;
|
|
|
|
#line 33
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 36
|
|
__retres = ptr;
|
|
return_label:
|
|
#line 36
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 40 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/io.c"
|
|
void ldv_io_mem_unmap(void)
|
|
{
|
|
|
|
#line 43
|
|
ldv_assert_linux_arch_io__less_initial_decrement(ldv_iomem > 0);
|
|
|
|
#line 45
|
|
ldv_iomem -= 1;
|
|
|
|
#line 46
|
|
return;
|
|
}
|
|
|
|
|
|
#line 49 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/arch/io.c"
|
|
void ldv_check_final_state(void)
|
|
{
|
|
|
|
#line 52
|
|
ldv_assert_linux_arch_io__more_initial_at_exit(ldv_iomem == 0);
|
|
|
|
#line 53
|
|
return;
|
|
}
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memory.h"
|
|
void *ldv_malloc(size_t size);
|
|
|
|
|
|
#line 24
|
|
void *ldv_calloc(size_t nmemb, size_t size);
|
|
|
|
|
|
#line 25
|
|
void *ldv_zalloc(size_t size);
|
|
|
|
|
|
#line 26
|
|
void ldv_free(void *s);
|
|
|
|
|
|
#line 30
|
|
void *ldv_xmalloc(size_t size);
|
|
|
|
|
|
#line 31
|
|
void *ldv_xzalloc(size_t size);
|
|
|
|
|
|
#line 33
|
|
void *external_allocated_data(void);
|
|
|
|
|
|
#line 35
|
|
void *ldv_malloc_unknown_size(void);
|
|
|
|
|
|
#line 36
|
|
void *ldv_calloc_unknown_size(void);
|
|
|
|
|
|
#line 37
|
|
void *ldv_zalloc_unknown_size(void);
|
|
|
|
|
|
#line 40
|
|
void *ldv_reference_malloc(size_t size);
|
|
|
|
|
|
#line 41
|
|
void *ldv_reference_calloc(size_t nmemb, size_t size);
|
|
|
|
|
|
#line 42
|
|
void *ldv_reference_zalloc(size_t size);
|
|
|
|
|
|
#line 43
|
|
void ldv_reference_free(void *s);
|
|
|
|
|
|
#line 45
|
|
void *ldv_reference_realloc(void *ptr, size_t size);
|
|
|
|
|
|
#line 47
|
|
void *ldv_reference_xmalloc(size_t size);
|
|
|
|
|
|
#line 48
|
|
void *ldv_reference_xzalloc(size_t size);
|
|
|
|
|
|
#line 52
|
|
void *ldv_reference_malloc_unknown_size(void);
|
|
|
|
|
|
#line 53
|
|
void *ldv_reference_calloc_unknown_size(void);
|
|
|
|
|
|
#line 54
|
|
void *ldv_reference_zalloc_unknown_size(void);
|
|
|
|
|
|
#line 61
|
|
void *ldv_xmalloc_unknown_size(size_t size);
|
|
|
|
|
|
#line 28 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memlist.h"
|
|
struct ldv_list_element global_list = {.data = (void *)0, .next = (struct ldv_list_element *)0};
|
|
|
|
#line 33 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memlist.h"
|
|
__inline static ldv_list_ptr ldv_list_create(void *data)
|
|
{
|
|
|
|
#line 35
|
|
ldv_list_ptr list = (struct ldv_list_element *)0;
|
|
|
|
#line 37
|
|
list = (ldv_list_ptr)ldv_xmalloc(16UL);
|
|
|
|
#line 39
|
|
list->data = data;
|
|
|
|
#line 40
|
|
list->next = (struct ldv_list_element *)0;
|
|
|
|
#line 42
|
|
return list;
|
|
}
|
|
|
|
|
|
#line 45 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/memlist.h"
|
|
__inline static void ldv_save_pointer(void *data)
|
|
{
|
|
ldv_list_ptr element;
|
|
ldv_list_ptr cached;
|
|
|
|
#line 50
|
|
if (global_list.data == (void *)0) {
|
|
|
|
#line 51
|
|
element = & global_list;
|
|
|
|
#line 52
|
|
element->data = data;
|
|
}
|
|
else {
|
|
|
|
#line 54
|
|
element = ldv_list_create(data);
|
|
|
|
#line 55
|
|
cached = global_list.next;
|
|
|
|
#line 56
|
|
global_list.next = element;
|
|
|
|
#line 57
|
|
element->next = cached;
|
|
}
|
|
|
|
#line 60
|
|
return;
|
|
}
|
|
|
|
|
|
#line 28 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/drivers/base/dd.c"
|
|
void *ldv_dev_get_drvdata(struct device const *dev)
|
|
{
|
|
void *__retres;
|
|
|
|
#line 30
|
|
if (dev != (struct device const *)0 && dev->p != (struct device_private *)0) {
|
|
|
|
#line 31
|
|
__retres = (dev->p)->driver_data;
|
|
|
|
#line 31
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 33
|
|
__retres = (void *)0;
|
|
return_label:
|
|
#line 33
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 42 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/drivers/base/dd.c"
|
|
int ldv_dev_set_drvdata(struct device *dev, void *data)
|
|
{
|
|
int __retres;
|
|
|
|
#line 44
|
|
dev->p = (struct device_private *)ldv_xzalloc(8UL);
|
|
|
|
#line 45
|
|
ldv_save_pointer((void *)dev->p);
|
|
|
|
#line 46
|
|
(dev->p)->driver_data = data;
|
|
|
|
#line 48
|
|
__retres = 0;
|
|
|
|
#line 48
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/drivers/spi.c"
|
|
struct spi_master *ldv_spi_alloc_master(struct device *host, unsigned int size)
|
|
{
|
|
struct spi_master *__retres;
|
|
struct spi_master *master;
|
|
|
|
#line 27
|
|
master = (struct spi_master *)ldv_zalloc((unsigned long)size + 2200UL);
|
|
|
|
#line 29
|
|
if (master == (struct spi_master *)0) {
|
|
|
|
#line 30
|
|
__retres = (struct spi_master *)0;
|
|
|
|
#line 30
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 32
|
|
ldv_dev_set_drvdata(& master->dev,(void *)(master + 1U));
|
|
|
|
#line 34
|
|
__retres = master;
|
|
return_label:
|
|
#line 34
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 21 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/err.c"
|
|
long ldv_is_err(void const *ptr)
|
|
{
|
|
long __retres;
|
|
|
|
#line 23
|
|
__retres = (long)((unsigned long)ptr > 4294967295UL);
|
|
|
|
#line 23
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 26 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/err.c"
|
|
void *ldv_err_ptr(long error)
|
|
{
|
|
void *__retres;
|
|
|
|
#line 28
|
|
__VERIFIER_assume(error < 0L);
|
|
|
|
#line 29
|
|
__retres = (void *)(4294967295L - error);
|
|
|
|
#line 29
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/err.c"
|
|
long ldv_ptr_err(void const *ptr)
|
|
{
|
|
long __retres;
|
|
|
|
#line 34
|
|
__VERIFIER_assume((unsigned long)ptr > 4294967295UL);
|
|
|
|
#line 35
|
|
__retres = (long)(4294967295UL - (unsigned long)ptr);
|
|
|
|
#line 35
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 38 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/err.c"
|
|
long ldv_is_err_or_null(void const *ptr)
|
|
{
|
|
long __retres;
|
|
int tmp_0;
|
|
|
|
#line 40
|
|
if (ptr == (void const *)0)
|
|
#line 40
|
|
tmp_0 = 1;
|
|
else {
|
|
long tmp;
|
|
|
|
#line 40
|
|
tmp = ldv_is_err(ptr);
|
|
|
|
#line 40
|
|
if (tmp != 0L)
|
|
#line 40
|
|
tmp_0 = 1; else
|
|
#line 40
|
|
tmp_0 = 0;
|
|
}
|
|
|
|
#line 40
|
|
__retres = (long)tmp_0;
|
|
|
|
#line 40
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 21 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/kernel/panic.c"
|
|
void ldv_panic(void)
|
|
{
|
|
|
|
#line 23
|
|
__VERIFIER_assume(0);
|
|
|
|
#line 24
|
|
return;
|
|
}
|
|
|
|
|
|
#line 25 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
static bool __ldv_in_interrupt_context = (_Bool)0;
|
|
|
|
#line 28 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
void ldv_switch_to_interrupt_context(void)
|
|
{
|
|
|
|
#line 30
|
|
__ldv_in_interrupt_context = (_Bool)1;
|
|
|
|
#line 31
|
|
return;
|
|
}
|
|
|
|
|
|
#line 34 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
void ldv_switch_to_process_context(void)
|
|
{
|
|
|
|
#line 36
|
|
__ldv_in_interrupt_context = (_Bool)0;
|
|
|
|
#line 37
|
|
return;
|
|
}
|
|
|
|
|
|
#line 39 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
bool ldv_in_interrupt_context(void)
|
|
{
|
|
|
|
#line 41
|
|
return __ldv_in_interrupt_context;
|
|
}
|
|
|
|
|
|
#line 44 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
static int ldv_filter_positive_int(int val)
|
|
{
|
|
|
|
#line 46
|
|
__VERIFIER_assume(val <= 0);
|
|
|
|
#line 47
|
|
return val;
|
|
}
|
|
|
|
|
|
#line 54 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
int ldv_post_init(int init_ret_val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 56
|
|
tmp = ldv_filter_positive_int(init_ret_val);
|
|
|
|
#line 56
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 60 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
int ldv_post_probe(int probe_ret_val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 62
|
|
ldv_check_return_value_probe(probe_ret_val);
|
|
|
|
#line 63
|
|
tmp = ldv_filter_positive_int(probe_ret_val);
|
|
|
|
#line 63
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 67 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/ldv/common.c"
|
|
int ldv_filter_err_code(int ret_val)
|
|
{
|
|
int tmp;
|
|
|
|
#line 69
|
|
tmp = ldv_filter_positive_int(ret_val);
|
|
|
|
#line 69
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 21 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/mm/slab.c"
|
|
void *ldv_kmalloc(size_t size, gfp_t flags)
|
|
{
|
|
void *res;
|
|
|
|
#line 25
|
|
ldv_check_alloc_flags(flags);
|
|
|
|
#line 26
|
|
res = ldv_malloc(size);
|
|
|
|
#line 27
|
|
ldv_after_alloc(res);
|
|
|
|
#line 29
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/mm/slab.c"
|
|
void *ldv_kcalloc(size_t n, size_t size, gfp_t flags)
|
|
{
|
|
void *res;
|
|
|
|
#line 36
|
|
ldv_check_alloc_flags(flags);
|
|
|
|
#line 37
|
|
res = ldv_calloc(n,size);
|
|
|
|
#line 38
|
|
ldv_after_alloc(res);
|
|
|
|
#line 40
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 43 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/mm/slab.c"
|
|
void *ldv_kzalloc(size_t size, gfp_t flags)
|
|
{
|
|
void *res;
|
|
|
|
#line 47
|
|
ldv_check_alloc_flags(flags);
|
|
|
|
#line 48
|
|
res = ldv_zalloc(size);
|
|
|
|
#line 49
|
|
ldv_after_alloc(res);
|
|
|
|
#line 51
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 54 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/mm/slab.c"
|
|
void *ldv_kmalloc_array(size_t n, size_t size, gfp_t flags)
|
|
{
|
|
void *res;
|
|
|
|
#line 58
|
|
ldv_check_alloc_flags(flags);
|
|
|
|
#line 59
|
|
res = ldv_malloc(n * size);
|
|
|
|
#line 60
|
|
ldv_after_alloc(res);
|
|
|
|
#line 62
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 32 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_reference_xmalloc_unknown_size(size_t size);
|
|
|
|
|
|
#line 34 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_malloc(size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 37
|
|
res = ldv_reference_malloc(size);
|
|
|
|
#line 38
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 39
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 39
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 40
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 43 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_calloc(size_t nmemb, size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 46
|
|
res = ldv_reference_calloc(nmemb,size);
|
|
|
|
#line 47
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 48
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 48
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 49
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 52 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_zalloc(size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 55
|
|
res = ldv_reference_zalloc(size);
|
|
|
|
#line 56
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 57
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 57
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 58
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 61 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void ldv_free(void *s)
|
|
{
|
|
|
|
#line 63
|
|
ldv_reference_free(s);
|
|
|
|
#line 64
|
|
return;
|
|
}
|
|
|
|
|
|
#line 66 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_xmalloc(size_t size)
|
|
{
|
|
void *res;
|
|
long tmp;
|
|
|
|
#line 69
|
|
res = ldv_reference_xmalloc(size);
|
|
|
|
#line 70
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 70
|
|
__VERIFIER_assume(tmp == 0L);
|
|
|
|
#line 71
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 74 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_xzalloc(size_t size)
|
|
{
|
|
void *res;
|
|
long tmp;
|
|
|
|
#line 77
|
|
res = ldv_reference_xzalloc(size);
|
|
|
|
#line 78
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 78
|
|
__VERIFIER_assume(tmp == 0L);
|
|
|
|
#line 79
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 82 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_malloc_unknown_size(void)
|
|
{
|
|
void *res;
|
|
|
|
#line 85
|
|
res = ldv_reference_malloc_unknown_size();
|
|
|
|
#line 86
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 87
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 87
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 88
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 91 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_calloc_unknown_size(void)
|
|
{
|
|
void *res;
|
|
|
|
#line 94
|
|
res = ldv_reference_calloc_unknown_size();
|
|
|
|
#line 95
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 96
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 96
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 97
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 100 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_zalloc_unknown_size(void)
|
|
{
|
|
void *res;
|
|
|
|
#line 103
|
|
res = ldv_reference_zalloc_unknown_size();
|
|
|
|
#line 104
|
|
if (res != (void *)0) {
|
|
long tmp;
|
|
|
|
#line 105
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 105
|
|
__VERIFIER_assume(tmp == 0L);
|
|
}
|
|
else ;
|
|
|
|
#line 106
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 109 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/linux/verifier/memory.c"
|
|
void *ldv_xmalloc_unknown_size(size_t size)
|
|
{
|
|
void *res;
|
|
long tmp;
|
|
|
|
#line 112
|
|
res = ldv_reference_xmalloc_unknown_size(size);
|
|
|
|
#line 113
|
|
tmp = ldv_is_err((void const *)res);
|
|
|
|
#line 113
|
|
__VERIFIER_assume(tmp == 0L);
|
|
|
|
#line 114
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 24 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/gcc.c"
|
|
long __builtin_expect(long exp, long c)
|
|
{
|
|
|
|
#line 26
|
|
return exp;
|
|
}
|
|
|
|
|
|
#line 35 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/gcc.c"
|
|
void __builtin_trap(void)
|
|
{
|
|
|
|
#line 37
|
|
__VERIFIER_error();
|
|
|
|
#line 38
|
|
return;
|
|
}
|
|
|
|
|
|
#line 29 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int __VERIFIER_nondet_int(void);
|
|
|
|
|
|
#line 31
|
|
long __VERIFIER_nondet_long(void);
|
|
|
|
|
|
#line 38
|
|
unsigned int __VERIFIER_nondet_uint(void);
|
|
|
|
|
|
#line 41
|
|
unsigned long __VERIFIER_nondet_ulong(void);
|
|
|
|
|
|
#line 42
|
|
unsigned long long __VERIFIER_nondet_ulonglong(void);
|
|
|
|
|
|
#line 43
|
|
void *__VERIFIER_nondet_pointer(void);
|
|
|
|
|
|
#line 46 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int ldv_undef_int(void)
|
|
{
|
|
int tmp;
|
|
|
|
#line 48
|
|
tmp = __VERIFIER_nondet_int();
|
|
|
|
#line 48
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 51 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int ldv_undef_long(void)
|
|
{
|
|
int __retres;
|
|
long tmp;
|
|
|
|
#line 53
|
|
tmp = __VERIFIER_nondet_long();
|
|
|
|
#line 53
|
|
__retres = (int)tmp;
|
|
|
|
#line 53
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 56 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
unsigned int ldv_undef_uint(void)
|
|
{
|
|
unsigned int tmp;
|
|
|
|
#line 58
|
|
tmp = __VERIFIER_nondet_uint();
|
|
|
|
#line 58
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 61 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
void *ldv_undef_ptr(void)
|
|
{
|
|
void *tmp;
|
|
|
|
#line 63
|
|
tmp = __VERIFIER_nondet_pointer();
|
|
|
|
#line 63
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 66 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
unsigned long ldv_undef_ulong(void)
|
|
{
|
|
unsigned long tmp;
|
|
|
|
#line 68
|
|
tmp = __VERIFIER_nondet_ulong();
|
|
|
|
#line 68
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 71 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
unsigned long long ldv_undef_ulonglong(void)
|
|
{
|
|
unsigned long long tmp;
|
|
|
|
#line 73
|
|
tmp = __VERIFIER_nondet_ulonglong();
|
|
|
|
#line 73
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 76 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int ldv_undef_int_positive(void)
|
|
{
|
|
|
|
#line 78
|
|
int ret = ldv_undef_int();
|
|
|
|
#line 80
|
|
__VERIFIER_assume(ret > 0);
|
|
|
|
#line 82
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 85 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int ldv_undef_int_negative(void)
|
|
{
|
|
|
|
#line 87
|
|
int ret = ldv_undef_int();
|
|
|
|
#line 89
|
|
__VERIFIER_assume(ret < 0);
|
|
|
|
#line 91
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 94 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
int ldv_undef_int_nonpositive(void)
|
|
{
|
|
|
|
#line 96
|
|
int ret = ldv_undef_int();
|
|
|
|
#line 98
|
|
__VERIFIER_assume(ret <= 0);
|
|
|
|
#line 100
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 103 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/nondet.c"
|
|
void *ldv_undef_ptr_non_null(void)
|
|
{
|
|
|
|
#line 105
|
|
void *ret = ldv_undef_ptr();
|
|
|
|
#line 107
|
|
__VERIFIER_assume(ret != (void *)0);
|
|
|
|
#line 109
|
|
return ret;
|
|
}
|
|
|
|
|
|
#line 23 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *malloc(size_t);
|
|
|
|
|
|
#line 24
|
|
void *calloc(size_t, size_t);
|
|
|
|
|
|
#line 25
|
|
void free(void *);
|
|
|
|
|
|
#line 33 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_malloc(size_t size)
|
|
{
|
|
void *__retres;
|
|
void *res;
|
|
int tmp;
|
|
|
|
#line 37
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 37
|
|
if (tmp != 0) {
|
|
|
|
#line 39
|
|
res = malloc(size);
|
|
|
|
#line 40
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 41
|
|
__retres = res;
|
|
|
|
#line 41
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 44
|
|
__retres = (void *)0;
|
|
|
|
#line 44
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 37
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 47 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_calloc(size_t nmemb, size_t size)
|
|
{
|
|
void *tmp;
|
|
|
|
#line 49
|
|
tmp = calloc(nmemb,size);
|
|
|
|
#line 49
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 52 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_zalloc(size_t size)
|
|
{
|
|
void *tmp;
|
|
|
|
#line 54
|
|
tmp = calloc(1UL,size);
|
|
|
|
#line 54
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 57 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void ldv_reference_free(void *s)
|
|
{
|
|
|
|
#line 59
|
|
free(s);
|
|
|
|
#line 60
|
|
return;
|
|
}
|
|
|
|
|
|
#line 62 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_realloc(void *ptr, size_t size)
|
|
{
|
|
void *__retres;
|
|
void *res;
|
|
int tmp;
|
|
|
|
#line 66
|
|
if (ptr != (void *)0 && size == 0UL) {
|
|
|
|
#line 67
|
|
free(ptr);
|
|
|
|
#line 68
|
|
__retres = (void *)0;
|
|
|
|
#line 68
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 71
|
|
if (ptr == (void *)0) {
|
|
|
|
#line 72
|
|
res = malloc(size);
|
|
|
|
#line 73
|
|
__retres = res;
|
|
|
|
#line 73
|
|
goto return_label;
|
|
}
|
|
else ;
|
|
|
|
#line 76
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 76
|
|
if (tmp != 0) {
|
|
|
|
#line 78
|
|
res = malloc(size);
|
|
|
|
#line 79
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 81
|
|
memcpy(res,(void const *)ptr,size);
|
|
|
|
#line 82
|
|
free(ptr);
|
|
|
|
#line 84
|
|
__retres = res;
|
|
|
|
#line 84
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 87
|
|
__retres = (void *)0;
|
|
|
|
#line 87
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 76
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 90 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_xmalloc(size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 94
|
|
res = malloc(size);
|
|
|
|
#line 95
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 97
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 100 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_xzalloc(size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 104
|
|
res = calloc(1UL,size);
|
|
|
|
#line 105
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 107
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 110 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_malloc_unknown_size(void)
|
|
{
|
|
void *__retres;
|
|
void *res;
|
|
int tmp;
|
|
|
|
#line 114
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 114
|
|
if (tmp != 0) {
|
|
|
|
#line 115
|
|
res = external_allocated_data();
|
|
|
|
#line 116
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 117
|
|
__retres = res;
|
|
|
|
#line 117
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 120
|
|
__retres = (void *)0;
|
|
|
|
#line 120
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 114
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 123 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_calloc_unknown_size(void)
|
|
{
|
|
void *__retres;
|
|
void *res;
|
|
int tmp;
|
|
|
|
#line 127
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 127
|
|
if (tmp != 0) {
|
|
|
|
#line 128
|
|
res = external_allocated_data();
|
|
|
|
#line 129
|
|
memset(res,0,8UL);
|
|
|
|
#line 130
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 131
|
|
__retres = res;
|
|
|
|
#line 131
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 134
|
|
__retres = (void *)0;
|
|
|
|
#line 134
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 127
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 137 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_zalloc_unknown_size(void)
|
|
{
|
|
void *tmp;
|
|
|
|
#line 139
|
|
tmp = ldv_reference_calloc_unknown_size();
|
|
|
|
#line 139
|
|
return tmp;
|
|
}
|
|
|
|
|
|
#line 142 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/root/specifications/verifier/reference memory.c"
|
|
void *ldv_reference_xmalloc_unknown_size(size_t size)
|
|
{
|
|
void *res;
|
|
|
|
#line 146
|
|
res = external_allocated_data();
|
|
|
|
#line 147
|
|
__VERIFIER_assume(res != (void *)0);
|
|
|
|
#line 149
|
|
return res;
|
|
}
|
|
|
|
|
|
#line 22 "/home/novikov/work/klever-data/build bases/linux-3.14.79/Storage/home/novikov/work/klever-data/linux-stable/include/linux/err.h"
|
|
__inline static void *ERR_PTR_2(long error)
|
|
{
|
|
void *__retres;
|
|
|
|
#line 24
|
|
__retres = (void *)error;
|
|
|
|
#line 24
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 27 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
void ldv_character_driver_scenario_4(void *arg0);
|
|
|
|
|
|
#line 28
|
|
void ldv_dispatch_register_2_3(struct file_operations *arg0);
|
|
|
|
|
|
#line 31
|
|
void ldv_insmod_1(void *arg0);
|
|
|
|
|
|
#line 32
|
|
int main(void);
|
|
|
|
|
|
#line 36 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
void ldv_dispatch_register_2_3(struct file_operations *arg0)
|
|
{
|
|
struct ldv_struct_character_driver_scenario_4 *cf_arg_4;
|
|
int tmp;
|
|
|
|
#line 38
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 38
|
|
switch (tmp) {
|
|
case 0:
|
|
#line 39
|
|
;
|
|
|
|
#line 40
|
|
cf_arg_4 = (struct ldv_struct_character_driver_scenario_4 *)ldv_xmalloc(16UL);
|
|
|
|
#line 41
|
|
cf_arg_4->arg0 = arg0;
|
|
|
|
#line 42
|
|
ldv_character_driver_scenario_4((void *)cf_arg_4);
|
|
|
|
#line 43
|
|
goto ldv_22979;
|
|
}
|
|
ldv_22979:
|
|
#line 45
|
|
;
|
|
|
|
#line 46
|
|
return;
|
|
}
|
|
|
|
|
|
#line 50 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
void ldv_character_driver_scenario_4(void *arg0)
|
|
{
|
|
struct file_operations *ldv_4_container;
|
|
int ldv_4_ret;
|
|
unsigned long ldv_4_size_cnt;
|
|
struct inode *ldv_4_resource_0;
|
|
struct file *ldv_4_resource_1;
|
|
long long ldv_4_ldv_param_1_2;
|
|
int ldv_4_ldv_param_2_3;
|
|
char *ldv_4_ldv_param_1_4;
|
|
long long *ldv_4_ldv_param_3_5;
|
|
char *ldv_4_ldv_param_1_6;
|
|
long long *ldv_4_ldv_param_3_7;
|
|
int tmp_0;
|
|
int tmp_2;
|
|
int tmp_3;
|
|
|
|
#line 65
|
|
struct ldv_struct_character_driver_scenario_4 *data = (struct ldv_struct_character_driver_scenario_4 *)arg0;
|
|
|
|
#line 69
|
|
ldv_4_ret = ldv_undef_int();
|
|
|
|
#line 71
|
|
__VERIFIER_assume(data->arg0 == ldv_emg_alias_idle_fops_2);
|
|
|
|
#line 73
|
|
if (data != (struct ldv_struct_character_driver_scenario_4 *)0) {
|
|
|
|
#line 74
|
|
ldv_4_container = data->arg0;
|
|
|
|
#line 75
|
|
ldv_free((void *)data);
|
|
}
|
|
else ;
|
|
|
|
#line 80
|
|
ldv_4_resource_0 = (struct inode *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 81
|
|
tmp_0 = ldv_undef_int();
|
|
|
|
#line 81
|
|
ldv_4_size_cnt = (unsigned long)tmp_0;
|
|
|
|
#line 88
|
|
goto ldv_main_4;
|
|
|
|
#line 90
|
|
goto return_label;
|
|
ldv_main_4:
|
|
#line 93
|
|
;
|
|
|
|
#line 96
|
|
tmp_2 = ldv_undef_int();
|
|
|
|
#line 96
|
|
if (tmp_2 != 0) {
|
|
int tmp_1;
|
|
|
|
#line 99
|
|
ldv_4_ret = (*ldv_emg_alias_simple_open_4)(ldv_4_resource_0,ldv_4_resource_1);
|
|
|
|
#line 101
|
|
ldv_4_ret = ldv_filter_err_code(ldv_4_ret);
|
|
|
|
#line 104
|
|
tmp_1 = ldv_undef_int();
|
|
|
|
#line 104
|
|
if (tmp_1 != 0) {
|
|
|
|
#line 106
|
|
__VERIFIER_assume(ldv_4_ret == 0);
|
|
|
|
#line 113
|
|
goto ldv_call_4;
|
|
}
|
|
else {
|
|
|
|
#line 117
|
|
__VERIFIER_assume(ldv_4_ret != 0);
|
|
|
|
#line 124
|
|
goto ldv_main_4;
|
|
}
|
|
}
|
|
else {
|
|
|
|
#line 129
|
|
ldv_free((void *)ldv_4_resource_0);
|
|
|
|
#line 137
|
|
goto return_label;
|
|
}
|
|
|
|
#line 140
|
|
goto return_label;
|
|
ldv_call_4:
|
|
#line 143
|
|
;
|
|
|
|
#line 146
|
|
tmp_3 = ldv_undef_int();
|
|
|
|
#line 146
|
|
switch (tmp_3) {
|
|
int tmp_8;
|
|
case 1:
|
|
#line 147
|
|
;
|
|
|
|
#line 149
|
|
ldv_4_ldv_param_3_7 = (long long *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 150
|
|
ldv_4_ldv_param_1_6 = (char *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 154
|
|
if (ldv_4_container->write != (ssize_t (*)(struct file *, char const *, size_t , loff_t *))0) {
|
|
|
|
#line 160
|
|
__VERIFIER_assume(ldv_4_size_cnt <= 2147479552UL);
|
|
|
|
#line 162
|
|
(*(ldv_4_container->write))(ldv_4_resource_1,(char const *)ldv_4_ldv_param_1_6,ldv_4_size_cnt,ldv_4_ldv_param_3_7);
|
|
}
|
|
else ;
|
|
|
|
#line 167
|
|
ldv_free((void *)ldv_4_ldv_param_3_7);
|
|
|
|
#line 168
|
|
ldv_free((void *)ldv_4_ldv_param_1_6);
|
|
|
|
#line 175
|
|
goto ldv_call_4;
|
|
case 2:
|
|
#line 178
|
|
;
|
|
|
|
#line 180
|
|
if (ldv_4_container->release != (int (*)(struct inode *, struct file *))0)
|
|
|
|
#line 182
|
|
(*(ldv_4_container->release))(ldv_4_resource_0,ldv_4_resource_1); else ;
|
|
|
|
#line 190
|
|
goto ldv_main_4;
|
|
case 3:
|
|
#line 193
|
|
;
|
|
|
|
#line 197
|
|
tmp_8 = ldv_undef_int();
|
|
|
|
#line 197
|
|
if (tmp_8 != 0)
|
|
#line 200
|
|
(*ldv_emg_alias_default_llseek_2)(ldv_4_resource_1,ldv_4_ldv_param_1_2,ldv_4_ldv_param_2_3);
|
|
else {
|
|
|
|
#line 206
|
|
ldv_4_ldv_param_3_5 = (long long *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 207
|
|
ldv_4_ldv_param_1_4 = (char *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 212
|
|
ldv_emg_wrapper_stats_read_ul_3(ldv_4_resource_1,ldv_4_ldv_param_1_4,ldv_4_size_cnt,ldv_4_ldv_param_3_5);
|
|
|
|
#line 216
|
|
ldv_free((void *)ldv_4_ldv_param_3_5);
|
|
|
|
#line 217
|
|
ldv_free((void *)ldv_4_ldv_param_1_4);
|
|
}
|
|
|
|
#line 221
|
|
goto ldv_23000;
|
|
default:
|
|
#line 223
|
|
;
|
|
|
|
#line 223
|
|
__VERIFIER_assume(0);
|
|
}
|
|
ldv_23000:
|
|
#line 232
|
|
;
|
|
|
|
#line 232
|
|
goto ldv_call_4;
|
|
return_label:
|
|
#line 234
|
|
return;
|
|
}
|
|
|
|
|
|
#line 239 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
struct dentry *ldv_emg_debugfs_create_file(char *arg0, unsigned short arg1, struct dentry *arg2, void *arg3, struct file_operations *arg4)
|
|
{
|
|
struct dentry *__retres;
|
|
struct file_operations *ldv_2_file_operations;
|
|
struct dentry *ldv_2_dentry;
|
|
int tmp_1;
|
|
|
|
#line 247
|
|
tmp_1 = ldv_undef_int();
|
|
|
|
#line 247
|
|
if (tmp_1 != 0) {
|
|
|
|
#line 249
|
|
ldv_2_dentry = (struct dentry *)ldv_xmalloc_unknown_size(0UL);
|
|
|
|
#line 250
|
|
ldv_2_file_operations = arg4;
|
|
|
|
#line 254
|
|
ldv_dispatch_register_2_3(ldv_2_file_operations);
|
|
|
|
#line 258
|
|
__retres = ldv_2_dentry;
|
|
|
|
#line 258
|
|
goto return_label;
|
|
}
|
|
else {
|
|
struct dentry *tmp_0;
|
|
|
|
#line 265
|
|
tmp_0 = (struct dentry *)ERR_PTR_2(-19L);
|
|
|
|
#line 265
|
|
__retres = tmp_0;
|
|
|
|
#line 265
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 247
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 275 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
void ldv_emg_debugfs_remove(struct dentry *arg0)
|
|
{
|
|
struct file_operations *ldv_3_file_operations;
|
|
struct dentry *ldv_3_dentry;
|
|
|
|
#line 282
|
|
ldv_3_dentry = arg0;
|
|
|
|
#line 283
|
|
ldv_free((void *)ldv_3_dentry);
|
|
|
|
#line 291
|
|
goto return_label;
|
|
return_label:
|
|
#line 293
|
|
return;
|
|
}
|
|
|
|
|
|
#line 298 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
void ldv_insmod_1(void *arg0)
|
|
{
|
|
int ldv_1_ret;
|
|
int tmp;
|
|
|
|
#line 305
|
|
ldv_1_ret = ldv_emg_i7300_idle_init();
|
|
|
|
#line 306
|
|
ldv_1_ret = ldv_post_init(ldv_1_ret);
|
|
|
|
#line 309
|
|
tmp = ldv_undef_int();
|
|
|
|
#line 309
|
|
if (tmp != 0) {
|
|
|
|
#line 311
|
|
__VERIFIER_assume(ldv_1_ret != 0);
|
|
|
|
#line 315
|
|
goto return_label;
|
|
}
|
|
else {
|
|
|
|
#line 319
|
|
__VERIFIER_assume(ldv_1_ret == 0);
|
|
|
|
#line 324
|
|
ldv_emg_i7300_idle_exit();
|
|
|
|
#line 328
|
|
goto return_label;
|
|
}
|
|
return_label:
|
|
#line 331
|
|
return;
|
|
}
|
|
|
|
|
|
#line 336 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/emg/environment_model.c"
|
|
int main(void)
|
|
{
|
|
int __retres;
|
|
|
|
#line 339
|
|
ldv_initialize();
|
|
|
|
#line 342
|
|
ldv_insmod_1((void *)0);
|
|
|
|
#line 345
|
|
ldv_check_final_state();
|
|
|
|
#line 347
|
|
__retres = 0;
|
|
|
|
#line 347
|
|
return __retres;
|
|
}
|
|
|
|
|
|
#line 3 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/fvtp/bug kind funcs.c"
|
|
void ldv_assert_linux_arch_io__less_initial_decrement(int expr)
|
|
{
|
|
|
|
#line 4
|
|
if (! expr)
|
|
#line 5
|
|
__VERIFIER_error(); else ;
|
|
|
|
#line 6
|
|
return;
|
|
}
|
|
|
|
|
|
#line 7 "/home/novikov/work/klever-work/native-scheduler-work-dir/scheduler/jobs/949e2b252e1c57049e5ed6f12e4ebdbd/klever-core-work-dir/job/vtg/drivers/idle/i7300_idle.ko/linux:arch:io/fvtp/bug kind funcs.c"
|
|
void ldv_assert_linux_arch_io__more_initial_at_exit(int expr)
|
|
{
|
|
|
|
#line 8
|
|
if (! expr)
|
|
#line 9
|
|
__VERIFIER_error(); else ;
|
|
|
|
#line 10
|
|
return;
|
|
}
|
|
|
|
|