|
/* Generated by CIL v. 1.5.1 */
|
|
/* print_CIL_Input is false */
|
|
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef signed char __s8;
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef short __s16;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned short __u16;
|
|
#line 25 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef int __s32;
|
|
#line 26 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned int __u32;
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef long long __s64;
|
|
#line 30 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned long long __u64;
|
|
#line 43 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned char u8;
|
|
#line 46 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned short u16;
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef int s32;
|
|
#line 49 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned int u32;
|
|
#line 51 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef long long s64;
|
|
#line 52 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef unsigned long long u64;
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/types.h"
|
|
typedef unsigned short umode_t;
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef unsigned int __kernel_mode_t;
|
|
#line 14 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef int __kernel_pid_t;
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef unsigned int __kernel_uid_t;
|
|
#line 17 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef unsigned int __kernel_gid_t;
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef unsigned long __kernel_size_t;
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef long __kernel_ssize_t;
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef long __kernel_time_t;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef long __kernel_clock_t;
|
|
#line 24 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef int __kernel_timer_t;
|
|
#line 25 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef int __kernel_clockid_t;
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef long long __kernel_loff_t;
|
|
#line 41 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef __kernel_uid_t __kernel_uid32_t;
|
|
#line 42 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef __kernel_gid_t __kernel_gid32_t;
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __u32 __kernel_dev_t;
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_dev_t dev_t;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_mode_t mode_t;
|
|
#line 26 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_pid_t pid_t;
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_clockid_t clockid_t;
|
|
#line 36 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_uid32_t uid_t;
|
|
#line 37 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_gid32_t gid_t;
|
|
#line 50 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_loff_t loff_t;
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_size_t size_t;
|
|
#line 64 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_ssize_t ssize_t;
|
|
#line 74 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_time_t time_t;
|
|
#line 138 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef unsigned long sector_t;
|
|
#line 139 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef unsigned long blkcnt_t;
|
|
#line 179 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef unsigned int gfp_t;
|
|
#line 180 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef unsigned int fmode_t;
|
|
#line 192 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
struct __anonstruct_atomic_t_6 {
|
|
int volatile counter ;
|
|
};
|
|
#line 192 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef struct __anonstruct_atomic_t_6 atomic_t;
|
|
#line 197 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
struct __anonstruct_atomic64_t_7 {
|
|
long volatile counter ;
|
|
};
|
|
#line 197 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef struct __anonstruct_atomic64_t_7 atomic64_t;
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
struct device;
|
|
#line 42 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.h"
|
|
struct task_struct;
|
|
#line 43
|
|
struct mm_struct;
|
|
#line 55 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 301 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/ptrace.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 203 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/vm86.h"
|
|
union __anonunion____missing_field_name_8 {
|
|
struct pt_regs *regs ;
|
|
struct kernel_vm86_regs *vm86 ;
|
|
};
|
|
#line 203 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/vm86.h"
|
|
struct math_emu_info {
|
|
long ___orig_eip ;
|
|
union __anonunion____missing_field_name_8 __annonCompField4 ;
|
|
};
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/alternative.h"
|
|
struct module;
|
|
#line 109 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kernel.h"
|
|
struct completion;
|
|
#line 209
|
|
struct pid;
|
|
#line 459 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/system.h"
|
|
struct page;
|
|
#line 13 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_64_types.h"
|
|
typedef unsigned long pgdval_t;
|
|
#line 14 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_64_types.h"
|
|
typedef unsigned long pgprotval_t;
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_64_types.h"
|
|
struct pgprot {
|
|
pgprotval_t pgprot ;
|
|
};
|
|
#line 187 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_types.h"
|
|
typedef struct pgprot pgprot_t;
|
|
#line 189 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_types.h"
|
|
struct __anonstruct_pgd_t_11 {
|
|
pgdval_t pgd ;
|
|
};
|
|
#line 189 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/pgtable_types.h"
|
|
typedef struct __anonstruct_pgd_t_11 pgd_t;
|
|
#line 285
|
|
struct file;
|
|
#line 298
|
|
struct seq_file;
|
|
#line 301 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/bitmap.h"
|
|
struct cpumask {
|
|
unsigned long bits[1U] ;
|
|
};
|
|
#line 13 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/cpumask.h"
|
|
typedef struct cpumask cpumask_t;
|
|
#line 271 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/msr.h"
|
|
struct __anonstruct____missing_field_name_17 {
|
|
unsigned int a ;
|
|
unsigned int b ;
|
|
};
|
|
#line 271 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/msr.h"
|
|
struct __anonstruct____missing_field_name_18 {
|
|
u16 limit0 ;
|
|
u16 base0 ;
|
|
unsigned int base1 : 8 ;
|
|
unsigned int type : 4 ;
|
|
unsigned int s : 1 ;
|
|
unsigned int dpl : 2 ;
|
|
unsigned int p : 1 ;
|
|
unsigned int limit : 4 ;
|
|
unsigned int avl : 1 ;
|
|
unsigned int l : 1 ;
|
|
unsigned int d : 1 ;
|
|
unsigned int g : 1 ;
|
|
unsigned int base2 : 8 ;
|
|
};
|
|
#line 271 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/msr.h"
|
|
union __anonunion____missing_field_name_16 {
|
|
struct __anonstruct____missing_field_name_17 __annonCompField8 ;
|
|
struct __anonstruct____missing_field_name_18 __annonCompField9 ;
|
|
};
|
|
#line 271 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/msr.h"
|
|
struct desc_struct {
|
|
union __anonunion____missing_field_name_16 __annonCompField10 ;
|
|
};
|
|
#line 301 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/ds.h"
|
|
struct exec_domain;
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/personality.h"
|
|
struct map_segment;
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/personality.h"
|
|
struct exec_domain {
|
|
char const *name ;
|
|
void (*handler)(int , struct pt_regs * ) ;
|
|
unsigned char pers_low ;
|
|
unsigned char pers_high ;
|
|
unsigned long *signal_map ;
|
|
unsigned long *signal_invmap ;
|
|
struct map_segment *err_map ;
|
|
struct map_segment *socktype_map ;
|
|
struct map_segment *sockopt_map ;
|
|
struct map_segment *af_map ;
|
|
struct module *module ;
|
|
struct exec_domain *next ;
|
|
};
|
|
#line 284 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct __anonstruct____missing_field_name_20 {
|
|
u64 rip ;
|
|
u64 rdp ;
|
|
};
|
|
#line 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct __anonstruct____missing_field_name_21 {
|
|
u32 fip ;
|
|
u32 fcs ;
|
|
u32 foo ;
|
|
u32 fos ;
|
|
};
|
|
#line 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
union __anonunion____missing_field_name_19 {
|
|
struct __anonstruct____missing_field_name_20 __annonCompField11 ;
|
|
struct __anonstruct____missing_field_name_21 __annonCompField12 ;
|
|
};
|
|
#line 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
union __anonunion____missing_field_name_22 {
|
|
u32 padding1[12U] ;
|
|
u32 sw_reserved[12U] ;
|
|
};
|
|
#line 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct i387_fxsave_struct {
|
|
u16 cwd ;
|
|
u16 swd ;
|
|
u16 twd ;
|
|
u16 fop ;
|
|
union __anonunion____missing_field_name_19 __annonCompField13 ;
|
|
u32 mxcsr ;
|
|
u32 mxcsr_mask ;
|
|
u32 st_space[32U] ;
|
|
u32 xmm_space[64U] ;
|
|
u32 padding[12U] ;
|
|
union __anonunion____missing_field_name_22 __annonCompField14 ;
|
|
};
|
|
#line 336 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 357 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct ymmh_struct {
|
|
u32 ymmh_space[64U] ;
|
|
};
|
|
#line 362 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct xsave_hdr_struct {
|
|
u64 xstate_bv ;
|
|
u64 reserved1[2U] ;
|
|
u64 reserved2[5U] ;
|
|
};
|
|
#line 368 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct xsave_struct {
|
|
struct i387_fxsave_struct i387 ;
|
|
struct xsave_hdr_struct xsave_hdr ;
|
|
struct ymmh_struct ymmh ;
|
|
};
|
|
#line 374 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 424
|
|
struct kmem_cache;
|
|
#line 425
|
|
struct perf_event;
|
|
#line 426
|
|
struct ds_context;
|
|
#line 426 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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_no ;
|
|
unsigned long error_code ;
|
|
union thread_xstate *xstate ;
|
|
unsigned long *io_bitmap_ptr ;
|
|
unsigned long iopl ;
|
|
unsigned int io_bitmap_max ;
|
|
unsigned long debugctlmsr ;
|
|
struct ds_context *ds_ctx ;
|
|
};
|
|
#line 629 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
struct __anonstruct_mm_segment_t_24 {
|
|
unsigned long seg ;
|
|
};
|
|
#line 629 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
typedef struct __anonstruct_mm_segment_t_24 mm_segment_t;
|
|
#line 56 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/prefetch.h"
|
|
struct list_head {
|
|
struct list_head *next ;
|
|
struct list_head *prev ;
|
|
};
|
|
#line 327 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
struct hlist_node;
|
|
#line 327 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
struct hlist_head {
|
|
struct hlist_node *first ;
|
|
};
|
|
#line 543 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
struct hlist_node {
|
|
struct hlist_node *next ;
|
|
struct hlist_node **pprev ;
|
|
};
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/atomic-long.h"
|
|
typedef atomic64_t atomic_long_t;
|
|
#line 131
|
|
struct kobject;
|
|
#line 132 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/atomic-long.h"
|
|
struct attribute {
|
|
char const *name ;
|
|
struct module *owner ;
|
|
mode_t mode ;
|
|
};
|
|
#line 40 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct vm_area_struct;
|
|
#line 75 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 81
|
|
struct sysfs_dirent;
|
|
#line 132
|
|
struct timespec;
|
|
#line 133
|
|
struct compat_timespec;
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct __anonstruct____missing_field_name_26 {
|
|
unsigned long arg0 ;
|
|
unsigned long arg1 ;
|
|
unsigned long arg2 ;
|
|
unsigned long arg3 ;
|
|
};
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct __anonstruct_futex_27 {
|
|
u32 *uaddr ;
|
|
u32 val ;
|
|
u32 flags ;
|
|
u32 bitset ;
|
|
u64 time ;
|
|
u32 *uaddr2 ;
|
|
};
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct __anonstruct_nanosleep_28 {
|
|
clockid_t index ;
|
|
struct timespec *rmtp ;
|
|
struct compat_timespec *compat_rmtp ;
|
|
u64 expires ;
|
|
};
|
|
#line 134
|
|
struct pollfd;
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct __anonstruct_poll_29 {
|
|
struct pollfd *ufds ;
|
|
int nfds ;
|
|
int has_timeout ;
|
|
unsigned long tv_sec ;
|
|
unsigned long tv_nsec ;
|
|
};
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
union __anonunion____missing_field_name_25 {
|
|
struct __anonstruct____missing_field_name_26 __annonCompField16 ;
|
|
struct __anonstruct_futex_27 futex ;
|
|
struct __anonstruct_nanosleep_28 nanosleep ;
|
|
struct __anonstruct_poll_29 poll ;
|
|
};
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct restart_block {
|
|
long (*fn)(struct restart_block * ) ;
|
|
union __anonunion____missing_field_name_25 __annonCompField17 ;
|
|
};
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/thread_info.h"
|
|
struct thread_info {
|
|
struct task_struct *task ;
|
|
struct exec_domain *exec_domain ;
|
|
__u32 flags ;
|
|
__u32 status ;
|
|
__u32 cpu ;
|
|
int preempt_count ;
|
|
mm_segment_t addr_limit ;
|
|
struct restart_block restart_block ;
|
|
void *sysenter_return ;
|
|
int uaccess_err ;
|
|
};
|
|
#line 8 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/bottom_half.h"
|
|
struct arch_spinlock {
|
|
unsigned int slock ;
|
|
};
|
|
#line 10 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/spinlock_types.h"
|
|
typedef struct arch_spinlock arch_spinlock_t;
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/spinlock_types.h"
|
|
struct __anonstruct_arch_rwlock_t_30 {
|
|
unsigned int lock ;
|
|
};
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/spinlock_types.h"
|
|
typedef struct __anonstruct_arch_rwlock_t_30 arch_rwlock_t;
|
|
#line 335 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/lockdep.h"
|
|
struct lock_class_key {
|
|
|
|
};
|
|
#line 437 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/lockdep.h"
|
|
struct raw_spinlock {
|
|
arch_spinlock_t raw_lock ;
|
|
};
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_types.h"
|
|
typedef struct raw_spinlock raw_spinlock_t;
|
|
#line 33 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_types.h"
|
|
union __anonunion____missing_field_name_31 {
|
|
struct raw_spinlock rlock ;
|
|
};
|
|
#line 33 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_types.h"
|
|
struct spinlock {
|
|
union __anonunion____missing_field_name_31 __annonCompField18 ;
|
|
};
|
|
#line 76 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_types.h"
|
|
typedef struct spinlock spinlock_t;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rwlock_types.h"
|
|
struct __anonstruct_rwlock_t_32 {
|
|
arch_rwlock_t raw_lock ;
|
|
};
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rwlock_types.h"
|
|
typedef struct __anonstruct_rwlock_t_32 rwlock_t;
|
|
#line 393 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock.h"
|
|
struct kref {
|
|
atomic_t refcount ;
|
|
};
|
|
#line 49 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/wait.h"
|
|
struct __wait_queue_head {
|
|
spinlock_t lock ;
|
|
struct list_head task_list ;
|
|
};
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/wait.h"
|
|
typedef struct __wait_queue_head wait_queue_head_t;
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kset;
|
|
#line 48
|
|
struct kobj_type;
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kobject {
|
|
char const *name ;
|
|
struct list_head entry ;
|
|
struct kobject *parent ;
|
|
struct kset *kset ;
|
|
struct kobj_type *ktype ;
|
|
struct sysfs_dirent *sd ;
|
|
struct kref kref ;
|
|
unsigned int state_initialized : 1 ;
|
|
unsigned int state_in_sysfs : 1 ;
|
|
unsigned int state_add_uevent_sent : 1 ;
|
|
unsigned int state_remove_uevent_sent : 1 ;
|
|
unsigned int uevent_suppress : 1 ;
|
|
};
|
|
#line 106 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kobj_type {
|
|
void (*release)(struct kobject * ) ;
|
|
struct sysfs_ops *sysfs_ops ;
|
|
struct attribute **default_attrs ;
|
|
};
|
|
#line 112 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kobj_uevent_env {
|
|
char *envp[32U] ;
|
|
int envp_idx ;
|
|
char buf[2048U] ;
|
|
int buflen ;
|
|
};
|
|
#line 119 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kset_uevent_ops {
|
|
int (*filter)(struct kset * , struct kobject * ) ;
|
|
char const *(*name)(struct kset * , struct kobject * ) ;
|
|
int (*uevent)(struct kset * , struct kobject * , struct kobj_uevent_env * ) ;
|
|
};
|
|
#line 136 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct kset {
|
|
struct list_head list ;
|
|
spinlock_t list_lock ;
|
|
struct kobject kobj ;
|
|
struct kset_uevent_ops *uevent_ops ;
|
|
};
|
|
#line 89 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kdev_t.h"
|
|
struct file_operations;
|
|
#line 90
|
|
struct inode;
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kdev_t.h"
|
|
struct cdev {
|
|
struct kobject kobj ;
|
|
struct module *owner ;
|
|
struct file_operations const *ops ;
|
|
struct list_head list ;
|
|
dev_t dev ;
|
|
unsigned int count ;
|
|
};
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/cdev.h"
|
|
struct backing_dev_info;
|
|
#line 169 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/seqlock.h"
|
|
struct timespec {
|
|
__kernel_time_t tv_sec ;
|
|
long tv_nsec ;
|
|
};
|
|
#line 268 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/time.h"
|
|
struct kstat {
|
|
u64 ino ;
|
|
dev_t dev ;
|
|
umode_t mode ;
|
|
unsigned int nlink ;
|
|
uid_t uid ;
|
|
gid_t gid ;
|
|
dev_t rdev ;
|
|
loff_t size ;
|
|
struct timespec atime ;
|
|
struct timespec mtime ;
|
|
struct timespec ctime ;
|
|
unsigned long blksize ;
|
|
unsigned long long blocks ;
|
|
};
|
|
#line 98 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nodemask.h"
|
|
struct __anonstruct_nodemask_t_34 {
|
|
unsigned long bits[1U] ;
|
|
};
|
|
#line 98 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nodemask.h"
|
|
typedef struct __anonstruct_nodemask_t_34 nodemask_t;
|
|
#line 656 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mmzone.h"
|
|
struct mutex {
|
|
atomic_t count ;
|
|
spinlock_t wait_lock ;
|
|
struct list_head wait_list ;
|
|
struct thread_info *owner ;
|
|
};
|
|
#line 154 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mutex.h"
|
|
struct rw_semaphore;
|
|
#line 77 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/rwsem.h"
|
|
typedef long rwsem_count_t;
|
|
#line 78 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/rwsem.h"
|
|
struct rw_semaphore {
|
|
rwsem_count_t count ;
|
|
spinlock_t wait_lock ;
|
|
struct list_head wait_list ;
|
|
};
|
|
#line 311 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/jiffies.h"
|
|
union ktime {
|
|
s64 tv64 ;
|
|
};
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/ktime.h"
|
|
typedef union ktime ktime_t;
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/debugobjects.h"
|
|
struct tvec_base;
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/debugobjects.h"
|
|
struct timer_list {
|
|
struct list_head entry ;
|
|
unsigned long expires ;
|
|
void (*function)(unsigned long ) ;
|
|
unsigned long data ;
|
|
struct tvec_base *base ;
|
|
};
|
|
#line 240 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/timer.h"
|
|
struct hrtimer;
|
|
#line 241
|
|
enum hrtimer_restart;
|
|
#line 253
|
|
struct work_struct;
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/workqueue.h"
|
|
struct work_struct {
|
|
atomic_long_t data ;
|
|
struct list_head entry ;
|
|
void (*func)(struct work_struct * ) ;
|
|
};
|
|
#line 34 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/workqueue.h"
|
|
struct delayed_work {
|
|
struct work_struct work ;
|
|
struct timer_list timer ;
|
|
};
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/mmu.h"
|
|
struct __anonstruct_mm_context_t_99 {
|
|
void *ldt ;
|
|
int size ;
|
|
struct mutex lock ;
|
|
void *vdso ;
|
|
};
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/mmu.h"
|
|
typedef struct __anonstruct_mm_context_t_99 mm_context_t;
|
|
#line 253 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/moduleparam.h"
|
|
struct completion {
|
|
unsigned int done ;
|
|
wait_queue_head_t wait ;
|
|
};
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/completion.h"
|
|
struct rcu_head {
|
|
struct rcu_head *next ;
|
|
void (*func)(struct rcu_head * ) ;
|
|
};
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kmemtrace.h"
|
|
struct array_cache;
|
|
#line 20
|
|
struct kmem_list3;
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kmemtrace.h"
|
|
struct kmem_cache {
|
|
struct array_cache *array[8U] ;
|
|
unsigned int batchcount ;
|
|
unsigned int limit ;
|
|
unsigned int shared ;
|
|
unsigned int buffer_size ;
|
|
u32 reciprocal_buffer_size ;
|
|
unsigned int flags ;
|
|
unsigned int num ;
|
|
unsigned int gfporder ;
|
|
gfp_t gfpflags ;
|
|
size_t colour ;
|
|
unsigned int colour_off ;
|
|
struct kmem_cache *slabp_cache ;
|
|
unsigned int slab_size ;
|
|
unsigned int dflags ;
|
|
void (*ctor)(void * ) ;
|
|
char const *name ;
|
|
struct list_head next ;
|
|
struct kmem_list3 *nodelists[64U] ;
|
|
};
|
|
#line 408 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rculist.h"
|
|
struct nameidata;
|
|
#line 409
|
|
struct path;
|
|
#line 410
|
|
struct vfsmount;
|
|
#line 411 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rculist.h"
|
|
struct qstr {
|
|
unsigned int hash ;
|
|
unsigned int len ;
|
|
unsigned char const *name ;
|
|
};
|
|
#line 77 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
union __anonunion_d_u_111 {
|
|
struct list_head d_child ;
|
|
struct rcu_head d_rcu ;
|
|
};
|
|
#line 77
|
|
struct dentry_operations;
|
|
#line 77
|
|
struct super_block;
|
|
#line 77 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
struct dentry {
|
|
atomic_t d_count ;
|
|
unsigned int d_flags ;
|
|
spinlock_t d_lock ;
|
|
int d_mounted ;
|
|
struct inode *d_inode ;
|
|
struct hlist_node d_hash ;
|
|
struct dentry *d_parent ;
|
|
struct qstr d_name ;
|
|
struct list_head d_lru ;
|
|
union __anonunion_d_u_111 d_u ;
|
|
struct list_head d_subdirs ;
|
|
struct list_head d_alias ;
|
|
unsigned long d_time ;
|
|
struct dentry_operations const *d_op ;
|
|
struct super_block *d_sb ;
|
|
void *d_fsdata ;
|
|
unsigned char d_iname[32U] ;
|
|
};
|
|
#line 126 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
struct dentry_operations {
|
|
int (*d_revalidate)(struct dentry * , struct nameidata * ) ;
|
|
int (*d_hash)(struct dentry * , struct qstr * ) ;
|
|
int (*d_compare)(struct dentry * , struct qstr * , struct qstr * ) ;
|
|
int (*d_delete)(struct dentry * ) ;
|
|
void (*d_release)(struct dentry * ) ;
|
|
void (*d_iput)(struct dentry * , struct inode * ) ;
|
|
char *(*d_dname)(struct dentry * , char * , int ) ;
|
|
};
|
|
#line 382 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
struct path {
|
|
struct vfsmount *mnt ;
|
|
struct dentry *dentry ;
|
|
};
|
|
#line 55 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/radix-tree.h"
|
|
struct radix_tree_node;
|
|
#line 55 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/radix-tree.h"
|
|
struct radix_tree_root {
|
|
unsigned int height ;
|
|
gfp_t gfp_mask ;
|
|
struct radix_tree_node *rnode ;
|
|
};
|
|
#line 193
|
|
struct prio_tree_node;
|
|
#line 193 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/radix-tree.h"
|
|
struct raw_prio_tree_node {
|
|
struct prio_tree_node *left ;
|
|
struct prio_tree_node *right ;
|
|
struct prio_tree_node *parent ;
|
|
};
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/prio_tree.h"
|
|
struct prio_tree_node {
|
|
struct prio_tree_node *left ;
|
|
struct prio_tree_node *right ;
|
|
struct prio_tree_node *parent ;
|
|
unsigned long start ;
|
|
unsigned long last ;
|
|
};
|
|
#line 27 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/prio_tree.h"
|
|
struct prio_tree_root {
|
|
struct prio_tree_node *prio_tree_node ;
|
|
unsigned short index_bits ;
|
|
unsigned short raw ;
|
|
};
|
|
#line 111
|
|
enum pid_type {
|
|
PIDTYPE_PID = 0,
|
|
PIDTYPE_PGID = 1,
|
|
PIDTYPE_SID = 2,
|
|
PIDTYPE_MAX = 3
|
|
} ;
|
|
#line 118
|
|
struct pid_namespace;
|
|
#line 118 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/prio_tree.h"
|
|
struct upid {
|
|
int nr ;
|
|
struct pid_namespace *ns ;
|
|
struct hlist_node pid_chain ;
|
|
};
|
|
#line 56 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pid.h"
|
|
struct pid {
|
|
atomic_t count ;
|
|
unsigned int level ;
|
|
struct hlist_head tasks[3U] ;
|
|
struct rcu_head rcu ;
|
|
struct upid numbers[1U] ;
|
|
};
|
|
#line 68 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pid.h"
|
|
struct pid_link {
|
|
struct hlist_node node ;
|
|
struct pid *pid ;
|
|
};
|
|
#line 96 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/capability.h"
|
|
struct kernel_cap_struct {
|
|
__u32 cap[2U] ;
|
|
};
|
|
#line 99 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/capability.h"
|
|
typedef struct kernel_cap_struct kernel_cap_t;
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fiemap.h"
|
|
struct export_operations;
|
|
#line 40
|
|
struct iovec;
|
|
#line 41
|
|
struct kiocb;
|
|
#line 42
|
|
struct pipe_inode_info;
|
|
#line 43
|
|
struct poll_table_struct;
|
|
#line 44
|
|
struct kstatfs;
|
|
#line 45
|
|
struct cred;
|
|
#line 418 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct iattr {
|
|
unsigned int ia_valid ;
|
|
umode_t ia_mode ;
|
|
uid_t ia_uid ;
|
|
gid_t ia_gid ;
|
|
loff_t ia_size ;
|
|
struct timespec ia_atime ;
|
|
struct timespec ia_mtime ;
|
|
struct timespec ia_ctime ;
|
|
struct file *ia_file ;
|
|
};
|
|
#line 477 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct if_dqblk {
|
|
__u64 dqb_bhardlimit ;
|
|
__u64 dqb_bsoftlimit ;
|
|
__u64 dqb_curspace ;
|
|
__u64 dqb_ihardlimit ;
|
|
__u64 dqb_isoftlimit ;
|
|
__u64 dqb_curinodes ;
|
|
__u64 dqb_btime ;
|
|
__u64 dqb_itime ;
|
|
__u32 dqb_valid ;
|
|
};
|
|
#line 119 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.h"
|
|
struct if_dqinfo {
|
|
__u64 dqi_bgrace ;
|
|
__u64 dqi_igrace ;
|
|
__u32 dqi_flags ;
|
|
__u32 dqi_valid ;
|
|
};
|
|
#line 152 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.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 75 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dqblk_xfs.h"
|
|
struct fs_qfilestat {
|
|
__u64 qfs_ino ;
|
|
__u64 qfs_nblks ;
|
|
__u32 qfs_nextents ;
|
|
};
|
|
#line 141 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dqblk_xfs.h"
|
|
typedef struct fs_qfilestat fs_qfilestat_t;
|
|
#line 142 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/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 156
|
|
struct dquot;
|
|
#line 184 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.h"
|
|
typedef __kernel_uid32_t qid_t;
|
|
#line 185 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.h"
|
|
typedef long long qsize_t;
|
|
#line 188 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 210
|
|
struct quota_format_type;
|
|
#line 211 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 253 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 ;
|
|
unsigned int dq_id ;
|
|
loff_t dq_off ;
|
|
unsigned long dq_flags ;
|
|
short dq_type ;
|
|
struct mem_dqblk dq_dqb ;
|
|
};
|
|
#line 281 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 295 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.h"
|
|
struct dquot_operations {
|
|
int (*initialize)(struct inode * , int ) ;
|
|
int (*drop)(struct inode * ) ;
|
|
int (*alloc_space)(struct inode * , qsize_t , int ) ;
|
|
int (*alloc_inode)(struct inode const * , qsize_t ) ;
|
|
int (*free_space)(struct inode * , qsize_t ) ;
|
|
int (*free_inode)(struct inode const * , qsize_t ) ;
|
|
int (*transfer)(struct inode * , struct iattr * ) ;
|
|
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 ) ;
|
|
int (*reserve_space)(struct inode * , qsize_t , int ) ;
|
|
int (*claim_space)(struct inode * , qsize_t ) ;
|
|
void (*release_rsv)(struct inode * , qsize_t ) ;
|
|
qsize_t *(*get_reserved_space)(struct inode * ) ;
|
|
};
|
|
#line 322 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/quota.h"
|
|
struct quotactl_ops {
|
|
int (*quota_on)(struct super_block * , int , int , char * , int ) ;
|
|
int (*quota_off)(struct super_block * , int , 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 * , int , qid_t , struct if_dqblk * ) ;
|
|
int (*set_dqblk)(struct super_block * , int , qid_t , struct if_dqblk * ) ;
|
|
int (*get_xstate)(struct super_block * , struct fs_quota_stat * ) ;
|
|
int (*set_xstate)(struct super_block * , unsigned int , int ) ;
|
|
int (*get_xquota)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
|
|
int (*set_xquota)(struct super_block * , int , qid_t , struct fs_disk_quota * ) ;
|
|
};
|
|
#line 337 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 391 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 415
|
|
struct address_space;
|
|
#line 416
|
|
struct writeback_control;
|
|
#line 567 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
union __anonunion_arg_114 {
|
|
char *buf ;
|
|
void *data ;
|
|
};
|
|
#line 567 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct __anonstruct_read_descriptor_t_113 {
|
|
size_t written ;
|
|
size_t count ;
|
|
union __anonunion_arg_114 arg ;
|
|
int error ;
|
|
};
|
|
#line 567 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
typedef struct __anonstruct_read_descriptor_t_113 read_descriptor_t;
|
|
#line 570 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct address_space_operations {
|
|
int (*writepage)(struct page * , struct writeback_control * ) ;
|
|
int (*readpage)(struct file * , struct page * ) ;
|
|
void (*sync_page)(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 long ) ;
|
|
int (*releasepage)(struct page * , gfp_t ) ;
|
|
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 * ) ;
|
|
int (*launder_page)(struct page * ) ;
|
|
int (*is_partially_uptodate)(struct page * , read_descriptor_t * , unsigned long ) ;
|
|
int (*error_remove_page)(struct address_space * , struct page * ) ;
|
|
};
|
|
#line 619 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 prio_tree_root i_mmap ;
|
|
struct list_head i_mmap_nonlinear ;
|
|
spinlock_t i_mmap_lock ;
|
|
unsigned int truncate_count ;
|
|
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 ;
|
|
struct address_space *assoc_mapping ;
|
|
struct mutex unmap_mutex ;
|
|
};
|
|
#line 642
|
|
struct hd_struct;
|
|
#line 642
|
|
struct gendisk;
|
|
#line 642 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct block_device {
|
|
dev_t bd_dev ;
|
|
struct inode *bd_inode ;
|
|
struct super_block *bd_super ;
|
|
int bd_openers ;
|
|
struct mutex bd_mutex ;
|
|
struct list_head bd_inodes ;
|
|
void *bd_holder ;
|
|
int bd_holders ;
|
|
struct list_head bd_holder_list ;
|
|
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 list_head bd_list ;
|
|
unsigned long bd_private ;
|
|
int bd_fsfreeze_count ;
|
|
struct mutex bd_fsfreeze_mutex ;
|
|
};
|
|
#line 711
|
|
struct inode_operations;
|
|
#line 711
|
|
struct file_lock;
|
|
#line 711 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
union __anonunion____missing_field_name_115 {
|
|
struct pipe_inode_info *i_pipe ;
|
|
struct block_device *i_bdev ;
|
|
struct cdev *i_cdev ;
|
|
};
|
|
#line 711 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct inode {
|
|
struct hlist_node i_hash ;
|
|
struct list_head i_list ;
|
|
struct list_head i_sb_list ;
|
|
struct list_head i_dentry ;
|
|
unsigned long i_ino ;
|
|
atomic_t i_count ;
|
|
unsigned int i_nlink ;
|
|
uid_t i_uid ;
|
|
gid_t i_gid ;
|
|
dev_t i_rdev ;
|
|
unsigned int i_blkbits ;
|
|
u64 i_version ;
|
|
loff_t i_size ;
|
|
struct timespec i_atime ;
|
|
struct timespec i_mtime ;
|
|
struct timespec i_ctime ;
|
|
blkcnt_t i_blocks ;
|
|
unsigned short i_bytes ;
|
|
umode_t i_mode ;
|
|
spinlock_t i_lock ;
|
|
struct mutex i_mutex ;
|
|
struct rw_semaphore i_alloc_sem ;
|
|
struct inode_operations const *i_op ;
|
|
struct file_operations const *i_fop ;
|
|
struct super_block *i_sb ;
|
|
struct file_lock *i_flock ;
|
|
struct address_space *i_mapping ;
|
|
struct address_space i_data ;
|
|
struct list_head i_devices ;
|
|
union __anonunion____missing_field_name_115 __annonCompField20 ;
|
|
__u32 i_generation ;
|
|
__u32 i_fsnotify_mask ;
|
|
struct hlist_head i_fsnotify_mark_entries ;
|
|
struct list_head inotify_watches ;
|
|
struct mutex inotify_mutex ;
|
|
unsigned long i_state ;
|
|
unsigned long dirtied_when ;
|
|
unsigned int i_flags ;
|
|
atomic_t i_writecount ;
|
|
void *i_private ;
|
|
};
|
|
#line 879 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct fown_struct {
|
|
rwlock_t lock ;
|
|
struct pid *pid ;
|
|
enum pid_type pid_type ;
|
|
uid_t uid ;
|
|
uid_t euid ;
|
|
int signum ;
|
|
};
|
|
#line 887 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 910 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
union __anonunion_f_u_116 {
|
|
struct list_head fu_list ;
|
|
struct rcu_head fu_rcuhead ;
|
|
};
|
|
#line 910 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct file {
|
|
union __anonunion_f_u_116 f_u ;
|
|
struct path f_path ;
|
|
struct file_operations const *f_op ;
|
|
spinlock_t f_lock ;
|
|
atomic_long_t f_count ;
|
|
unsigned int f_flags ;
|
|
fmode_t f_mode ;
|
|
loff_t f_pos ;
|
|
struct fown_struct f_owner ;
|
|
struct cred const *f_cred ;
|
|
struct file_ra_state f_ra ;
|
|
u64 f_version ;
|
|
void *private_data ;
|
|
struct list_head f_ep_links ;
|
|
struct address_space *f_mapping ;
|
|
};
|
|
#line 1033
|
|
struct files_struct;
|
|
#line 1033 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
typedef struct files_struct *fl_owner_t;
|
|
#line 1034 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 1039 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct lock_manager_operations {
|
|
int (*fl_compare_owner)(struct file_lock * , struct file_lock * ) ;
|
|
void (*fl_notify)(struct file_lock * ) ;
|
|
int (*fl_grant)(struct file_lock * , struct file_lock * , int ) ;
|
|
void (*fl_copy_lock)(struct file_lock * , struct file_lock * ) ;
|
|
void (*fl_release_private)(struct file_lock * ) ;
|
|
void (*fl_break)(struct file_lock * ) ;
|
|
int (*fl_mylease)(struct file_lock * , struct file_lock * ) ;
|
|
int (*fl_change)(struct file_lock ** , int ) ;
|
|
};
|
|
#line 162 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs.h"
|
|
struct nlm_lockowner;
|
|
#line 163 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs.h"
|
|
struct nfs_lock_info {
|
|
u32 state ;
|
|
struct nlm_lockowner *owner ;
|
|
struct list_head list ;
|
|
};
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs_fs_i.h"
|
|
struct nfs4_lock_state;
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs_fs_i.h"
|
|
struct nfs4_lock_info {
|
|
struct nfs4_lock_state *owner ;
|
|
};
|
|
#line 23
|
|
struct fasync_struct;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs_fs_i.h"
|
|
struct __anonstruct_afs_118 {
|
|
struct list_head link ;
|
|
int state ;
|
|
};
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs_fs_i.h"
|
|
union __anonunion_fl_u_117 {
|
|
struct nfs_lock_info nfs_fl ;
|
|
struct nfs4_lock_info nfs4_fl ;
|
|
struct __anonstruct_afs_118 afs ;
|
|
};
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/nfs_fs_i.h"
|
|
struct file_lock {
|
|
struct file_lock *fl_next ;
|
|
struct list_head fl_link ;
|
|
struct list_head fl_block ;
|
|
fl_owner_t fl_owner ;
|
|
unsigned char fl_flags ;
|
|
unsigned char fl_type ;
|
|
unsigned int fl_pid ;
|
|
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 ;
|
|
struct file_lock_operations const *fl_ops ;
|
|
struct lock_manager_operations const *fl_lmops ;
|
|
union __anonunion_fl_u_117 fl_u ;
|
|
};
|
|
#line 1138 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct fasync_struct {
|
|
int magic ;
|
|
int fa_fd ;
|
|
struct fasync_struct *fa_next ;
|
|
struct file *fa_file ;
|
|
};
|
|
#line 1317
|
|
struct file_system_type;
|
|
#line 1317
|
|
struct super_operations;
|
|
#line 1317
|
|
struct xattr_handler;
|
|
#line 1317
|
|
struct mtd_info;
|
|
#line 1317 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct super_block {
|
|
struct list_head s_list ;
|
|
dev_t s_dev ;
|
|
unsigned long s_blocksize ;
|
|
unsigned char s_blocksize_bits ;
|
|
unsigned char s_dirt ;
|
|
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 ;
|
|
struct mutex s_lock ;
|
|
int s_count ;
|
|
int s_need_sync ;
|
|
atomic_t s_active ;
|
|
struct xattr_handler **s_xattr ;
|
|
struct list_head s_inodes ;
|
|
struct hlist_head s_anon ;
|
|
struct list_head s_files ;
|
|
struct list_head s_dentry_lru ;
|
|
int s_nr_dentry_unused ;
|
|
struct block_device *s_bdev ;
|
|
struct backing_dev_info *s_bdi ;
|
|
struct mtd_info *s_mtd ;
|
|
struct list_head s_instances ;
|
|
struct quota_info s_dquot ;
|
|
int s_frozen ;
|
|
wait_queue_head_t s_wait_unfrozen ;
|
|
char s_id[32U] ;
|
|
void *s_fs_info ;
|
|
fmode_t s_mode ;
|
|
struct mutex s_vfs_rename_mutex ;
|
|
u32 s_time_gran ;
|
|
char *s_subtype ;
|
|
char *s_options ;
|
|
};
|
|
#line 1435 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 1474 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 (*readdir)(struct file * , void * , int (*)(void * , char const * , int ,
|
|
loff_t , u64 , unsigned int ) ) ;
|
|
unsigned int (*poll)(struct file * , struct poll_table_struct * ) ;
|
|
int (*ioctl)(struct inode * , struct file * , unsigned int , unsigned long ) ;
|
|
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 * , struct dentry * , 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 ** ) ;
|
|
};
|
|
#line 1514 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct inode_operations {
|
|
int (*create)(struct inode * , struct dentry * , int , struct nameidata * ) ;
|
|
struct dentry *(*lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
|
|
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 * , int ) ;
|
|
int (*rmdir)(struct inode * , struct dentry * ) ;
|
|
int (*mknod)(struct inode * , struct dentry * , int , dev_t ) ;
|
|
int (*rename)(struct inode * , struct dentry * , struct inode * , struct dentry * ) ;
|
|
int (*readlink)(struct dentry * , char * , int ) ;
|
|
void *(*follow_link)(struct dentry * , struct nameidata * ) ;
|
|
void (*put_link)(struct dentry * , struct nameidata * , void * ) ;
|
|
void (*truncate)(struct inode * ) ;
|
|
int (*permission)(struct inode * , int ) ;
|
|
int (*check_acl)(struct inode * , int ) ;
|
|
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 * ) ;
|
|
void (*truncate_range)(struct inode * , loff_t , loff_t ) ;
|
|
long (*fallocate)(struct inode * , int , loff_t , loff_t ) ;
|
|
int (*fiemap)(struct inode * , struct fiemap_extent_info * , u64 , u64 ) ;
|
|
};
|
|
#line 1557 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 (*write_inode)(struct inode * , int ) ;
|
|
void (*drop_inode)(struct inode * ) ;
|
|
void (*delete_inode)(struct inode * ) ;
|
|
void (*put_super)(struct super_block * ) ;
|
|
void (*write_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 (*clear_inode)(struct inode * ) ;
|
|
void (*umount_begin)(struct super_block * ) ;
|
|
int (*show_options)(struct seq_file * , struct vfsmount * ) ;
|
|
int (*show_stats)(struct seq_file * , struct vfsmount * ) ;
|
|
int (*bdev_try_to_free_page)(struct super_block * , struct page * , gfp_t ) ;
|
|
};
|
|
#line 1735 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct file_system_type {
|
|
char const *name ;
|
|
int fs_flags ;
|
|
int (*get_sb)(struct file_system_type * , int , char const * , void * , struct vfsmount * ) ;
|
|
void (*kill_sb)(struct super_block * ) ;
|
|
struct module *owner ;
|
|
struct file_system_type *next ;
|
|
struct list_head fs_supers ;
|
|
struct lock_class_key s_lock_key ;
|
|
struct lock_class_key s_umount_key ;
|
|
struct lock_class_key i_lock_key ;
|
|
struct lock_class_key i_mutex_key ;
|
|
struct lock_class_key i_mutex_dir_key ;
|
|
struct lock_class_key i_alloc_sem_key ;
|
|
};
|
|
#line 2192
|
|
struct bio;
|
|
#line 2473 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
struct rb_node {
|
|
unsigned long rb_parent_color ;
|
|
struct rb_node *rb_right ;
|
|
struct rb_node *rb_left ;
|
|
};
|
|
#line 108 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rbtree.h"
|
|
struct rb_root {
|
|
struct rb_node *rb_node ;
|
|
};
|
|
#line 28 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
typedef atomic_long_t mm_counter_t;
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct __anonstruct____missing_field_name_120 {
|
|
u16 inuse ;
|
|
u16 objects ;
|
|
};
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
union __anonunion____missing_field_name_119 {
|
|
atomic_t _mapcount ;
|
|
struct __anonstruct____missing_field_name_120 __annonCompField21 ;
|
|
};
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct __anonstruct____missing_field_name_122 {
|
|
unsigned long private ;
|
|
struct address_space *mapping ;
|
|
};
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
union __anonunion____missing_field_name_121 {
|
|
struct __anonstruct____missing_field_name_122 __annonCompField23 ;
|
|
spinlock_t ptl ;
|
|
struct kmem_cache *slab ;
|
|
struct page *first_page ;
|
|
};
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
union __anonunion____missing_field_name_123 {
|
|
unsigned long index ;
|
|
void *freelist ;
|
|
};
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct page {
|
|
unsigned long flags ;
|
|
atomic_t _count ;
|
|
union __anonunion____missing_field_name_119 __annonCompField22 ;
|
|
union __anonunion____missing_field_name_121 __annonCompField24 ;
|
|
union __anonunion____missing_field_name_123 __annonCompField25 ;
|
|
struct list_head lru ;
|
|
};
|
|
#line 128 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct __anonstruct_vm_set_125 {
|
|
struct list_head list ;
|
|
void *parent ;
|
|
struct vm_area_struct *head ;
|
|
};
|
|
#line 128 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
union __anonunion_shared_124 {
|
|
struct __anonstruct_vm_set_125 vm_set ;
|
|
struct raw_prio_tree_node prio_tree_node ;
|
|
};
|
|
#line 128
|
|
struct anon_vma;
|
|
#line 128
|
|
struct vm_operations_struct;
|
|
#line 128
|
|
struct mempolicy;
|
|
#line 128 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct vm_area_struct {
|
|
struct mm_struct *vm_mm ;
|
|
unsigned long vm_start ;
|
|
unsigned long vm_end ;
|
|
struct vm_area_struct *vm_next ;
|
|
pgprot_t vm_page_prot ;
|
|
unsigned long vm_flags ;
|
|
struct rb_node vm_rb ;
|
|
union __anonunion_shared_124 shared ;
|
|
struct list_head anon_vma_node ;
|
|
struct anon_vma *anon_vma ;
|
|
struct vm_operations_struct const *vm_ops ;
|
|
unsigned long vm_pgoff ;
|
|
struct file *vm_file ;
|
|
void *vm_private_data ;
|
|
unsigned long vm_truncate_count ;
|
|
struct mempolicy *vm_policy ;
|
|
};
|
|
#line 191 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct core_thread {
|
|
struct task_struct *task ;
|
|
struct core_thread *next ;
|
|
};
|
|
#line 197 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct core_state {
|
|
atomic_t nr_threads ;
|
|
struct core_thread dumper ;
|
|
struct completion startup ;
|
|
};
|
|
#line 203
|
|
struct linux_binfmt;
|
|
#line 203 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm_types.h"
|
|
struct mm_struct {
|
|
struct vm_area_struct *mmap ;
|
|
struct rb_root mm_rb ;
|
|
struct vm_area_struct *mmap_cache ;
|
|
unsigned long (*get_unmapped_area)(struct file * , unsigned long , unsigned long ,
|
|
unsigned long , unsigned long ) ;
|
|
void (*unmap_area)(struct mm_struct * , unsigned long ) ;
|
|
unsigned long mmap_base ;
|
|
unsigned long task_size ;
|
|
unsigned long cached_hole_size ;
|
|
unsigned long free_area_cache ;
|
|
pgd_t *pgd ;
|
|
atomic_t mm_users ;
|
|
atomic_t mm_count ;
|
|
int map_count ;
|
|
struct rw_semaphore mmap_sem ;
|
|
spinlock_t page_table_lock ;
|
|
struct list_head mmlist ;
|
|
mm_counter_t _file_rss ;
|
|
mm_counter_t _anon_rss ;
|
|
unsigned long hiwater_rss ;
|
|
unsigned long hiwater_vm ;
|
|
unsigned long total_vm ;
|
|
unsigned long locked_vm ;
|
|
unsigned long shared_vm ;
|
|
unsigned long exec_vm ;
|
|
unsigned long stack_vm ;
|
|
unsigned long reserved_vm ;
|
|
unsigned long def_flags ;
|
|
unsigned long nr_ptes ;
|
|
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[44U] ;
|
|
struct linux_binfmt *binfmt ;
|
|
cpumask_t cpu_vm_mask ;
|
|
mm_context_t context ;
|
|
unsigned int faultstamp ;
|
|
unsigned int token_priority ;
|
|
unsigned int last_interval ;
|
|
unsigned long flags ;
|
|
struct core_state *core_state ;
|
|
spinlock_t ioctx_lock ;
|
|
struct hlist_head ioctx_list ;
|
|
struct file *exe_file ;
|
|
unsigned long num_exe_file_vmas ;
|
|
};
|
|
#line 291
|
|
struct user_struct;
|
|
#line 292
|
|
struct rlimit;
|
|
#line 157 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mm.h"
|
|
struct vm_fault {
|
|
unsigned int flags ;
|
|
unsigned long pgoff ;
|
|
void *virtual_address ;
|
|
struct page *page ;
|
|
};
|
|
#line 174 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 ) ;
|
|
};
|
|
#line 146 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/irq.h"
|
|
struct irqaction;
|
|
#line 454 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pagemap.h"
|
|
struct open_intent {
|
|
int flags ;
|
|
int create_mode ;
|
|
struct file *file ;
|
|
};
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/namei.h"
|
|
union __anonunion_intent_127 {
|
|
struct open_intent open ;
|
|
};
|
|
#line 19 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/namei.h"
|
|
struct nameidata {
|
|
struct path path ;
|
|
struct qstr last ;
|
|
struct path root ;
|
|
unsigned int flags ;
|
|
int last_type ;
|
|
unsigned int depth ;
|
|
char *saved_names[9U] ;
|
|
union __anonunion_intent_127 intent ;
|
|
};
|
|
#line 98 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/namei.h"
|
|
struct percpu_counter {
|
|
spinlock_t lock ;
|
|
s64 count ;
|
|
s32 *counters ;
|
|
};
|
|
#line 45 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/proportions.h"
|
|
struct prop_local_percpu {
|
|
struct percpu_counter events ;
|
|
int shift ;
|
|
unsigned long period ;
|
|
spinlock_t lock ;
|
|
};
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/proportions.h"
|
|
struct prop_local_single {
|
|
unsigned long events ;
|
|
unsigned long period ;
|
|
int shift ;
|
|
spinlock_t lock ;
|
|
};
|
|
#line 7 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/cputime.h"
|
|
typedef unsigned long cputime_t;
|
|
#line 116 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sem.h"
|
|
struct sem_undo_list;
|
|
#line 129 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sem.h"
|
|
struct sem_undo_list {
|
|
atomic_t refcnt ;
|
|
spinlock_t lock ;
|
|
struct list_head list_proc ;
|
|
};
|
|
#line 138 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sem.h"
|
|
struct sysv_sem {
|
|
struct sem_undo_list *undo_list ;
|
|
};
|
|
#line 147
|
|
struct siginfo;
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/signal.h"
|
|
struct __anonstruct_sigset_t_128 {
|
|
unsigned long sig[1U] ;
|
|
};
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/signal.h"
|
|
typedef struct __anonstruct_sigset_t_128 sigset_t;
|
|
#line 17 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/signal-defs.h"
|
|
typedef void __signalfn_t(int );
|
|
#line 18 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/signal-defs.h"
|
|
typedef __signalfn_t *__sighandler_t;
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/signal-defs.h"
|
|
typedef void __restorefn_t(void);
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/signal-defs.h"
|
|
typedef __restorefn_t *__sigrestore_t;
|
|
#line 126 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/signal.h"
|
|
struct sigaction {
|
|
__sighandler_t sa_handler ;
|
|
unsigned long sa_flags ;
|
|
__sigrestore_t sa_restorer ;
|
|
sigset_t sa_mask ;
|
|
};
|
|
#line 173 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/signal.h"
|
|
struct k_sigaction {
|
|
struct sigaction sa ;
|
|
};
|
|
#line 185 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/signal.h"
|
|
union sigval {
|
|
int sival_int ;
|
|
void *sival_ptr ;
|
|
};
|
|
#line 10 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
typedef union sigval sigval_t;
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__kill_130 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__timer_131 {
|
|
__kernel_timer_t _tid ;
|
|
int _overrun ;
|
|
char _pad[0U] ;
|
|
sigval_t _sigval ;
|
|
int _sys_private ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__rt_132 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
sigval_t _sigval ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigchld_133 {
|
|
__kernel_pid_t _pid ;
|
|
__kernel_uid32_t _uid ;
|
|
int _status ;
|
|
__kernel_clock_t _utime ;
|
|
__kernel_clock_t _stime ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigfault_134 {
|
|
void *_addr ;
|
|
short _addr_lsb ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct __anonstruct__sigpoll_135 {
|
|
long _band ;
|
|
int _fd ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
union __anonunion__sifields_129 {
|
|
int _pad[28U] ;
|
|
struct __anonstruct__kill_130 _kill ;
|
|
struct __anonstruct__timer_131 _timer ;
|
|
struct __anonstruct__rt_132 _rt ;
|
|
struct __anonstruct__sigchld_133 _sigchld ;
|
|
struct __anonstruct__sigfault_134 _sigfault ;
|
|
struct __anonstruct__sigpoll_135 _sigpoll ;
|
|
};
|
|
#line 11 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
struct siginfo {
|
|
int si_signo ;
|
|
int si_errno ;
|
|
int si_code ;
|
|
union __anonunion__sifields_129 _sifields ;
|
|
};
|
|
#line 94 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/siginfo.h"
|
|
typedef struct siginfo siginfo_t;
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/signal.h"
|
|
struct sigpending {
|
|
struct list_head list ;
|
|
sigset_t signal ;
|
|
};
|
|
#line 26 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/seccomp.h"
|
|
struct __anonstruct_seccomp_t_138 {
|
|
|
|
};
|
|
#line 26 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/seccomp.h"
|
|
typedef struct __anonstruct_seccomp_t_138 seccomp_t;
|
|
#line 39 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/seccomp.h"
|
|
struct plist_head {
|
|
struct list_head prio_list ;
|
|
struct list_head node_list ;
|
|
};
|
|
#line 84 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/plist.h"
|
|
struct plist_node {
|
|
int prio ;
|
|
struct plist_head plist ;
|
|
};
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rtmutex.h"
|
|
struct rt_mutex_waiter;
|
|
#line 40 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/resource.h"
|
|
struct rlimit {
|
|
unsigned long rlim_cur ;
|
|
unsigned long rlim_max ;
|
|
};
|
|
#line 76
|
|
struct hrtimer_clock_base;
|
|
#line 77
|
|
struct hrtimer_cpu_base;
|
|
#line 86
|
|
enum hrtimer_restart {
|
|
HRTIMER_NORESTART = 0,
|
|
HRTIMER_RESTART = 1
|
|
} ;
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/resource.h"
|
|
struct hrtimer {
|
|
struct rb_node node ;
|
|
ktime_t _expires ;
|
|
ktime_t _softexpires ;
|
|
enum hrtimer_restart (*function)(struct hrtimer * ) ;
|
|
struct hrtimer_clock_base *base ;
|
|
unsigned long state ;
|
|
};
|
|
#line 128 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/hrtimer.h"
|
|
struct hrtimer_clock_base {
|
|
struct hrtimer_cpu_base *cpu_base ;
|
|
clockid_t index ;
|
|
struct rb_root active ;
|
|
struct rb_node *first ;
|
|
ktime_t resolution ;
|
|
ktime_t (*get_time)(void) ;
|
|
ktime_t softirq_time ;
|
|
ktime_t offset ;
|
|
};
|
|
#line 152 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/hrtimer.h"
|
|
struct hrtimer_cpu_base {
|
|
raw_spinlock_t lock ;
|
|
struct hrtimer_clock_base clock_base[2U] ;
|
|
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 ;
|
|
};
|
|
#line 442 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/hrtimer.h"
|
|
struct task_io_accounting {
|
|
|
|
};
|
|
#line 839 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysctl.h"
|
|
struct nsproxy;
|
|
#line 34 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/key.h"
|
|
struct audit_context;
|
|
#line 96 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/selinux.h"
|
|
struct group_info {
|
|
atomic_t usage ;
|
|
int ngroups ;
|
|
int nblocks ;
|
|
gid_t small_block[32U] ;
|
|
gid_t *blocks[0U] ;
|
|
};
|
|
#line 77 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/cred.h"
|
|
struct cred {
|
|
atomic_t usage ;
|
|
uid_t uid ;
|
|
gid_t gid ;
|
|
uid_t suid ;
|
|
gid_t sgid ;
|
|
uid_t euid ;
|
|
gid_t egid ;
|
|
uid_t fsuid ;
|
|
gid_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 ;
|
|
struct user_struct *user ;
|
|
struct group_info *group_info ;
|
|
struct rcu_head rcu ;
|
|
};
|
|
#line 264
|
|
struct futex_pi_state;
|
|
#line 265
|
|
struct robust_list_head;
|
|
#line 266
|
|
struct fs_struct;
|
|
#line 267
|
|
struct bts_context;
|
|
#line 268
|
|
struct perf_event_context;
|
|
#line 361 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct user_namespace;
|
|
#line 44 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/aio_abi.h"
|
|
struct io_event {
|
|
__u64 data ;
|
|
__u64 obj ;
|
|
__s64 res ;
|
|
__s64 res2 ;
|
|
};
|
|
#line 106 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/aio_abi.h"
|
|
struct iovec {
|
|
void *iov_base ;
|
|
__kernel_size_t iov_len ;
|
|
};
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/uio.h"
|
|
struct kioctx;
|
|
#line 55 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/uio.h"
|
|
union __anonunion_ki_obj_139 {
|
|
void *user ;
|
|
struct task_struct *tsk ;
|
|
};
|
|
#line 55
|
|
struct eventfd_ctx;
|
|
#line 55 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/uio.h"
|
|
struct kiocb {
|
|
struct list_head ki_run_list ;
|
|
unsigned long ki_flags ;
|
|
int ki_users ;
|
|
unsigned int ki_key ;
|
|
struct file *ki_filp ;
|
|
struct kioctx *ki_ctx ;
|
|
int (*ki_cancel)(struct kiocb * , struct io_event * ) ;
|
|
ssize_t (*ki_retry)(struct kiocb * ) ;
|
|
void (*ki_dtor)(struct kiocb * ) ;
|
|
union __anonunion_ki_obj_139 ki_obj ;
|
|
__u64 ki_user_data ;
|
|
loff_t ki_pos ;
|
|
void *private ;
|
|
unsigned short ki_opcode ;
|
|
size_t ki_nbytes ;
|
|
char *ki_buf ;
|
|
size_t ki_left ;
|
|
struct iovec ki_inline_vec ;
|
|
struct iovec *ki_iovec ;
|
|
unsigned long ki_nr_segs ;
|
|
unsigned long ki_cur_seg ;
|
|
struct list_head ki_list ;
|
|
struct eventfd_ctx *ki_eventfd ;
|
|
};
|
|
#line 161 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/aio.h"
|
|
struct aio_ring_info {
|
|
unsigned long mmap_base ;
|
|
unsigned long mmap_size ;
|
|
struct page **ring_pages ;
|
|
spinlock_t ring_lock ;
|
|
long nr_pages ;
|
|
unsigned int nr ;
|
|
unsigned int tail ;
|
|
struct page *internal_pages[8U] ;
|
|
};
|
|
#line 177 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/aio.h"
|
|
struct kioctx {
|
|
atomic_t users ;
|
|
int dead ;
|
|
struct mm_struct *mm ;
|
|
unsigned long user_id ;
|
|
struct hlist_node list ;
|
|
wait_queue_head_t wait ;
|
|
spinlock_t ctx_lock ;
|
|
int reqs_active ;
|
|
struct list_head active_reqs ;
|
|
struct list_head run_list ;
|
|
unsigned int max_reqs ;
|
|
struct aio_ring_info ring_info ;
|
|
struct delayed_work wq ;
|
|
struct rcu_head rcu_head ;
|
|
};
|
|
#line 456 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 506 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct cpu_itimer {
|
|
cputime_t expires ;
|
|
cputime_t incr ;
|
|
u32 error ;
|
|
u32 incr_error ;
|
|
};
|
|
#line 513 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct task_cputime {
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
unsigned long long sum_exec_runtime ;
|
|
};
|
|
#line 530 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct thread_group_cputimer {
|
|
struct task_cputime cputime ;
|
|
int running ;
|
|
spinlock_t lock ;
|
|
};
|
|
#line 566
|
|
struct tty_struct;
|
|
#line 566 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct signal_struct {
|
|
atomic_t count ;
|
|
atomic_t live ;
|
|
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 ;
|
|
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 ;
|
|
cputime_t utime ;
|
|
cputime_t stime ;
|
|
cputime_t cutime ;
|
|
cputime_t cstime ;
|
|
cputime_t gtime ;
|
|
cputime_t cgtime ;
|
|
cputime_t prev_utime ;
|
|
cputime_t prev_stime ;
|
|
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] ;
|
|
int oom_adj ;
|
|
};
|
|
#line 711 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 epoll_watches ;
|
|
unsigned long mq_bytes ;
|
|
unsigned long locked_shm ;
|
|
struct hlist_node uidhash_node ;
|
|
uid_t uid ;
|
|
struct user_namespace *user_ns ;
|
|
atomic_long_t locked_vm ;
|
|
};
|
|
#line 761
|
|
struct reclaim_state;
|
|
#line 827
|
|
enum cpu_idle_type {
|
|
CPU_IDLE = 0,
|
|
CPU_NOT_IDLE = 1,
|
|
CPU_NEWLY_IDLE = 2,
|
|
CPU_MAX_IDLE_TYPES = 3
|
|
} ;
|
|
#line 908 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct sched_group {
|
|
struct sched_group *next ;
|
|
unsigned int cpu_power ;
|
|
unsigned long cpumask[0U] ;
|
|
};
|
|
#line 935
|
|
enum sched_domain_level {
|
|
SD_LV_NONE = 0,
|
|
SD_LV_SIBLING = 1,
|
|
SD_LV_MC = 2,
|
|
SD_LV_CPU = 3,
|
|
SD_LV_NODE = 4,
|
|
SD_LV_ALLNODES = 5,
|
|
SD_LV_MAX = 6
|
|
} ;
|
|
#line 949 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct sched_domain {
|
|
struct sched_domain *parent ;
|
|
struct sched_domain *child ;
|
|
struct sched_group *groups ;
|
|
unsigned long min_interval ;
|
|
unsigned long max_interval ;
|
|
unsigned int busy_factor ;
|
|
unsigned int imbalance_pct ;
|
|
unsigned int cache_nice_tries ;
|
|
unsigned int busy_idx ;
|
|
unsigned int idle_idx ;
|
|
unsigned int newidle_idx ;
|
|
unsigned int wake_idx ;
|
|
unsigned int forkexec_idx ;
|
|
unsigned int smt_gain ;
|
|
int flags ;
|
|
enum sched_domain_level level ;
|
|
unsigned long last_balance ;
|
|
unsigned int balance_interval ;
|
|
unsigned int nr_balance_failed ;
|
|
u64 last_update ;
|
|
unsigned long span[0U] ;
|
|
};
|
|
#line 1051
|
|
struct io_context;
|
|
#line 1074
|
|
struct rq;
|
|
#line 1075 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct sched_class {
|
|
struct sched_class const *next ;
|
|
void (*enqueue_task)(struct rq * , struct task_struct * , int ) ;
|
|
void (*dequeue_task)(struct rq * , struct task_struct * , int ) ;
|
|
void (*yield_task)(struct rq * ) ;
|
|
void (*check_preempt_curr)(struct rq * , struct task_struct * , int ) ;
|
|
struct task_struct *(*pick_next_task)(struct rq * ) ;
|
|
void (*put_prev_task)(struct rq * , struct task_struct * ) ;
|
|
int (*select_task_rq)(struct task_struct * , int , int ) ;
|
|
unsigned long (*load_balance)(struct rq * , int , struct rq * , unsigned long ,
|
|
struct sched_domain * , enum cpu_idle_type , int * ,
|
|
int * ) ;
|
|
int (*move_one_task)(struct rq * , int , struct rq * , struct sched_domain * ,
|
|
enum cpu_idle_type ) ;
|
|
void (*pre_schedule)(struct rq * , struct task_struct * ) ;
|
|
void (*post_schedule)(struct rq * ) ;
|
|
void (*task_waking)(struct rq * , struct task_struct * ) ;
|
|
void (*task_woken)(struct rq * , struct task_struct * ) ;
|
|
void (*set_cpus_allowed)(struct task_struct * , struct cpumask const * ) ;
|
|
void (*rq_online)(struct rq * ) ;
|
|
void (*rq_offline)(struct rq * ) ;
|
|
void (*set_curr_task)(struct rq * ) ;
|
|
void (*task_tick)(struct rq * , struct task_struct * , int ) ;
|
|
void (*task_fork)(struct task_struct * ) ;
|
|
void (*switched_from)(struct rq * , struct task_struct * , int ) ;
|
|
void (*switched_to)(struct rq * , struct task_struct * , int ) ;
|
|
void (*prio_changed)(struct rq * , struct task_struct * , int , int ) ;
|
|
unsigned int (*get_rr_interval)(struct rq * , struct task_struct * ) ;
|
|
};
|
|
#line 1135 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct load_weight {
|
|
unsigned long weight ;
|
|
unsigned long inv_weight ;
|
|
};
|
|
#line 1144 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 last_wakeup ;
|
|
u64 avg_overlap ;
|
|
u64 nr_migrations ;
|
|
u64 start_runtime ;
|
|
u64 avg_wakeup ;
|
|
};
|
|
#line 1174 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct sched_rt_entity {
|
|
struct list_head run_list ;
|
|
unsigned long timeout ;
|
|
unsigned int time_slice ;
|
|
int nr_cpus_allowed ;
|
|
struct sched_rt_entity *back ;
|
|
};
|
|
#line 1226
|
|
struct compat_robust_list_head;
|
|
#line 1226 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sched.h"
|
|
struct task_struct {
|
|
long volatile state ;
|
|
void *stack ;
|
|
atomic_t usage ;
|
|
unsigned int flags ;
|
|
unsigned int ptrace ;
|
|
int lock_depth ;
|
|
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 ;
|
|
unsigned char fpu_counter ;
|
|
unsigned int policy ;
|
|
cpumask_t cpus_allowed ;
|
|
struct list_head tasks ;
|
|
struct plist_node pushable_tasks ;
|
|
struct mm_struct *mm ;
|
|
struct mm_struct *active_mm ;
|
|
int exit_state ;
|
|
int exit_code ;
|
|
int exit_signal ;
|
|
int pdeath_signal ;
|
|
unsigned int personality ;
|
|
unsigned int did_exec : 1 ;
|
|
unsigned int in_execve : 1 ;
|
|
unsigned int in_iowait : 1 ;
|
|
unsigned int sched_reset_on_fork : 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 bts_context *bts ;
|
|
struct pid_link pids[3U] ;
|
|
struct list_head thread_group ;
|
|
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 ;
|
|
cputime_t prev_utime ;
|
|
cputime_t prev_stime ;
|
|
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 ;
|
|
struct mutex cred_guard_mutex ;
|
|
struct cred *replacement_session_keyring ;
|
|
char comm[16U] ;
|
|
int link_count ;
|
|
int total_link_count ;
|
|
struct sysv_sem sysvsem ;
|
|
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 audit_context *audit_context ;
|
|
seccomp_t seccomp ;
|
|
u32 parent_exec_id ;
|
|
u32 self_exec_id ;
|
|
spinlock_t alloc_lock ;
|
|
struct irqaction *irqaction ;
|
|
raw_spinlock_t pi_lock ;
|
|
struct plist_head pi_waiters ;
|
|
struct rt_mutex_waiter *pi_blocked_on ;
|
|
void *journal_info ;
|
|
struct bio *bio_list ;
|
|
struct bio **bio_tail ;
|
|
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 ;
|
|
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 ;
|
|
struct mutex perf_event_mutex ;
|
|
struct list_head perf_event_list ;
|
|
struct mempolicy *mempolicy ;
|
|
short il_next ;
|
|
atomic_t fs_excl ;
|
|
struct rcu_head rcu ;
|
|
struct pipe_inode_info *splice_pipe ;
|
|
struct prop_local_single dirties ;
|
|
unsigned long timer_slack_ns ;
|
|
unsigned long default_timer_slack_ns ;
|
|
struct list_head *scm_work_list ;
|
|
atomic_t ptrace_bp_refcnt ;
|
|
};
|
|
#line 15 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/writeback.h"
|
|
enum writeback_sync_modes {
|
|
WB_SYNC_NONE = 0,
|
|
WB_SYNC_ALL = 1
|
|
} ;
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/writeback.h"
|
|
struct writeback_control {
|
|
struct backing_dev_info *bdi ;
|
|
struct super_block *sb ;
|
|
enum writeback_sync_modes sync_mode ;
|
|
unsigned long *older_than_this ;
|
|
long nr_to_write ;
|
|
long pages_skipped ;
|
|
loff_t range_start ;
|
|
loff_t range_end ;
|
|
unsigned int nonblocking : 1 ;
|
|
unsigned int encountered_congestion : 1 ;
|
|
unsigned int for_kupdate : 1 ;
|
|
unsigned int for_background : 1 ;
|
|
unsigned int for_reclaim : 1 ;
|
|
unsigned int range_cyclic : 1 ;
|
|
unsigned int more_io : 1 ;
|
|
unsigned int no_nrwrite_index_update : 1 ;
|
|
};
|
|
#line 66
|
|
struct bdi_writeback;
|
|
#line 36 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/backing-dev.h"
|
|
typedef int congested_fn(void * , int );
|
|
#line 43 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/backing-dev.h"
|
|
struct bdi_writeback {
|
|
struct list_head list ;
|
|
struct backing_dev_info *bdi ;
|
|
unsigned int nr ;
|
|
unsigned long last_old_flush ;
|
|
struct task_struct *task ;
|
|
struct list_head b_dirty ;
|
|
struct list_head b_io ;
|
|
struct list_head b_more_io ;
|
|
};
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/backing-dev.h"
|
|
struct backing_dev_info {
|
|
struct list_head bdi_list ;
|
|
struct rcu_head rcu_head ;
|
|
unsigned long ra_pages ;
|
|
unsigned long state ;
|
|
unsigned int capabilities ;
|
|
congested_fn *congested_fn ;
|
|
void *congested_data ;
|
|
void (*unplug_io_fn)(struct backing_dev_info * , struct page * ) ;
|
|
void *unplug_io_data ;
|
|
char *name ;
|
|
struct percpu_counter bdi_stat[2U] ;
|
|
struct prop_local_percpu completions ;
|
|
int dirty_exceeded ;
|
|
unsigned int min_ratio ;
|
|
unsigned int max_ratio ;
|
|
unsigned int max_prop_frac ;
|
|
struct bdi_writeback wb ;
|
|
spinlock_t wb_lock ;
|
|
struct list_head wb_list ;
|
|
unsigned long wb_mask ;
|
|
unsigned int wb_cnt ;
|
|
struct list_head work_list ;
|
|
struct device *dev ;
|
|
};
|
|
#line 348
|
|
struct configfs_attribute;
|
|
#line 121 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct configfs_attribute {
|
|
char const *ca_name ;
|
|
struct module *ca_owner ;
|
|
mode_t ca_mode ;
|
|
};
|
|
#line 259 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct configfs_dirent {
|
|
atomic_t s_count ;
|
|
int s_dependent_count ;
|
|
struct list_head s_sibling ;
|
|
struct list_head s_children ;
|
|
struct list_head s_links ;
|
|
void *s_element ;
|
|
int s_type ;
|
|
umode_t s_mode ;
|
|
struct dentry *s_dentry ;
|
|
struct iattr *s_iattr ;
|
|
};
|
|
#line 51 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/irq.h"
|
|
struct ldv_thread;
|
|
#line 454 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pagemap.h"
|
|
struct configfs_item_operations;
|
|
#line 455
|
|
struct configfs_group_operations;
|
|
#line 457
|
|
struct configfs_subsystem;
|
|
#line 458
|
|
struct config_group;
|
|
#line 458
|
|
struct config_item_type;
|
|
#line 458 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pagemap.h"
|
|
struct config_item {
|
|
char *ci_name ;
|
|
char ci_namebuf[20U] ;
|
|
struct kref ci_kref ;
|
|
struct list_head ci_entry ;
|
|
struct config_item *ci_parent ;
|
|
struct config_group *ci_group ;
|
|
struct config_item_type *ci_type ;
|
|
struct dentry *ci_dentry ;
|
|
};
|
|
#line 81 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct config_item_type {
|
|
struct module *ct_owner ;
|
|
struct configfs_item_operations *ct_item_ops ;
|
|
struct configfs_group_operations *ct_group_ops ;
|
|
struct configfs_attribute **ct_attrs ;
|
|
};
|
|
#line 88 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct config_group {
|
|
struct config_item cg_item ;
|
|
struct list_head cg_children ;
|
|
struct configfs_subsystem *cg_subsys ;
|
|
struct config_group **default_groups ;
|
|
};
|
|
#line 129 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct configfs_item_operations {
|
|
void (*release)(struct config_item * ) ;
|
|
ssize_t (*show_attribute)(struct config_item * , struct configfs_attribute * ,
|
|
char * ) ;
|
|
ssize_t (*store_attribute)(struct config_item * , struct configfs_attribute * ,
|
|
char const * , size_t ) ;
|
|
int (*allow_link)(struct config_item * , struct config_item * ) ;
|
|
int (*drop_link)(struct config_item * , struct config_item * ) ;
|
|
};
|
|
#line 231 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct configfs_group_operations {
|
|
struct config_item *(*make_item)(struct config_group * , char const * ) ;
|
|
struct config_group *(*make_group)(struct config_group * , char const * ) ;
|
|
int (*commit_item)(struct config_item * ) ;
|
|
void (*disconnect_notify)(struct config_group * , struct config_item * ) ;
|
|
void (*drop_item)(struct config_group * , struct config_item * ) ;
|
|
};
|
|
#line 239 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct configfs_subsystem {
|
|
struct config_group su_group ;
|
|
struct mutex su_mutex ;
|
|
};
|
|
#line 97 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
struct configfs_symlink {
|
|
struct list_head sl_list ;
|
|
struct config_item *sl_target ;
|
|
};
|
|
#line 160 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
struct configfs_buffer {
|
|
size_t count ;
|
|
loff_t pos ;
|
|
char *page ;
|
|
struct configfs_item_operations *ops ;
|
|
struct mutex mutex ;
|
|
int needs_read_fill ;
|
|
};
|
|
#line 10 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/posix_types_64.h"
|
|
typedef unsigned long __kernel_ino_t;
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef __kernel_ino_t ino_t;
|
|
#line 454 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pagemap.h"
|
|
struct mnt_namespace;
|
|
#line 455 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pagemap.h"
|
|
struct vfsmount {
|
|
struct list_head mnt_hash ;
|
|
struct vfsmount *mnt_parent ;
|
|
struct dentry *mnt_mountpoint ;
|
|
struct dentry *mnt_root ;
|
|
struct super_block *mnt_sb ;
|
|
struct list_head mnt_mounts ;
|
|
struct list_head mnt_child ;
|
|
int mnt_flags ;
|
|
char const *mnt_devname ;
|
|
struct list_head mnt_list ;
|
|
struct list_head mnt_expire ;
|
|
struct list_head mnt_share ;
|
|
struct list_head mnt_slave_list ;
|
|
struct list_head mnt_slave ;
|
|
struct vfsmount *mnt_master ;
|
|
struct mnt_namespace *mnt_ns ;
|
|
int mnt_id ;
|
|
int mnt_group_id ;
|
|
atomic_t mnt_count ;
|
|
int mnt_expiry_mark ;
|
|
int mnt_pinned ;
|
|
int mnt_ghosts ;
|
|
int *mnt_writers ;
|
|
};
|
|
#line 186 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
struct ldv_struct_insmod_8 {
|
|
int signal_pending ;
|
|
};
|
|
#line 63 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_struct_random_containerless_scenario_5 {
|
|
struct file_system_type *arg0 ;
|
|
int signal_pending ;
|
|
};
|
|
#line 6 "item.c"
|
|
struct __va_list_tag;
|
|
#line 6 "item.c"
|
|
typedef struct __va_list_tag __va_list_tag;
|
|
#line 40 "/home/debian/klever/addons/aspectator-6942b23/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include/stdarg.h"
|
|
typedef __builtin_va_list __gnuc_va_list[1U];
|
|
#line 102 "/home/debian/klever/addons/aspectator-6942b23/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.6.0/include/stdarg.h"
|
|
typedef __gnuc_va_list va_list[1U];
|
|
#line 34 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/types.h"
|
|
typedef _Bool bool;
|
|
#line 33 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/sysfs.h"
|
|
struct attribute_group {
|
|
char const *name ;
|
|
mode_t (*is_visible)(struct kobject * , struct attribute * , int ) ;
|
|
struct attribute **attrs ;
|
|
};
|
|
#line 228 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
struct klist_node;
|
|
#line 37 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/klist.h"
|
|
struct klist_node {
|
|
void *n_klist ;
|
|
struct list_head n_node ;
|
|
struct kref n_ref ;
|
|
};
|
|
#line 36 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pm.h"
|
|
struct pm_message {
|
|
int event ;
|
|
};
|
|
#line 45 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pm.h"
|
|
typedef struct pm_message pm_message_t;
|
|
#line 46 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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_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 216
|
|
enum dpm_state {
|
|
DPM_INVALID = 0,
|
|
DPM_ON = 1,
|
|
DPM_PREPARING = 2,
|
|
DPM_RESUMING = 3,
|
|
DPM_SUSPENDING = 4,
|
|
DPM_OFF = 5,
|
|
DPM_OFF_IRQ = 6
|
|
} ;
|
|
#line 240 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/pm.h"
|
|
struct dev_pm_info {
|
|
pm_message_t power_state ;
|
|
unsigned int can_wakeup : 1 ;
|
|
unsigned int should_wakeup : 1 ;
|
|
enum dpm_state status ;
|
|
};
|
|
#line 664 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/module.h"
|
|
struct device_driver;
|
|
#line 717 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/module.h"
|
|
struct semaphore {
|
|
spinlock_t lock ;
|
|
unsigned int count ;
|
|
struct list_head wait_list ;
|
|
};
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/semaphore.h"
|
|
struct dma_map_ops;
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/semaphore.h"
|
|
struct dev_archdata {
|
|
struct dma_map_ops *dma_ops ;
|
|
};
|
|
#line 14 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/device.h"
|
|
struct device_private;
|
|
#line 15
|
|
struct driver_private;
|
|
#line 16
|
|
struct class;
|
|
#line 17
|
|
struct class_private;
|
|
#line 18
|
|
struct bus_type;
|
|
#line 19
|
|
struct bus_type_private;
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/device.h"
|
|
struct bus_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct bus_type * , char * ) ;
|
|
ssize_t (*store)(struct bus_type * , char const * , size_t ) ;
|
|
};
|
|
#line 50 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct device_attribute;
|
|
#line 50
|
|
struct driver_attribute;
|
|
#line 50 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct bus_type {
|
|
char const *name ;
|
|
struct bus_attribute *bus_attrs ;
|
|
struct device_attribute *dev_attrs ;
|
|
struct driver_attribute *drv_attrs ;
|
|
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 (*suspend)(struct device * , pm_message_t ) ;
|
|
int (*resume)(struct device * ) ;
|
|
struct dev_pm_ops const *pm ;
|
|
struct bus_type_private *p ;
|
|
};
|
|
#line 121 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 ;
|
|
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 153 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct driver_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct device_driver * , char * ) ;
|
|
ssize_t (*store)(struct device_driver * , char const * , size_t ) ;
|
|
};
|
|
#line 183
|
|
struct class_attribute;
|
|
#line 183 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct class {
|
|
char const *name ;
|
|
struct module *owner ;
|
|
struct class_attribute *class_attrs ;
|
|
struct device_attribute *dev_attrs ;
|
|
struct kobject *dev_kobj ;
|
|
int (*dev_uevent)(struct device * , struct kobj_uevent_env * ) ;
|
|
char *(*devnode)(struct device * , mode_t * ) ;
|
|
void (*class_release)(struct class * ) ;
|
|
void (*dev_release)(struct device * ) ;
|
|
int (*suspend)(struct device * , pm_message_t ) ;
|
|
int (*resume)(struct device * ) ;
|
|
struct dev_pm_ops const *pm ;
|
|
struct class_private *p ;
|
|
};
|
|
#line 210
|
|
struct device_type;
|
|
#line 249 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct class_attribute {
|
|
struct attribute attr ;
|
|
ssize_t (*show)(struct class * , char * ) ;
|
|
ssize_t (*store)(struct class * , char const * , size_t ) ;
|
|
};
|
|
#line 281 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 * , mode_t * ) ;
|
|
void (*release)(struct device * ) ;
|
|
struct dev_pm_ops const *pm ;
|
|
};
|
|
#line 308 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/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 369 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct device_dma_parameters {
|
|
unsigned int max_segment_size ;
|
|
unsigned long segment_boundary_mask ;
|
|
};
|
|
#line 378
|
|
struct dma_coherent_mem;
|
|
#line 378 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/device.h"
|
|
struct device {
|
|
struct device *parent ;
|
|
struct device_private *p ;
|
|
struct kobject kobj ;
|
|
char const *init_name ;
|
|
struct device_type *type ;
|
|
struct semaphore sem ;
|
|
struct bus_type *bus ;
|
|
struct device_driver *driver ;
|
|
void *platform_data ;
|
|
struct dev_pm_info power ;
|
|
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 ;
|
|
dev_t devt ;
|
|
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 * ) ;
|
|
};
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.h"
|
|
struct device_private {
|
|
void *driver_data ;
|
|
};
|
|
#line 45 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/int-ll64.h"
|
|
typedef short s16;
|
|
#line 30 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spi/spi.h"
|
|
struct spi_master;
|
|
#line 30 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spi/spi.h"
|
|
struct spi_device {
|
|
struct device dev ;
|
|
struct spi_master *master ;
|
|
u32 max_speed_hz ;
|
|
u8 chip_select ;
|
|
u8 mode ;
|
|
u8 bits_per_word ;
|
|
int irq ;
|
|
void *controller_state ;
|
|
void *controller_data ;
|
|
char modalias[32U] ;
|
|
};
|
|
#line 142
|
|
struct spi_message;
|
|
#line 201 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spi/spi.h"
|
|
struct spi_master {
|
|
struct device dev ;
|
|
s16 bus_num ;
|
|
u16 num_chipselect ;
|
|
u16 dma_alignment ;
|
|
u16 mode_bits ;
|
|
u16 flags ;
|
|
int (*setup)(struct spi_device * ) ;
|
|
int (*transfer)(struct spi_device * , struct spi_message * ) ;
|
|
void (*cleanup)(struct spi_device * ) ;
|
|
};
|
|
#line 436 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spi/spi.h"
|
|
struct spi_message {
|
|
struct list_head transfers ;
|
|
struct spi_device *spi ;
|
|
unsigned int is_dma_mapped : 1 ;
|
|
void (*complete)(void * ) ;
|
|
void *context ;
|
|
unsigned int actual_length ;
|
|
int status ;
|
|
struct list_head queue ;
|
|
void *state ;
|
|
};
|
|
#line 8 "thread.c"
|
|
struct ldv_thread_set {
|
|
int number ;
|
|
struct ldv_thread **threads ;
|
|
};
|
|
#line 42 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.h"
|
|
struct ldv_thread {
|
|
int identifier ;
|
|
void (*function)(void * ) ;
|
|
};
|
|
#line 1 "<compiler builtins>"
|
|
void __builtin_prefetch(void const * , ...) ;
|
|
#line 1
|
|
long __builtin_expect(long exp , long c ) ;
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void ldv_free(void *s ) ;
|
|
#line 39
|
|
void *ldv_malloc_unknown_size(void) ;
|
|
#line 12 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
extern void ldv_check_alloc_flags(gfp_t ) ;
|
|
#line 16 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
void *ldv_alloc_macro(gfp_t flags )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 18
|
|
ldv_check_alloc_flags(flags);
|
|
#line 19
|
|
tmp = ldv_malloc_unknown_size();
|
|
}
|
|
#line 19
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 45
|
|
void *ldv_kzalloc(size_t size , gfp_t flags ) ;
|
|
#line 79 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/asm-generic/bug.h"
|
|
extern void warn_slowpath_null(char const * , int const ) ;
|
|
#line 64 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/string_64.h"
|
|
extern int strcmp(char const * , char const * ) ;
|
|
#line 506 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/processor.h"
|
|
extern int ( /* missing proto */ __builtin_unreachable)() ;
|
|
#line 28 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void INIT_LIST_HEAD(struct list_head *list )
|
|
{
|
|
|
|
|
|
{
|
|
#line 30
|
|
list->next = list;
|
|
#line 31
|
|
list->prev = list;
|
|
#line 32
|
|
return;
|
|
}
|
|
}
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void __list_del(struct list_head *prev , struct list_head *next )
|
|
{
|
|
|
|
|
|
{
|
|
#line 92
|
|
next->prev = prev;
|
|
#line 93
|
|
prev->next = next;
|
|
#line 94
|
|
return;
|
|
}
|
|
}
|
|
#line 140 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void list_del_init(struct list_head *entry )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 142
|
|
__list_del(entry->prev, entry->next);
|
|
#line 143
|
|
INIT_LIST_HEAD(entry);
|
|
}
|
|
#line 144
|
|
return;
|
|
}
|
|
}
|
|
#line 567 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void __hlist_del(struct hlist_node *n )
|
|
{
|
|
struct hlist_node *next ;
|
|
struct hlist_node **pprev ;
|
|
|
|
{
|
|
#line 569
|
|
next = n->next;
|
|
#line 570
|
|
pprev = n->pprev;
|
|
#line 571
|
|
*pprev = next;
|
|
#line 572
|
|
if ((unsigned long )next != (unsigned long )((struct hlist_node *)0)) {
|
|
#line 573
|
|
next->pprev = pprev;
|
|
} else {
|
|
|
|
}
|
|
#line 574
|
|
return;
|
|
}
|
|
}
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/atomic_64.h"
|
|
__inline static int atomic_read(atomic_t const *v )
|
|
{
|
|
|
|
|
|
{
|
|
#line 23
|
|
return ((int )v->counter);
|
|
}
|
|
}
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/atomic_64.h"
|
|
__inline static void atomic_inc(atomic_t *v )
|
|
{
|
|
|
|
|
|
{
|
|
#line 93
|
|
__asm__ volatile (".section .smp_locks,\"a\"\n .balign 8 \n .quad 661f\n.previous\n661:\n\tlock; incl %0": "=m" (v->counter): "m" (v->counter));
|
|
#line 96
|
|
return;
|
|
}
|
|
}
|
|
#line 119 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/atomic_64.h"
|
|
__inline static int atomic_dec_and_test(atomic_t *v )
|
|
{
|
|
unsigned char c ;
|
|
|
|
{
|
|
#line 123
|
|
__asm__ volatile (".section .smp_locks,\"a\"\n .balign 8 \n .quad 661f\n.previous\n661:\n\tlock; decl %0; sete %1": "=m" (v->counter),
|
|
"=qm" (c): "m" (v->counter): "memory");
|
|
#line 126
|
|
return ((unsigned int )c != 0U);
|
|
}
|
|
}
|
|
#line 99 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/spinlock.h"
|
|
__inline static void __ticket_spin_unlock(arch_spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
#line 101
|
|
__asm__ volatile ("incb %0": "+m" (lock->slock): : "memory", "cc");
|
|
#line 103
|
|
return;
|
|
}
|
|
}
|
|
#line 198 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/spinlock.h"
|
|
__inline static void arch_spin_unlock(arch_spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 200
|
|
__ticket_spin_unlock(lock);
|
|
}
|
|
#line 201
|
|
return;
|
|
}
|
|
}
|
|
#line 152 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock.h"
|
|
__inline static void do_raw_spin_unlock(raw_spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 154
|
|
arch_spin_unlock(& lock->raw_lock);
|
|
}
|
|
#line 155
|
|
return;
|
|
}
|
|
}
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_api_smp.h"
|
|
extern void _raw_spin_lock(raw_spinlock_t * ) ;
|
|
#line 149 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock_api_smp.h"
|
|
__inline static void __raw_spin_unlock(raw_spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 152
|
|
do_raw_spin_unlock(lock);
|
|
}
|
|
#line 153
|
|
return;
|
|
}
|
|
}
|
|
#line 279 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock.h"
|
|
__inline static void spin_lock(spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 281
|
|
_raw_spin_lock(& lock->__annonCompField18.rlock);
|
|
}
|
|
#line 282
|
|
return;
|
|
}
|
|
}
|
|
#line 319 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/spinlock.h"
|
|
__inline static void spin_unlock(spinlock_t *lock )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 321
|
|
__raw_spin_unlock(& lock->__annonCompField18.rlock);
|
|
}
|
|
#line 322
|
|
return;
|
|
}
|
|
}
|
|
#line 112 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/time.h"
|
|
extern struct timespec current_kernel_time(void) ;
|
|
#line 149
|
|
extern struct timespec timespec_trunc(struct timespec , unsigned int ) ;
|
|
#line 136 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mutex.h"
|
|
extern void mutex_lock(struct mutex * ) ;
|
|
#line 152
|
|
extern void mutex_unlock(struct mutex * ) ;
|
|
#line 101 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
extern void kmem_cache_free(struct kmem_cache * , void * ) ;
|
|
#line 141
|
|
static void ldv_kfree_14(void const *ldv_func_arg1 ) ;
|
|
#line 321
|
|
__inline static void *kzalloc(size_t size , gfp_t flags ) ;
|
|
#line 297 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rculist.h"
|
|
__inline static void hlist_del_rcu(struct hlist_node *n )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 299
|
|
__hlist_del(n);
|
|
#line 300
|
|
n->pprev = (struct hlist_node **)-2401263026316508672L;
|
|
}
|
|
#line 301
|
|
return;
|
|
}
|
|
}
|
|
#line 189 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
extern spinlock_t dcache_lock ;
|
|
#line 208 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static void __d_drop(struct dentry *dentry )
|
|
{
|
|
|
|
|
|
{
|
|
#line 210
|
|
if ((dentry->d_flags & 16U) == 0U) {
|
|
{
|
|
#line 211
|
|
dentry->d_flags = dentry->d_flags | 16U;
|
|
#line 212
|
|
hlist_del_rcu(& dentry->d_hash);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 214
|
|
return;
|
|
}
|
|
}
|
|
#line 233
|
|
extern void d_instantiate(struct dentry * , struct inode * ) ;
|
|
#line 333 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static struct dentry *dget(struct dentry *dentry )
|
|
{
|
|
int tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
#line 335
|
|
if ((unsigned long )dentry != (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 336
|
|
tmp = atomic_read((atomic_t const *)(& dentry->d_count));
|
|
#line 336
|
|
tmp___0 = __builtin_expect(tmp == 0, 0L);
|
|
}
|
|
#line 336
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 336
|
|
__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 *)"include/linux/dcache.h"),
|
|
"i" (336), "i" (12UL));
|
|
#line 336
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 337
|
|
atomic_inc(& dentry->d_count);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 339
|
|
return (dentry);
|
|
}
|
|
}
|
|
#line 342
|
|
extern struct dentry *dget_locked(struct dentry * ) ;
|
|
#line 351 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static int d_unhashed(struct dentry *dentry )
|
|
{
|
|
|
|
|
|
{
|
|
#line 353
|
|
return ((int )dentry->d_flags & 16);
|
|
}
|
|
}
|
|
#line 563 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/capability.h"
|
|
extern int capable(int ) ;
|
|
#line 2154 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
extern void iput(struct inode * ) ;
|
|
#line 2180
|
|
extern struct inode *new_inode(struct super_block * ) ;
|
|
#line 2345
|
|
extern int simple_unlink(struct inode * , struct dentry * ) ;
|
|
#line 2350
|
|
extern int simple_readpage(struct file * , struct page * ) ;
|
|
#line 2353
|
|
extern int simple_write_begin(struct file * , struct address_space * , loff_t , unsigned int ,
|
|
unsigned int , struct page ** , void ** ) ;
|
|
#line 2356
|
|
extern int simple_write_end(struct file * , struct address_space * , loff_t , unsigned int ,
|
|
unsigned int , struct page * , void * ) ;
|
|
#line 2382
|
|
extern int inode_change_ok(struct inode const * , struct iattr * ) ;
|
|
#line 2384
|
|
extern int inode_setattr(struct inode * , struct iattr * ) ;
|
|
#line 75 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/cred.h"
|
|
extern int in_group_p(gid_t ) ;
|
|
#line 97 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/backing-dev.h"
|
|
extern int bdi_init(struct backing_dev_info * ) ;
|
|
#line 98
|
|
extern void bdi_destroy(struct backing_dev_info * ) ;
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
spinlock_t configfs_dirent_lock ;
|
|
#line 62
|
|
struct kmem_cache *configfs_dir_cachep ;
|
|
#line 66
|
|
struct inode *configfs_new_inode(mode_t mode , struct configfs_dirent *sd ) ;
|
|
#line 67
|
|
int configfs_create(struct dentry *dentry , int mode , int (*init)(struct inode * ) ) ;
|
|
#line 68
|
|
int configfs_inode_init(void) ;
|
|
#line 69
|
|
void configfs_inode_exit(void) ;
|
|
#line 77
|
|
void configfs_hash_and_remove(struct dentry *dir , char const *name ) ;
|
|
#line 79
|
|
unsigned char const *configfs_get_name(struct configfs_dirent *sd ) ;
|
|
#line 80
|
|
void configfs_drop_dentry(struct configfs_dirent *sd , struct dentry *parent ) ;
|
|
#line 81
|
|
int configfs_setattr(struct dentry *dentry , struct iattr *iattr ) ;
|
|
#line 87
|
|
struct super_block *configfs_sb ;
|
|
#line 137 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void release_configfs_dirent(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 139
|
|
if ((sd->s_type & 1) == 0) {
|
|
{
|
|
#line 140
|
|
ldv_kfree_14((void const *)sd->s_iattr);
|
|
#line 141
|
|
kmem_cache_free(configfs_dir_cachep, (void *)sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 143
|
|
return;
|
|
}
|
|
}
|
|
#line 154 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void configfs_put(struct configfs_dirent *sd )
|
|
{
|
|
int __ret_warn_on ;
|
|
int tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 156
|
|
tmp = atomic_read((atomic_t const *)(& sd->s_count));
|
|
#line 156
|
|
__ret_warn_on = tmp == 0;
|
|
#line 156
|
|
tmp___0 = __builtin_expect(__ret_warn_on != 0, 0L);
|
|
}
|
|
#line 156
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 156
|
|
warn_slowpath_null("fs/configfs/configfs_internal.h", 156);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 156
|
|
__builtin_expect(__ret_warn_on != 0, 0L);
|
|
#line 157
|
|
tmp___1 = atomic_dec_and_test(& sd->s_count);
|
|
}
|
|
#line 157
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 158
|
|
release_configfs_dirent(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 159
|
|
return;
|
|
}
|
|
}
|
|
#line 47 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
static struct address_space_operations const configfs_aops =
|
|
#line 47 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
{0, & simple_readpage, 0, 0, 0, 0, & simple_write_begin, & simple_write_end, 0,
|
|
0, 0, 0, 0, 0, 0, 0, 0};
|
|
#line 53 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
static struct backing_dev_info configfs_backing_dev_info =
|
|
#line 53
|
|
{{0, 0}, {0, 0}, 0UL, 0UL, 131U, 0, 0, 0, 0, (char *)"configfs", {{{{{{0U}}}},
|
|
0LL, 0}, {{{{{0U}}}},
|
|
0LL,
|
|
0}},
|
|
{{{{{{0U}}}}, 0LL, 0}, 0, 0UL, {{{{0U}}}}}, 0, 0U, 0U, 0U, {{0, 0}, 0, 0U, 0UL,
|
|
0, {0, 0}, {0, 0},
|
|
{0, 0}}, {{{{0U}}}},
|
|
{0, 0}, 0UL, 0U, {0, 0}, 0};
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
static struct inode_operations const configfs_inode_operations =
|
|
#line 59
|
|
{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, & configfs_setattr, 0, 0, 0, 0, 0,
|
|
0, 0, 0};
|
|
#line 63 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
int configfs_setattr(struct dentry *dentry , struct iattr *iattr )
|
|
{
|
|
struct inode *inode ;
|
|
struct configfs_dirent *sd ;
|
|
struct iattr *sd_iattr ;
|
|
unsigned int ia_valid ;
|
|
int error ;
|
|
void *tmp ;
|
|
struct timespec tmp___0 ;
|
|
struct timespec tmp___1 ;
|
|
umode_t mode ;
|
|
int tmp___2 ;
|
|
int tmp___3 ;
|
|
umode_t tmp___4 ;
|
|
|
|
{
|
|
#line 65
|
|
inode = dentry->d_inode;
|
|
#line 66
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 68
|
|
ia_valid = iattr->ia_valid;
|
|
#line 71
|
|
if ((unsigned long )sd == (unsigned long )((struct configfs_dirent *)0)) {
|
|
#line 72
|
|
return (-22);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 74
|
|
sd_iattr = sd->s_iattr;
|
|
#line 76
|
|
error = inode_change_ok((struct inode const *)inode, iattr);
|
|
}
|
|
#line 77
|
|
if (error != 0) {
|
|
#line 78
|
|
return (error);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 80
|
|
error = inode_setattr(inode, iattr);
|
|
}
|
|
#line 81
|
|
if (error != 0) {
|
|
#line 82
|
|
return (error);
|
|
} else {
|
|
|
|
}
|
|
#line 84
|
|
if ((unsigned long )sd_iattr == (unsigned long )((struct iattr *)0)) {
|
|
{
|
|
#line 86
|
|
tmp = kzalloc(80UL, 208U);
|
|
#line 86
|
|
sd_iattr = (struct iattr *)tmp;
|
|
}
|
|
#line 87
|
|
if ((unsigned long )sd_iattr == (unsigned long )((struct iattr *)0)) {
|
|
#line 88
|
|
return (-12);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 90
|
|
sd_iattr->ia_mode = sd->s_mode;
|
|
#line 91
|
|
sd_iattr->ia_uid = 0U;
|
|
#line 92
|
|
sd_iattr->ia_gid = 0U;
|
|
#line 93
|
|
tmp___1 = current_kernel_time();
|
|
#line 93
|
|
sd_iattr->ia_ctime = tmp___1;
|
|
#line 93
|
|
tmp___0 = tmp___1;
|
|
#line 93
|
|
sd_iattr->ia_mtime = tmp___0;
|
|
#line 93
|
|
sd_iattr->ia_atime = tmp___0;
|
|
#line 94
|
|
sd->s_iattr = sd_iattr;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 99
|
|
if ((ia_valid & 2U) != 0U) {
|
|
#line 100
|
|
sd_iattr->ia_uid = iattr->ia_uid;
|
|
} else {
|
|
|
|
}
|
|
#line 101
|
|
if ((ia_valid & 4U) != 0U) {
|
|
#line 102
|
|
sd_iattr->ia_gid = iattr->ia_gid;
|
|
} else {
|
|
|
|
}
|
|
#line 103
|
|
if ((ia_valid & 16U) != 0U) {
|
|
{
|
|
#line 104
|
|
sd_iattr->ia_atime = timespec_trunc(iattr->ia_atime, (inode->i_sb)->s_time_gran);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 106
|
|
if ((ia_valid & 32U) != 0U) {
|
|
{
|
|
#line 107
|
|
sd_iattr->ia_mtime = timespec_trunc(iattr->ia_mtime, (inode->i_sb)->s_time_gran);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 109
|
|
if ((ia_valid & 64U) != 0U) {
|
|
{
|
|
#line 110
|
|
sd_iattr->ia_ctime = timespec_trunc(iattr->ia_ctime, (inode->i_sb)->s_time_gran);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 112
|
|
if ((int )ia_valid & 1) {
|
|
{
|
|
#line 113
|
|
mode = iattr->ia_mode;
|
|
#line 115
|
|
tmp___2 = in_group_p(inode->i_gid);
|
|
}
|
|
#line 115
|
|
if (tmp___2 == 0) {
|
|
{
|
|
#line 115
|
|
tmp___3 = capable(4);
|
|
}
|
|
#line 115
|
|
if (tmp___3 == 0) {
|
|
#line 116
|
|
mode = (unsigned int )mode & 64511U;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 117
|
|
tmp___4 = mode;
|
|
#line 117
|
|
sd->s_mode = tmp___4;
|
|
#line 117
|
|
sd_iattr->ia_mode = tmp___4;
|
|
} else {
|
|
|
|
}
|
|
#line 120
|
|
return (error);
|
|
}
|
|
}
|
|
#line 123 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
__inline static void set_default_inode_attr(struct inode *inode , mode_t mode )
|
|
{
|
|
struct timespec tmp ;
|
|
struct timespec tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 125
|
|
inode->i_mode = (umode_t )mode;
|
|
#line 126
|
|
tmp___0 = current_kernel_time();
|
|
#line 126
|
|
inode->i_ctime = tmp___0;
|
|
#line 126
|
|
tmp = tmp___0;
|
|
#line 126
|
|
inode->i_mtime = tmp;
|
|
#line 126
|
|
inode->i_atime = tmp;
|
|
}
|
|
#line 127
|
|
return;
|
|
}
|
|
}
|
|
#line 129 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
__inline static void set_inode_attr(struct inode *inode , struct iattr *iattr )
|
|
{
|
|
|
|
|
|
{
|
|
#line 131
|
|
inode->i_mode = iattr->ia_mode;
|
|
#line 132
|
|
inode->i_uid = iattr->ia_uid;
|
|
#line 133
|
|
inode->i_gid = iattr->ia_gid;
|
|
#line 134
|
|
inode->i_atime = iattr->ia_atime;
|
|
#line 135
|
|
inode->i_mtime = iattr->ia_mtime;
|
|
#line 136
|
|
inode->i_ctime = iattr->ia_ctime;
|
|
#line 137
|
|
return;
|
|
}
|
|
}
|
|
#line 139 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
struct inode *configfs_new_inode(mode_t mode , struct configfs_dirent *sd )
|
|
{
|
|
struct inode *inode ;
|
|
struct inode *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 141
|
|
tmp = new_inode(configfs_sb);
|
|
#line 141
|
|
inode = tmp;
|
|
}
|
|
#line 142
|
|
if ((unsigned long )inode != (unsigned long )((struct inode *)0)) {
|
|
#line 143
|
|
(inode->i_mapping)->a_ops = & configfs_aops;
|
|
#line 144
|
|
(inode->i_mapping)->backing_dev_info = & configfs_backing_dev_info;
|
|
#line 145
|
|
inode->i_op = & configfs_inode_operations;
|
|
#line 147
|
|
if ((unsigned long )sd->s_iattr != (unsigned long )((struct iattr *)0)) {
|
|
{
|
|
#line 152
|
|
set_inode_attr(inode, sd->s_iattr);
|
|
}
|
|
} else {
|
|
{
|
|
#line 154
|
|
set_default_inode_attr(inode, mode);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 156
|
|
return (inode);
|
|
}
|
|
}
|
|
#line 184 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
static void configfs_set_inode_lock_class(struct configfs_dirent *sd , struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
#line 186
|
|
return;
|
|
}
|
|
}
|
|
#line 191 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
int configfs_create(struct dentry *dentry , int mode , int (*init)(struct inode * ) )
|
|
{
|
|
int error ;
|
|
struct inode *inode ;
|
|
struct configfs_dirent *sd ;
|
|
struct inode *p_inode ;
|
|
struct timespec tmp ;
|
|
|
|
{
|
|
#line 193
|
|
error = 0;
|
|
#line 194
|
|
inode = (struct inode *)0;
|
|
#line 195
|
|
if ((unsigned long )dentry != (unsigned long )((struct dentry *)0)) {
|
|
#line 196
|
|
if ((unsigned long )dentry->d_inode == (unsigned long )((struct inode *)0)) {
|
|
{
|
|
#line 197
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 198
|
|
inode = configfs_new_inode((mode_t )mode, sd);
|
|
}
|
|
#line 198
|
|
if ((unsigned long )inode != (unsigned long )((struct inode *)0)) {
|
|
#line 199
|
|
if ((unsigned long )dentry->d_parent != (unsigned long )((struct dentry *)0) && (unsigned long )(dentry->d_parent)->d_inode != (unsigned long )((struct inode *)0)) {
|
|
{
|
|
#line 200
|
|
p_inode = (dentry->d_parent)->d_inode;
|
|
#line 201
|
|
tmp = current_kernel_time();
|
|
#line 201
|
|
p_inode->i_ctime = tmp;
|
|
#line 201
|
|
p_inode->i_mtime = tmp;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 203
|
|
configfs_set_inode_lock_class(sd, inode);
|
|
}
|
|
#line 204
|
|
goto Proceed;
|
|
} else {
|
|
#line 207
|
|
error = -12;
|
|
}
|
|
} else {
|
|
#line 209
|
|
error = -17;
|
|
}
|
|
} else {
|
|
#line 211
|
|
error = -2;
|
|
}
|
|
#line 212
|
|
goto Done;
|
|
Proceed: ;
|
|
#line 215
|
|
if ((unsigned long )init != (unsigned long )((int (*)(struct inode * ))0)) {
|
|
{
|
|
#line 216
|
|
error = (*init)(inode);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 217
|
|
if (error == 0) {
|
|
{
|
|
#line 218
|
|
d_instantiate(dentry, inode);
|
|
}
|
|
#line 219
|
|
if ((mode & 61440) == 16384 || (mode & 61440) == 40960) {
|
|
{
|
|
#line 220
|
|
dget(dentry);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
{
|
|
#line 222
|
|
iput(inode);
|
|
}
|
|
}
|
|
Done: ;
|
|
#line 224
|
|
return (error);
|
|
}
|
|
}
|
|
#line 230 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
unsigned char const *configfs_get_name(struct configfs_dirent *sd )
|
|
{
|
|
struct configfs_attribute *attr ;
|
|
long tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 234
|
|
tmp = __builtin_expect((unsigned long )sd == (unsigned long )((struct configfs_dirent *)0),
|
|
0L);
|
|
}
|
|
#line 234
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 234
|
|
__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 *)"fs/configfs/inode.c"),
|
|
"i" (234), "i" (12UL));
|
|
#line 234
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
{
|
|
#line 234
|
|
tmp___0 = __builtin_expect((unsigned long )sd->s_element == (unsigned long )((void *)0),
|
|
0L);
|
|
}
|
|
#line 234
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 234
|
|
__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 *)"fs/configfs/inode.c"),
|
|
"i" (234), "i" (12UL));
|
|
#line 234
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
}
|
|
#line 237
|
|
if ((sd->s_type & 34) != 0) {
|
|
#line 238
|
|
return ((sd->s_dentry)->d_name.name);
|
|
} else {
|
|
|
|
}
|
|
#line 240
|
|
if ((sd->s_type & 4) != 0) {
|
|
#line 241
|
|
attr = (struct configfs_attribute *)sd->s_element;
|
|
#line 242
|
|
return ((unsigned char const *)attr->ca_name);
|
|
} else {
|
|
|
|
}
|
|
#line 244
|
|
return ((unsigned char const *)0U);
|
|
}
|
|
}
|
|
#line 252 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
void configfs_drop_dentry(struct configfs_dirent *sd , struct dentry *parent )
|
|
{
|
|
struct dentry *dentry ;
|
|
int tmp ;
|
|
|
|
{
|
|
#line 254
|
|
dentry = sd->s_dentry;
|
|
#line 256
|
|
if ((unsigned long )dentry != (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 257
|
|
spin_lock(& dcache_lock);
|
|
#line 258
|
|
spin_lock(& dentry->d_lock);
|
|
#line 259
|
|
tmp = d_unhashed(dentry);
|
|
}
|
|
#line 259
|
|
if (tmp == 0 || (unsigned long )dentry->d_inode == (unsigned long )((struct inode *)0)) {
|
|
{
|
|
#line 260
|
|
dget_locked(dentry);
|
|
#line 261
|
|
__d_drop(dentry);
|
|
#line 262
|
|
spin_unlock(& dentry->d_lock);
|
|
#line 263
|
|
spin_unlock(& dcache_lock);
|
|
#line 264
|
|
simple_unlink(parent->d_inode, dentry);
|
|
}
|
|
} else {
|
|
{
|
|
#line 266
|
|
spin_unlock(& dentry->d_lock);
|
|
#line 267
|
|
spin_unlock(& dcache_lock);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 270
|
|
return;
|
|
}
|
|
}
|
|
#line 272 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
void configfs_hash_and_remove(struct dentry *dir , char const *name )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_dirent *parent_sd ;
|
|
struct list_head const *__mptr ;
|
|
unsigned char const *tmp ;
|
|
int tmp___0 ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
#line 275
|
|
parent_sd = (struct configfs_dirent *)dir->d_fsdata;
|
|
#line 277
|
|
if ((unsigned long )dir->d_inode == (unsigned long )((struct inode *)0)) {
|
|
#line 279
|
|
return;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 281
|
|
mutex_lock(& (dir->d_inode)->i_mutex);
|
|
#line 282
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 282
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
}
|
|
#line 282
|
|
goto ldv_19953;
|
|
ldv_19952: ;
|
|
#line 283
|
|
if ((unsigned long )sd->s_element == (unsigned long )((void *)0)) {
|
|
#line 284
|
|
goto ldv_19950;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 285
|
|
tmp = configfs_get_name(sd);
|
|
#line 285
|
|
tmp___0 = strcmp((char const *)tmp, name);
|
|
}
|
|
#line 285
|
|
if (tmp___0 == 0) {
|
|
{
|
|
#line 286
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 287
|
|
list_del_init(& sd->s_sibling);
|
|
#line 288
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 289
|
|
configfs_drop_dentry(sd, dir);
|
|
#line 290
|
|
configfs_put(sd);
|
|
}
|
|
#line 291
|
|
goto ldv_19951;
|
|
} else {
|
|
|
|
}
|
|
ldv_19950:
|
|
#line 282
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 282
|
|
sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_19953:
|
|
{
|
|
#line 282
|
|
__builtin_prefetch((void const *)sd->s_sibling.next);
|
|
}
|
|
#line 282
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 284
|
|
goto ldv_19952;
|
|
} else {
|
|
|
|
}
|
|
ldv_19951:
|
|
{
|
|
#line 294
|
|
mutex_unlock(& (dir->d_inode)->i_mutex);
|
|
}
|
|
#line 295
|
|
return;
|
|
}
|
|
}
|
|
#line 297 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
int configfs_inode_init(void)
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 299
|
|
tmp = bdi_init(& configfs_backing_dev_info);
|
|
}
|
|
#line 299
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 302 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/inode.c"
|
|
void configfs_inode_exit(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 304
|
|
bdi_destroy(& configfs_backing_dev_info);
|
|
}
|
|
#line 305
|
|
return;
|
|
}
|
|
}
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
void ldv_random_containerless_scenario_callback_3_11(int (*arg0)(struct file * , struct address_space * ,
|
|
loff_t , unsigned int ,
|
|
unsigned int , struct page * ,
|
|
void * ) , struct file *arg1 ,
|
|
struct address_space *arg2 ,
|
|
long long arg3 , unsigned int arg4 ,
|
|
unsigned int arg5 , struct page *arg6 ,
|
|
void *arg7 ) ;
|
|
#line 71
|
|
void ldv_random_containerless_scenario_callback_3_4(int (*arg0)(struct file * , struct page * ) ,
|
|
struct file *arg1 , struct page *arg2 ) ;
|
|
#line 72
|
|
void ldv_random_containerless_scenario_callback_3_8(int (*arg0)(struct file * , struct address_space * ,
|
|
loff_t , unsigned int ,
|
|
unsigned int , struct page ** ,
|
|
void ** ) , struct file *arg1 ,
|
|
struct address_space *arg2 , long long arg3 ,
|
|
unsigned int arg4 , unsigned int arg5 ,
|
|
struct page **arg6 , void **arg7 ) ;
|
|
#line 80 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
void ldv_random_containerless_scenario_callback_3_11(int (*arg0)(struct file * , struct address_space * ,
|
|
loff_t , unsigned int ,
|
|
unsigned int , struct page * ,
|
|
void * ) , struct file *arg1 ,
|
|
struct address_space *arg2 ,
|
|
long long arg3 , unsigned int arg4 ,
|
|
unsigned int arg5 , struct page *arg6 ,
|
|
void *arg7 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 81
|
|
simple_write_end(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
|
|
}
|
|
#line 82
|
|
return;
|
|
}
|
|
}
|
|
#line 85 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
void ldv_random_containerless_scenario_callback_3_4(int (*arg0)(struct file * , struct page * ) ,
|
|
struct file *arg1 , struct page *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 86
|
|
simple_readpage(arg1, arg2);
|
|
}
|
|
#line 87
|
|
return;
|
|
}
|
|
}
|
|
#line 90 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
void ldv_random_containerless_scenario_callback_3_8(int (*arg0)(struct file * , struct address_space * ,
|
|
loff_t , unsigned int ,
|
|
unsigned int , struct page ** ,
|
|
void ** ) , struct file *arg1 ,
|
|
struct address_space *arg2 , long long arg3 ,
|
|
unsigned int arg4 , unsigned int arg5 ,
|
|
struct page **arg6 , void **arg7 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 91
|
|
simple_write_begin(arg1, arg2, arg3, arg4, arg5, arg6, arg7);
|
|
}
|
|
#line 92
|
|
return;
|
|
}
|
|
}
|
|
#line 186 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
__inline static void *kzalloc(size_t size , gfp_t flags )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 189
|
|
tmp = ldv_kzalloc(size, flags);
|
|
}
|
|
#line 189
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 204 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/inode.c.aux"
|
|
static void ldv_kfree_14(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 207
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 208
|
|
return;
|
|
}
|
|
}
|
|
#line 1 "<compiler builtins>"
|
|
unsigned long __builtin_object_size(void * , int ) ;
|
|
#line 75 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.h"
|
|
int ldv_filter_err_code(int ret_val ) ;
|
|
#line 28 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.h"
|
|
void ldv_assume(int expression ) ;
|
|
#line 31
|
|
void ldv_stop(void) ;
|
|
#line 34 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void *ldv_xmalloc(size_t size ) ;
|
|
#line 37
|
|
extern void *external_allocated_data(void) ;
|
|
#line 47
|
|
void *ldv_xmalloc_unknown_size(size_t size ) ;
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.h"
|
|
int ldv_undef_int(void) ;
|
|
#line 120 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kernel.h"
|
|
extern int _cond_resched(void) ;
|
|
#line 155 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kernel.h"
|
|
__inline static void might_fault(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 157
|
|
_cond_resched();
|
|
}
|
|
#line 158
|
|
return;
|
|
}
|
|
}
|
|
#line 107 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/mutex.h"
|
|
extern void __mutex_init(struct mutex * , char const * , struct lock_class_key * ) ;
|
|
#line 321 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/gfp.h"
|
|
static unsigned long ldv___get_free_pages_15(gfp_t flags , unsigned int ldv_func_arg2 ) ;
|
|
#line 323
|
|
extern unsigned long get_zeroed_page(gfp_t ) ;
|
|
#line 335
|
|
extern void free_pages(unsigned long , unsigned int ) ;
|
|
#line 145 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
static void ldv_kfree_16(void const *ldv_func_arg1 ) ;
|
|
#line 321
|
|
__inline static void *kzalloc(size_t size , gfp_t flags ) ;
|
|
#line 588 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/module.h"
|
|
__inline static int try_module_get(struct module *module )
|
|
{
|
|
|
|
|
|
{
|
|
#line 590
|
|
return (1);
|
|
}
|
|
}
|
|
#line 593 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/module.h"
|
|
__inline static void module_put(struct module *module )
|
|
{
|
|
|
|
|
|
{
|
|
#line 595
|
|
return;
|
|
}
|
|
}
|
|
#line 2238 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
extern loff_t generic_file_llseek(struct file * , loff_t , int ) ;
|
|
#line 2370
|
|
extern ssize_t simple_read_from_buffer(void * , size_t , loff_t * , void const * ,
|
|
size_t ) ;
|
|
#line 24 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/uaccess_64.h"
|
|
extern unsigned long _copy_from_user(void * , void const * , unsigned int ) ;
|
|
#line 28 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/uaccess_64.h"
|
|
__inline static unsigned long copy_from_user(void *to , void const *from , unsigned long n )
|
|
{
|
|
int sz ;
|
|
unsigned long tmp ;
|
|
long tmp___0 ;
|
|
long tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 32
|
|
tmp = __builtin_object_size((void const *)to, 0);
|
|
#line 32
|
|
sz = (int )tmp;
|
|
#line 34
|
|
might_fault();
|
|
#line 35
|
|
tmp___0 = __builtin_expect(sz == -1, 1L);
|
|
}
|
|
#line 35
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 36
|
|
n = _copy_from_user(to, from, (unsigned int )n);
|
|
}
|
|
} else {
|
|
{
|
|
#line 35
|
|
tmp___1 = __builtin_expect((unsigned long )sz >= n, 1L);
|
|
}
|
|
#line 35
|
|
if (tmp___1 != 0L) {
|
|
{
|
|
#line 36
|
|
n = _copy_from_user(to, from, (unsigned int )n);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
}
|
|
#line 41
|
|
return (n);
|
|
}
|
|
}
|
|
#line 79 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
struct config_item *config_item_get(struct config_item *item ) ;
|
|
#line 80
|
|
void config_item_put(struct config_item *item ) ;
|
|
#line 71 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
int configfs_create_file(struct config_item *item , struct configfs_attribute const *attr ) ;
|
|
#line 72
|
|
int configfs_make_dirent(struct configfs_dirent *parent_sd , struct dentry *dentry ,
|
|
void *element , umode_t mode , int type ) ;
|
|
#line 76
|
|
int configfs_add_file(struct dentry *dir , struct configfs_attribute const *attr ,
|
|
int type ) ;
|
|
#line 89
|
|
struct file_operations const configfs_file_operations ;
|
|
#line 107 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static struct config_item *to_item(struct dentry *dentry )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
|
|
{
|
|
#line 109
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 110
|
|
return ((struct config_item *)sd->s_element);
|
|
}
|
|
}
|
|
#line 113 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static struct configfs_attribute *to_attr(struct dentry *dentry )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
|
|
{
|
|
#line 115
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 116
|
|
return ((struct configfs_attribute *)sd->s_element);
|
|
}
|
|
}
|
|
#line 119 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static struct config_item *configfs_get_config_item(struct dentry *dentry )
|
|
{
|
|
struct config_item *item ;
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_symlink *sl ;
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 121
|
|
item = (struct config_item *)0;
|
|
#line 123
|
|
spin_lock(& dcache_lock);
|
|
#line 124
|
|
tmp = d_unhashed(dentry);
|
|
}
|
|
#line 124
|
|
if (tmp == 0) {
|
|
#line 125
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 126
|
|
if ((sd->s_type & 32) != 0) {
|
|
{
|
|
#line 127
|
|
sl = (struct configfs_symlink *)sd->s_element;
|
|
#line 128
|
|
item = config_item_get(sl->sl_target);
|
|
}
|
|
} else {
|
|
{
|
|
#line 130
|
|
item = config_item_get((struct config_item *)sd->s_element);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 132
|
|
spin_unlock(& dcache_lock);
|
|
}
|
|
#line 134
|
|
return (item);
|
|
}
|
|
}
|
|
#line 64 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int fill_read_buffer(struct dentry *dentry , struct configfs_buffer *buffer )
|
|
{
|
|
struct configfs_attribute *attr ;
|
|
struct configfs_attribute *tmp ;
|
|
struct config_item *item ;
|
|
struct config_item *tmp___0 ;
|
|
struct configfs_item_operations *ops ;
|
|
int ret ;
|
|
ssize_t count ;
|
|
unsigned long tmp___1 ;
|
|
long tmp___2 ;
|
|
|
|
{
|
|
{
|
|
#line 66
|
|
tmp = to_attr(dentry);
|
|
#line 66
|
|
attr = tmp;
|
|
#line 67
|
|
tmp___0 = to_item(dentry->d_parent);
|
|
#line 67
|
|
item = tmp___0;
|
|
#line 68
|
|
ops = buffer->ops;
|
|
#line 69
|
|
ret = 0;
|
|
}
|
|
#line 72
|
|
if ((unsigned long )buffer->page == (unsigned long )((char *)0)) {
|
|
{
|
|
#line 73
|
|
tmp___1 = get_zeroed_page(208U);
|
|
#line 73
|
|
buffer->page = (char *)tmp___1;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 74
|
|
if ((unsigned long )buffer->page == (unsigned long )((char *)0)) {
|
|
#line 75
|
|
return (-12);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 77
|
|
count = (*(ops->show_attribute))(item, attr, buffer->page);
|
|
#line 78
|
|
buffer->needs_read_fill = 0;
|
|
#line 79
|
|
tmp___2 = __builtin_expect(count > 4096L, 0L);
|
|
}
|
|
#line 79
|
|
if (tmp___2 != 0L) {
|
|
{
|
|
#line 79
|
|
__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 *)"fs/configfs/file.c"),
|
|
"i" (79), "i" (12UL));
|
|
#line 79
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 80
|
|
if (count >= 0L) {
|
|
#line 81
|
|
buffer->count = (size_t )count;
|
|
} else {
|
|
#line 83
|
|
ret = (int )count;
|
|
}
|
|
#line 84
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 107 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static ssize_t configfs_read_file(struct file *file , char *buf , size_t count , loff_t *ppos )
|
|
{
|
|
struct configfs_buffer *buffer ;
|
|
ssize_t retval ;
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 109
|
|
buffer = (struct configfs_buffer *)file->private_data;
|
|
#line 110
|
|
retval = 0L;
|
|
#line 112
|
|
mutex_lock(& buffer->mutex);
|
|
}
|
|
#line 113
|
|
if (buffer->needs_read_fill != 0) {
|
|
{
|
|
#line 114
|
|
tmp = fill_read_buffer(file->f_path.dentry, buffer);
|
|
#line 114
|
|
retval = (ssize_t )tmp;
|
|
}
|
|
#line 114
|
|
if (retval != 0L) {
|
|
#line 115
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 119
|
|
retval = simple_read_from_buffer((void *)buf, count, ppos, (void const *)buffer->page,
|
|
buffer->count);
|
|
}
|
|
out:
|
|
{
|
|
#line 122
|
|
mutex_unlock(& buffer->mutex);
|
|
}
|
|
#line 123
|
|
return (retval);
|
|
}
|
|
}
|
|
#line 138 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int fill_write_buffer(struct configfs_buffer *buffer , char const *buf ,
|
|
size_t count )
|
|
{
|
|
int error ;
|
|
unsigned long tmp ;
|
|
unsigned long tmp___0 ;
|
|
|
|
{
|
|
#line 142
|
|
if ((unsigned long )buffer->page == (unsigned long )((char *)0)) {
|
|
{
|
|
#line 143
|
|
tmp = ldv___get_free_pages_15(208U, 0U);
|
|
#line 143
|
|
buffer->page = (char *)tmp;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 144
|
|
if ((unsigned long )buffer->page == (unsigned long )((char *)0)) {
|
|
#line 145
|
|
return (-12);
|
|
} else {
|
|
|
|
}
|
|
#line 147
|
|
if (count > 4095UL) {
|
|
#line 148
|
|
count = 4095UL;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 149
|
|
tmp___0 = copy_from_user((void *)buffer->page, (void const *)buf, count);
|
|
#line 149
|
|
error = (int )tmp___0;
|
|
#line 150
|
|
buffer->needs_read_fill = 1;
|
|
#line 153
|
|
*(buffer->page + count) = 0;
|
|
}
|
|
#line 154
|
|
return (error == 0 ? (int )count : -14);
|
|
}
|
|
}
|
|
#line 170 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int flush_write_buffer(struct dentry *dentry , struct configfs_buffer *buffer ,
|
|
size_t count )
|
|
{
|
|
struct configfs_attribute *attr ;
|
|
struct configfs_attribute *tmp ;
|
|
struct config_item *item ;
|
|
struct config_item *tmp___0 ;
|
|
struct configfs_item_operations *ops ;
|
|
ssize_t tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 172
|
|
tmp = to_attr(dentry);
|
|
#line 172
|
|
attr = tmp;
|
|
#line 173
|
|
tmp___0 = to_item(dentry->d_parent);
|
|
#line 173
|
|
item = tmp___0;
|
|
#line 174
|
|
ops = buffer->ops;
|
|
#line 176
|
|
tmp___1 = (*(ops->store_attribute))(item, attr, (char const *)buffer->page, count);
|
|
}
|
|
#line 176
|
|
return ((int )tmp___1);
|
|
}
|
|
}
|
|
#line 198 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static ssize_t configfs_write_file(struct file *file , char const *buf , size_t count ,
|
|
loff_t *ppos )
|
|
{
|
|
struct configfs_buffer *buffer ;
|
|
ssize_t len ;
|
|
int tmp ;
|
|
int tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 200
|
|
buffer = (struct configfs_buffer *)file->private_data;
|
|
#line 203
|
|
mutex_lock(& buffer->mutex);
|
|
#line 204
|
|
tmp = fill_write_buffer(buffer, buf, count);
|
|
#line 204
|
|
len = (ssize_t )tmp;
|
|
}
|
|
#line 205
|
|
if (len > 0L) {
|
|
{
|
|
#line 206
|
|
tmp___0 = flush_write_buffer(file->f_path.dentry, buffer, count);
|
|
#line 206
|
|
len = (ssize_t )tmp___0;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 207
|
|
if (len > 0L) {
|
|
#line 208
|
|
*ppos = *ppos + (long long )len;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 209
|
|
mutex_unlock(& buffer->mutex);
|
|
}
|
|
#line 210
|
|
return (len);
|
|
}
|
|
}
|
|
#line 213 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int check_perm(struct inode *inode , struct file *file )
|
|
{
|
|
struct config_item *item ;
|
|
struct config_item *tmp ;
|
|
struct configfs_attribute *attr ;
|
|
struct configfs_attribute *tmp___0 ;
|
|
struct configfs_buffer *buffer ;
|
|
struct configfs_item_operations *ops ;
|
|
int error ;
|
|
int tmp___1 ;
|
|
void *tmp___2 ;
|
|
struct lock_class_key __key ;
|
|
|
|
{
|
|
{
|
|
#line 215
|
|
tmp = configfs_get_config_item((file->f_path.dentry)->d_parent);
|
|
#line 215
|
|
item = tmp;
|
|
#line 216
|
|
tmp___0 = to_attr(file->f_path.dentry);
|
|
#line 216
|
|
attr = tmp___0;
|
|
#line 218
|
|
ops = (struct configfs_item_operations *)0;
|
|
#line 219
|
|
error = 0;
|
|
}
|
|
#line 221
|
|
if ((unsigned long )item == (unsigned long )((struct config_item *)0) || (unsigned long )attr == (unsigned long )((struct configfs_attribute *)0)) {
|
|
#line 222
|
|
goto Einval;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 225
|
|
tmp___1 = try_module_get(attr->ca_owner);
|
|
}
|
|
#line 225
|
|
if (tmp___1 == 0) {
|
|
#line 226
|
|
error = -19;
|
|
#line 227
|
|
goto Done;
|
|
} else {
|
|
|
|
}
|
|
#line 230
|
|
if ((unsigned long )item->ci_type != (unsigned long )((struct config_item_type *)0)) {
|
|
#line 231
|
|
ops = (item->ci_type)->ct_item_ops;
|
|
} else {
|
|
#line 233
|
|
goto Eaccess;
|
|
}
|
|
#line 239
|
|
if ((file->f_mode & 2U) != 0U) {
|
|
#line 241
|
|
if (((int )inode->i_mode & 146) == 0 || (unsigned long )ops->store_attribute == (unsigned long )((ssize_t (*)(struct config_item * ,
|
|
struct configfs_attribute * ,
|
|
char const * ,
|
|
size_t ))0)) {
|
|
#line 242
|
|
goto Eaccess;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 250
|
|
if ((int )file->f_mode & 1) {
|
|
#line 251
|
|
if (((int )inode->i_mode & 292) == 0 || (unsigned long )ops->show_attribute == (unsigned long )((ssize_t (*)(struct config_item * ,
|
|
struct configfs_attribute * ,
|
|
char * ))0)) {
|
|
#line 252
|
|
goto Eaccess;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 258
|
|
tmp___2 = kzalloc(72UL, 208U);
|
|
#line 258
|
|
buffer = (struct configfs_buffer *)tmp___2;
|
|
}
|
|
#line 259
|
|
if ((unsigned long )buffer == (unsigned long )((struct configfs_buffer *)0)) {
|
|
#line 260
|
|
error = -12;
|
|
#line 261
|
|
goto Enomem;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 263
|
|
__mutex_init(& buffer->mutex, "&buffer->mutex", & __key);
|
|
#line 264
|
|
buffer->needs_read_fill = 1;
|
|
#line 265
|
|
buffer->ops = ops;
|
|
#line 266
|
|
file->private_data = (void *)buffer;
|
|
}
|
|
#line 267
|
|
goto Done;
|
|
Einval:
|
|
#line 270
|
|
error = -22;
|
|
#line 271
|
|
goto Done;
|
|
Eaccess:
|
|
#line 273
|
|
error = -13;
|
|
Enomem:
|
|
{
|
|
#line 275
|
|
module_put(attr->ca_owner);
|
|
}
|
|
Done: ;
|
|
#line 277
|
|
if (error != 0 && (unsigned long )item != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 278
|
|
config_item_put(item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 279
|
|
return (error);
|
|
}
|
|
}
|
|
#line 282 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int configfs_open_file(struct inode *inode , struct file *filp )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 284
|
|
tmp = check_perm(inode, filp);
|
|
}
|
|
#line 284
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 287 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
static int configfs_release(struct inode *inode , struct file *filp )
|
|
{
|
|
struct config_item *item ;
|
|
struct config_item *tmp ;
|
|
struct configfs_attribute *attr ;
|
|
struct configfs_attribute *tmp___0 ;
|
|
struct module *owner ;
|
|
struct configfs_buffer *buffer ;
|
|
|
|
{
|
|
{
|
|
#line 289
|
|
tmp = to_item((filp->f_path.dentry)->d_parent);
|
|
#line 289
|
|
item = tmp;
|
|
#line 290
|
|
tmp___0 = to_attr(filp->f_path.dentry);
|
|
#line 290
|
|
attr = tmp___0;
|
|
#line 291
|
|
owner = attr->ca_owner;
|
|
#line 292
|
|
buffer = (struct configfs_buffer *)filp->private_data;
|
|
}
|
|
#line 294
|
|
if ((unsigned long )item != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 295
|
|
config_item_put(item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 297
|
|
module_put(owner);
|
|
}
|
|
#line 299
|
|
if ((unsigned long )buffer != (unsigned long )((struct configfs_buffer *)0)) {
|
|
#line 300
|
|
if ((unsigned long )buffer->page != (unsigned long )((char *)0)) {
|
|
{
|
|
#line 301
|
|
free_pages((unsigned long )buffer->page, 0U);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 303
|
|
ldv_kfree_16((void const *)buffer);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 305
|
|
return (0);
|
|
}
|
|
}
|
|
#line 308 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
struct file_operations const configfs_file_operations =
|
|
#line 308
|
|
{0, & generic_file_llseek, & configfs_read_file, & configfs_write_file, 0, 0, 0,
|
|
0, 0, 0, 0, 0, & configfs_open_file, 0, & configfs_release, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0, 0, 0};
|
|
#line 317 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
int configfs_add_file(struct dentry *dir , struct configfs_attribute const *attr ,
|
|
int type )
|
|
{
|
|
struct configfs_dirent *parent_sd ;
|
|
umode_t mode ;
|
|
int error ;
|
|
|
|
{
|
|
{
|
|
#line 319
|
|
parent_sd = (struct configfs_dirent *)dir->d_fsdata;
|
|
#line 320
|
|
mode = ((unsigned int )((umode_t )attr->ca_mode) & 4095U) | 32768U;
|
|
#line 321
|
|
error = 0;
|
|
#line 323
|
|
mutex_lock(& (dir->d_inode)->i_mutex);
|
|
#line 324
|
|
error = configfs_make_dirent(parent_sd, (struct dentry *)0, (void *)attr, (int )mode,
|
|
type);
|
|
#line 325
|
|
mutex_unlock(& (dir->d_inode)->i_mutex);
|
|
}
|
|
#line 327
|
|
return (error);
|
|
}
|
|
}
|
|
#line 337 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/file.c"
|
|
int configfs_create_file(struct config_item *item , struct configfs_attribute const *attr )
|
|
{
|
|
long tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 339
|
|
tmp = __builtin_expect((unsigned long )item == (unsigned long )((struct config_item *)0),
|
|
0L);
|
|
}
|
|
#line 339
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 339
|
|
__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 *)"fs/configfs/file.c"),
|
|
"i" (339), "i" (12UL));
|
|
#line 339
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
{
|
|
#line 339
|
|
tmp___0 = __builtin_expect((long )((unsigned long )item->ci_dentry == (unsigned long )((struct dentry *)0) || (unsigned long )attr == (unsigned long )((struct configfs_attribute const *)0)),
|
|
0L);
|
|
}
|
|
#line 339
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 339
|
|
__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 *)"fs/configfs/file.c"),
|
|
"i" (339), "i" (12UL));
|
|
#line 339
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
}
|
|
{
|
|
#line 341
|
|
tmp___1 = configfs_add_file(item->ci_dentry, attr, 4);
|
|
}
|
|
#line 341
|
|
return (tmp___1);
|
|
}
|
|
}
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_2(void *arg0 ) ;
|
|
#line 71
|
|
void ldv_character_driver_scenario_callback_2_22(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 ,
|
|
unsigned long arg3 , long long *arg4 ) ;
|
|
#line 72
|
|
void ldv_character_driver_scenario_callback_2_25(int (*arg0)(struct file * , void * ,
|
|
int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ,
|
|
struct file *arg1 , void *arg2 ,
|
|
int (*arg3)(void * , char * , int ,
|
|
loff_t , u64 , unsigned int ) ) ;
|
|
#line 73
|
|
void ldv_character_driver_scenario_callback_2_5(loff_t (*arg0)(struct file * , loff_t ,
|
|
int ) , struct file *arg1 ,
|
|
long long arg2 , int arg3 ) ;
|
|
#line 74
|
|
int ldv_character_driver_scenario_probe_2_13(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 ) ;
|
|
#line 75
|
|
void ldv_character_driver_scenario_release_2_2(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 ) ;
|
|
#line 76
|
|
void ldv_character_driver_scenario_write_2_4(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 , unsigned long arg3 ,
|
|
long long *arg4 ) ;
|
|
#line 79 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
struct ldv_thread ldv_thread_2 ;
|
|
#line 85 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_2(void *arg0 )
|
|
{
|
|
loff_t (*ldv_2_callback_llseek)(struct file * , loff_t , int ) ;
|
|
ssize_t (*ldv_2_callback_read)(struct file * , char * , size_t , loff_t * ) ;
|
|
int (*ldv_2_callback_readdir)(struct file * , void * , int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ;
|
|
struct file_operations *ldv_2_container_file_operations ;
|
|
char *ldv_2_ldv_param_22_1_default ;
|
|
long long *ldv_2_ldv_param_22_3_default ;
|
|
char *ldv_2_ldv_param_4_1_default ;
|
|
long long *ldv_2_ldv_param_4_3_default ;
|
|
long long ldv_2_ldv_param_5_1_default ;
|
|
int ldv_2_ldv_param_5_2_default ;
|
|
struct file *ldv_2_resource_file ;
|
|
struct inode *ldv_2_resource_inode ;
|
|
int ldv_2_ret_default ;
|
|
int (*ldv_2_size_cnt_func_1_ptr)(void * , char * , int , loff_t , u64 , unsigned int ) ;
|
|
unsigned long ldv_2_size_cnt_write_size ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
void *tmp___6 ;
|
|
void *tmp___7 ;
|
|
void *tmp___8 ;
|
|
void *tmp___9 ;
|
|
void *tmp___10 ;
|
|
void *tmp___11 ;
|
|
void *tmp___12 ;
|
|
int tmp___13 ;
|
|
int tmp___14 ;
|
|
int tmp___15 ;
|
|
int tmp___16 ;
|
|
void *tmp___17 ;
|
|
void *tmp___18 ;
|
|
int tmp___19 ;
|
|
void *tmp___20 ;
|
|
void *tmp___21 ;
|
|
|
|
{
|
|
{
|
|
#line 105
|
|
tmp = external_allocated_data();
|
|
#line 105
|
|
ldv_2_callback_llseek = (loff_t (*)(struct file * , loff_t , int ))tmp;
|
|
#line 106
|
|
tmp___0 = external_allocated_data();
|
|
#line 106
|
|
ldv_2_callback_read = (ssize_t (*)(struct file * , char * , size_t , loff_t * ))tmp___0;
|
|
#line 107
|
|
tmp___1 = external_allocated_data();
|
|
#line 107
|
|
ldv_2_callback_readdir = (int (*)(struct file * , void * , int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ))tmp___1;
|
|
#line 108
|
|
tmp___2 = external_allocated_data();
|
|
#line 108
|
|
ldv_2_container_file_operations = (struct file_operations *)tmp___2;
|
|
#line 109
|
|
tmp___3 = external_allocated_data();
|
|
#line 109
|
|
ldv_2_ldv_param_22_1_default = (char *)tmp___3;
|
|
#line 110
|
|
tmp___4 = external_allocated_data();
|
|
#line 110
|
|
ldv_2_ldv_param_22_3_default = (long long *)tmp___4;
|
|
#line 111
|
|
tmp___5 = external_allocated_data();
|
|
#line 111
|
|
ldv_2_ldv_param_4_1_default = (char *)tmp___5;
|
|
#line 112
|
|
tmp___6 = external_allocated_data();
|
|
#line 112
|
|
ldv_2_ldv_param_4_3_default = (long long *)tmp___6;
|
|
#line 113
|
|
tmp___7 = external_allocated_data();
|
|
#line 113
|
|
ldv_2_resource_file = (struct file *)tmp___7;
|
|
#line 114
|
|
tmp___8 = external_allocated_data();
|
|
#line 114
|
|
ldv_2_resource_inode = (struct inode *)tmp___8;
|
|
#line 115
|
|
ldv_2_ret_default = 1;
|
|
#line 116
|
|
tmp___9 = external_allocated_data();
|
|
#line 116
|
|
ldv_2_size_cnt_func_1_ptr = (int (*)(void * , char * , int , loff_t , u64 , unsigned int ))tmp___9;
|
|
#line 121
|
|
tmp___10 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 121
|
|
ldv_2_container_file_operations = (struct file_operations *)tmp___10;
|
|
#line 125
|
|
tmp___11 = ldv_xmalloc(184UL);
|
|
#line 125
|
|
ldv_2_resource_file = (struct file *)tmp___11;
|
|
#line 126
|
|
tmp___12 = ldv_xmalloc(576UL);
|
|
#line 126
|
|
ldv_2_resource_inode = (struct inode *)tmp___12;
|
|
#line 127
|
|
tmp___13 = ldv_undef_int();
|
|
#line 127
|
|
ldv_2_size_cnt_func_1_ptr = (int (*)(void * , char * , int , loff_t , u64 , unsigned int ))((long )tmp___13);
|
|
}
|
|
#line 134
|
|
goto ldv_main_2;
|
|
#line 136
|
|
return;
|
|
ldv_main_2:
|
|
{
|
|
#line 142
|
|
tmp___15 = ldv_undef_int();
|
|
}
|
|
#line 142
|
|
if (tmp___15 != 0) {
|
|
{
|
|
#line 145
|
|
ldv_2_ret_default = ldv_character_driver_scenario_probe_2_13(ldv_2_container_file_operations->open,
|
|
ldv_2_resource_inode,
|
|
ldv_2_resource_file);
|
|
#line 147
|
|
ldv_2_ret_default = ldv_filter_err_code(ldv_2_ret_default);
|
|
#line 150
|
|
tmp___14 = ldv_undef_int();
|
|
}
|
|
#line 150
|
|
if (tmp___14 != 0) {
|
|
{
|
|
#line 152
|
|
ldv_assume(ldv_2_ret_default == 0);
|
|
}
|
|
#line 159
|
|
goto ldv_call_2;
|
|
} else {
|
|
{
|
|
#line 163
|
|
ldv_assume(ldv_2_ret_default != 0);
|
|
}
|
|
#line 170
|
|
goto ldv_main_2;
|
|
}
|
|
} else {
|
|
{
|
|
#line 175
|
|
ldv_free((void *)ldv_2_resource_file);
|
|
#line 176
|
|
ldv_free((void *)ldv_2_resource_inode);
|
|
#line 180
|
|
ldv_free((void *)ldv_2_container_file_operations);
|
|
}
|
|
#line 188
|
|
return;
|
|
}
|
|
#line 191
|
|
return;
|
|
ldv_call_2:
|
|
{
|
|
#line 197
|
|
tmp___16 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 198
|
|
if (tmp___16 == 1) {
|
|
#line 198
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 223
|
|
if (tmp___16 == 2) {
|
|
#line 223
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 236
|
|
if (tmp___16 == 3) {
|
|
#line 236
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 281
|
|
goto switch_default___0;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 200
|
|
tmp___17 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 200
|
|
ldv_2_ldv_param_4_1_default = (char *)tmp___17;
|
|
#line 201
|
|
tmp___18 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 201
|
|
ldv_2_ldv_param_4_3_default = (long long *)tmp___18;
|
|
#line 206
|
|
ldv_assume((unsigned long )ldv_2_size_cnt_func_1_ptr <= (unsigned long )((int (*)(void * ,
|
|
char * ,
|
|
int ,
|
|
loff_t ,
|
|
u64 ,
|
|
unsigned int ))2147479552));
|
|
#line 208
|
|
ldv_character_driver_scenario_write_2_4((ssize_t (*)(struct file * , char * , size_t ,
|
|
loff_t * ))ldv_2_container_file_operations->write,
|
|
ldv_2_resource_file, ldv_2_ldv_param_4_1_default,
|
|
ldv_2_size_cnt_write_size, ldv_2_ldv_param_4_3_default);
|
|
#line 212
|
|
ldv_free((void *)ldv_2_ldv_param_4_1_default);
|
|
#line 213
|
|
ldv_free((void *)ldv_2_ldv_param_4_3_default);
|
|
}
|
|
#line 220
|
|
goto ldv_call_2;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 226
|
|
ldv_character_driver_scenario_release_2_2(ldv_2_container_file_operations->release,
|
|
ldv_2_resource_inode, ldv_2_resource_file);
|
|
}
|
|
#line 233
|
|
goto ldv_main_2;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 240
|
|
tmp___19 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 241
|
|
if (tmp___19 == 1) {
|
|
#line 241
|
|
goto case_1___0;
|
|
} else {
|
|
|
|
}
|
|
#line 251
|
|
if (tmp___19 == 2) {
|
|
#line 251
|
|
goto case_2___0;
|
|
} else {
|
|
|
|
}
|
|
#line 269
|
|
if (tmp___19 == 3) {
|
|
#line 269
|
|
goto case_3___0;
|
|
} else {
|
|
|
|
}
|
|
#line 277
|
|
goto switch_default;
|
|
case_1___0: /* CIL Label */ ;
|
|
#line 243
|
|
if ((unsigned long )ldv_2_callback_readdir != (unsigned long )((int (*)(struct file * ,
|
|
void * ,
|
|
int (*)(void * ,
|
|
char const * ,
|
|
int ,
|
|
loff_t ,
|
|
u64 ,
|
|
unsigned int ) ))0)) {
|
|
{
|
|
#line 245
|
|
ldv_character_driver_scenario_callback_2_25(ldv_2_callback_readdir, ldv_2_resource_file,
|
|
(void *)ldv_2_resource_inode, ldv_2_size_cnt_func_1_ptr);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 249
|
|
goto ldv_16584;
|
|
case_2___0: /* CIL Label */
|
|
{
|
|
#line 253
|
|
tmp___20 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 253
|
|
ldv_2_ldv_param_22_1_default = (char *)tmp___20;
|
|
#line 254
|
|
tmp___21 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 254
|
|
ldv_2_ldv_param_22_3_default = (long long *)tmp___21;
|
|
#line 259
|
|
ldv_character_driver_scenario_callback_2_22(ldv_2_callback_read, ldv_2_resource_file,
|
|
ldv_2_ldv_param_22_1_default, ldv_2_size_cnt_write_size,
|
|
ldv_2_ldv_param_22_3_default);
|
|
#line 263
|
|
ldv_free((void *)ldv_2_ldv_param_22_1_default);
|
|
#line 264
|
|
ldv_free((void *)ldv_2_ldv_param_22_3_default);
|
|
}
|
|
#line 267
|
|
goto ldv_16584;
|
|
case_3___0: /* CIL Label */
|
|
{
|
|
#line 272
|
|
ldv_character_driver_scenario_callback_2_5(ldv_2_callback_llseek, ldv_2_resource_file,
|
|
ldv_2_ldv_param_5_1_default, ldv_2_ldv_param_5_2_default);
|
|
}
|
|
#line 275
|
|
goto ldv_16584;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 277
|
|
ldv_stop();
|
|
}
|
|
switch_break___0: /* CIL Label */ ;
|
|
}
|
|
ldv_16584: ;
|
|
#line 279
|
|
goto ldv_16588;
|
|
switch_default___0: /* CIL Label */
|
|
{
|
|
#line 281
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
ldv_16588: ;
|
|
#line 290
|
|
goto ldv_call_2;
|
|
#line 292
|
|
goto ldv_call_2;
|
|
#line 294
|
|
return;
|
|
}
|
|
}
|
|
#line 299 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_callback_2_22(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 ,
|
|
unsigned long arg3 , long long *arg4 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 300
|
|
configfs_read_file(arg1, arg2, arg3, arg4);
|
|
}
|
|
#line 301
|
|
return;
|
|
}
|
|
}
|
|
#line 304 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_callback_2_5(loff_t (*arg0)(struct file * , loff_t ,
|
|
int ) , struct file *arg1 ,
|
|
long long arg2 , int arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 305
|
|
generic_file_llseek(arg1, arg2, arg3);
|
|
}
|
|
#line 306
|
|
return;
|
|
}
|
|
}
|
|
#line 309 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
int ldv_character_driver_scenario_probe_2_13(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 310
|
|
tmp = configfs_open_file(arg1, arg2);
|
|
}
|
|
#line 310
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 314 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_release_2_2(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 315
|
|
configfs_release(arg1, arg2);
|
|
}
|
|
#line 316
|
|
return;
|
|
}
|
|
}
|
|
#line 319 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
void ldv_character_driver_scenario_write_2_4(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 , unsigned long arg3 ,
|
|
long long *arg4 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 320
|
|
configfs_write_file(arg1, (char const *)arg2, arg3, arg4);
|
|
}
|
|
#line 321
|
|
return;
|
|
}
|
|
}
|
|
#line 440 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
static unsigned long ldv___get_free_pages_15(gfp_t flags , unsigned int ldv_func_arg2 )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 443
|
|
ldv_check_alloc_flags(flags);
|
|
#line 444
|
|
tmp = ldv_malloc_unknown_size();
|
|
}
|
|
#line 444
|
|
return ((unsigned long )((unsigned int )((long )tmp)));
|
|
}
|
|
}
|
|
#line 448 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/file.c.aux"
|
|
static void ldv_kfree_16(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 451
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 452
|
|
return;
|
|
}
|
|
}
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/err.h"
|
|
long ldv_is_err(void const *ptr ) ;
|
|
#line 23
|
|
void *ldv_err_ptr(long error ) ;
|
|
#line 24
|
|
long ldv_ptr_err(void const *ptr ) ;
|
|
#line 41 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void *ldv_zalloc_unknown_size(void) ;
|
|
#line 14 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_after_alloc(void *res ) ;
|
|
#line 184 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kernel.h"
|
|
extern int snprintf(char * , size_t , char const * , ...) ;
|
|
#line 240
|
|
extern int printk(char const * , ...) ;
|
|
#line 61 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/string_64.h"
|
|
extern size_t strlen(char const * ) ;
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/err.h"
|
|
__inline static void *ERR_PTR(long error ) ;
|
|
#line 31
|
|
__inline static long PTR_ERR(void const *ptr ) ;
|
|
#line 40
|
|
__inline static long IS_ERR(void const *ptr ) ;
|
|
#line 41 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void __list_add(struct list_head *new , struct list_head *prev , struct list_head *next )
|
|
{
|
|
|
|
|
|
{
|
|
#line 45
|
|
next->prev = new;
|
|
#line 46
|
|
new->next = next;
|
|
#line 47
|
|
new->prev = prev;
|
|
#line 48
|
|
prev->next = new;
|
|
#line 49
|
|
return;
|
|
}
|
|
}
|
|
#line 64 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void list_add(struct list_head *new , struct list_head *head )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 66
|
|
__list_add(new, head, head->next);
|
|
}
|
|
#line 67
|
|
return;
|
|
}
|
|
}
|
|
#line 78 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void list_add_tail(struct list_head *new , struct list_head *head )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 80
|
|
__list_add(new, head->prev, head);
|
|
}
|
|
#line 81
|
|
return;
|
|
}
|
|
}
|
|
#line 103 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void list_del(struct list_head *entry )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 105
|
|
__list_del(entry->prev, entry->next);
|
|
#line 106
|
|
entry->next = (struct list_head *)-2401263026317557504L;
|
|
#line 107
|
|
entry->prev = (struct list_head *)-2401263026316508672L;
|
|
}
|
|
#line 108
|
|
return;
|
|
}
|
|
}
|
|
#line 151 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static void list_move(struct list_head *list , struct list_head *head )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 153
|
|
__list_del(list->prev, list->next);
|
|
#line 154
|
|
list_add(list, head);
|
|
}
|
|
#line 155
|
|
return;
|
|
}
|
|
}
|
|
#line 184 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/list.h"
|
|
__inline static int list_empty(struct list_head const *head )
|
|
{
|
|
|
|
|
|
{
|
|
#line 186
|
|
return ((unsigned long )((struct list_head const *)head->next) == (unsigned long )head);
|
|
}
|
|
}
|
|
#line 33 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/atomic_64.h"
|
|
__inline static void atomic_set(atomic_t *v , int i )
|
|
{
|
|
|
|
|
|
{
|
|
#line 35
|
|
v->counter = i;
|
|
#line 36
|
|
return;
|
|
}
|
|
}
|
|
#line 141 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
static void ldv_kfree_14___0(void const *ldv_func_arg1 ) ;
|
|
#line 145
|
|
static void ldv_kfree_15(void const *ldv_func_arg1 ) ;
|
|
#line 136 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab_def.h"
|
|
__inline static void *kmalloc(size_t size , gfp_t flags ) ;
|
|
#line 307 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
__inline static void *kmem_cache_zalloc(struct kmem_cache *k , gfp_t flags ) ;
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static unsigned long partial_name_hash(unsigned long c , unsigned long prevhash )
|
|
{
|
|
|
|
|
|
{
|
|
#line 56
|
|
return ((((c << 4) + prevhash) + (c >> 4)) * 11UL);
|
|
}
|
|
}
|
|
#line 63 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static unsigned long end_name_hash(unsigned long hash )
|
|
{
|
|
|
|
|
|
{
|
|
#line 65
|
|
return ((unsigned long )((unsigned int )hash));
|
|
}
|
|
}
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static unsigned int full_name_hash(unsigned char const *name , unsigned int len )
|
|
{
|
|
unsigned long hash ;
|
|
unsigned char const *tmp ;
|
|
unsigned int tmp___0 ;
|
|
unsigned long tmp___1 ;
|
|
|
|
{
|
|
#line 72
|
|
hash = 0UL;
|
|
#line 73
|
|
goto ldv_10022;
|
|
ldv_10021:
|
|
{
|
|
#line 74
|
|
tmp = name;
|
|
#line 74
|
|
name = name + 1;
|
|
#line 74
|
|
hash = partial_name_hash((unsigned long )*tmp, hash);
|
|
}
|
|
ldv_10022:
|
|
#line 73
|
|
tmp___0 = len;
|
|
#line 73
|
|
len = len - 1U;
|
|
#line 73
|
|
if (tmp___0 != 0U) {
|
|
#line 75
|
|
goto ldv_10021;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 75
|
|
tmp___1 = end_name_hash(hash);
|
|
}
|
|
#line 75
|
|
return ((unsigned int )tmp___1);
|
|
}
|
|
}
|
|
#line 236
|
|
extern void d_delete(struct dentry * ) ;
|
|
#line 239
|
|
extern struct dentry *d_alloc(struct dentry * , struct qstr const * ) ;
|
|
#line 263
|
|
extern void d_rehash(struct dentry * ) ;
|
|
#line 274 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
__inline static void d_add(struct dentry *entry , struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 276
|
|
d_instantiate(entry, inode);
|
|
#line 277
|
|
d_rehash(entry);
|
|
}
|
|
#line 278
|
|
return;
|
|
}
|
|
}
|
|
#line 371
|
|
extern void dput(struct dentry * ) ;
|
|
#line 1666 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
__inline static void inc_nlink(struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
#line 1668
|
|
inode->i_nlink = inode->i_nlink + 1U;
|
|
#line 1669
|
|
return;
|
|
}
|
|
}
|
|
#line 2156
|
|
extern ino_t iunique(struct super_block * , ino_t ) ;
|
|
#line 2346
|
|
extern int simple_rmdir(struct inode * , struct dentry * ) ;
|
|
#line 2360
|
|
extern struct dentry *simple_lookup(struct inode * , struct dentry * , struct nameidata * ) ;
|
|
#line 2361
|
|
extern ssize_t generic_read_dir(struct file * , char * , size_t , loff_t * ) ;
|
|
#line 2392 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
__inline static ino_t parent_ino(struct dentry *dentry )
|
|
{
|
|
ino_t res ;
|
|
|
|
{
|
|
{
|
|
#line 2396
|
|
spin_lock(& dentry->d_lock);
|
|
#line 2397
|
|
res = ((dentry->d_parent)->d_inode)->i_ino;
|
|
#line 2398
|
|
spin_unlock(& dentry->d_lock);
|
|
}
|
|
#line 2399
|
|
return (res);
|
|
}
|
|
}
|
|
#line 105 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
__inline static struct config_group *to_config_group(struct config_item *item )
|
|
{
|
|
struct config_item const *__mptr ;
|
|
struct config_group *tmp ;
|
|
|
|
{
|
|
#line 107
|
|
if ((unsigned long )item != (unsigned long )((struct config_item *)0)) {
|
|
#line 107
|
|
__mptr = (struct config_item const *)item;
|
|
#line 107
|
|
tmp = (struct config_group *)__mptr;
|
|
} else {
|
|
#line 107
|
|
tmp = (struct config_group *)0;
|
|
}
|
|
#line 107
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 110 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
__inline static struct config_group *config_group_get(struct config_group *group )
|
|
{
|
|
struct config_item *tmp ;
|
|
struct config_group *tmp___0 ;
|
|
struct config_group *tmp___1 ;
|
|
|
|
{
|
|
#line 112
|
|
if ((unsigned long )group != (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 112
|
|
tmp = config_item_get(& group->cg_item);
|
|
#line 112
|
|
tmp___0 = to_config_group(tmp);
|
|
#line 112
|
|
tmp___1 = tmp___0;
|
|
}
|
|
} else {
|
|
#line 112
|
|
tmp___1 = (struct config_group *)0;
|
|
}
|
|
#line 112
|
|
return (tmp___1);
|
|
}
|
|
}
|
|
#line 115 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
__inline static void config_group_put(struct config_group *group )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 117
|
|
config_item_put(& group->cg_item);
|
|
}
|
|
#line 118
|
|
return;
|
|
}
|
|
}
|
|
#line 245 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
__inline static struct configfs_subsystem *to_configfs_subsystem(struct config_group *group )
|
|
{
|
|
struct config_group const *__mptr ;
|
|
struct configfs_subsystem *tmp ;
|
|
|
|
{
|
|
#line 248
|
|
if ((unsigned long )group != (unsigned long )((struct config_group *)0)) {
|
|
#line 248
|
|
__mptr = (struct config_group const *)group;
|
|
#line 248
|
|
tmp = (struct configfs_subsystem *)__mptr;
|
|
} else {
|
|
#line 248
|
|
tmp = (struct configfs_subsystem *)0;
|
|
}
|
|
#line 247
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 252
|
|
int configfs_register_subsystem(struct configfs_subsystem *subsys ) ;
|
|
#line 253
|
|
void configfs_unregister_subsystem(struct configfs_subsystem *subsys ) ;
|
|
#line 257
|
|
int configfs_depend_item(struct configfs_subsystem *subsys , struct config_item *target ) ;
|
|
#line 258
|
|
void configfs_undepend_item(struct configfs_subsystem *subsys , struct config_item *target ) ;
|
|
#line 58 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
struct mutex configfs_symlink_mutex ;
|
|
#line 61
|
|
struct vfsmount *configfs_mount ;
|
|
#line 64
|
|
int configfs_is_root(struct config_item *item ) ;
|
|
#line 74
|
|
int configfs_dirent_is_ready(struct configfs_dirent *sd ) ;
|
|
#line 83
|
|
int configfs_pin_fs(void) ;
|
|
#line 84
|
|
void configfs_release_fs(void) ;
|
|
#line 86
|
|
struct rw_semaphore configfs_rename_sem ;
|
|
#line 88
|
|
struct file_operations const configfs_dir_operations ;
|
|
#line 91
|
|
struct inode_operations const configfs_dir_inode_operations ;
|
|
#line 92
|
|
struct inode_operations const configfs_symlink_inode_operations ;
|
|
#line 94
|
|
int configfs_symlink(struct inode *dir , struct dentry *dentry , char const *symname ) ;
|
|
#line 96
|
|
int configfs_unlink(struct inode *dir , struct dentry *dentry ) ;
|
|
#line 103
|
|
int configfs_create_link(struct configfs_symlink *sl , struct dentry *parent , struct dentry *dentry ) ;
|
|
#line 137 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void release_configfs_dirent___0(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 139
|
|
if ((sd->s_type & 1) == 0) {
|
|
{
|
|
#line 140
|
|
ldv_kfree_14___0((void const *)sd->s_iattr);
|
|
#line 141
|
|
kmem_cache_free(configfs_dir_cachep, (void *)sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 143
|
|
return;
|
|
}
|
|
}
|
|
#line 145 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static struct configfs_dirent *configfs_get(struct configfs_dirent *sd )
|
|
{
|
|
int __ret_warn_on ;
|
|
int tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
#line 147
|
|
if ((unsigned long )sd != (unsigned long )((struct configfs_dirent *)0)) {
|
|
{
|
|
#line 148
|
|
tmp = atomic_read((atomic_t const *)(& sd->s_count));
|
|
#line 148
|
|
__ret_warn_on = tmp == 0;
|
|
#line 148
|
|
tmp___0 = __builtin_expect(__ret_warn_on != 0, 0L);
|
|
}
|
|
#line 148
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 148
|
|
warn_slowpath_null("fs/configfs/configfs_internal.h", 148);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 148
|
|
__builtin_expect(__ret_warn_on != 0, 0L);
|
|
#line 149
|
|
atomic_inc(& sd->s_count);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 151
|
|
return (sd);
|
|
}
|
|
}
|
|
#line 154 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void configfs_put___0(struct configfs_dirent *sd )
|
|
{
|
|
int __ret_warn_on ;
|
|
int tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 156
|
|
tmp = atomic_read((atomic_t const *)(& sd->s_count));
|
|
#line 156
|
|
__ret_warn_on = tmp == 0;
|
|
#line 156
|
|
tmp___0 = __builtin_expect(__ret_warn_on != 0, 0L);
|
|
}
|
|
#line 156
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 156
|
|
warn_slowpath_null("fs/configfs/configfs_internal.h", 156);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 156
|
|
__builtin_expect(__ret_warn_on != 0, 0L);
|
|
#line 157
|
|
tmp___1 = atomic_dec_and_test(& sd->s_count);
|
|
}
|
|
#line 157
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 158
|
|
release_configfs_dirent___0(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 159
|
|
return;
|
|
}
|
|
}
|
|
#line 38 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
struct rw_semaphore configfs_rename_sem = {0L, {{{{0U}}}}, {& configfs_rename_sem.wait_list, & configfs_rename_sem.wait_list}};
|
|
#line 51 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
spinlock_t configfs_dirent_lock = {{{{0U}}}};
|
|
#line 53 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_d_iput(struct dentry *dentry , struct inode *inode )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
long tmp ;
|
|
|
|
{
|
|
#line 56
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 58
|
|
if ((unsigned long )sd != (unsigned long )((struct configfs_dirent *)0)) {
|
|
{
|
|
#line 59
|
|
tmp = __builtin_expect((unsigned long )sd->s_dentry != (unsigned long )dentry,
|
|
0L);
|
|
}
|
|
#line 59
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 59
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (59), "i" (12UL));
|
|
#line 59
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 60
|
|
sd->s_dentry = (struct dentry *)0;
|
|
#line 61
|
|
configfs_put___0(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 63
|
|
iput(inode);
|
|
}
|
|
#line 64
|
|
return;
|
|
}
|
|
}
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_d_delete(struct dentry *dentry )
|
|
{
|
|
|
|
|
|
{
|
|
#line 72
|
|
return (1);
|
|
}
|
|
}
|
|
#line 75 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static struct dentry_operations const configfs_dentry_ops = {0, 0, 0, & configfs_d_delete, 0, & configfs_d_iput, 0};
|
|
#line 146 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_init_dirent_depth(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 148
|
|
return;
|
|
}
|
|
}
|
|
#line 150 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_set_dir_dirent_depth(struct configfs_dirent *parent_sd , struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 152
|
|
return;
|
|
}
|
|
}
|
|
#line 156 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_adjust_dir_dirent_depth_before_populate(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 158
|
|
return;
|
|
}
|
|
}
|
|
#line 161 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_adjust_dir_dirent_depth_after_populate(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 163
|
|
return;
|
|
}
|
|
}
|
|
#line 170 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static struct configfs_dirent *configfs_new_dirent(struct configfs_dirent *parent_sd ,
|
|
void *element , int type )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 175
|
|
tmp = kmem_cache_zalloc(configfs_dir_cachep, 208U);
|
|
#line 175
|
|
sd = (struct configfs_dirent *)tmp;
|
|
}
|
|
#line 176
|
|
if ((unsigned long )sd == (unsigned long )((struct configfs_dirent *)0)) {
|
|
{
|
|
#line 177
|
|
tmp___0 = ERR_PTR(-12L);
|
|
}
|
|
#line 177
|
|
return ((struct configfs_dirent *)tmp___0);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 179
|
|
atomic_set(& sd->s_count, 1);
|
|
#line 180
|
|
INIT_LIST_HEAD(& sd->s_links);
|
|
#line 181
|
|
INIT_LIST_HEAD(& sd->s_children);
|
|
#line 182
|
|
sd->s_element = element;
|
|
#line 183
|
|
sd->s_type = type;
|
|
#line 184
|
|
configfs_init_dirent_depth(sd);
|
|
#line 185
|
|
spin_lock(& configfs_dirent_lock);
|
|
}
|
|
#line 186
|
|
if ((parent_sd->s_type & 256) != 0) {
|
|
{
|
|
#line 187
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 188
|
|
kmem_cache_free(configfs_dir_cachep, (void *)sd);
|
|
#line 189
|
|
tmp___1 = ERR_PTR(-2L);
|
|
}
|
|
#line 189
|
|
return ((struct configfs_dirent *)tmp___1);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 191
|
|
list_add(& sd->s_sibling, & parent_sd->s_children);
|
|
#line 192
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
#line 194
|
|
return (sd);
|
|
}
|
|
}
|
|
#line 204 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_dirent_exists(struct configfs_dirent *parent_sd , unsigned char const *new )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
struct list_head const *__mptr ;
|
|
unsigned char const *existing ;
|
|
unsigned char const *tmp ;
|
|
int tmp___0 ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
#line 209
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 209
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 209
|
|
goto ldv_16501;
|
|
ldv_16500: ;
|
|
#line 210
|
|
if ((unsigned long )sd->s_element != (unsigned long )((void *)0)) {
|
|
{
|
|
#line 211
|
|
tmp = configfs_get_name(sd);
|
|
#line 211
|
|
existing = tmp;
|
|
#line 212
|
|
tmp___0 = strcmp((char const *)existing, (char const *)new);
|
|
}
|
|
#line 212
|
|
if (tmp___0 != 0) {
|
|
#line 213
|
|
goto ldv_16499;
|
|
} else {
|
|
#line 215
|
|
return (-17);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
ldv_16499:
|
|
#line 209
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 209
|
|
sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16501:
|
|
{
|
|
#line 209
|
|
__builtin_prefetch((void const *)sd->s_sibling.next);
|
|
}
|
|
#line 209
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 211
|
|
goto ldv_16500;
|
|
} else {
|
|
|
|
}
|
|
|
|
#line 219
|
|
return (0);
|
|
}
|
|
}
|
|
#line 223 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
int configfs_make_dirent(struct configfs_dirent *parent_sd , struct dentry *dentry ,
|
|
void *element , umode_t mode , int type )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
long tmp ;
|
|
long tmp___0 ;
|
|
struct configfs_dirent *tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 229
|
|
sd = configfs_new_dirent(parent_sd, element, type);
|
|
#line 230
|
|
tmp___0 = IS_ERR((void const *)sd);
|
|
}
|
|
#line 230
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 231
|
|
tmp = PTR_ERR((void const *)sd);
|
|
}
|
|
#line 231
|
|
return ((int )tmp);
|
|
} else {
|
|
|
|
}
|
|
#line 233
|
|
sd->s_mode = mode;
|
|
#line 234
|
|
sd->s_dentry = dentry;
|
|
#line 235
|
|
if ((unsigned long )dentry != (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 236
|
|
tmp___1 = configfs_get(sd);
|
|
#line 236
|
|
dentry->d_fsdata = (void *)tmp___1;
|
|
#line 237
|
|
dentry->d_op = & configfs_dentry_ops;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 240
|
|
return (0);
|
|
}
|
|
}
|
|
#line 243 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int init_dir(struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 245
|
|
inode->i_op = & configfs_dir_inode_operations;
|
|
#line 246
|
|
inode->i_fop = & configfs_dir_operations;
|
|
#line 249
|
|
inc_nlink(inode);
|
|
}
|
|
#line 250
|
|
return (0);
|
|
}
|
|
}
|
|
#line 253 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_init_file(struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
#line 255
|
|
inode->i_size = 4096LL;
|
|
#line 256
|
|
inode->i_fop = & configfs_file_operations;
|
|
#line 257
|
|
return (0);
|
|
}
|
|
}
|
|
#line 260 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int init_symlink(struct inode *inode )
|
|
{
|
|
|
|
|
|
{
|
|
#line 262
|
|
inode->i_op = & configfs_symlink_inode_operations;
|
|
#line 263
|
|
return (0);
|
|
}
|
|
}
|
|
#line 266 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int create_dir(struct config_item *k , struct dentry *p , struct dentry *d )
|
|
{
|
|
int error ;
|
|
umode_t mode ;
|
|
struct configfs_dirent *sd ;
|
|
|
|
{
|
|
{
|
|
#line 270
|
|
mode = 16877U;
|
|
#line 272
|
|
error = configfs_dirent_exists((struct configfs_dirent *)p->d_fsdata, d->d_name.name);
|
|
}
|
|
#line 273
|
|
if (error == 0) {
|
|
{
|
|
#line 274
|
|
error = configfs_make_dirent((struct configfs_dirent *)p->d_fsdata, d, (void *)k,
|
|
(int )mode, 1026);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 276
|
|
if (error == 0) {
|
|
{
|
|
#line 277
|
|
configfs_set_dir_dirent_depth((struct configfs_dirent *)p->d_fsdata, (struct configfs_dirent *)d->d_fsdata);
|
|
#line 278
|
|
error = configfs_create(d, (int )mode, & init_dir);
|
|
}
|
|
#line 279
|
|
if (error == 0) {
|
|
{
|
|
#line 280
|
|
inc_nlink(p->d_inode);
|
|
#line 281
|
|
d->d_op = & configfs_dentry_ops;
|
|
}
|
|
} else {
|
|
#line 283
|
|
sd = (struct configfs_dirent *)d->d_fsdata;
|
|
#line 284
|
|
if ((unsigned long )sd != (unsigned long )((struct configfs_dirent *)0)) {
|
|
{
|
|
#line 285
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 286
|
|
list_del_init(& sd->s_sibling);
|
|
#line 287
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 288
|
|
configfs_put___0(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 292
|
|
return (error);
|
|
}
|
|
}
|
|
#line 305 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_create_dir(struct config_item *item , struct dentry *dentry )
|
|
{
|
|
struct dentry *parent ;
|
|
int error ;
|
|
long tmp ;
|
|
|
|
{
|
|
{
|
|
#line 308
|
|
error = 0;
|
|
#line 310
|
|
tmp = __builtin_expect((unsigned long )item == (unsigned long )((struct config_item *)0),
|
|
0L);
|
|
}
|
|
#line 310
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 310
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (310), "i" (12UL));
|
|
#line 310
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 312
|
|
if ((unsigned long )item->ci_parent != (unsigned long )((struct config_item *)0)) {
|
|
#line 313
|
|
parent = (item->ci_parent)->ci_dentry;
|
|
} else
|
|
#line 314
|
|
if ((unsigned long )configfs_mount != (unsigned long )((struct vfsmount *)0) && (unsigned long )configfs_mount->mnt_sb != (unsigned long )((struct super_block *)0)) {
|
|
#line 315
|
|
parent = (configfs_mount->mnt_sb)->s_root;
|
|
} else {
|
|
#line 317
|
|
return (-14);
|
|
}
|
|
{
|
|
#line 319
|
|
error = create_dir(item, parent, dentry);
|
|
}
|
|
#line 320
|
|
if (error == 0) {
|
|
#line 321
|
|
item->ci_dentry = dentry;
|
|
} else {
|
|
|
|
}
|
|
#line 322
|
|
return (error);
|
|
}
|
|
}
|
|
#line 332 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_dir_set_ready(struct configfs_dirent *sd )
|
|
{
|
|
struct configfs_dirent *child_sd ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
#line 336
|
|
sd->s_type = sd->s_type & -1025;
|
|
#line 337
|
|
__mptr = (struct list_head const *)sd->s_children.next;
|
|
#line 337
|
|
child_sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 337
|
|
goto ldv_16543;
|
|
ldv_16542: ;
|
|
#line 338
|
|
if ((child_sd->s_type & 1024) != 0) {
|
|
{
|
|
#line 339
|
|
configfs_dir_set_ready(child_sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 337
|
|
__mptr___0 = (struct list_head const *)child_sd->s_sibling.next;
|
|
#line 337
|
|
child_sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16543:
|
|
{
|
|
#line 337
|
|
__builtin_prefetch((void const *)child_sd->s_sibling.next);
|
|
}
|
|
#line 337
|
|
if ((unsigned long )(& child_sd->s_sibling) != (unsigned long )(& sd->s_children)) {
|
|
#line 339
|
|
goto ldv_16542;
|
|
} else {
|
|
|
|
}
|
|
|
|
#line 344
|
|
return;
|
|
}
|
|
}
|
|
#line 352 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
int configfs_dirent_is_ready(struct configfs_dirent *sd )
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 356
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 357
|
|
ret = (sd->s_type & 1024) == 0;
|
|
#line 358
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
#line 360
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 363 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
int configfs_create_link(struct configfs_symlink *sl , struct dentry *parent , struct dentry *dentry )
|
|
{
|
|
int err ;
|
|
umode_t mode ;
|
|
struct configfs_dirent *sd ;
|
|
|
|
{
|
|
{
|
|
#line 367
|
|
err = 0;
|
|
#line 368
|
|
mode = 41471U;
|
|
#line 370
|
|
err = configfs_make_dirent((struct configfs_dirent *)parent->d_fsdata, dentry, (void *)sl,
|
|
(int )mode, 32);
|
|
}
|
|
#line 372
|
|
if (err == 0) {
|
|
{
|
|
#line 373
|
|
err = configfs_create(dentry, (int )mode, & init_symlink);
|
|
}
|
|
#line 374
|
|
if (err == 0) {
|
|
#line 375
|
|
dentry->d_op = & configfs_dentry_ops;
|
|
} else {
|
|
#line 377
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 378
|
|
if ((unsigned long )sd != (unsigned long )((struct configfs_dirent *)0)) {
|
|
{
|
|
#line 379
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 380
|
|
list_del_init(& sd->s_sibling);
|
|
#line 381
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 382
|
|
configfs_put___0(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 386
|
|
return (err);
|
|
}
|
|
}
|
|
#line 389 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void remove_dir(struct dentry *d )
|
|
{
|
|
struct dentry *parent ;
|
|
struct dentry *tmp ;
|
|
struct configfs_dirent *sd ;
|
|
|
|
{
|
|
{
|
|
#line 391
|
|
tmp = dget(d->d_parent);
|
|
#line 391
|
|
parent = tmp;
|
|
#line 394
|
|
sd = (struct configfs_dirent *)d->d_fsdata;
|
|
#line 395
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 396
|
|
list_del_init(& sd->s_sibling);
|
|
#line 397
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 398
|
|
configfs_put___0(sd);
|
|
}
|
|
#line 399
|
|
if ((unsigned long )d->d_inode != (unsigned long )((struct inode *)0)) {
|
|
{
|
|
#line 400
|
|
simple_rmdir(parent->d_inode, d);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 405
|
|
dput(parent);
|
|
}
|
|
#line 406
|
|
return;
|
|
}
|
|
}
|
|
#line 419 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_remove_dir(struct config_item *item )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct dentry *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 421
|
|
tmp = dget(item->ci_dentry);
|
|
#line 421
|
|
dentry = tmp;
|
|
}
|
|
#line 423
|
|
if ((unsigned long )dentry == (unsigned long )((struct dentry *)0)) {
|
|
#line 424
|
|
return;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 426
|
|
remove_dir(dentry);
|
|
#line 430
|
|
dput(dentry);
|
|
}
|
|
#line 431
|
|
return;
|
|
}
|
|
}
|
|
#line 437 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_attach_attr(struct configfs_dirent *sd , struct dentry *dentry )
|
|
{
|
|
struct configfs_attribute *attr ;
|
|
int error ;
|
|
struct configfs_dirent *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 439
|
|
attr = (struct configfs_attribute *)sd->s_element;
|
|
#line 442
|
|
tmp = configfs_get(sd);
|
|
#line 442
|
|
dentry->d_fsdata = (void *)tmp;
|
|
#line 443
|
|
sd->s_dentry = dentry;
|
|
#line 444
|
|
error = configfs_create(dentry, (int )((attr->ca_mode & 4095U) | 32768U), & configfs_init_file);
|
|
}
|
|
#line 446
|
|
if (error != 0) {
|
|
{
|
|
#line 447
|
|
configfs_put___0(sd);
|
|
}
|
|
#line 448
|
|
return (error);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 451
|
|
dentry->d_op = & configfs_dentry_ops;
|
|
#line 452
|
|
d_rehash(dentry);
|
|
}
|
|
#line 454
|
|
return (0);
|
|
}
|
|
}
|
|
#line 457 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static struct dentry *configfs_lookup(struct inode *dir , struct dentry *dentry ,
|
|
struct nameidata *nd )
|
|
{
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *sd ;
|
|
int found ;
|
|
int err ;
|
|
int tmp ;
|
|
struct list_head const *__mptr ;
|
|
unsigned char const *name ;
|
|
unsigned char const *tmp___0 ;
|
|
int tmp___1 ;
|
|
struct list_head const *__mptr___0 ;
|
|
struct dentry *tmp___2 ;
|
|
void *tmp___3 ;
|
|
|
|
{
|
|
{
|
|
#line 461
|
|
parent_sd = (struct configfs_dirent *)(dentry->d_parent)->d_fsdata;
|
|
#line 463
|
|
found = 0;
|
|
#line 474
|
|
err = -2;
|
|
#line 475
|
|
tmp = configfs_dirent_is_ready(parent_sd);
|
|
}
|
|
#line 475
|
|
if (tmp == 0) {
|
|
#line 476
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
#line 478
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 478
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 478
|
|
goto ldv_16591;
|
|
ldv_16590: ;
|
|
#line 479
|
|
if ((sd->s_type & 4) != 0) {
|
|
{
|
|
#line 480
|
|
tmp___0 = configfs_get_name(sd);
|
|
#line 480
|
|
name = tmp___0;
|
|
#line 482
|
|
tmp___1 = strcmp((char const *)name, (char const *)dentry->d_name.name);
|
|
}
|
|
#line 482
|
|
if (tmp___1 != 0) {
|
|
#line 483
|
|
goto ldv_16588;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 485
|
|
found = 1;
|
|
#line 486
|
|
err = configfs_attach_attr(sd, dentry);
|
|
}
|
|
#line 487
|
|
goto ldv_16589;
|
|
} else {
|
|
|
|
}
|
|
ldv_16588:
|
|
#line 478
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 478
|
|
sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16591:
|
|
{
|
|
#line 478
|
|
__builtin_prefetch((void const *)sd->s_sibling.next);
|
|
}
|
|
#line 478
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 480
|
|
goto ldv_16590;
|
|
} else {
|
|
|
|
}
|
|
ldv_16589: ;
|
|
#line 491
|
|
if (found == 0) {
|
|
{
|
|
#line 496
|
|
tmp___2 = simple_lookup(dir, dentry, nd);
|
|
}
|
|
#line 496
|
|
return (tmp___2);
|
|
} else {
|
|
|
|
}
|
|
out:
|
|
{
|
|
#line 500
|
|
tmp___3 = ERR_PTR((long )err);
|
|
}
|
|
#line 500
|
|
return ((struct dentry *)tmp___3);
|
|
}
|
|
}
|
|
#line 511 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_detach_prep(struct dentry *dentry , struct mutex **wait_mutex )
|
|
{
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *sd ;
|
|
int ret ;
|
|
int tmp ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
{
|
|
#line 513
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 518
|
|
parent_sd->s_type = parent_sd->s_type | 256;
|
|
#line 520
|
|
ret = -16;
|
|
#line 521
|
|
tmp = list_empty((struct list_head const *)(& parent_sd->s_links));
|
|
}
|
|
#line 521
|
|
if (tmp == 0) {
|
|
#line 522
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
#line 524
|
|
ret = 0;
|
|
#line 525
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 525
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 525
|
|
goto ldv_16607;
|
|
ldv_16606: ;
|
|
#line 526
|
|
if ((unsigned long )sd->s_element == (unsigned long )((void *)0) || (sd->s_type & 4) != 0) {
|
|
#line 528
|
|
goto ldv_16604;
|
|
} else {
|
|
|
|
}
|
|
#line 529
|
|
if ((sd->s_type & 128) != 0) {
|
|
#line 531
|
|
if ((sd->s_type & 512) != 0) {
|
|
#line 532
|
|
if ((unsigned long )wait_mutex != (unsigned long )((struct mutex **)0)) {
|
|
#line 533
|
|
*wait_mutex = & ((sd->s_dentry)->d_inode)->i_mutex;
|
|
} else {
|
|
|
|
}
|
|
#line 534
|
|
return (-11);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 541
|
|
ret = configfs_detach_prep(sd->s_dentry, wait_mutex);
|
|
}
|
|
#line 542
|
|
if (ret == 0) {
|
|
#line 543
|
|
goto ldv_16604;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
#line 545
|
|
ret = -39;
|
|
}
|
|
#line 547
|
|
goto ldv_16605;
|
|
ldv_16604:
|
|
#line 525
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 525
|
|
sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16607:
|
|
{
|
|
#line 525
|
|
__builtin_prefetch((void const *)sd->s_sibling.next);
|
|
}
|
|
#line 525
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 527
|
|
goto ldv_16606;
|
|
} else {
|
|
|
|
}
|
|
ldv_16605: ;
|
|
out: ;
|
|
#line 551
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 558 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_detach_rollback(struct dentry *dentry )
|
|
{
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *sd ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
#line 560
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 563
|
|
parent_sd->s_type = parent_sd->s_type & -257;
|
|
#line 565
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 565
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 565
|
|
goto ldv_16618;
|
|
ldv_16617: ;
|
|
#line 566
|
|
if ((sd->s_type & 128) != 0) {
|
|
{
|
|
#line 567
|
|
configfs_detach_rollback(sd->s_dentry);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 565
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 565
|
|
sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16618:
|
|
{
|
|
#line 565
|
|
__builtin_prefetch((void const *)sd->s_sibling.next);
|
|
}
|
|
#line 565
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 567
|
|
goto ldv_16617;
|
|
} else {
|
|
|
|
}
|
|
|
|
#line 572
|
|
return;
|
|
}
|
|
}
|
|
#line 570 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void detach_attrs(struct config_item *item )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct dentry *tmp ;
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_dirent *tmp___0 ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
struct list_head const *__mptr___1 ;
|
|
|
|
{
|
|
{
|
|
#line 572
|
|
tmp = dget(item->ci_dentry);
|
|
#line 572
|
|
dentry = tmp;
|
|
}
|
|
#line 576
|
|
if ((unsigned long )dentry == (unsigned long )((struct dentry *)0)) {
|
|
#line 577
|
|
return;
|
|
} else {
|
|
|
|
}
|
|
#line 582
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 583
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 583
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 583
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 583
|
|
tmp___0 = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
#line 583
|
|
goto ldv_16636;
|
|
ldv_16635: ;
|
|
#line 584
|
|
if ((unsigned long )sd->s_element == (unsigned long )((void *)0) || (sd->s_type & 4) == 0) {
|
|
#line 585
|
|
goto ldv_16634;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 586
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 587
|
|
list_del_init(& sd->s_sibling);
|
|
#line 588
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 589
|
|
configfs_drop_dentry(sd, dentry);
|
|
#line 590
|
|
configfs_put___0(sd);
|
|
}
|
|
ldv_16634:
|
|
#line 583
|
|
sd = tmp___0;
|
|
#line 583
|
|
__mptr___1 = (struct list_head const *)tmp___0->s_sibling.next;
|
|
#line 583
|
|
tmp___0 = (struct configfs_dirent *)(__mptr___1 + 0xfffffffffffffff8UL);
|
|
ldv_16636: ;
|
|
#line 583
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 585
|
|
goto ldv_16635;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 596
|
|
dput(dentry);
|
|
}
|
|
#line 597
|
|
return;
|
|
}
|
|
}
|
|
#line 599 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int populate_attrs(struct config_item *item )
|
|
{
|
|
struct config_item_type *t ;
|
|
struct configfs_attribute *attr ;
|
|
int error ;
|
|
int i ;
|
|
|
|
{
|
|
#line 601
|
|
t = item->ci_type;
|
|
#line 603
|
|
error = 0;
|
|
#line 606
|
|
if ((unsigned long )t == (unsigned long )((struct config_item_type *)0)) {
|
|
#line 607
|
|
return (-22);
|
|
} else {
|
|
|
|
}
|
|
#line 608
|
|
if ((unsigned long )t->ct_attrs != (unsigned long )((struct configfs_attribute **)0)) {
|
|
#line 609
|
|
i = 0;
|
|
#line 609
|
|
goto ldv_16647;
|
|
ldv_16646:
|
|
{
|
|
#line 610
|
|
error = configfs_create_file(item, (struct configfs_attribute const *)attr);
|
|
}
|
|
#line 610
|
|
if (error != 0) {
|
|
#line 611
|
|
goto ldv_16645;
|
|
} else {
|
|
|
|
}
|
|
#line 609
|
|
i = i + 1;
|
|
ldv_16647:
|
|
#line 609
|
|
attr = *(t->ct_attrs + (unsigned long )i);
|
|
#line 609
|
|
if ((unsigned long )attr != (unsigned long )((struct configfs_attribute *)0)) {
|
|
#line 611
|
|
goto ldv_16646;
|
|
} else {
|
|
|
|
}
|
|
ldv_16645: ;
|
|
} else {
|
|
|
|
}
|
|
#line 615
|
|
if (error != 0) {
|
|
{
|
|
#line 616
|
|
detach_attrs(item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 618
|
|
return (error);
|
|
}
|
|
}
|
|
#line 621
|
|
static int configfs_attach_group(struct config_item *parent_item , struct config_item *item ,
|
|
struct dentry *dentry ) ;
|
|
#line 624
|
|
static void configfs_detach_group(struct config_item *item ) ;
|
|
#line 626 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void detach_groups(struct config_group *group )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct dentry *tmp ;
|
|
struct dentry *child ;
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_dirent *tmp___0 ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
struct list_head const *__mptr___1 ;
|
|
|
|
{
|
|
{
|
|
#line 628
|
|
tmp = dget(group->cg_item.ci_dentry);
|
|
#line 628
|
|
dentry = tmp;
|
|
}
|
|
#line 633
|
|
if ((unsigned long )dentry == (unsigned long )((struct dentry *)0)) {
|
|
#line 634
|
|
return;
|
|
} else {
|
|
|
|
}
|
|
#line 636
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 637
|
|
__mptr = (struct list_head const *)parent_sd->s_children.next;
|
|
#line 637
|
|
sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 637
|
|
__mptr___0 = (struct list_head const *)sd->s_sibling.next;
|
|
#line 637
|
|
tmp___0 = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
#line 637
|
|
goto ldv_16670;
|
|
ldv_16669: ;
|
|
#line 638
|
|
if ((unsigned long )sd->s_element == (unsigned long )((void *)0) || (sd->s_type & 128) == 0) {
|
|
#line 640
|
|
goto ldv_16668;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 642
|
|
child = sd->s_dentry;
|
|
#line 644
|
|
mutex_lock(& (child->d_inode)->i_mutex);
|
|
#line 646
|
|
configfs_detach_group((struct config_item *)sd->s_element);
|
|
#line 647
|
|
(child->d_inode)->i_flags = (child->d_inode)->i_flags | 16U;
|
|
#line 649
|
|
mutex_unlock(& (child->d_inode)->i_mutex);
|
|
#line 651
|
|
d_delete(child);
|
|
#line 652
|
|
dput(child);
|
|
}
|
|
ldv_16668:
|
|
#line 637
|
|
sd = tmp___0;
|
|
#line 637
|
|
__mptr___1 = (struct list_head const *)tmp___0->s_sibling.next;
|
|
#line 637
|
|
tmp___0 = (struct configfs_dirent *)(__mptr___1 + 0xfffffffffffffff8UL);
|
|
ldv_16670: ;
|
|
#line 637
|
|
if ((unsigned long )(& sd->s_sibling) != (unsigned long )(& parent_sd->s_children)) {
|
|
#line 639
|
|
goto ldv_16669;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 658
|
|
dput(dentry);
|
|
}
|
|
#line 659
|
|
return;
|
|
}
|
|
}
|
|
#line 669 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int create_default_group(struct config_group *parent_group , struct config_group *group )
|
|
{
|
|
int ret ;
|
|
struct qstr name ;
|
|
struct configfs_dirent *sd ;
|
|
struct dentry *child ;
|
|
struct dentry *parent ;
|
|
size_t tmp ;
|
|
|
|
{
|
|
#line 676
|
|
parent = parent_group->cg_item.ci_dentry;
|
|
#line 678
|
|
if ((unsigned long )group->cg_item.ci_name == (unsigned long )((char *)0)) {
|
|
#line 679
|
|
group->cg_item.ci_name = (char *)(& group->cg_item.ci_namebuf);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 680
|
|
name.name = (unsigned char const *)group->cg_item.ci_name;
|
|
#line 681
|
|
tmp = strlen((char const *)name.name);
|
|
#line 681
|
|
name.len = (unsigned int )tmp;
|
|
#line 682
|
|
name.hash = full_name_hash(name.name, name.len);
|
|
#line 684
|
|
ret = -12;
|
|
#line 685
|
|
child = d_alloc(parent, (struct qstr const *)(& name));
|
|
}
|
|
#line 686
|
|
if ((unsigned long )child != (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 687
|
|
d_add(child, (struct inode *)0);
|
|
#line 689
|
|
ret = configfs_attach_group(& parent_group->cg_item, & group->cg_item, child);
|
|
}
|
|
#line 691
|
|
if (ret == 0) {
|
|
#line 692
|
|
sd = (struct configfs_dirent *)child->d_fsdata;
|
|
#line 693
|
|
sd->s_type = sd->s_type | 128;
|
|
} else {
|
|
{
|
|
#line 695
|
|
d_delete(child);
|
|
#line 696
|
|
dput(child);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 700
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 703 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int populate_groups(struct config_group *group )
|
|
{
|
|
struct config_group *new_group ;
|
|
int ret ;
|
|
int i ;
|
|
|
|
{
|
|
#line 706
|
|
ret = 0;
|
|
#line 709
|
|
if ((unsigned long )group->default_groups != (unsigned long )((struct config_group **)0)) {
|
|
#line 710
|
|
i = 0;
|
|
#line 710
|
|
goto ldv_16689;
|
|
ldv_16688:
|
|
{
|
|
#line 711
|
|
new_group = *(group->default_groups + (unsigned long )i);
|
|
#line 713
|
|
ret = create_default_group(group, new_group);
|
|
}
|
|
#line 714
|
|
if (ret != 0) {
|
|
{
|
|
#line 715
|
|
detach_groups(group);
|
|
}
|
|
#line 716
|
|
goto ldv_16687;
|
|
} else {
|
|
|
|
}
|
|
#line 710
|
|
i = i + 1;
|
|
ldv_16689: ;
|
|
#line 710
|
|
if ((unsigned long )*(group->default_groups + (unsigned long )i) != (unsigned long )((struct config_group *)0)) {
|
|
#line 712
|
|
goto ldv_16688;
|
|
} else {
|
|
|
|
}
|
|
ldv_16687: ;
|
|
} else {
|
|
|
|
}
|
|
#line 721
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 729 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void unlink_obj(struct config_item *item )
|
|
{
|
|
struct config_group *group ;
|
|
|
|
{
|
|
#line 733
|
|
group = item->ci_group;
|
|
#line 734
|
|
if ((unsigned long )group != (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 735
|
|
list_del_init(& item->ci_entry);
|
|
#line 737
|
|
item->ci_group = (struct config_group *)0;
|
|
#line 738
|
|
item->ci_parent = (struct config_item *)0;
|
|
#line 741
|
|
config_item_put(item);
|
|
#line 744
|
|
config_group_put(group);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 746
|
|
return;
|
|
}
|
|
}
|
|
#line 748 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void link_obj(struct config_item *parent_item , struct config_item *item )
|
|
{
|
|
struct config_group *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 754
|
|
item->ci_parent = parent_item;
|
|
#line 760
|
|
tmp = to_config_group(parent_item);
|
|
#line 760
|
|
item->ci_group = config_group_get(tmp);
|
|
#line 761
|
|
list_add_tail(& item->ci_entry, & (item->ci_group)->cg_children);
|
|
#line 767
|
|
config_item_get(item);
|
|
}
|
|
#line 768
|
|
return;
|
|
}
|
|
}
|
|
#line 770 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void unlink_group(struct config_group *group )
|
|
{
|
|
int i ;
|
|
struct config_group *new_group ;
|
|
|
|
{
|
|
#line 775
|
|
if ((unsigned long )group->default_groups != (unsigned long )((struct config_group **)0)) {
|
|
#line 776
|
|
i = 0;
|
|
#line 776
|
|
goto ldv_16704;
|
|
ldv_16703:
|
|
{
|
|
#line 777
|
|
new_group = *(group->default_groups + (unsigned long )i);
|
|
#line 778
|
|
unlink_group(new_group);
|
|
#line 776
|
|
i = i + 1;
|
|
}
|
|
ldv_16704: ;
|
|
#line 776
|
|
if ((unsigned long )*(group->default_groups + (unsigned long )i) != (unsigned long )((struct config_group *)0)) {
|
|
#line 778
|
|
goto ldv_16703;
|
|
} else {
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 782
|
|
group->cg_subsys = (struct configfs_subsystem *)0;
|
|
#line 783
|
|
unlink_obj(& group->cg_item);
|
|
}
|
|
#line 784
|
|
return;
|
|
}
|
|
}
|
|
#line 786 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void link_group(struct config_group *parent_group , struct config_group *group )
|
|
{
|
|
int i ;
|
|
struct config_group *new_group ;
|
|
struct configfs_subsystem *subsys ;
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 790
|
|
subsys = (struct configfs_subsystem *)0;
|
|
#line 792
|
|
link_obj(& parent_group->cg_item, & group->cg_item);
|
|
}
|
|
#line 794
|
|
if ((unsigned long )parent_group->cg_subsys != (unsigned long )((struct configfs_subsystem *)0)) {
|
|
#line 795
|
|
subsys = parent_group->cg_subsys;
|
|
} else {
|
|
{
|
|
#line 796
|
|
tmp = configfs_is_root(& parent_group->cg_item);
|
|
}
|
|
#line 796
|
|
if (tmp != 0) {
|
|
{
|
|
#line 797
|
|
subsys = to_configfs_subsystem(group);
|
|
}
|
|
} else {
|
|
{
|
|
#line 799
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (799), "i" (12UL));
|
|
#line 799
|
|
__builtin_unreachable();
|
|
}
|
|
}
|
|
}
|
|
#line 800
|
|
group->cg_subsys = subsys;
|
|
#line 802
|
|
if ((unsigned long )group->default_groups != (unsigned long )((struct config_group **)0)) {
|
|
#line 803
|
|
i = 0;
|
|
#line 803
|
|
goto ldv_16714;
|
|
ldv_16713:
|
|
{
|
|
#line 804
|
|
new_group = *(group->default_groups + (unsigned long )i);
|
|
#line 805
|
|
link_group(group, new_group);
|
|
#line 803
|
|
i = i + 1;
|
|
}
|
|
ldv_16714: ;
|
|
#line 803
|
|
if ((unsigned long )*(group->default_groups + (unsigned long )i) != (unsigned long )((struct config_group *)0)) {
|
|
#line 805
|
|
goto ldv_16713;
|
|
} else {
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
#line 811
|
|
return;
|
|
}
|
|
}
|
|
#line 825 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_attach_item(struct config_item *parent_item , struct config_item *item ,
|
|
struct dentry *dentry )
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 831
|
|
ret = configfs_create_dir(item, dentry);
|
|
}
|
|
#line 832
|
|
if (ret == 0) {
|
|
{
|
|
#line 833
|
|
ret = populate_attrs(item);
|
|
}
|
|
#line 834
|
|
if (ret != 0) {
|
|
{
|
|
#line 840
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
#line 841
|
|
configfs_remove_dir(item);
|
|
#line 842
|
|
(dentry->d_inode)->i_flags = (dentry->d_inode)->i_flags | 16U;
|
|
#line 843
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
#line 844
|
|
d_delete(dentry);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 848
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 852 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_detach_item(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 854
|
|
detach_attrs(item);
|
|
#line 855
|
|
configfs_remove_dir(item);
|
|
}
|
|
#line 856
|
|
return;
|
|
}
|
|
}
|
|
#line 858 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_attach_group(struct config_item *parent_item , struct config_item *item ,
|
|
struct dentry *dentry )
|
|
{
|
|
int ret ;
|
|
struct configfs_dirent *sd ;
|
|
struct config_group *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 865
|
|
ret = configfs_attach_item(parent_item, item, dentry);
|
|
}
|
|
#line 866
|
|
if (ret == 0) {
|
|
{
|
|
#line 867
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 868
|
|
sd->s_type = sd->s_type | 64;
|
|
#line 879
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
#line 880
|
|
configfs_adjust_dir_dirent_depth_before_populate(sd);
|
|
#line 881
|
|
tmp = to_config_group(item);
|
|
#line 881
|
|
ret = populate_groups(tmp);
|
|
}
|
|
#line 882
|
|
if (ret != 0) {
|
|
{
|
|
#line 883
|
|
configfs_detach_item(item);
|
|
#line 884
|
|
(dentry->d_inode)->i_flags = (dentry->d_inode)->i_flags | 16U;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 886
|
|
configfs_adjust_dir_dirent_depth_after_populate(sd);
|
|
#line 887
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
}
|
|
#line 888
|
|
if (ret != 0) {
|
|
{
|
|
#line 889
|
|
d_delete(dentry);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 892
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 896 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void configfs_detach_group(struct config_item *item )
|
|
{
|
|
struct config_group *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 898
|
|
tmp = to_config_group(item);
|
|
#line 898
|
|
detach_groups(tmp);
|
|
#line 899
|
|
configfs_detach_item(item);
|
|
}
|
|
#line 900
|
|
return;
|
|
}
|
|
}
|
|
#line 911 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void client_disconnect_notify(struct config_item *parent_item , struct config_item *item )
|
|
{
|
|
struct config_item_type *type ;
|
|
long tmp ;
|
|
struct config_group *tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 916
|
|
type = parent_item->ci_type;
|
|
#line 917
|
|
tmp = __builtin_expect((unsigned long )type == (unsigned long )((struct config_item_type *)0),
|
|
0L);
|
|
}
|
|
#line 917
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 917
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (917), "i" (12UL));
|
|
#line 917
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 919
|
|
if ((unsigned long )type->ct_group_ops != (unsigned long )((struct configfs_group_operations *)0) && (unsigned long )(type->ct_group_ops)->disconnect_notify != (unsigned long )((void (*)(struct config_group * ,
|
|
struct config_item * ))0)) {
|
|
{
|
|
#line 920
|
|
tmp___0 = to_config_group(parent_item);
|
|
#line 920
|
|
(*((type->ct_group_ops)->disconnect_notify))(tmp___0, item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 921
|
|
return;
|
|
}
|
|
}
|
|
#line 930 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static void client_drop_item(struct config_item *parent_item , struct config_item *item )
|
|
{
|
|
struct config_item_type *type ;
|
|
long tmp ;
|
|
struct config_group *tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 935
|
|
type = parent_item->ci_type;
|
|
#line 936
|
|
tmp = __builtin_expect((unsigned long )type == (unsigned long )((struct config_item_type *)0),
|
|
0L);
|
|
}
|
|
#line 936
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 936
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (936), "i" (12UL));
|
|
#line 936
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 942
|
|
if ((unsigned long )type->ct_group_ops != (unsigned long )((struct configfs_group_operations *)0) && (unsigned long )(type->ct_group_ops)->drop_item != (unsigned long )((void (*)(struct config_group * ,
|
|
struct config_item * ))0)) {
|
|
{
|
|
#line 943
|
|
tmp___0 = to_config_group(parent_item);
|
|
#line 943
|
|
(*((type->ct_group_ops)->drop_item))(tmp___0, item);
|
|
}
|
|
} else {
|
|
{
|
|
#line 946
|
|
config_item_put(item);
|
|
}
|
|
}
|
|
#line 947
|
|
return;
|
|
}
|
|
}
|
|
#line 1044 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_depend_prep(struct dentry *origin , struct config_item *target )
|
|
{
|
|
struct configfs_dirent *child_sd ;
|
|
struct configfs_dirent *sd ;
|
|
int ret ;
|
|
long tmp ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
{
|
|
#line 1047
|
|
sd = (struct configfs_dirent *)origin->d_fsdata;
|
|
#line 1048
|
|
ret = 0;
|
|
#line 1050
|
|
tmp = __builtin_expect((long )((unsigned long )origin == (unsigned long )((struct dentry *)0) || (unsigned long )sd == (unsigned long )((struct configfs_dirent *)0)),
|
|
0L);
|
|
}
|
|
#line 1050
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 1050
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (1050), "i" (12UL));
|
|
#line 1050
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1052
|
|
if ((unsigned long )sd->s_element == (unsigned long )((void *)target)) {
|
|
#line 1053
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
#line 1055
|
|
__mptr = (struct list_head const *)sd->s_children.next;
|
|
#line 1055
|
|
child_sd = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 1055
|
|
goto ldv_16758;
|
|
ldv_16757: ;
|
|
#line 1056
|
|
if (*((unsigned int *)child_sd + 16UL) == 2U) {
|
|
{
|
|
#line 1059
|
|
ret = configfs_depend_prep(child_sd->s_dentry, target);
|
|
}
|
|
#line 1061
|
|
if (ret == 0) {
|
|
#line 1062
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1055
|
|
__mptr___0 = (struct list_head const *)child_sd->s_sibling.next;
|
|
#line 1055
|
|
child_sd = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16758:
|
|
{
|
|
#line 1055
|
|
__builtin_prefetch((void const *)child_sd->s_sibling.next);
|
|
}
|
|
#line 1055
|
|
if ((unsigned long )(& child_sd->s_sibling) != (unsigned long )(& sd->s_children)) {
|
|
#line 1057
|
|
goto ldv_16757;
|
|
} else {
|
|
|
|
}
|
|
#line 1067
|
|
ret = -2;
|
|
out: ;
|
|
#line 1070
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 1073 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
int configfs_depend_item(struct configfs_subsystem *subsys , struct config_item *target )
|
|
{
|
|
int ret ;
|
|
struct configfs_dirent *p ;
|
|
struct configfs_dirent *root_sd ;
|
|
struct configfs_dirent *subsys_sd ;
|
|
struct config_item *s_item ;
|
|
struct list_head const *__mptr ;
|
|
struct list_head const *__mptr___0 ;
|
|
|
|
{
|
|
{
|
|
#line 1077
|
|
subsys_sd = (struct configfs_dirent *)0;
|
|
#line 1078
|
|
s_item = & subsys->su_group.cg_item;
|
|
#line 1084
|
|
ret = configfs_pin_fs();
|
|
}
|
|
#line 1085
|
|
if (ret != 0) {
|
|
#line 1086
|
|
return (ret);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1093
|
|
mutex_lock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
#line 1095
|
|
root_sd = (struct configfs_dirent *)(configfs_sb->s_root)->d_fsdata;
|
|
#line 1097
|
|
__mptr = (struct list_head const *)root_sd->s_children.next;
|
|
#line 1097
|
|
p = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
}
|
|
#line 1097
|
|
goto ldv_16775;
|
|
ldv_16774: ;
|
|
#line 1098
|
|
if ((p->s_type & 2) != 0) {
|
|
#line 1099
|
|
if ((unsigned long )p->s_element == (unsigned long )((void *)s_item)) {
|
|
#line 1100
|
|
subsys_sd = p;
|
|
#line 1101
|
|
goto ldv_16773;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1097
|
|
__mptr___0 = (struct list_head const *)p->s_sibling.next;
|
|
#line 1097
|
|
p = (struct configfs_dirent *)(__mptr___0 + 0xfffffffffffffff8UL);
|
|
ldv_16775:
|
|
{
|
|
#line 1097
|
|
__builtin_prefetch((void const *)p->s_sibling.next);
|
|
}
|
|
#line 1097
|
|
if ((unsigned long )(& p->s_sibling) != (unsigned long )(& root_sd->s_children)) {
|
|
#line 1099
|
|
goto ldv_16774;
|
|
} else {
|
|
|
|
}
|
|
ldv_16773: ;
|
|
#line 1106
|
|
if ((unsigned long )subsys_sd == (unsigned long )((struct configfs_dirent *)0)) {
|
|
#line 1107
|
|
ret = -2;
|
|
#line 1108
|
|
goto out_unlock_fs;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1113
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1115
|
|
ret = configfs_depend_prep(subsys_sd->s_dentry, target);
|
|
}
|
|
#line 1116
|
|
if (ret != 0) {
|
|
#line 1117
|
|
goto out_unlock_dirent_lock;
|
|
} else {
|
|
|
|
}
|
|
#line 1123
|
|
p = (struct configfs_dirent *)(target->ci_dentry)->d_fsdata;
|
|
#line 1124
|
|
p->s_dependent_count = p->s_dependent_count + 1;
|
|
out_unlock_dirent_lock:
|
|
{
|
|
#line 1127
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
out_unlock_fs:
|
|
{
|
|
#line 1129
|
|
mutex_unlock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
#line 1135
|
|
configfs_release_fs();
|
|
}
|
|
#line 1137
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 1146 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
void configfs_undepend_item(struct configfs_subsystem *subsys , struct config_item *target )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
long tmp ;
|
|
|
|
{
|
|
{
|
|
#line 1155
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1157
|
|
sd = (struct configfs_dirent *)(target->ci_dentry)->d_fsdata;
|
|
#line 1158
|
|
tmp = __builtin_expect(sd->s_dependent_count <= 0, 0L);
|
|
}
|
|
#line 1158
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 1158
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (1158), "i" (12UL));
|
|
#line 1158
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1160
|
|
sd->s_dependent_count = sd->s_dependent_count + -1;
|
|
#line 1166
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
#line 1167
|
|
return;
|
|
}
|
|
}
|
|
#line 1170 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_mkdir(struct inode *dir , struct dentry *dentry , int mode )
|
|
{
|
|
int ret ;
|
|
int module_got ;
|
|
struct config_group *group ;
|
|
struct config_item *item ;
|
|
struct config_item *parent_item ;
|
|
struct configfs_subsystem *subsys ;
|
|
struct configfs_dirent *sd ;
|
|
struct config_item_type *type ;
|
|
struct module *subsys_owner ;
|
|
struct module *new_item_owner ;
|
|
char *name ;
|
|
int tmp ;
|
|
struct config_group *tmp___0 ;
|
|
long tmp___1 ;
|
|
int tmp___2 ;
|
|
void *tmp___3 ;
|
|
struct config_group *tmp___4 ;
|
|
void *tmp___5 ;
|
|
struct config_group *tmp___6 ;
|
|
long tmp___7 ;
|
|
long tmp___8 ;
|
|
struct config_group *tmp___9 ;
|
|
void *tmp___10 ;
|
|
long tmp___11 ;
|
|
long tmp___12 ;
|
|
int tmp___13 ;
|
|
|
|
{
|
|
#line 1172
|
|
ret = 0;
|
|
#line 1173
|
|
module_got = 0;
|
|
#line 1174
|
|
group = (struct config_group *)0;
|
|
#line 1175
|
|
item = (struct config_item *)0;
|
|
#line 1180
|
|
subsys_owner = (struct module *)0;
|
|
#line 1180
|
|
new_item_owner = (struct module *)0;
|
|
#line 1183
|
|
if ((unsigned long )dentry->d_parent == (unsigned long )configfs_sb->s_root) {
|
|
#line 1184
|
|
ret = -1;
|
|
#line 1185
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1188
|
|
sd = (struct configfs_dirent *)(dentry->d_parent)->d_fsdata;
|
|
#line 1194
|
|
tmp = configfs_dirent_is_ready(sd);
|
|
}
|
|
#line 1194
|
|
if (tmp == 0) {
|
|
#line 1195
|
|
ret = -2;
|
|
#line 1196
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
#line 1199
|
|
if ((sd->s_type & 64) == 0) {
|
|
#line 1200
|
|
ret = -1;
|
|
#line 1201
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1205
|
|
parent_item = configfs_get_config_item(dentry->d_parent);
|
|
#line 1206
|
|
type = parent_item->ci_type;
|
|
#line 1207
|
|
tmp___0 = to_config_group(parent_item);
|
|
#line 1207
|
|
subsys = tmp___0->cg_subsys;
|
|
#line 1208
|
|
tmp___1 = __builtin_expect((unsigned long )subsys == (unsigned long )((struct configfs_subsystem *)0),
|
|
0L);
|
|
}
|
|
#line 1208
|
|
if (tmp___1 != 0L) {
|
|
{
|
|
#line 1208
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (1208), "i" (12UL));
|
|
#line 1208
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1210
|
|
if (((unsigned long )type == (unsigned long )((struct config_item_type *)0) || (unsigned long )type->ct_group_ops == (unsigned long )((struct configfs_group_operations *)0)) || ((unsigned long )(type->ct_group_ops)->make_group == (unsigned long )((struct config_group *(*)(struct config_group * ,
|
|
char const * ))0) && (unsigned long )(type->ct_group_ops)->make_item == (unsigned long )((struct config_item *(*)(struct config_group * ,
|
|
char const * ))0))) {
|
|
#line 1213
|
|
ret = -1;
|
|
#line 1214
|
|
goto out_put;
|
|
} else {
|
|
|
|
}
|
|
#line 1222
|
|
if ((unsigned long )subsys->su_group.cg_item.ci_type == (unsigned long )((struct config_item_type *)0)) {
|
|
#line 1223
|
|
ret = -22;
|
|
#line 1224
|
|
goto out_put;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1226
|
|
subsys_owner = (subsys->su_group.cg_item.ci_type)->ct_owner;
|
|
#line 1227
|
|
tmp___2 = try_module_get(subsys_owner);
|
|
}
|
|
#line 1227
|
|
if (tmp___2 == 0) {
|
|
#line 1228
|
|
ret = -22;
|
|
#line 1229
|
|
goto out_put;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1232
|
|
tmp___3 = kmalloc((size_t )(dentry->d_name.len + 1U), 208U);
|
|
#line 1232
|
|
name = (char *)tmp___3;
|
|
}
|
|
#line 1233
|
|
if ((unsigned long )name == (unsigned long )((char *)0)) {
|
|
#line 1234
|
|
ret = -12;
|
|
#line 1235
|
|
goto out_subsys_put;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1238
|
|
snprintf(name, (size_t )(dentry->d_name.len + 1U), "%s", dentry->d_name.name);
|
|
#line 1240
|
|
mutex_lock(& subsys->su_mutex);
|
|
}
|
|
#line 1241
|
|
if ((unsigned long )(type->ct_group_ops)->make_group != (unsigned long )((struct config_group *(*)(struct config_group * ,
|
|
char const * ))0)) {
|
|
{
|
|
#line 1242
|
|
tmp___4 = to_config_group(parent_item);
|
|
#line 1242
|
|
group = (*((type->ct_group_ops)->make_group))(tmp___4, (char const *)name);
|
|
}
|
|
#line 1243
|
|
if ((unsigned long )group == (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 1244
|
|
tmp___5 = ERR_PTR(-12L);
|
|
#line 1244
|
|
group = (struct config_group *)tmp___5;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1245
|
|
tmp___8 = IS_ERR((void const *)group);
|
|
}
|
|
#line 1245
|
|
if (tmp___8 == 0L) {
|
|
{
|
|
#line 1246
|
|
tmp___6 = to_config_group(parent_item);
|
|
#line 1246
|
|
link_group(tmp___6, group);
|
|
#line 1247
|
|
item = & group->cg_item;
|
|
}
|
|
} else {
|
|
{
|
|
#line 1249
|
|
tmp___7 = PTR_ERR((void const *)group);
|
|
#line 1249
|
|
ret = (int )tmp___7;
|
|
}
|
|
}
|
|
} else {
|
|
{
|
|
#line 1251
|
|
tmp___9 = to_config_group(parent_item);
|
|
#line 1251
|
|
item = (*((type->ct_group_ops)->make_item))(tmp___9, (char const *)name);
|
|
}
|
|
#line 1252
|
|
if ((unsigned long )item == (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 1253
|
|
tmp___10 = ERR_PTR(-12L);
|
|
#line 1253
|
|
item = (struct config_item *)tmp___10;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1254
|
|
tmp___12 = IS_ERR((void const *)item);
|
|
}
|
|
#line 1254
|
|
if (tmp___12 == 0L) {
|
|
{
|
|
#line 1255
|
|
link_obj(parent_item, item);
|
|
}
|
|
} else {
|
|
{
|
|
#line 1257
|
|
tmp___11 = PTR_ERR((void const *)item);
|
|
#line 1257
|
|
ret = (int )tmp___11;
|
|
}
|
|
}
|
|
}
|
|
{
|
|
#line 1259
|
|
mutex_unlock(& subsys->su_mutex);
|
|
#line 1261
|
|
ldv_kfree_15((void const *)name);
|
|
}
|
|
#line 1262
|
|
if (ret != 0) {
|
|
#line 1267
|
|
goto out_subsys_put;
|
|
} else {
|
|
|
|
}
|
|
#line 1275
|
|
type = item->ci_type;
|
|
#line 1276
|
|
if ((unsigned long )type == (unsigned long )((struct config_item_type *)0)) {
|
|
#line 1277
|
|
ret = -22;
|
|
#line 1278
|
|
goto out_unlink;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1281
|
|
new_item_owner = type->ct_owner;
|
|
#line 1282
|
|
tmp___13 = try_module_get(new_item_owner);
|
|
}
|
|
#line 1282
|
|
if (tmp___13 == 0) {
|
|
#line 1283
|
|
ret = -22;
|
|
#line 1284
|
|
goto out_unlink;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1292
|
|
module_got = 1;
|
|
#line 1300
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1302
|
|
sd->s_type = sd->s_type | 512;
|
|
#line 1303
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
#line 1305
|
|
if ((unsigned long )group != (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 1306
|
|
ret = configfs_attach_group(parent_item, item, dentry);
|
|
}
|
|
} else {
|
|
{
|
|
#line 1308
|
|
ret = configfs_attach_item(parent_item, item, dentry);
|
|
}
|
|
}
|
|
{
|
|
#line 1310
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1311
|
|
sd->s_type = sd->s_type & -513;
|
|
}
|
|
#line 1312
|
|
if (ret == 0) {
|
|
{
|
|
#line 1313
|
|
configfs_dir_set_ready((struct configfs_dirent *)dentry->d_fsdata);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1314
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
out_unlink: ;
|
|
#line 1317
|
|
if (ret != 0) {
|
|
{
|
|
#line 1319
|
|
mutex_lock(& subsys->su_mutex);
|
|
#line 1321
|
|
client_disconnect_notify(parent_item, item);
|
|
}
|
|
#line 1322
|
|
if ((unsigned long )group != (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 1323
|
|
unlink_group(group);
|
|
}
|
|
} else {
|
|
{
|
|
#line 1325
|
|
unlink_obj(item);
|
|
}
|
|
}
|
|
{
|
|
#line 1326
|
|
client_drop_item(parent_item, item);
|
|
#line 1328
|
|
mutex_unlock(& subsys->su_mutex);
|
|
}
|
|
#line 1330
|
|
if (module_got != 0) {
|
|
{
|
|
#line 1331
|
|
module_put(new_item_owner);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
out_subsys_put: ;
|
|
#line 1335
|
|
if (ret != 0) {
|
|
{
|
|
#line 1336
|
|
module_put(subsys_owner);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
out_put:
|
|
{
|
|
#line 1344
|
|
config_item_put(parent_item);
|
|
}
|
|
out: ;
|
|
#line 1347
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 1350 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_rmdir(struct inode *dir , struct dentry *dentry )
|
|
{
|
|
struct config_item *parent_item ;
|
|
struct config_item *item ;
|
|
struct configfs_subsystem *subsys ;
|
|
struct configfs_dirent *sd ;
|
|
struct module *subsys_owner ;
|
|
struct module *dead_item_owner ;
|
|
int ret ;
|
|
struct config_group *tmp ;
|
|
long tmp___0 ;
|
|
long tmp___1 ;
|
|
struct mutex *wait_mutex ;
|
|
struct config_group *tmp___2 ;
|
|
|
|
{
|
|
#line 1356
|
|
subsys_owner = (struct module *)0;
|
|
#line 1356
|
|
dead_item_owner = (struct module *)0;
|
|
#line 1359
|
|
if ((unsigned long )dentry->d_parent == (unsigned long )configfs_sb->s_root) {
|
|
#line 1360
|
|
return (-1);
|
|
} else {
|
|
|
|
}
|
|
#line 1362
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 1363
|
|
if ((sd->s_type & 128) != 0) {
|
|
#line 1364
|
|
return (-1);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1367
|
|
parent_item = configfs_get_config_item(dentry->d_parent);
|
|
#line 1368
|
|
tmp = to_config_group(parent_item);
|
|
#line 1368
|
|
subsys = tmp->cg_subsys;
|
|
#line 1369
|
|
tmp___0 = __builtin_expect((unsigned long )subsys == (unsigned long )((struct configfs_subsystem *)0),
|
|
0L);
|
|
}
|
|
#line 1369
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 1369
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (1369), "i" (12UL));
|
|
#line 1369
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1371
|
|
if ((unsigned long )parent_item->ci_type == (unsigned long )((struct config_item_type *)0)) {
|
|
{
|
|
#line 1372
|
|
config_item_put(parent_item);
|
|
}
|
|
#line 1373
|
|
return (-22);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1377
|
|
tmp___1 = __builtin_expect((unsigned long )subsys->su_group.cg_item.ci_type == (unsigned long )((struct config_item_type *)0),
|
|
0L);
|
|
}
|
|
#line 1377
|
|
if (tmp___1 != 0L) {
|
|
{
|
|
#line 1377
|
|
__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 *)"fs/configfs/dir.c"),
|
|
"i" (1377), "i" (12UL));
|
|
#line 1377
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1378
|
|
subsys_owner = (subsys->su_group.cg_item.ci_type)->ct_owner;
|
|
ldv_16815:
|
|
{
|
|
#line 1387
|
|
mutex_lock(& configfs_symlink_mutex);
|
|
#line 1388
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1394
|
|
ret = sd->s_dependent_count != 0 ? -16 : 0;
|
|
}
|
|
#line 1395
|
|
if (ret == 0) {
|
|
{
|
|
#line 1396
|
|
ret = configfs_detach_prep(dentry, & wait_mutex);
|
|
}
|
|
#line 1397
|
|
if (ret != 0) {
|
|
{
|
|
#line 1398
|
|
configfs_detach_rollback(dentry);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1400
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 1401
|
|
mutex_unlock(& configfs_symlink_mutex);
|
|
}
|
|
#line 1403
|
|
if (ret != 0) {
|
|
#line 1404
|
|
if (ret != -11) {
|
|
{
|
|
#line 1405
|
|
config_item_put(parent_item);
|
|
}
|
|
#line 1406
|
|
return (ret);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1410
|
|
mutex_lock(wait_mutex);
|
|
#line 1411
|
|
mutex_unlock(wait_mutex);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1413
|
|
if (ret == -11) {
|
|
#line 1415
|
|
goto ldv_16815;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1416
|
|
item = configfs_get_config_item(dentry);
|
|
#line 1419
|
|
config_item_put(parent_item);
|
|
}
|
|
#line 1421
|
|
if ((unsigned long )item->ci_type != (unsigned long )((struct config_item_type *)0)) {
|
|
#line 1422
|
|
dead_item_owner = (item->ci_type)->ct_owner;
|
|
} else {
|
|
|
|
}
|
|
#line 1424
|
|
if ((sd->s_type & 64) != 0) {
|
|
{
|
|
#line 1425
|
|
configfs_detach_group(item);
|
|
#line 1427
|
|
mutex_lock(& subsys->su_mutex);
|
|
#line 1428
|
|
client_disconnect_notify(parent_item, item);
|
|
#line 1429
|
|
tmp___2 = to_config_group(item);
|
|
#line 1429
|
|
unlink_group(tmp___2);
|
|
}
|
|
} else {
|
|
{
|
|
#line 1431
|
|
configfs_detach_item(item);
|
|
#line 1433
|
|
mutex_lock(& subsys->su_mutex);
|
|
#line 1434
|
|
client_disconnect_notify(parent_item, item);
|
|
#line 1435
|
|
unlink_obj(item);
|
|
}
|
|
}
|
|
{
|
|
#line 1438
|
|
client_drop_item(parent_item, item);
|
|
#line 1439
|
|
mutex_unlock(& subsys->su_mutex);
|
|
#line 1442
|
|
config_item_put(item);
|
|
#line 1444
|
|
module_put(dead_item_owner);
|
|
#line 1445
|
|
module_put(subsys_owner);
|
|
}
|
|
#line 1447
|
|
return (0);
|
|
}
|
|
}
|
|
#line 1450 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
struct inode_operations const configfs_dir_inode_operations =
|
|
#line 1450
|
|
{0, & configfs_lookup, 0, & configfs_unlink, & configfs_symlink, & configfs_mkdir,
|
|
& configfs_rmdir, 0, 0, 0, 0, 0, 0, 0, 0, & configfs_setattr, 0, 0, 0, 0, 0, 0,
|
|
0, 0};
|
|
#line 1497 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_dir_open(struct inode *inode , struct file *file )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct configfs_dirent *parent_sd ;
|
|
int err ;
|
|
struct configfs_dirent *tmp ;
|
|
long tmp___0 ;
|
|
long tmp___1 ;
|
|
int tmp___2 ;
|
|
|
|
{
|
|
{
|
|
#line 1499
|
|
dentry = file->f_path.dentry;
|
|
#line 1500
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 1503
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
#line 1508
|
|
err = -2;
|
|
#line 1509
|
|
tmp___2 = configfs_dirent_is_ready(parent_sd);
|
|
}
|
|
#line 1509
|
|
if (tmp___2 != 0) {
|
|
{
|
|
#line 1510
|
|
tmp = configfs_new_dirent(parent_sd, (void *)0, 0);
|
|
#line 1510
|
|
file->private_data = (void *)tmp;
|
|
#line 1511
|
|
tmp___1 = IS_ERR((void const *)file->private_data);
|
|
}
|
|
#line 1511
|
|
if (tmp___1 != 0L) {
|
|
{
|
|
#line 1512
|
|
tmp___0 = PTR_ERR((void const *)file->private_data);
|
|
#line 1512
|
|
err = (int )tmp___0;
|
|
}
|
|
} else {
|
|
#line 1514
|
|
err = 0;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1516
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
}
|
|
#line 1518
|
|
return (err);
|
|
}
|
|
}
|
|
#line 1521 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_dir_close(struct inode *inode , struct file *file )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct configfs_dirent *cursor ;
|
|
|
|
{
|
|
{
|
|
#line 1523
|
|
dentry = file->f_path.dentry;
|
|
#line 1524
|
|
cursor = (struct configfs_dirent *)file->private_data;
|
|
#line 1526
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
#line 1527
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1528
|
|
list_del_init(& cursor->s_sibling);
|
|
#line 1529
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 1530
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
#line 1532
|
|
release_configfs_dirent___0(cursor);
|
|
}
|
|
#line 1534
|
|
return (0);
|
|
}
|
|
}
|
|
#line 1538 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
__inline static unsigned char dt_type(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 1540
|
|
return ((unsigned int )((unsigned char )((int )sd->s_mode >> 12)) & 15U);
|
|
}
|
|
}
|
|
#line 1543 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static int configfs_readdir(struct file *filp , void *dirent , int (*filldir)(void * ,
|
|
char const * ,
|
|
int ,
|
|
loff_t ,
|
|
u64 ,
|
|
unsigned int ) )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct configfs_dirent *parent_sd ;
|
|
struct configfs_dirent *cursor ;
|
|
struct list_head *p ;
|
|
struct list_head *q ;
|
|
ino_t ino ;
|
|
int i ;
|
|
int tmp ;
|
|
int tmp___0 ;
|
|
struct configfs_dirent *next ;
|
|
char const *name ;
|
|
int len ;
|
|
struct list_head const *__mptr ;
|
|
unsigned char const *tmp___1 ;
|
|
size_t tmp___2 ;
|
|
unsigned char tmp___3 ;
|
|
int tmp___4 ;
|
|
|
|
{
|
|
#line 1545
|
|
dentry = filp->f_path.dentry;
|
|
#line 1546
|
|
parent_sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 1547
|
|
cursor = (struct configfs_dirent *)filp->private_data;
|
|
#line 1548
|
|
q = & cursor->s_sibling;
|
|
#line 1550
|
|
i = (int )filp->f_pos;
|
|
{
|
|
#line 1553
|
|
if (i == 0) {
|
|
#line 1553
|
|
goto case_0;
|
|
} else {
|
|
|
|
}
|
|
#line 1560
|
|
if (i == 1) {
|
|
#line 1560
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 1567
|
|
goto switch_default;
|
|
case_0: /* CIL Label */
|
|
{
|
|
#line 1554
|
|
ino = (dentry->d_inode)->i_ino;
|
|
#line 1555
|
|
tmp = (*filldir)(dirent, ".", 1, (loff_t )i, (u64 )ino, 4U);
|
|
}
|
|
#line 1555
|
|
if (tmp < 0) {
|
|
#line 1556
|
|
goto ldv_16847;
|
|
} else {
|
|
|
|
}
|
|
#line 1557
|
|
filp->f_pos = filp->f_pos + 1LL;
|
|
#line 1558
|
|
i = i + 1;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 1561
|
|
ino = parent_ino(dentry);
|
|
#line 1562
|
|
tmp___0 = (*filldir)(dirent, "..", 2, (loff_t )i, (u64 )ino, 4U);
|
|
}
|
|
#line 1562
|
|
if (tmp___0 < 0) {
|
|
#line 1563
|
|
goto ldv_16847;
|
|
} else {
|
|
|
|
}
|
|
#line 1564
|
|
filp->f_pos = filp->f_pos + 1LL;
|
|
#line 1565
|
|
i = i + 1;
|
|
switch_default: /* CIL Label */ ;
|
|
#line 1568
|
|
if (filp->f_pos == 2LL) {
|
|
{
|
|
#line 1569
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1570
|
|
list_move(q, & parent_sd->s_children);
|
|
#line 1571
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1573
|
|
p = q->next;
|
|
#line 1573
|
|
goto ldv_16857;
|
|
ldv_16856:
|
|
#line 1578
|
|
__mptr = (struct list_head const *)p;
|
|
#line 1578
|
|
next = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 1580
|
|
if ((unsigned long )next->s_element == (unsigned long )((void *)0)) {
|
|
#line 1581
|
|
goto ldv_16855;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1583
|
|
tmp___1 = configfs_get_name(next);
|
|
#line 1583
|
|
name = (char const *)tmp___1;
|
|
#line 1584
|
|
tmp___2 = strlen(name);
|
|
#line 1584
|
|
len = (int )tmp___2;
|
|
}
|
|
#line 1585
|
|
if ((unsigned long )next->s_dentry != (unsigned long )((struct dentry *)0)) {
|
|
#line 1586
|
|
ino = ((next->s_dentry)->d_inode)->i_ino;
|
|
} else {
|
|
{
|
|
#line 1588
|
|
ino = iunique(configfs_sb, 2UL);
|
|
}
|
|
}
|
|
{
|
|
#line 1590
|
|
tmp___3 = dt_type(next);
|
|
#line 1590
|
|
tmp___4 = (*filldir)(dirent, name, len, filp->f_pos, (u64 )ino, (unsigned int )tmp___3);
|
|
}
|
|
#line 1590
|
|
if (tmp___4 < 0) {
|
|
#line 1592
|
|
return (0);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1594
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1595
|
|
list_move(q, p);
|
|
#line 1596
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 1597
|
|
p = q;
|
|
#line 1598
|
|
filp->f_pos = filp->f_pos + 1LL;
|
|
}
|
|
ldv_16855:
|
|
#line 1573
|
|
p = p->next;
|
|
ldv_16857: ;
|
|
#line 1573
|
|
if ((unsigned long )(& parent_sd->s_children) != (unsigned long )p) {
|
|
#line 1575
|
|
goto ldv_16856;
|
|
} else {
|
|
|
|
}
|
|
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
ldv_16847: ;
|
|
#line 1601
|
|
return (0);
|
|
}
|
|
}
|
|
#line 1604 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
static loff_t configfs_dir_lseek(struct file *file , loff_t offset , int origin )
|
|
{
|
|
struct dentry *dentry ;
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_dirent *cursor ;
|
|
struct list_head *p ;
|
|
loff_t n ;
|
|
struct configfs_dirent *next ;
|
|
struct list_head const *__mptr ;
|
|
|
|
{
|
|
{
|
|
#line 1606
|
|
dentry = file->f_path.dentry;
|
|
#line 1608
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
}
|
|
{
|
|
#line 1610
|
|
if (origin == 1) {
|
|
#line 1610
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 1612
|
|
if (origin == 0) {
|
|
#line 1612
|
|
goto case_0;
|
|
} else {
|
|
|
|
}
|
|
#line 1615
|
|
goto switch_default;
|
|
case_1: /* CIL Label */
|
|
#line 1611
|
|
offset = file->f_pos + offset;
|
|
case_0: /* CIL Label */ ;
|
|
#line 1613
|
|
if (offset >= 0LL) {
|
|
#line 1614
|
|
goto ldv_16867;
|
|
} else {
|
|
|
|
}
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 1616
|
|
mutex_unlock(& ((file->f_path.dentry)->d_inode)->i_mutex);
|
|
}
|
|
#line 1617
|
|
return (-22LL);
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
ldv_16867: ;
|
|
#line 1619
|
|
if (file->f_pos != offset) {
|
|
#line 1620
|
|
file->f_pos = offset;
|
|
#line 1621
|
|
if (file->f_pos > 1LL) {
|
|
{
|
|
#line 1622
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 1623
|
|
cursor = (struct configfs_dirent *)file->private_data;
|
|
#line 1625
|
|
n = file->f_pos + -2LL;
|
|
#line 1627
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1628
|
|
list_del(& cursor->s_sibling);
|
|
#line 1629
|
|
p = sd->s_children.next;
|
|
}
|
|
#line 1630
|
|
goto ldv_16877;
|
|
ldv_16876:
|
|
#line 1632
|
|
__mptr = (struct list_head const *)p;
|
|
#line 1632
|
|
next = (struct configfs_dirent *)(__mptr + 0xfffffffffffffff8UL);
|
|
#line 1634
|
|
if ((unsigned long )next->s_element != (unsigned long )((void *)0)) {
|
|
#line 1635
|
|
n = n - 1LL;
|
|
} else {
|
|
|
|
}
|
|
#line 1636
|
|
p = p->next;
|
|
ldv_16877: ;
|
|
#line 1630
|
|
if (n != 0LL && (unsigned long )(& sd->s_children) != (unsigned long )p) {
|
|
#line 1632
|
|
goto ldv_16876;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1638
|
|
list_add_tail(& cursor->s_sibling, p);
|
|
#line 1639
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1642
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
}
|
|
#line 1643
|
|
return (offset);
|
|
}
|
|
}
|
|
#line 1646 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
struct file_operations const configfs_dir_operations =
|
|
#line 1646
|
|
{0, & configfs_dir_lseek, & generic_read_dir, 0, 0, 0, & configfs_readdir, 0, 0,
|
|
0, 0, 0, & configfs_dir_open, 0, & configfs_dir_close, 0, 0, 0, 0, 0, 0, 0, 0,
|
|
0, 0, 0};
|
|
#line 1654 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
int configfs_register_subsystem(struct configfs_subsystem *subsys )
|
|
{
|
|
int err ;
|
|
struct config_group *group ;
|
|
struct qstr name ;
|
|
struct dentry *dentry ;
|
|
struct configfs_dirent *sd ;
|
|
struct config_group *tmp ;
|
|
size_t tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 1657
|
|
group = & subsys->su_group;
|
|
#line 1662
|
|
err = configfs_pin_fs();
|
|
}
|
|
#line 1663
|
|
if (err != 0) {
|
|
#line 1664
|
|
return (err);
|
|
} else {
|
|
|
|
}
|
|
#line 1666
|
|
if ((unsigned long )group->cg_item.ci_name == (unsigned long )((char *)0)) {
|
|
#line 1667
|
|
group->cg_item.ci_name = (char *)(& group->cg_item.ci_namebuf);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1669
|
|
sd = (struct configfs_dirent *)(configfs_sb->s_root)->d_fsdata;
|
|
#line 1670
|
|
tmp = to_config_group((struct config_item *)sd->s_element);
|
|
#line 1670
|
|
link_group(tmp, group);
|
|
#line 1672
|
|
mutex_lock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
#line 1675
|
|
name.name = (unsigned char const *)group->cg_item.ci_name;
|
|
#line 1676
|
|
tmp___0 = strlen((char const *)name.name);
|
|
#line 1676
|
|
name.len = (unsigned int )tmp___0;
|
|
#line 1677
|
|
name.hash = full_name_hash(name.name, name.len);
|
|
#line 1679
|
|
err = -12;
|
|
#line 1680
|
|
dentry = d_alloc(configfs_sb->s_root, (struct qstr const *)(& name));
|
|
}
|
|
#line 1681
|
|
if ((unsigned long )dentry != (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 1682
|
|
d_add(dentry, (struct inode *)0);
|
|
#line 1684
|
|
err = configfs_attach_group((struct config_item *)sd->s_element, & group->cg_item,
|
|
dentry);
|
|
}
|
|
#line 1686
|
|
if (err != 0) {
|
|
{
|
|
#line 1687
|
|
d_delete(dentry);
|
|
#line 1688
|
|
dput(dentry);
|
|
}
|
|
} else {
|
|
{
|
|
#line 1690
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1691
|
|
configfs_dir_set_ready((struct configfs_dirent *)dentry->d_fsdata);
|
|
#line 1692
|
|
spin_unlock(& configfs_dirent_lock);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1696
|
|
mutex_unlock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
}
|
|
#line 1698
|
|
if (err != 0) {
|
|
{
|
|
#line 1699
|
|
unlink_group(group);
|
|
#line 1700
|
|
configfs_release_fs();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 1703
|
|
return (err);
|
|
}
|
|
}
|
|
#line 1706 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/dir.c"
|
|
void configfs_unregister_subsystem(struct configfs_subsystem *subsys )
|
|
{
|
|
struct config_group *group ;
|
|
struct dentry *dentry ;
|
|
int tmp ;
|
|
|
|
{
|
|
#line 1708
|
|
group = & subsys->su_group;
|
|
#line 1709
|
|
dentry = group->cg_item.ci_dentry;
|
|
#line 1711
|
|
if ((unsigned long )dentry->d_parent != (unsigned long )configfs_sb->s_root) {
|
|
{
|
|
#line 1712
|
|
printk("<3>configfs: Tried to unregister non-subsystem!\n");
|
|
}
|
|
#line 1713
|
|
return;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1716
|
|
mutex_lock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
#line 1718
|
|
mutex_lock(& (dentry->d_inode)->i_mutex);
|
|
#line 1719
|
|
mutex_lock(& configfs_symlink_mutex);
|
|
#line 1720
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 1721
|
|
tmp = configfs_detach_prep(dentry, (struct mutex **)0);
|
|
}
|
|
#line 1721
|
|
if (tmp != 0) {
|
|
{
|
|
#line 1722
|
|
printk("<3>configfs: Tried to unregister non-empty subsystem!\n");
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 1724
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 1725
|
|
mutex_unlock(& configfs_symlink_mutex);
|
|
#line 1726
|
|
configfs_detach_group(& group->cg_item);
|
|
#line 1727
|
|
(dentry->d_inode)->i_flags = (dentry->d_inode)->i_flags | 16U;
|
|
#line 1728
|
|
mutex_unlock(& (dentry->d_inode)->i_mutex);
|
|
#line 1730
|
|
d_delete(dentry);
|
|
#line 1732
|
|
mutex_unlock(& ((configfs_sb->s_root)->d_inode)->i_mutex);
|
|
#line 1734
|
|
dput(dentry);
|
|
#line 1736
|
|
unlink_group(group);
|
|
#line 1737
|
|
configfs_release_fs();
|
|
}
|
|
#line 1738
|
|
return;
|
|
}
|
|
}
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_1(void *arg0 ) ;
|
|
#line 71
|
|
void ldv_character_driver_scenario_callback_1_22(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 ,
|
|
unsigned long arg3 , long long *arg4 ) ;
|
|
#line 72
|
|
void ldv_character_driver_scenario_callback_1_25(int (*arg0)(struct file * , void * ,
|
|
int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ,
|
|
struct file *arg1 , void *arg2 ,
|
|
int (*arg3)(void * , char * , int ,
|
|
loff_t , u64 , unsigned int ) ) ;
|
|
#line 73
|
|
void ldv_character_driver_scenario_callback_1_5(loff_t (*arg0)(struct file * , loff_t ,
|
|
int ) , struct file *arg1 ,
|
|
long long arg2 , int arg3 ) ;
|
|
#line 74
|
|
int ldv_character_driver_scenario_probe_1_13(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 ) ;
|
|
#line 75
|
|
void ldv_character_driver_scenario_release_1_2(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 ) ;
|
|
#line 76
|
|
void ldv_character_driver_scenario_write_1_4(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 , unsigned long arg3 ,
|
|
long long *arg4 ) ;
|
|
#line 77
|
|
void ldv_random_containerless_scenario_callback_4_4(int (*arg0)(struct dentry * ) ,
|
|
struct dentry *arg1 ) ;
|
|
#line 78
|
|
void ldv_random_containerless_scenario_callback_4_8(void (*arg0)(struct dentry * ,
|
|
struct inode * ) ,
|
|
struct dentry *arg1 , struct inode *arg2 ) ;
|
|
#line 79
|
|
void ldv_random_containerless_scenario_callback_6_16(int (*arg0)(struct inode * ,
|
|
struct dentry * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 ) ;
|
|
#line 80
|
|
void ldv_random_containerless_scenario_callback_6_18(int (*arg0)(struct inode * ,
|
|
struct dentry * ,
|
|
char * ) , struct inode *arg1 ,
|
|
struct dentry *arg2 , char *arg3 ) ;
|
|
#line 81
|
|
void ldv_random_containerless_scenario_callback_6_21(int (*arg0)(struct inode * ,
|
|
struct dentry * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 ) ;
|
|
#line 82
|
|
void ldv_random_containerless_scenario_callback_6_8(struct dentry *(*arg0)(struct inode * ,
|
|
struct dentry * ,
|
|
struct nameidata * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 ,
|
|
struct nameidata *arg3 ) ;
|
|
#line 83
|
|
void ldv_random_containerless_scenario_callback_6_9(int (*arg0)(struct inode * , struct dentry * ,
|
|
int ) , struct inode *arg1 ,
|
|
struct dentry *arg2 , int arg3 ) ;
|
|
#line 86 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
struct ldv_thread ldv_thread_1 ;
|
|
#line 92 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_1(void *arg0 )
|
|
{
|
|
loff_t (*ldv_1_callback_llseek)(struct file * , loff_t , int ) ;
|
|
ssize_t (*ldv_1_callback_read)(struct file * , char * , size_t , loff_t * ) ;
|
|
int (*ldv_1_callback_readdir)(struct file * , void * , int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ;
|
|
struct file_operations *ldv_1_container_file_operations ;
|
|
char *ldv_1_ldv_param_22_1_default ;
|
|
long long *ldv_1_ldv_param_22_3_default ;
|
|
char *ldv_1_ldv_param_4_1_default ;
|
|
long long *ldv_1_ldv_param_4_3_default ;
|
|
long long ldv_1_ldv_param_5_1_default ;
|
|
int ldv_1_ldv_param_5_2_default ;
|
|
struct file *ldv_1_resource_file ;
|
|
struct inode *ldv_1_resource_inode ;
|
|
int ldv_1_ret_default ;
|
|
int (*ldv_1_size_cnt_func_1_ptr)(void * , char * , int , loff_t , u64 , unsigned int ) ;
|
|
unsigned long ldv_1_size_cnt_write_size ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
void *tmp___6 ;
|
|
void *tmp___7 ;
|
|
void *tmp___8 ;
|
|
void *tmp___9 ;
|
|
void *tmp___10 ;
|
|
void *tmp___11 ;
|
|
void *tmp___12 ;
|
|
int tmp___13 ;
|
|
int tmp___14 ;
|
|
int tmp___15 ;
|
|
int tmp___16 ;
|
|
void *tmp___17 ;
|
|
void *tmp___18 ;
|
|
int tmp___19 ;
|
|
void *tmp___20 ;
|
|
void *tmp___21 ;
|
|
|
|
{
|
|
{
|
|
#line 112
|
|
tmp = external_allocated_data();
|
|
#line 112
|
|
ldv_1_callback_llseek = (loff_t (*)(struct file * , loff_t , int ))tmp;
|
|
#line 113
|
|
tmp___0 = external_allocated_data();
|
|
#line 113
|
|
ldv_1_callback_read = (ssize_t (*)(struct file * , char * , size_t , loff_t * ))tmp___0;
|
|
#line 114
|
|
tmp___1 = external_allocated_data();
|
|
#line 114
|
|
ldv_1_callback_readdir = (int (*)(struct file * , void * , int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ))tmp___1;
|
|
#line 115
|
|
tmp___2 = external_allocated_data();
|
|
#line 115
|
|
ldv_1_container_file_operations = (struct file_operations *)tmp___2;
|
|
#line 116
|
|
tmp___3 = external_allocated_data();
|
|
#line 116
|
|
ldv_1_ldv_param_22_1_default = (char *)tmp___3;
|
|
#line 117
|
|
tmp___4 = external_allocated_data();
|
|
#line 117
|
|
ldv_1_ldv_param_22_3_default = (long long *)tmp___4;
|
|
#line 118
|
|
tmp___5 = external_allocated_data();
|
|
#line 118
|
|
ldv_1_ldv_param_4_1_default = (char *)tmp___5;
|
|
#line 119
|
|
tmp___6 = external_allocated_data();
|
|
#line 119
|
|
ldv_1_ldv_param_4_3_default = (long long *)tmp___6;
|
|
#line 120
|
|
tmp___7 = external_allocated_data();
|
|
#line 120
|
|
ldv_1_resource_file = (struct file *)tmp___7;
|
|
#line 121
|
|
tmp___8 = external_allocated_data();
|
|
#line 121
|
|
ldv_1_resource_inode = (struct inode *)tmp___8;
|
|
#line 122
|
|
ldv_1_ret_default = 1;
|
|
#line 123
|
|
tmp___9 = external_allocated_data();
|
|
#line 123
|
|
ldv_1_size_cnt_func_1_ptr = (int (*)(void * , char * , int , loff_t , u64 , unsigned int ))tmp___9;
|
|
#line 128
|
|
tmp___10 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 128
|
|
ldv_1_container_file_operations = (struct file_operations *)tmp___10;
|
|
#line 132
|
|
tmp___11 = ldv_xmalloc(184UL);
|
|
#line 132
|
|
ldv_1_resource_file = (struct file *)tmp___11;
|
|
#line 133
|
|
tmp___12 = ldv_xmalloc(576UL);
|
|
#line 133
|
|
ldv_1_resource_inode = (struct inode *)tmp___12;
|
|
#line 134
|
|
tmp___13 = ldv_undef_int();
|
|
#line 134
|
|
ldv_1_size_cnt_func_1_ptr = (int (*)(void * , char * , int , loff_t , u64 , unsigned int ))((long )tmp___13);
|
|
}
|
|
#line 141
|
|
goto ldv_main_1;
|
|
#line 143
|
|
return;
|
|
ldv_main_1:
|
|
{
|
|
#line 149
|
|
tmp___15 = ldv_undef_int();
|
|
}
|
|
#line 149
|
|
if (tmp___15 != 0) {
|
|
{
|
|
#line 152
|
|
ldv_1_ret_default = ldv_character_driver_scenario_probe_1_13(ldv_1_container_file_operations->open,
|
|
ldv_1_resource_inode,
|
|
ldv_1_resource_file);
|
|
#line 154
|
|
ldv_1_ret_default = ldv_filter_err_code(ldv_1_ret_default);
|
|
#line 157
|
|
tmp___14 = ldv_undef_int();
|
|
}
|
|
#line 157
|
|
if (tmp___14 != 0) {
|
|
{
|
|
#line 159
|
|
ldv_assume(ldv_1_ret_default == 0);
|
|
}
|
|
#line 166
|
|
goto ldv_call_1;
|
|
} else {
|
|
{
|
|
#line 170
|
|
ldv_assume(ldv_1_ret_default != 0);
|
|
}
|
|
#line 177
|
|
goto ldv_main_1;
|
|
}
|
|
} else {
|
|
{
|
|
#line 182
|
|
ldv_free((void *)ldv_1_resource_file);
|
|
#line 183
|
|
ldv_free((void *)ldv_1_resource_inode);
|
|
#line 187
|
|
ldv_free((void *)ldv_1_container_file_operations);
|
|
}
|
|
#line 195
|
|
return;
|
|
}
|
|
#line 198
|
|
return;
|
|
ldv_call_1:
|
|
{
|
|
#line 204
|
|
tmp___16 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 205
|
|
if (tmp___16 == 1) {
|
|
#line 205
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 232
|
|
if (tmp___16 == 2) {
|
|
#line 232
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 245
|
|
if (tmp___16 == 3) {
|
|
#line 245
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 288
|
|
goto switch_default___0;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 207
|
|
tmp___17 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 207
|
|
ldv_1_ldv_param_4_1_default = (char *)tmp___17;
|
|
#line 208
|
|
tmp___18 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 208
|
|
ldv_1_ldv_param_4_3_default = (long long *)tmp___18;
|
|
#line 213
|
|
ldv_assume((unsigned long )ldv_1_size_cnt_func_1_ptr <= (unsigned long )((int (*)(void * ,
|
|
char * ,
|
|
int ,
|
|
loff_t ,
|
|
u64 ,
|
|
unsigned int ))2147479552));
|
|
}
|
|
#line 214
|
|
if ((unsigned long )ldv_1_container_file_operations->write != (unsigned long )((ssize_t (*)(struct file * ,
|
|
char const * ,
|
|
size_t ,
|
|
loff_t * ))0)) {
|
|
{
|
|
#line 216
|
|
ldv_character_driver_scenario_write_1_4((ssize_t (*)(struct file * , char * ,
|
|
size_t , loff_t * ))ldv_1_container_file_operations->write,
|
|
ldv_1_resource_file, ldv_1_ldv_param_4_1_default,
|
|
ldv_1_size_cnt_write_size, ldv_1_ldv_param_4_3_default);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 221
|
|
ldv_free((void *)ldv_1_ldv_param_4_1_default);
|
|
#line 222
|
|
ldv_free((void *)ldv_1_ldv_param_4_3_default);
|
|
}
|
|
#line 229
|
|
goto ldv_call_1;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 235
|
|
ldv_character_driver_scenario_release_1_2(ldv_1_container_file_operations->release,
|
|
ldv_1_resource_inode, ldv_1_resource_file);
|
|
}
|
|
#line 242
|
|
goto ldv_main_1;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 249
|
|
tmp___19 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 250
|
|
if (tmp___19 == 1) {
|
|
#line 250
|
|
goto case_1___0;
|
|
} else {
|
|
|
|
}
|
|
#line 258
|
|
if (tmp___19 == 2) {
|
|
#line 258
|
|
goto case_2___0;
|
|
} else {
|
|
|
|
}
|
|
#line 276
|
|
if (tmp___19 == 3) {
|
|
#line 276
|
|
goto case_3___0;
|
|
} else {
|
|
|
|
}
|
|
#line 284
|
|
goto switch_default;
|
|
case_1___0: /* CIL Label */
|
|
{
|
|
#line 253
|
|
ldv_character_driver_scenario_callback_1_25(ldv_1_callback_readdir, ldv_1_resource_file,
|
|
(void *)ldv_1_resource_inode, ldv_1_size_cnt_func_1_ptr);
|
|
}
|
|
#line 256
|
|
goto ldv_17041;
|
|
case_2___0: /* CIL Label */
|
|
{
|
|
#line 260
|
|
tmp___20 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 260
|
|
ldv_1_ldv_param_22_1_default = (char *)tmp___20;
|
|
#line 261
|
|
tmp___21 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 261
|
|
ldv_1_ldv_param_22_3_default = (long long *)tmp___21;
|
|
#line 266
|
|
ldv_character_driver_scenario_callback_1_22(ldv_1_callback_read, ldv_1_resource_file,
|
|
ldv_1_ldv_param_22_1_default, ldv_1_size_cnt_write_size,
|
|
ldv_1_ldv_param_22_3_default);
|
|
#line 270
|
|
ldv_free((void *)ldv_1_ldv_param_22_1_default);
|
|
#line 271
|
|
ldv_free((void *)ldv_1_ldv_param_22_3_default);
|
|
}
|
|
#line 274
|
|
goto ldv_17041;
|
|
case_3___0: /* CIL Label */
|
|
{
|
|
#line 279
|
|
ldv_character_driver_scenario_callback_1_5(ldv_1_callback_llseek, ldv_1_resource_file,
|
|
ldv_1_ldv_param_5_1_default, ldv_1_ldv_param_5_2_default);
|
|
}
|
|
#line 282
|
|
goto ldv_17041;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 284
|
|
ldv_stop();
|
|
}
|
|
switch_break___0: /* CIL Label */ ;
|
|
}
|
|
ldv_17041: ;
|
|
#line 286
|
|
goto ldv_17045;
|
|
switch_default___0: /* CIL Label */
|
|
{
|
|
#line 288
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
ldv_17045: ;
|
|
#line 297
|
|
goto ldv_call_1;
|
|
#line 299
|
|
goto ldv_call_1;
|
|
#line 301
|
|
return;
|
|
}
|
|
}
|
|
#line 306 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_callback_1_22(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 ,
|
|
unsigned long arg3 , long long *arg4 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 307
|
|
generic_read_dir(arg1, arg2, arg3, arg4);
|
|
}
|
|
#line 308
|
|
return;
|
|
}
|
|
}
|
|
#line 311 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_callback_1_25(int (*arg0)(struct file * , void * ,
|
|
int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ,
|
|
struct file *arg1 , void *arg2 ,
|
|
int (*arg3)(void * , char * , int ,
|
|
loff_t , u64 , unsigned int ) )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 312
|
|
configfs_readdir(arg1, arg2, (int (*)(void * , char const * , int , loff_t ,
|
|
u64 , unsigned int ))arg3);
|
|
}
|
|
#line 313
|
|
return;
|
|
}
|
|
}
|
|
#line 316 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_callback_1_5(loff_t (*arg0)(struct file * , loff_t ,
|
|
int ) , struct file *arg1 ,
|
|
long long arg2 , int arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 317
|
|
configfs_dir_lseek(arg1, arg2, arg3);
|
|
}
|
|
#line 318
|
|
return;
|
|
}
|
|
}
|
|
#line 321 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
int ldv_character_driver_scenario_probe_1_13(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 322
|
|
tmp = configfs_dir_open(arg1, arg2);
|
|
}
|
|
#line 322
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 326 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_character_driver_scenario_release_1_2(int (*arg0)(struct inode * , struct file * ) ,
|
|
struct inode *arg1 , struct file *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 327
|
|
configfs_dir_close(arg1, arg2);
|
|
}
|
|
#line 328
|
|
return;
|
|
}
|
|
}
|
|
#line 331 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_4_4(int (*arg0)(struct dentry * ) ,
|
|
struct dentry *arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 332
|
|
configfs_d_delete(arg1);
|
|
}
|
|
#line 333
|
|
return;
|
|
}
|
|
}
|
|
#line 336 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_4_8(void (*arg0)(struct dentry * ,
|
|
struct inode * ) ,
|
|
struct dentry *arg1 , struct inode *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 337
|
|
configfs_d_iput(arg1, arg2);
|
|
}
|
|
#line 338
|
|
return;
|
|
}
|
|
}
|
|
#line 341 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_16(int (*arg0)(struct inode * ,
|
|
struct dentry * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 342
|
|
configfs_rmdir(arg1, arg2);
|
|
}
|
|
#line 343
|
|
return;
|
|
}
|
|
}
|
|
#line 346 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_18(int (*arg0)(struct inode * ,
|
|
struct dentry * ,
|
|
char * ) , struct inode *arg1 ,
|
|
struct dentry *arg2 , char *arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 347
|
|
configfs_symlink(arg1, arg2, (char const *)arg3);
|
|
}
|
|
#line 348
|
|
return;
|
|
}
|
|
}
|
|
#line 351 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_21(int (*arg0)(struct inode * ,
|
|
struct dentry * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 352
|
|
configfs_unlink(arg1, arg2);
|
|
}
|
|
#line 353
|
|
return;
|
|
}
|
|
}
|
|
#line 356 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_8(struct dentry *(*arg0)(struct inode * ,
|
|
struct dentry * ,
|
|
struct nameidata * ) ,
|
|
struct inode *arg1 , struct dentry *arg2 ,
|
|
struct nameidata *arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 357
|
|
configfs_lookup(arg1, arg2, arg3);
|
|
}
|
|
#line 358
|
|
return;
|
|
}
|
|
}
|
|
#line 361 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_9(int (*arg0)(struct inode * , struct dentry * ,
|
|
int ) , struct inode *arg1 ,
|
|
struct dentry *arg2 , int arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 362
|
|
configfs_mkdir(arg1, arg2, arg3);
|
|
}
|
|
#line 363
|
|
return;
|
|
}
|
|
}
|
|
#line 367 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
__inline static void *ERR_PTR(long error )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 370
|
|
tmp = ldv_err_ptr(error);
|
|
}
|
|
#line 370
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 374 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
__inline static long PTR_ERR(void const *ptr )
|
|
{
|
|
long tmp ;
|
|
|
|
{
|
|
{
|
|
#line 377
|
|
tmp = ldv_ptr_err(ptr);
|
|
}
|
|
#line 377
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 381 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
__inline static long IS_ERR(void const *ptr )
|
|
{
|
|
long tmp ;
|
|
|
|
{
|
|
{
|
|
#line 384
|
|
tmp = ldv_is_err(ptr);
|
|
}
|
|
#line 384
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 411 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
__inline static void *kmalloc(size_t size , gfp_t flags )
|
|
{
|
|
void *res ;
|
|
|
|
{
|
|
{
|
|
#line 415
|
|
ldv_check_alloc_flags(flags);
|
|
#line 416
|
|
res = ldv_malloc_unknown_size();
|
|
#line 417
|
|
ldv_after_alloc(res);
|
|
}
|
|
#line 418
|
|
return (res);
|
|
}
|
|
}
|
|
#line 441 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
__inline static void *kmem_cache_zalloc(struct kmem_cache *k , gfp_t flags )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 444
|
|
ldv_check_alloc_flags(flags);
|
|
#line 445
|
|
tmp = ldv_zalloc_unknown_size();
|
|
}
|
|
#line 445
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 475 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
static void ldv_kfree_14___0(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 478
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 479
|
|
return;
|
|
}
|
|
}
|
|
#line 482 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/dir.c.aux"
|
|
static void ldv_kfree_15(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 485
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 486
|
|
return;
|
|
}
|
|
}
|
|
#line 62 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/arch/x86/include/asm/string_64.h"
|
|
extern char *strcpy(char * , char const * ) ;
|
|
#line 27 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/string.h"
|
|
extern char *strncpy(char * , char const * , __kernel_size_t ) ;
|
|
#line 22 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/err.h"
|
|
__inline static void *ERR_PTR(long error ) ;
|
|
#line 28 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/rwsem.h"
|
|
extern void down_read(struct rw_semaphore * ) ;
|
|
#line 48
|
|
extern void up_read(struct rw_semaphore * ) ;
|
|
#line 141 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
static void ldv_kfree_14___1(void const *ldv_func_arg1 ) ;
|
|
#line 145
|
|
static void ldv_kfree_15___0(void const *ldv_func_arg1 ) ;
|
|
#line 149
|
|
static void ldv_kfree_16___0(void const *ldv_func_arg1 ) ;
|
|
#line 153
|
|
static void ldv_kfree_17(void const *ldv_func_arg1 ) ;
|
|
#line 136 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab_def.h"
|
|
__inline static void *kmalloc(size_t size , gfp_t flags ) ;
|
|
#line 13 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/path.h"
|
|
extern void path_put(struct path * ) ;
|
|
#line 2305 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
extern int generic_readlink(struct dentry * , char * , int ) ;
|
|
#line 67 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/namei.h"
|
|
extern int kern_path(char const * , unsigned int , struct path * ) ;
|
|
#line 84 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/namei.h"
|
|
__inline static void nd_set_link(struct nameidata *nd , char *path )
|
|
{
|
|
|
|
|
|
{
|
|
#line 86
|
|
nd->saved_names[nd->depth] = path;
|
|
#line 87
|
|
return;
|
|
}
|
|
}
|
|
#line 69 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
__inline static char *config_item_name(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
#line 71
|
|
return (item->ci_name);
|
|
}
|
|
}
|
|
#line 137 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void release_configfs_dirent___1(struct configfs_dirent *sd )
|
|
{
|
|
|
|
|
|
{
|
|
#line 139
|
|
if ((sd->s_type & 1) == 0) {
|
|
{
|
|
#line 140
|
|
ldv_kfree_14___1((void const *)sd->s_iattr);
|
|
#line 141
|
|
kmem_cache_free(configfs_dir_cachep, (void *)sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 143
|
|
return;
|
|
}
|
|
}
|
|
#line 154 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
__inline static void configfs_put___1(struct configfs_dirent *sd )
|
|
{
|
|
int __ret_warn_on ;
|
|
int tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 156
|
|
tmp = atomic_read((atomic_t const *)(& sd->s_count));
|
|
#line 156
|
|
__ret_warn_on = tmp == 0;
|
|
#line 156
|
|
tmp___0 = __builtin_expect(__ret_warn_on != 0, 0L);
|
|
}
|
|
#line 156
|
|
if (tmp___0 != 0L) {
|
|
{
|
|
#line 156
|
|
warn_slowpath_null("fs/configfs/configfs_internal.h", 156);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 156
|
|
__builtin_expect(__ret_warn_on != 0, 0L);
|
|
#line 157
|
|
tmp___1 = atomic_dec_and_test(& sd->s_count);
|
|
}
|
|
#line 157
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 158
|
|
release_configfs_dirent___1(sd);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 159
|
|
return;
|
|
}
|
|
}
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
struct mutex configfs_symlink_mutex = {{1}, {{{{0U}}}}, {& configfs_symlink_mutex.wait_list, & configfs_symlink_mutex.wait_list},
|
|
0};
|
|
#line 37 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int item_depth(struct config_item *item )
|
|
{
|
|
struct config_item *p ;
|
|
int depth ;
|
|
int tmp ;
|
|
|
|
{
|
|
#line 39
|
|
p = item;
|
|
#line 40
|
|
depth = 0;
|
|
ldv_16479:
|
|
#line 41
|
|
depth = depth + 1;
|
|
#line 41
|
|
p = p->ci_parent;
|
|
#line 41
|
|
if ((unsigned long )p != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 41
|
|
tmp = configfs_is_root(p);
|
|
}
|
|
#line 41
|
|
if (tmp == 0) {
|
|
#line 43
|
|
goto ldv_16479;
|
|
} else {
|
|
#line 46
|
|
goto ldv_16480;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
ldv_16480: ;
|
|
#line 42
|
|
return (depth);
|
|
}
|
|
}
|
|
#line 45 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int item_path_length(struct config_item *item )
|
|
{
|
|
struct config_item *p ;
|
|
int length ;
|
|
char *tmp ;
|
|
size_t tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
#line 47
|
|
p = item;
|
|
#line 48
|
|
length = 1;
|
|
ldv_16486:
|
|
{
|
|
#line 50
|
|
tmp = config_item_name(p);
|
|
#line 50
|
|
tmp___0 = strlen((char const *)tmp);
|
|
#line 50
|
|
length = (int )(((unsigned int )tmp___0 + (unsigned int )length) + 1U);
|
|
#line 51
|
|
p = p->ci_parent;
|
|
}
|
|
#line 52
|
|
if ((unsigned long )p != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 52
|
|
tmp___1 = configfs_is_root(p);
|
|
}
|
|
#line 52
|
|
if (tmp___1 == 0) {
|
|
#line 54
|
|
goto ldv_16486;
|
|
} else {
|
|
#line 57
|
|
goto ldv_16487;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
ldv_16487: ;
|
|
#line 53
|
|
return (length);
|
|
}
|
|
}
|
|
#line 56 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static void fill_item_path(struct config_item *item , char *buffer , int length )
|
|
{
|
|
struct config_item *p ;
|
|
int cur ;
|
|
char *tmp ;
|
|
size_t tmp___0 ;
|
|
char *tmp___1 ;
|
|
int tmp___2 ;
|
|
|
|
{
|
|
#line 60
|
|
length = length - 1;
|
|
#line 61
|
|
p = item;
|
|
#line 61
|
|
goto ldv_16496;
|
|
ldv_16495:
|
|
{
|
|
#line 62
|
|
tmp = config_item_name(p);
|
|
#line 62
|
|
tmp___0 = strlen((char const *)tmp);
|
|
#line 62
|
|
cur = (int )tmp___0;
|
|
#line 65
|
|
length = length - cur;
|
|
#line 66
|
|
tmp___1 = config_item_name(p);
|
|
#line 66
|
|
strncpy(buffer + (unsigned long )length, (char const *)tmp___1, (__kernel_size_t )cur);
|
|
#line 67
|
|
length = length - 1;
|
|
#line 67
|
|
*(buffer + (unsigned long )length) = 47;
|
|
#line 61
|
|
p = p->ci_parent;
|
|
}
|
|
ldv_16496: ;
|
|
#line 61
|
|
if ((unsigned long )p != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 61
|
|
tmp___2 = configfs_is_root(p);
|
|
}
|
|
#line 61
|
|
if (tmp___2 == 0) {
|
|
#line 63
|
|
goto ldv_16495;
|
|
} else {
|
|
#line 66
|
|
goto ldv_16497;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
ldv_16497: ;
|
|
#line 68
|
|
return;
|
|
}
|
|
}
|
|
#line 71 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int create_link(struct config_item *parent_item , struct config_item *item ,
|
|
struct dentry *dentry )
|
|
{
|
|
struct configfs_dirent *target_sd ;
|
|
struct configfs_symlink *sl ;
|
|
int ret ;
|
|
int tmp ;
|
|
void *tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 75
|
|
target_sd = (struct configfs_dirent *)(item->ci_dentry)->d_fsdata;
|
|
#line 79
|
|
ret = -2;
|
|
#line 80
|
|
tmp = configfs_dirent_is_ready(target_sd);
|
|
}
|
|
#line 80
|
|
if (tmp == 0) {
|
|
#line 81
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 82
|
|
ret = -12;
|
|
#line 83
|
|
tmp___0 = kmalloc(24UL, 208U);
|
|
#line 83
|
|
sl = (struct configfs_symlink *)tmp___0;
|
|
}
|
|
#line 84
|
|
if ((unsigned long )sl != (unsigned long )((struct configfs_symlink *)0)) {
|
|
{
|
|
#line 85
|
|
sl->sl_target = config_item_get(item);
|
|
#line 86
|
|
spin_lock(& configfs_dirent_lock);
|
|
}
|
|
#line 87
|
|
if ((target_sd->s_type & 256) != 0) {
|
|
{
|
|
#line 88
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 89
|
|
config_item_put(item);
|
|
#line 90
|
|
ldv_kfree_15___0((void const *)sl);
|
|
}
|
|
#line 91
|
|
return (-2);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 93
|
|
list_add(& sl->sl_list, & target_sd->s_links);
|
|
#line 94
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 95
|
|
ret = configfs_create_link(sl, parent_item->ci_dentry, dentry);
|
|
}
|
|
#line 97
|
|
if (ret != 0) {
|
|
{
|
|
#line 98
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 99
|
|
list_del_init(& sl->sl_list);
|
|
#line 100
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 101
|
|
config_item_put(item);
|
|
#line 102
|
|
ldv_kfree_16___0((void const *)sl);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
out: ;
|
|
#line 107
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 111 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int get_target(char const *symname , struct path *path , struct config_item **target )
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 116
|
|
ret = kern_path(symname, 3U, path);
|
|
}
|
|
#line 117
|
|
if (ret == 0) {
|
|
#line 118
|
|
if ((unsigned long )(path->dentry)->d_sb == (unsigned long )configfs_sb) {
|
|
{
|
|
#line 119
|
|
*target = configfs_get_config_item(path->dentry);
|
|
}
|
|
#line 120
|
|
if ((unsigned long )*target == (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 121
|
|
ret = -2;
|
|
#line 122
|
|
path_put(path);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
{
|
|
#line 125
|
|
ret = -1;
|
|
#line 126
|
|
path_put(path);
|
|
}
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 130
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
int configfs_symlink(struct inode *dir , struct dentry *dentry , char const *symname )
|
|
{
|
|
int ret ;
|
|
struct path path ;
|
|
struct configfs_dirent *sd ;
|
|
struct config_item *parent_item ;
|
|
struct config_item *target_item ;
|
|
struct config_item_type *type ;
|
|
int tmp ;
|
|
|
|
{
|
|
#line 140
|
|
target_item = (struct config_item *)0;
|
|
#line 143
|
|
ret = -1;
|
|
#line 144
|
|
if ((unsigned long )dentry->d_parent == (unsigned long )configfs_sb->s_root) {
|
|
#line 145
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 147
|
|
sd = (struct configfs_dirent *)(dentry->d_parent)->d_fsdata;
|
|
#line 152
|
|
ret = -2;
|
|
#line 153
|
|
tmp = configfs_dirent_is_ready(sd);
|
|
}
|
|
#line 153
|
|
if (tmp == 0) {
|
|
#line 154
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 156
|
|
parent_item = configfs_get_config_item(dentry->d_parent);
|
|
#line 157
|
|
type = parent_item->ci_type;
|
|
#line 159
|
|
ret = -1;
|
|
}
|
|
#line 160
|
|
if (((unsigned long )type == (unsigned long )((struct config_item_type *)0) || (unsigned long )type->ct_item_ops == (unsigned long )((struct configfs_item_operations *)0)) || (unsigned long )(type->ct_item_ops)->allow_link == (unsigned long )((int (*)(struct config_item * ,
|
|
struct config_item * ))0)) {
|
|
#line 162
|
|
goto out_put;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 164
|
|
ret = get_target(symname, & path, & target_item);
|
|
}
|
|
#line 165
|
|
if (ret != 0) {
|
|
#line 166
|
|
goto out_put;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 168
|
|
ret = (*((type->ct_item_ops)->allow_link))(parent_item, target_item);
|
|
}
|
|
#line 169
|
|
if (ret == 0) {
|
|
{
|
|
#line 170
|
|
mutex_lock(& configfs_symlink_mutex);
|
|
#line 171
|
|
ret = create_link(parent_item, target_item, dentry);
|
|
#line 172
|
|
mutex_unlock(& configfs_symlink_mutex);
|
|
}
|
|
#line 173
|
|
if (ret != 0 && (unsigned long )(type->ct_item_ops)->drop_link != (unsigned long )((int (*)(struct config_item * ,
|
|
struct config_item * ))0)) {
|
|
{
|
|
#line 174
|
|
(*((type->ct_item_ops)->drop_link))(parent_item, target_item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 178
|
|
config_item_put(target_item);
|
|
#line 179
|
|
path_put(& path);
|
|
}
|
|
out_put:
|
|
{
|
|
#line 182
|
|
config_item_put(parent_item);
|
|
}
|
|
out: ;
|
|
#line 185
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 188 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
int configfs_unlink(struct inode *dir , struct dentry *dentry )
|
|
{
|
|
struct configfs_dirent *sd ;
|
|
struct configfs_symlink *sl ;
|
|
struct config_item *parent_item ;
|
|
struct config_item_type *type ;
|
|
int ret ;
|
|
long tmp ;
|
|
|
|
{
|
|
#line 190
|
|
sd = (struct configfs_dirent *)dentry->d_fsdata;
|
|
#line 196
|
|
ret = -1;
|
|
#line 197
|
|
if ((sd->s_type & 32) == 0) {
|
|
#line 198
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 200
|
|
tmp = __builtin_expect((unsigned long )dentry->d_parent == (unsigned long )configfs_sb->s_root,
|
|
0L);
|
|
}
|
|
#line 200
|
|
if (tmp != 0L) {
|
|
{
|
|
#line 200
|
|
__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 *)"fs/configfs/symlink.c"),
|
|
"i" (200), "i" (12UL));
|
|
#line 200
|
|
__builtin_unreachable();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 202
|
|
sl = (struct configfs_symlink *)sd->s_element;
|
|
#line 204
|
|
parent_item = configfs_get_config_item(dentry->d_parent);
|
|
#line 205
|
|
type = parent_item->ci_type;
|
|
#line 207
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 208
|
|
list_del_init(& sd->s_sibling);
|
|
#line 209
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 210
|
|
configfs_drop_dentry(sd, dentry->d_parent);
|
|
#line 211
|
|
dput(dentry);
|
|
#line 212
|
|
configfs_put___1(sd);
|
|
}
|
|
#line 219
|
|
if (((unsigned long )type != (unsigned long )((struct config_item_type *)0) && (unsigned long )type->ct_item_ops != (unsigned long )((struct configfs_item_operations *)0)) && (unsigned long )(type->ct_item_ops)->drop_link != (unsigned long )((int (*)(struct config_item * ,
|
|
struct config_item * ))0)) {
|
|
{
|
|
#line 221
|
|
(*((type->ct_item_ops)->drop_link))(parent_item, sl->sl_target);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 224
|
|
spin_lock(& configfs_dirent_lock);
|
|
#line 225
|
|
list_del_init(& sl->sl_list);
|
|
#line 226
|
|
spin_unlock(& configfs_dirent_lock);
|
|
#line 229
|
|
config_item_put(sl->sl_target);
|
|
#line 230
|
|
ldv_kfree_17((void const *)sl);
|
|
#line 232
|
|
config_item_put(parent_item);
|
|
#line 234
|
|
ret = 0;
|
|
}
|
|
out: ;
|
|
#line 237
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 240 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int configfs_get_target_path(struct config_item *item , struct config_item *target ,
|
|
char *path )
|
|
{
|
|
char *s ;
|
|
int depth ;
|
|
int size ;
|
|
int tmp ;
|
|
int tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 246
|
|
depth = item_depth(item);
|
|
#line 247
|
|
tmp = item_path_length(target);
|
|
#line 247
|
|
size = (tmp + depth * 3) + -1;
|
|
}
|
|
#line 248
|
|
if (size > 4096) {
|
|
#line 249
|
|
return (-36);
|
|
} else {
|
|
|
|
}
|
|
#line 253
|
|
s = path;
|
|
#line 253
|
|
goto ldv_16547;
|
|
ldv_16546:
|
|
{
|
|
#line 254
|
|
strcpy(s, "../");
|
|
#line 253
|
|
s = s + 3UL;
|
|
}
|
|
ldv_16547:
|
|
#line 253
|
|
tmp___0 = depth;
|
|
#line 253
|
|
depth = depth - 1;
|
|
#line 253
|
|
if (tmp___0 != 0) {
|
|
#line 255
|
|
goto ldv_16546;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 256
|
|
fill_item_path(target, path, size);
|
|
}
|
|
#line 259
|
|
return (0);
|
|
}
|
|
}
|
|
#line 262 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static int configfs_getlink(struct dentry *dentry , char *path )
|
|
{
|
|
struct config_item *item ;
|
|
struct config_item *target_item ;
|
|
int error ;
|
|
|
|
{
|
|
{
|
|
#line 265
|
|
error = 0;
|
|
#line 267
|
|
item = configfs_get_config_item(dentry->d_parent);
|
|
}
|
|
#line 268
|
|
if ((unsigned long )item == (unsigned long )((struct config_item *)0)) {
|
|
#line 269
|
|
return (-22);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 271
|
|
target_item = configfs_get_config_item(dentry);
|
|
}
|
|
#line 272
|
|
if ((unsigned long )target_item == (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 273
|
|
config_item_put(item);
|
|
}
|
|
#line 274
|
|
return (-22);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 277
|
|
down_read(& configfs_rename_sem);
|
|
#line 278
|
|
error = configfs_get_target_path(item, target_item, path);
|
|
#line 279
|
|
up_read(& configfs_rename_sem);
|
|
#line 281
|
|
config_item_put(item);
|
|
#line 282
|
|
config_item_put(target_item);
|
|
}
|
|
#line 283
|
|
return (error);
|
|
}
|
|
}
|
|
#line 287 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static void *configfs_follow_link(struct dentry *dentry , struct nameidata *nd )
|
|
{
|
|
int error ;
|
|
unsigned long page ;
|
|
unsigned long tmp ;
|
|
void *tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 289
|
|
error = -12;
|
|
#line 290
|
|
tmp = get_zeroed_page(208U);
|
|
#line 290
|
|
page = tmp;
|
|
}
|
|
#line 292
|
|
if (page != 0UL) {
|
|
{
|
|
#line 293
|
|
error = configfs_getlink(dentry, (char *)page);
|
|
}
|
|
#line 294
|
|
if (error == 0) {
|
|
{
|
|
#line 295
|
|
nd_set_link(nd, (char *)page);
|
|
}
|
|
#line 296
|
|
return ((void *)page);
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 300
|
|
tmp___0 = ERR_PTR((long )error);
|
|
#line 300
|
|
nd_set_link(nd, (char *)tmp___0);
|
|
}
|
|
#line 301
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
#line 304 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
static void configfs_put_link(struct dentry *dentry , struct nameidata *nd , void *cookie )
|
|
{
|
|
unsigned long page ;
|
|
|
|
{
|
|
#line 307
|
|
if ((unsigned long )cookie != (unsigned long )((void *)0)) {
|
|
{
|
|
#line 308
|
|
page = (unsigned long )cookie;
|
|
#line 309
|
|
free_pages(page, 0U);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 311
|
|
return;
|
|
}
|
|
}
|
|
#line 313 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/symlink.c"
|
|
struct inode_operations const configfs_symlink_inode_operations =
|
|
#line 313
|
|
{0, 0, 0, 0, 0, 0, 0, 0, 0, & generic_readlink, & configfs_follow_link, & configfs_put_link,
|
|
0, 0, 0, & configfs_setattr, 0, 0, 0, 0, 0, 0, 0, 0};
|
|
#line 70 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_12(void (*arg0)(struct dentry * ,
|
|
struct nameidata * ,
|
|
void * ) , struct dentry *arg1 ,
|
|
struct nameidata *arg2 , void *arg3 ) ;
|
|
#line 71
|
|
void ldv_random_containerless_scenario_callback_6_13(int (*arg0)(struct dentry * ,
|
|
char * , int ) ,
|
|
struct dentry *arg1 , char *arg2 ,
|
|
int arg3 ) ;
|
|
#line 72
|
|
void ldv_random_containerless_scenario_callback_6_17(int (*arg0)(struct dentry * ,
|
|
struct iattr * ) ,
|
|
struct dentry *arg1 , struct iattr *arg2 ) ;
|
|
#line 73
|
|
void ldv_random_containerless_scenario_callback_6_4(void *(*arg0)(struct dentry * ,
|
|
struct nameidata * ) ,
|
|
struct dentry *arg1 , struct nameidata *arg2 ) ;
|
|
#line 81 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_12(void (*arg0)(struct dentry * ,
|
|
struct nameidata * ,
|
|
void * ) , struct dentry *arg1 ,
|
|
struct nameidata *arg2 , void *arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 82
|
|
configfs_put_link(arg1, arg2, arg3);
|
|
}
|
|
#line 83
|
|
return;
|
|
}
|
|
}
|
|
#line 86 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_13(int (*arg0)(struct dentry * ,
|
|
char * , int ) ,
|
|
struct dentry *arg1 , char *arg2 ,
|
|
int arg3 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 87
|
|
generic_readlink(arg1, arg2, arg3);
|
|
}
|
|
#line 88
|
|
return;
|
|
}
|
|
}
|
|
#line 91 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_17(int (*arg0)(struct dentry * ,
|
|
struct iattr * ) ,
|
|
struct dentry *arg1 , struct iattr *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 92
|
|
configfs_setattr(arg1, arg2);
|
|
}
|
|
#line 93
|
|
return;
|
|
}
|
|
}
|
|
#line 96 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
void ldv_random_containerless_scenario_callback_6_4(void *(*arg0)(struct dentry * ,
|
|
struct nameidata * ) ,
|
|
struct dentry *arg1 , struct nameidata *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 97
|
|
configfs_follow_link(arg1, arg2);
|
|
}
|
|
#line 98
|
|
return;
|
|
}
|
|
}
|
|
#line 210 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
static void ldv_kfree_14___1(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 213
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 214
|
|
return;
|
|
}
|
|
}
|
|
#line 217 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
static void ldv_kfree_15___0(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 220
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 221
|
|
return;
|
|
}
|
|
}
|
|
#line 224 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
static void ldv_kfree_16___0(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 227
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 228
|
|
return;
|
|
}
|
|
}
|
|
#line 231 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/symlink.c.aux"
|
|
static void ldv_kfree_17(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 234
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 235
|
|
return;
|
|
}
|
|
}
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.h"
|
|
extern void ldv_initialize(void) ;
|
|
#line 47
|
|
int ldv_post_init(int init_ret_val ) ;
|
|
#line 110
|
|
extern void ldv_check_final_state(void) ;
|
|
#line 27 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.h"
|
|
int ldv_undef_int_negative(void) ;
|
|
#line 32 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.h"
|
|
int ldv_thread_create(struct ldv_thread *ldv_thread , void (*function)(void * ) ,
|
|
void *data ) ;
|
|
#line 38
|
|
int ldv_thread_join(struct ldv_thread *ldv_thread , void (*function)(void * ) ) ;
|
|
#line 96 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kobject.h"
|
|
extern struct kobject *kobject_create_and_add(char const * , struct kobject * ) ;
|
|
#line 103
|
|
extern void kobject_put(struct kobject * ) ;
|
|
#line 191
|
|
extern struct kobject *kernel_kobj ;
|
|
#line 96 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
extern struct kmem_cache *kmem_cache_create(char const * , size_t , size_t , unsigned long ,
|
|
void (*)(void * ) ) ;
|
|
#line 99
|
|
extern void kmem_cache_destroy(struct kmem_cache * ) ;
|
|
#line 249 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/dcache.h"
|
|
extern struct dentry *d_alloc_root(struct inode * ) ;
|
|
#line 1762 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/fs.h"
|
|
extern int get_sb_single(struct file_system_type * , int , void * , int (*)(struct super_block * ,
|
|
void * ,
|
|
int ) ,
|
|
struct vfsmount * ) ;
|
|
#line 1773
|
|
extern void kill_litter_super(struct super_block * ) ;
|
|
#line 1797
|
|
static int ldv_register_filesystem_15(struct file_system_type *ldv_func_arg1 ) ;
|
|
#line 1802
|
|
static int ldv_unregister_filesystem_16(struct file_system_type *ldv_func_arg1 ) ;
|
|
#line 1806
|
|
static int ldv_unregister_filesystem_17(struct file_system_type *ldv_func_arg1 ) ;
|
|
#line 2158
|
|
extern void generic_delete_inode(struct inode * ) ;
|
|
#line 2343
|
|
extern int simple_statfs(struct dentry * , struct kstatfs * ) ;
|
|
#line 2367
|
|
extern int simple_pin_fs(struct file_system_type * , struct vfsmount ** , int * ) ;
|
|
#line 2368
|
|
extern void simple_release_fs(struct vfsmount ** , int * ) ;
|
|
#line 100 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
void config_group_init(struct config_group *group ) ;
|
|
#line 62 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/configfs_internal.h"
|
|
struct kmem_cache *configfs_dir_cachep ;
|
|
#line 39 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
struct vfsmount *configfs_mount = (struct vfsmount *)0;
|
|
#line 40 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
struct super_block *configfs_sb = (struct super_block *)0;
|
|
#line 42 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static int configfs_mnt_count = 0;
|
|
#line 44 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static struct super_operations const configfs_ops =
|
|
#line 44
|
|
{0, 0, 0, 0, & generic_delete_inode, 0, 0, 0, 0, 0, 0, & simple_statfs, 0, 0, 0,
|
|
0, 0, 0};
|
|
#line 49 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static struct config_group configfs_root_group = {{(char *)(& configfs_root_group.cg_item.ci_namebuf), {'r', 'o', 'o', 't', '\000'},
|
|
{{0}}, {0, 0}, 0, 0, 0, 0}, {0, 0}, 0, 0};
|
|
#line 56 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
int configfs_is_root(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
#line 58
|
|
return ((unsigned long )item == (unsigned long )(& configfs_root_group.cg_item));
|
|
}
|
|
}
|
|
#line 61 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static struct configfs_dirent configfs_root =
|
|
#line 61
|
|
{{0}, 0, {& configfs_root.s_sibling, & configfs_root.s_sibling}, {& configfs_root.s_children,
|
|
& configfs_root.s_children},
|
|
{0, 0}, (void *)(& configfs_root_group.cg_item), 1, (unsigned short)0, 0, (struct iattr *)0};
|
|
#line 69 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static int configfs_fill_super(struct super_block *sb , void *data , int silent )
|
|
{
|
|
struct inode *inode ;
|
|
struct dentry *root ;
|
|
|
|
{
|
|
{
|
|
#line 74
|
|
sb->s_blocksize = 4096UL;
|
|
#line 75
|
|
sb->s_blocksize_bits = 12U;
|
|
#line 76
|
|
sb->s_magic = 1650812272UL;
|
|
#line 77
|
|
sb->s_op = & configfs_ops;
|
|
#line 78
|
|
sb->s_time_gran = 1U;
|
|
#line 79
|
|
configfs_sb = sb;
|
|
#line 81
|
|
inode = configfs_new_inode(16877U, & configfs_root);
|
|
}
|
|
#line 83
|
|
if ((unsigned long )inode != (unsigned long )((struct inode *)0)) {
|
|
{
|
|
#line 84
|
|
inode->i_op = & configfs_dir_inode_operations;
|
|
#line 85
|
|
inode->i_fop = & configfs_dir_operations;
|
|
#line 87
|
|
inc_nlink(inode);
|
|
}
|
|
} else {
|
|
#line 90
|
|
return (-12);
|
|
}
|
|
{
|
|
#line 93
|
|
root = d_alloc_root(inode);
|
|
}
|
|
#line 94
|
|
if ((unsigned long )root == (unsigned long )((struct dentry *)0)) {
|
|
{
|
|
#line 96
|
|
iput(inode);
|
|
}
|
|
#line 97
|
|
return (-12);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 99
|
|
config_group_init(& configfs_root_group);
|
|
#line 100
|
|
configfs_root_group.cg_item.ci_dentry = root;
|
|
#line 101
|
|
root->d_fsdata = (void *)(& configfs_root);
|
|
#line 102
|
|
sb->s_root = root;
|
|
}
|
|
#line 103
|
|
return (0);
|
|
}
|
|
}
|
|
#line 106 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static int configfs_get_sb(struct file_system_type *fs_type , int flags , char const *dev_name ,
|
|
void *data , struct vfsmount *mnt )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 109
|
|
tmp = get_sb_single(fs_type, flags, data, & configfs_fill_super, mnt);
|
|
}
|
|
#line 109
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 112 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static struct file_system_type configfs_fs_type =
|
|
#line 112
|
|
{"configfs", 0, & configfs_get_sb, & kill_litter_super, (struct module *)0, 0,
|
|
{0, 0}, {}, {}, {}, {}, {}, {}};
|
|
#line 119 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
int configfs_pin_fs(void)
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 121
|
|
tmp = simple_pin_fs(& configfs_fs_type, & configfs_mount, & configfs_mnt_count);
|
|
}
|
|
#line 121
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 125 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
void configfs_release_fs(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 127
|
|
simple_release_fs(& configfs_mount, & configfs_mnt_count);
|
|
}
|
|
#line 128
|
|
return;
|
|
}
|
|
}
|
|
#line 131 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static struct kobject *config_kobj ;
|
|
#line 133 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static int configfs_init(void)
|
|
{
|
|
int err ;
|
|
|
|
{
|
|
{
|
|
#line 135
|
|
err = -12;
|
|
#line 137
|
|
configfs_dir_cachep = kmem_cache_create("configfs_dir_cache", 88UL, 0UL, 0UL, (void (*)(void * ))0);
|
|
}
|
|
#line 140
|
|
if ((unsigned long )configfs_dir_cachep == (unsigned long )((struct kmem_cache *)0)) {
|
|
#line 141
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 143
|
|
config_kobj = kobject_create_and_add("config", kernel_kobj);
|
|
}
|
|
#line 144
|
|
if ((unsigned long )config_kobj == (unsigned long )((struct kobject *)0)) {
|
|
{
|
|
#line 145
|
|
kmem_cache_destroy(configfs_dir_cachep);
|
|
#line 146
|
|
configfs_dir_cachep = (struct kmem_cache *)0;
|
|
}
|
|
#line 147
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 150
|
|
err = ldv_register_filesystem_15(& configfs_fs_type);
|
|
}
|
|
#line 151
|
|
if (err != 0) {
|
|
{
|
|
#line 152
|
|
printk("<3>configfs: Unable to register filesystem!\n");
|
|
#line 153
|
|
kobject_put(config_kobj);
|
|
#line 154
|
|
kmem_cache_destroy(configfs_dir_cachep);
|
|
#line 155
|
|
configfs_dir_cachep = (struct kmem_cache *)0;
|
|
}
|
|
#line 156
|
|
goto out;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 159
|
|
err = configfs_inode_init();
|
|
}
|
|
#line 160
|
|
if (err != 0) {
|
|
{
|
|
#line 161
|
|
ldv_unregister_filesystem_16(& configfs_fs_type);
|
|
#line 162
|
|
kobject_put(config_kobj);
|
|
#line 163
|
|
kmem_cache_destroy(configfs_dir_cachep);
|
|
#line 164
|
|
configfs_dir_cachep = (struct kmem_cache *)0;
|
|
}
|
|
} else {
|
|
|
|
}
|
|
out: ;
|
|
#line 167
|
|
return (err);
|
|
}
|
|
}
|
|
#line 170 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/mount.c"
|
|
static void configfs_exit(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 172
|
|
ldv_unregister_filesystem_17(& configfs_fs_type);
|
|
#line 173
|
|
kobject_put(config_kobj);
|
|
#line 174
|
|
kmem_cache_destroy(configfs_dir_cachep);
|
|
#line 175
|
|
configfs_dir_cachep = (struct kmem_cache *)0;
|
|
#line 176
|
|
configfs_inode_exit();
|
|
}
|
|
#line 177
|
|
return;
|
|
}
|
|
}
|
|
#line 74 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_1_8_5(void) ;
|
|
#line 75
|
|
void ldv_dispatch_default_deregister_2_8_6(void) ;
|
|
#line 76
|
|
void ldv_dispatch_default_deregister_3_8_7(void) ;
|
|
#line 77
|
|
void ldv_dispatch_default_deregister_7_8_8(void) ;
|
|
#line 78
|
|
void ldv_dispatch_default_deregister_8_8_4(void) ;
|
|
#line 79
|
|
void ldv_dispatch_default_register_1_8_12(void) ;
|
|
#line 80
|
|
void ldv_dispatch_default_register_2_8_11(void) ;
|
|
#line 81
|
|
void ldv_dispatch_default_register_3_8_10(void) ;
|
|
#line 82
|
|
void ldv_dispatch_default_register_7_8_9(void) ;
|
|
#line 83
|
|
void ldv_dispatch_default_register_8_8_13(void) ;
|
|
#line 84
|
|
void ldv_dispatch_deregister_9_1(struct file_system_type *arg0 ) ;
|
|
#line 85
|
|
void ldv_dispatch_insmod_deregister_11_2(void) ;
|
|
#line 86
|
|
void ldv_dispatch_insmod_register_11_3(void) ;
|
|
#line 87
|
|
void ldv_dispatch_register_10_3(struct file_system_type *arg0 ) ;
|
|
#line 88
|
|
int ldv_emg_register_filesystem(struct file_system_type *arg0 ) ;
|
|
#line 89
|
|
int ldv_emg_unregister_filesystem(struct file_system_type *arg0 ) ;
|
|
#line 90
|
|
void ldv_insmod_8(void *arg0 ) ;
|
|
#line 91
|
|
void ldv_insmod_configfs_exit_8_2(void (*arg0)(void) ) ;
|
|
#line 92
|
|
int ldv_insmod_configfs_init_8_17(int (*arg0)(void) ) ;
|
|
#line 93
|
|
void ldv_main_11(void *arg0 ) ;
|
|
#line 94
|
|
void ldv_random_containerless_scenario_3(void *arg0 ) ;
|
|
#line 95
|
|
void ldv_random_containerless_scenario_4(void *arg0 ) ;
|
|
#line 96
|
|
void ldv_random_containerless_scenario_5(void *arg0 ) ;
|
|
#line 97
|
|
void ldv_random_containerless_scenario_6(void *arg0 ) ;
|
|
#line 98
|
|
void ldv_random_containerless_scenario_7(void *arg0 ) ;
|
|
#line 104
|
|
void ldv_random_containerless_scenario_callback_5_3(int (*arg0)(struct file_system_type * ,
|
|
int , char * , void * ,
|
|
struct vfsmount * ) ,
|
|
struct file_system_type *arg1 ,
|
|
int arg2 , char *arg3 , void *arg4 ,
|
|
struct vfsmount *arg5 ) ;
|
|
#line 105
|
|
void ldv_random_containerless_scenario_callback_5_8(void (*arg0)(struct super_block * ) ,
|
|
struct super_block *arg1 ) ;
|
|
#line 115
|
|
void ldv_random_containerless_scenario_callback_7_4(void (*arg0)(struct inode * ) ,
|
|
struct inode *arg1 ) ;
|
|
#line 116
|
|
void ldv_random_containerless_scenario_callback_7_8(int (*arg0)(struct dentry * ,
|
|
struct kstatfs * ) ,
|
|
struct dentry *arg1 , struct kstatfs *arg2 ) ;
|
|
#line 117
|
|
int main(void) ;
|
|
#line 121 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_11 ;
|
|
#line 123 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_3 ;
|
|
#line 124 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_4 ;
|
|
#line 125 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_5 ;
|
|
#line 126 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_6 ;
|
|
#line 127 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_7 ;
|
|
#line 128 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
struct ldv_thread ldv_thread_8 ;
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_character_driver_scenario_callback_2_25(int (*arg0)(struct file * , void * ,
|
|
int (*)(void * , char const * ,
|
|
int , loff_t ,
|
|
u64 , unsigned int ) ) ,
|
|
struct file *arg1 , void *arg2 ,
|
|
int (*arg3)(void * , char * , int ,
|
|
loff_t , u64 , unsigned int ) )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 135
|
|
(*arg0)(arg1, arg2, (int (*)(void * , char const * , int , loff_t , u64 , unsigned int ))arg3);
|
|
}
|
|
#line 136
|
|
return;
|
|
}
|
|
}
|
|
#line 139 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_character_driver_scenario_write_1_4(ssize_t (*arg0)(struct file * , char * ,
|
|
size_t , loff_t * ) ,
|
|
struct file *arg1 , char *arg2 , unsigned long arg3 ,
|
|
long long *arg4 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 140
|
|
(*arg0)(arg1, arg2, arg3, arg4);
|
|
}
|
|
#line 141
|
|
return;
|
|
}
|
|
}
|
|
#line 144 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_1_8_5(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 148
|
|
ret = ldv_thread_join(& ldv_thread_1, & ldv_character_driver_scenario_1);
|
|
#line 149
|
|
ldv_assume(ret == 0);
|
|
#line 150
|
|
ret = ldv_thread_join(& ldv_thread_2, & ldv_character_driver_scenario_2);
|
|
#line 151
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 152
|
|
return;
|
|
}
|
|
}
|
|
#line 156 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_2_8_6(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 159
|
|
ret = ldv_thread_join(& ldv_thread_3, & ldv_random_containerless_scenario_3);
|
|
#line 160
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 161
|
|
return;
|
|
}
|
|
}
|
|
#line 165 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_3_8_7(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 168
|
|
ret = ldv_thread_join(& ldv_thread_4, & ldv_random_containerless_scenario_4);
|
|
#line 169
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 170
|
|
return;
|
|
}
|
|
}
|
|
#line 174 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_7_8_8(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 177
|
|
ret = ldv_thread_join(& ldv_thread_6, & ldv_random_containerless_scenario_6);
|
|
#line 178
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 179
|
|
return;
|
|
}
|
|
}
|
|
#line 183 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_deregister_8_8_4(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 186
|
|
ret = ldv_thread_join(& ldv_thread_7, & ldv_random_containerless_scenario_7);
|
|
#line 187
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 188
|
|
return;
|
|
}
|
|
}
|
|
#line 192 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_register_1_8_12(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_1 ;
|
|
struct ldv_struct_insmod_8 *cf_arg_2 ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 196
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 196
|
|
cf_arg_1 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 197
|
|
ret = ldv_thread_create(& ldv_thread_1, & ldv_character_driver_scenario_1, (void *)cf_arg_1);
|
|
#line 198
|
|
ldv_assume(ret == 0);
|
|
#line 199
|
|
tmp___0 = ldv_xmalloc(4UL);
|
|
#line 199
|
|
cf_arg_2 = (struct ldv_struct_insmod_8 *)tmp___0;
|
|
#line 200
|
|
ret = ldv_thread_create(& ldv_thread_2, & ldv_character_driver_scenario_2, (void *)cf_arg_2);
|
|
#line 201
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 202
|
|
return;
|
|
}
|
|
}
|
|
#line 206 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_register_2_8_11(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_3 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 209
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 209
|
|
cf_arg_3 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 210
|
|
ret = ldv_thread_create(& ldv_thread_3, & ldv_random_containerless_scenario_3, (void *)cf_arg_3);
|
|
#line 211
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 212
|
|
return;
|
|
}
|
|
}
|
|
#line 216 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_register_3_8_10(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_4 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 219
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 219
|
|
cf_arg_4 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 220
|
|
ret = ldv_thread_create(& ldv_thread_4, & ldv_random_containerless_scenario_4, (void *)cf_arg_4);
|
|
#line 221
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 222
|
|
return;
|
|
}
|
|
}
|
|
#line 226 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_register_7_8_9(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_6 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 229
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 229
|
|
cf_arg_6 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 230
|
|
ret = ldv_thread_create(& ldv_thread_6, & ldv_random_containerless_scenario_6, (void *)cf_arg_6);
|
|
#line 231
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 232
|
|
return;
|
|
}
|
|
}
|
|
#line 236 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_default_register_8_8_13(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_7 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 239
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 239
|
|
cf_arg_7 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 240
|
|
ret = ldv_thread_create(& ldv_thread_7, & ldv_random_containerless_scenario_7, (void *)cf_arg_7);
|
|
#line 241
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 242
|
|
return;
|
|
}
|
|
}
|
|
#line 246 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_deregister_9_1(struct file_system_type *arg0 )
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 249
|
|
ret = ldv_thread_join(& ldv_thread_5, & ldv_random_containerless_scenario_5);
|
|
#line 250
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 251
|
|
return;
|
|
}
|
|
}
|
|
#line 255 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_insmod_deregister_11_2(void)
|
|
{
|
|
int ret ;
|
|
|
|
{
|
|
{
|
|
#line 258
|
|
ret = ldv_thread_join(& ldv_thread_8, & ldv_insmod_8);
|
|
#line 259
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 260
|
|
return;
|
|
}
|
|
}
|
|
#line 264 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_insmod_register_11_3(void)
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_insmod_8 *cf_arg_8 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 267
|
|
tmp = ldv_xmalloc(4UL);
|
|
#line 267
|
|
cf_arg_8 = (struct ldv_struct_insmod_8 *)tmp;
|
|
#line 268
|
|
ret = ldv_thread_create(& ldv_thread_8, & ldv_insmod_8, (void *)cf_arg_8);
|
|
#line 269
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 270
|
|
return;
|
|
}
|
|
}
|
|
#line 274 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_dispatch_register_10_3(struct file_system_type *arg0 )
|
|
{
|
|
int ret ;
|
|
struct ldv_struct_random_containerless_scenario_5 *cf_arg_5 ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 277
|
|
tmp = ldv_xmalloc(16UL);
|
|
#line 277
|
|
cf_arg_5 = (struct ldv_struct_random_containerless_scenario_5 *)tmp;
|
|
#line 278
|
|
cf_arg_5->arg0 = arg0;
|
|
#line 279
|
|
ret = ldv_thread_create(& ldv_thread_5, & ldv_random_containerless_scenario_5, (void *)cf_arg_5);
|
|
#line 280
|
|
ldv_assume(ret == 0);
|
|
}
|
|
#line 281
|
|
return;
|
|
}
|
|
}
|
|
#line 285 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
int ldv_emg_register_filesystem(struct file_system_type *arg0 )
|
|
{
|
|
struct file_system_type *ldv_10_struct_file_system_type_struct_file_system_type ;
|
|
void *tmp ;
|
|
int tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 291
|
|
tmp = external_allocated_data();
|
|
#line 291
|
|
ldv_10_struct_file_system_type_struct_file_system_type = (struct file_system_type *)tmp;
|
|
#line 294
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 294
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 296
|
|
ldv_10_struct_file_system_type_struct_file_system_type = arg0;
|
|
#line 300
|
|
ldv_dispatch_register_10_3(ldv_10_struct_file_system_type_struct_file_system_type);
|
|
#line 304
|
|
tmp___0 = ldv_undef_int_negative();
|
|
}
|
|
#line 304
|
|
return (tmp___0);
|
|
} else {
|
|
#line 311
|
|
return (0);
|
|
}
|
|
}
|
|
}
|
|
#line 321 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
int ldv_emg_unregister_filesystem(struct file_system_type *arg0 )
|
|
{
|
|
struct file_system_type *ldv_9_struct_file_system_type_struct_file_system_type ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 327
|
|
tmp = external_allocated_data();
|
|
#line 327
|
|
ldv_9_struct_file_system_type_struct_file_system_type = (struct file_system_type *)tmp;
|
|
#line 329
|
|
ldv_9_struct_file_system_type_struct_file_system_type = arg0;
|
|
#line 333
|
|
ldv_dispatch_deregister_9_1(ldv_9_struct_file_system_type_struct_file_system_type);
|
|
}
|
|
#line 334
|
|
return (0);
|
|
}
|
|
}
|
|
#line 342 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_insmod_8(void *arg0 )
|
|
{
|
|
void (*ldv_8_configfs_exit_default)(void) ;
|
|
int (*ldv_8_configfs_init_default)(void) ;
|
|
int ldv_8_ret_default ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
int tmp___1 ;
|
|
int tmp___2 ;
|
|
|
|
{
|
|
{
|
|
#line 350
|
|
tmp = external_allocated_data();
|
|
#line 350
|
|
ldv_8_configfs_exit_default = (void (*)(void))tmp;
|
|
#line 351
|
|
tmp___0 = external_allocated_data();
|
|
#line 351
|
|
ldv_8_configfs_init_default = (int (*)(void))tmp___0;
|
|
#line 357
|
|
ldv_8_ret_default = ldv_insmod_configfs_init_8_17(ldv_8_configfs_init_default);
|
|
#line 359
|
|
ldv_8_ret_default = ldv_post_init(ldv_8_ret_default);
|
|
#line 362
|
|
tmp___2 = ldv_undef_int();
|
|
}
|
|
#line 362
|
|
if (tmp___2 != 0) {
|
|
{
|
|
#line 364
|
|
ldv_assume(ldv_8_ret_default != 0);
|
|
}
|
|
#line 372
|
|
return;
|
|
} else {
|
|
{
|
|
#line 376
|
|
ldv_assume(ldv_8_ret_default == 0);
|
|
#line 379
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 379
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 381
|
|
ldv_dispatch_default_register_8_8_13();
|
|
#line 385
|
|
ldv_dispatch_default_register_1_8_12();
|
|
#line 389
|
|
ldv_dispatch_default_register_2_8_11();
|
|
#line 393
|
|
ldv_dispatch_default_register_3_8_10();
|
|
#line 397
|
|
ldv_dispatch_default_register_7_8_9();
|
|
#line 401
|
|
ldv_dispatch_default_deregister_7_8_8();
|
|
#line 405
|
|
ldv_dispatch_default_deregister_3_8_7();
|
|
#line 409
|
|
ldv_dispatch_default_deregister_2_8_6();
|
|
#line 413
|
|
ldv_dispatch_default_deregister_1_8_5();
|
|
#line 417
|
|
ldv_dispatch_default_deregister_8_8_4();
|
|
}
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 428
|
|
ldv_insmod_configfs_exit_8_2(ldv_8_configfs_exit_default);
|
|
}
|
|
#line 436
|
|
return;
|
|
}
|
|
#line 439
|
|
return;
|
|
}
|
|
}
|
|
#line 444 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_insmod_configfs_exit_8_2(void (*arg0)(void) )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 445
|
|
configfs_exit();
|
|
}
|
|
#line 446
|
|
return;
|
|
}
|
|
}
|
|
#line 449 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
int ldv_insmod_configfs_init_8_17(int (*arg0)(void) )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 450
|
|
tmp = configfs_init();
|
|
}
|
|
#line 450
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 454 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_main_11(void *arg0 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 459
|
|
ldv_initialize();
|
|
#line 463
|
|
ldv_dispatch_insmod_register_11_3();
|
|
#line 467
|
|
ldv_dispatch_insmod_deregister_11_2();
|
|
#line 471
|
|
ldv_check_final_state();
|
|
#line 472
|
|
ldv_stop();
|
|
}
|
|
#line 476
|
|
return;
|
|
#line 478
|
|
return;
|
|
}
|
|
}
|
|
#line 483 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_3(void *arg0 )
|
|
{
|
|
int (*ldv_3_callback_readpage)(struct file * , struct page * ) ;
|
|
int (*ldv_3_callback_write_begin)(struct file * , struct address_space * , loff_t ,
|
|
unsigned int , unsigned int , struct page ** ,
|
|
void ** ) ;
|
|
int (*ldv_3_callback_write_end)(struct file * , struct address_space * , loff_t ,
|
|
unsigned int , unsigned int , struct page * ,
|
|
void * ) ;
|
|
struct address_space *ldv_3_container_struct_address_space_ptr ;
|
|
struct file *ldv_3_container_struct_file_ptr ;
|
|
struct page *ldv_3_container_struct_page_ptr ;
|
|
long long ldv_3_ldv_param_11_2_default ;
|
|
unsigned int ldv_3_ldv_param_11_3_default ;
|
|
unsigned int ldv_3_ldv_param_11_4_default ;
|
|
void *ldv_3_ldv_param_11_6_default ;
|
|
long long ldv_3_ldv_param_8_2_default ;
|
|
unsigned int ldv_3_ldv_param_8_3_default ;
|
|
unsigned int ldv_3_ldv_param_8_4_default ;
|
|
void **ldv_3_ldv_param_8_6_default ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
void *tmp___6 ;
|
|
void *tmp___7 ;
|
|
void *tmp___8 ;
|
|
int tmp___9 ;
|
|
void *tmp___10 ;
|
|
|
|
{
|
|
{
|
|
#line 502
|
|
tmp = external_allocated_data();
|
|
#line 502
|
|
ldv_3_callback_readpage = (int (*)(struct file * , struct page * ))tmp;
|
|
#line 503
|
|
tmp___0 = external_allocated_data();
|
|
#line 503
|
|
ldv_3_callback_write_begin = (int (*)(struct file * , struct address_space * , loff_t ,
|
|
unsigned int , unsigned int , struct page ** ,
|
|
void ** ))tmp___0;
|
|
#line 504
|
|
tmp___1 = external_allocated_data();
|
|
#line 504
|
|
ldv_3_callback_write_end = (int (*)(struct file * , struct address_space * , loff_t ,
|
|
unsigned int , unsigned int , struct page * ,
|
|
void * ))tmp___1;
|
|
#line 505
|
|
tmp___2 = external_allocated_data();
|
|
#line 505
|
|
ldv_3_container_struct_address_space_ptr = (struct address_space *)tmp___2;
|
|
#line 506
|
|
tmp___3 = external_allocated_data();
|
|
#line 506
|
|
ldv_3_container_struct_file_ptr = (struct file *)tmp___3;
|
|
#line 507
|
|
tmp___4 = external_allocated_data();
|
|
#line 507
|
|
ldv_3_container_struct_page_ptr = (struct page *)tmp___4;
|
|
#line 508
|
|
ldv_3_ldv_param_11_6_default = external_allocated_data();
|
|
#line 509
|
|
tmp___5 = external_allocated_data();
|
|
#line 509
|
|
ldv_3_ldv_param_8_6_default = (void **)tmp___5;
|
|
#line 514
|
|
tmp___6 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 514
|
|
ldv_3_container_struct_address_space_ptr = (struct address_space *)tmp___6;
|
|
#line 515
|
|
tmp___7 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 515
|
|
ldv_3_container_struct_file_ptr = (struct file *)tmp___7;
|
|
#line 516
|
|
tmp___8 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 516
|
|
ldv_3_container_struct_page_ptr = (struct page *)tmp___8;
|
|
}
|
|
#line 523
|
|
goto ldv_call_3;
|
|
#line 525
|
|
return;
|
|
ldv_call_3:
|
|
{
|
|
#line 531
|
|
tmp___9 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 532
|
|
if (tmp___9 == 1) {
|
|
#line 532
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 553
|
|
if (tmp___9 == 2) {
|
|
#line 553
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 576
|
|
if (tmp___9 == 3) {
|
|
#line 576
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 593
|
|
if (tmp___9 == 4) {
|
|
#line 593
|
|
goto case_4;
|
|
} else {
|
|
|
|
}
|
|
#line 608
|
|
goto switch_default;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 534
|
|
ldv_3_ldv_param_11_6_default = ldv_xmalloc_unknown_size(0UL);
|
|
#line 539
|
|
ldv_random_containerless_scenario_callback_3_11(ldv_3_callback_write_end, ldv_3_container_struct_file_ptr,
|
|
ldv_3_container_struct_address_space_ptr,
|
|
ldv_3_ldv_param_11_2_default, ldv_3_ldv_param_11_3_default,
|
|
ldv_3_ldv_param_11_4_default, ldv_3_container_struct_page_ptr,
|
|
ldv_3_ldv_param_11_6_default);
|
|
#line 543
|
|
ldv_free(ldv_3_ldv_param_11_6_default);
|
|
}
|
|
#line 550
|
|
goto ldv_call_3;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 555
|
|
tmp___10 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 555
|
|
ldv_3_ldv_param_8_6_default = (void **)tmp___10;
|
|
#line 560
|
|
ldv_random_containerless_scenario_callback_3_8(ldv_3_callback_write_begin, ldv_3_container_struct_file_ptr,
|
|
ldv_3_container_struct_address_space_ptr,
|
|
ldv_3_ldv_param_8_2_default, ldv_3_ldv_param_8_3_default,
|
|
ldv_3_ldv_param_8_4_default, (struct page **)ldv_3_container_struct_page_ptr,
|
|
ldv_3_ldv_param_8_6_default);
|
|
#line 564
|
|
ldv_free((void *)ldv_3_ldv_param_8_6_default);
|
|
}
|
|
#line 571
|
|
goto ldv_call_3;
|
|
#line 573
|
|
goto ldv_call_3;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 579
|
|
ldv_random_containerless_scenario_callback_3_4(ldv_3_callback_readpage, ldv_3_container_struct_file_ptr,
|
|
ldv_3_container_struct_page_ptr);
|
|
}
|
|
#line 586
|
|
goto ldv_call_3;
|
|
#line 588
|
|
goto ldv_call_3;
|
|
#line 590
|
|
goto ldv_call_3;
|
|
case_4: /* CIL Label */
|
|
{
|
|
#line 595
|
|
ldv_free((void *)ldv_3_container_struct_address_space_ptr);
|
|
#line 596
|
|
ldv_free((void *)ldv_3_container_struct_file_ptr);
|
|
#line 597
|
|
ldv_free((void *)ldv_3_container_struct_page_ptr);
|
|
}
|
|
#line 605
|
|
return;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 608
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
#line 611
|
|
return;
|
|
}
|
|
}
|
|
#line 616 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_4(void *arg0 )
|
|
{
|
|
int (*ldv_4_callback_d_delete)(struct dentry * ) ;
|
|
void (*ldv_4_callback_d_iput)(struct dentry * , struct inode * ) ;
|
|
struct dentry *ldv_4_container_struct_dentry_ptr ;
|
|
struct inode *ldv_4_container_struct_inode_ptr ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
int tmp___5 ;
|
|
|
|
{
|
|
{
|
|
#line 625
|
|
tmp = external_allocated_data();
|
|
#line 625
|
|
ldv_4_callback_d_delete = (int (*)(struct dentry * ))tmp;
|
|
#line 626
|
|
tmp___0 = external_allocated_data();
|
|
#line 626
|
|
ldv_4_callback_d_iput = (void (*)(struct dentry * , struct inode * ))tmp___0;
|
|
#line 627
|
|
tmp___1 = external_allocated_data();
|
|
#line 627
|
|
ldv_4_container_struct_dentry_ptr = (struct dentry *)tmp___1;
|
|
#line 628
|
|
tmp___2 = external_allocated_data();
|
|
#line 628
|
|
ldv_4_container_struct_inode_ptr = (struct inode *)tmp___2;
|
|
#line 633
|
|
tmp___3 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 633
|
|
ldv_4_container_struct_dentry_ptr = (struct dentry *)tmp___3;
|
|
#line 634
|
|
tmp___4 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 634
|
|
ldv_4_container_struct_inode_ptr = (struct inode *)tmp___4;
|
|
}
|
|
#line 641
|
|
goto ldv_call_4;
|
|
#line 643
|
|
return;
|
|
ldv_call_4:
|
|
{
|
|
#line 649
|
|
tmp___5 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 650
|
|
if (tmp___5 == 1) {
|
|
#line 650
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 663
|
|
if (tmp___5 == 2) {
|
|
#line 663
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 678
|
|
if (tmp___5 == 3) {
|
|
#line 678
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 692
|
|
goto switch_default;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 653
|
|
ldv_random_containerless_scenario_callback_4_8(ldv_4_callback_d_iput, ldv_4_container_struct_dentry_ptr,
|
|
ldv_4_container_struct_inode_ptr);
|
|
}
|
|
#line 660
|
|
goto ldv_call_4;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 666
|
|
ldv_random_containerless_scenario_callback_4_4(ldv_4_callback_d_delete, ldv_4_container_struct_dentry_ptr);
|
|
}
|
|
#line 673
|
|
goto ldv_call_4;
|
|
#line 675
|
|
goto ldv_call_4;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 680
|
|
ldv_free((void *)ldv_4_container_struct_dentry_ptr);
|
|
#line 681
|
|
ldv_free((void *)ldv_4_container_struct_inode_ptr);
|
|
}
|
|
#line 689
|
|
return;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 692
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
#line 695
|
|
return;
|
|
}
|
|
}
|
|
#line 700 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_5(void *arg0 )
|
|
{
|
|
int (*ldv_5_callback_get_sb)(struct file_system_type * , int , char * , void * ,
|
|
struct vfsmount * ) ;
|
|
void (*ldv_5_callback_kill_sb)(struct super_block * ) ;
|
|
struct file_system_type *ldv_5_container_struct_file_system_type ;
|
|
struct super_block *ldv_5_container_struct_super_block_ptr ;
|
|
struct vfsmount *ldv_5_container_struct_vfsmount_ptr ;
|
|
int ldv_5_ldv_param_3_1_default ;
|
|
char *ldv_5_ldv_param_3_2_default ;
|
|
struct ldv_struct_random_containerless_scenario_5 *data ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
int tmp___6 ;
|
|
int tmp___7 ;
|
|
|
|
{
|
|
{
|
|
#line 711
|
|
data = (struct ldv_struct_random_containerless_scenario_5 *)arg0;
|
|
#line 715
|
|
tmp = external_allocated_data();
|
|
#line 715
|
|
ldv_5_callback_get_sb = (int (*)(struct file_system_type * , int , char * , void * ,
|
|
struct vfsmount * ))tmp;
|
|
#line 716
|
|
tmp___0 = external_allocated_data();
|
|
#line 716
|
|
ldv_5_callback_kill_sb = (void (*)(struct super_block * ))tmp___0;
|
|
#line 717
|
|
tmp___1 = external_allocated_data();
|
|
#line 717
|
|
ldv_5_container_struct_file_system_type = (struct file_system_type *)tmp___1;
|
|
#line 718
|
|
tmp___2 = external_allocated_data();
|
|
#line 718
|
|
ldv_5_container_struct_super_block_ptr = (struct super_block *)tmp___2;
|
|
#line 719
|
|
tmp___3 = external_allocated_data();
|
|
#line 719
|
|
ldv_5_container_struct_vfsmount_ptr = (struct vfsmount *)tmp___3;
|
|
#line 720
|
|
tmp___4 = external_allocated_data();
|
|
#line 720
|
|
ldv_5_ldv_param_3_2_default = (char *)tmp___4;
|
|
}
|
|
#line 723
|
|
if ((unsigned long )data != (unsigned long )((struct ldv_struct_random_containerless_scenario_5 *)0)) {
|
|
{
|
|
#line 724
|
|
ldv_5_container_struct_file_system_type = data->arg0;
|
|
#line 725
|
|
ldv_free((void *)data);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 733
|
|
goto ldv_call_5;
|
|
#line 735
|
|
return;
|
|
ldv_call_5:
|
|
{
|
|
#line 741
|
|
tmp___7 = ldv_undef_int();
|
|
}
|
|
#line 741
|
|
if (tmp___7 != 0) {
|
|
{
|
|
#line 743
|
|
tmp___5 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 743
|
|
ldv_5_ldv_param_3_2_default = (char *)tmp___5;
|
|
#line 746
|
|
tmp___6 = ldv_undef_int();
|
|
}
|
|
#line 746
|
|
if (tmp___6 != 0) {
|
|
{
|
|
#line 749
|
|
ldv_random_containerless_scenario_callback_5_8(ldv_5_callback_kill_sb, ldv_5_container_struct_super_block_ptr);
|
|
}
|
|
} else {
|
|
{
|
|
#line 756
|
|
ldv_random_containerless_scenario_callback_5_3(ldv_5_callback_get_sb, ldv_5_container_struct_file_system_type,
|
|
ldv_5_ldv_param_3_1_default,
|
|
ldv_5_ldv_param_3_2_default,
|
|
(void *)ldv_5_container_struct_super_block_ptr,
|
|
ldv_5_container_struct_vfsmount_ptr);
|
|
}
|
|
}
|
|
{
|
|
#line 761
|
|
ldv_free((void *)ldv_5_ldv_param_3_2_default);
|
|
}
|
|
#line 768
|
|
goto ldv_call_5;
|
|
} else {
|
|
#line 776
|
|
return;
|
|
}
|
|
#line 779
|
|
return;
|
|
}
|
|
}
|
|
#line 784 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_6(void *arg0 )
|
|
{
|
|
void *(*ldv_6_callback_follow_link)(struct dentry * , struct nameidata * ) ;
|
|
struct dentry *(*ldv_6_callback_lookup)(struct inode * , struct dentry * , struct nameidata * ) ;
|
|
int (*ldv_6_callback_mkdir)(struct inode * , struct dentry * , int ) ;
|
|
void (*ldv_6_callback_put_link)(struct dentry * , struct nameidata * , void * ) ;
|
|
int (*ldv_6_callback_readlink)(struct dentry * , char * , int ) ;
|
|
int (*ldv_6_callback_rmdir)(struct inode * , struct dentry * ) ;
|
|
int (*ldv_6_callback_setattr)(struct dentry * , struct iattr * ) ;
|
|
int (*ldv_6_callback_symlink)(struct inode * , struct dentry * , char * ) ;
|
|
int (*ldv_6_callback_unlink)(struct inode * , struct dentry * ) ;
|
|
struct dentry *ldv_6_container_struct_dentry_ptr ;
|
|
struct iattr *ldv_6_container_struct_iattr_ptr ;
|
|
struct inode *ldv_6_container_struct_inode_ptr ;
|
|
struct nameidata *ldv_6_container_struct_nameidata_ptr ;
|
|
char *ldv_6_ldv_param_13_1_default ;
|
|
int ldv_6_ldv_param_13_2_default ;
|
|
char *ldv_6_ldv_param_18_2_default ;
|
|
int ldv_6_ldv_param_9_2_default ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
void *tmp___6 ;
|
|
void *tmp___7 ;
|
|
void *tmp___8 ;
|
|
void *tmp___9 ;
|
|
void *tmp___10 ;
|
|
void *tmp___11 ;
|
|
void *tmp___12 ;
|
|
void *tmp___13 ;
|
|
void *tmp___14 ;
|
|
void *tmp___15 ;
|
|
void *tmp___16 ;
|
|
void *tmp___17 ;
|
|
int tmp___18 ;
|
|
void *tmp___19 ;
|
|
void *tmp___20 ;
|
|
|
|
{
|
|
{
|
|
#line 806
|
|
tmp = external_allocated_data();
|
|
#line 806
|
|
ldv_6_callback_follow_link = (void *(*)(struct dentry * , struct nameidata * ))tmp;
|
|
#line 807
|
|
tmp___0 = external_allocated_data();
|
|
#line 807
|
|
ldv_6_callback_lookup = (struct dentry *(*)(struct inode * , struct dentry * , struct nameidata * ))tmp___0;
|
|
#line 808
|
|
tmp___1 = external_allocated_data();
|
|
#line 808
|
|
ldv_6_callback_mkdir = (int (*)(struct inode * , struct dentry * , int ))tmp___1;
|
|
#line 809
|
|
tmp___2 = external_allocated_data();
|
|
#line 809
|
|
ldv_6_callback_put_link = (void (*)(struct dentry * , struct nameidata * , void * ))tmp___2;
|
|
#line 810
|
|
tmp___3 = external_allocated_data();
|
|
#line 810
|
|
ldv_6_callback_readlink = (int (*)(struct dentry * , char * , int ))tmp___3;
|
|
#line 811
|
|
tmp___4 = external_allocated_data();
|
|
#line 811
|
|
ldv_6_callback_rmdir = (int (*)(struct inode * , struct dentry * ))tmp___4;
|
|
#line 812
|
|
tmp___5 = external_allocated_data();
|
|
#line 812
|
|
ldv_6_callback_setattr = (int (*)(struct dentry * , struct iattr * ))tmp___5;
|
|
#line 813
|
|
tmp___6 = external_allocated_data();
|
|
#line 813
|
|
ldv_6_callback_symlink = (int (*)(struct inode * , struct dentry * , char * ))tmp___6;
|
|
#line 814
|
|
tmp___7 = external_allocated_data();
|
|
#line 814
|
|
ldv_6_callback_unlink = (int (*)(struct inode * , struct dentry * ))tmp___7;
|
|
#line 815
|
|
tmp___8 = external_allocated_data();
|
|
#line 815
|
|
ldv_6_container_struct_dentry_ptr = (struct dentry *)tmp___8;
|
|
#line 816
|
|
tmp___9 = external_allocated_data();
|
|
#line 816
|
|
ldv_6_container_struct_iattr_ptr = (struct iattr *)tmp___9;
|
|
#line 817
|
|
tmp___10 = external_allocated_data();
|
|
#line 817
|
|
ldv_6_container_struct_inode_ptr = (struct inode *)tmp___10;
|
|
#line 818
|
|
tmp___11 = external_allocated_data();
|
|
#line 818
|
|
ldv_6_container_struct_nameidata_ptr = (struct nameidata *)tmp___11;
|
|
#line 819
|
|
tmp___12 = external_allocated_data();
|
|
#line 819
|
|
ldv_6_ldv_param_13_1_default = (char *)tmp___12;
|
|
#line 820
|
|
tmp___13 = external_allocated_data();
|
|
#line 820
|
|
ldv_6_ldv_param_18_2_default = (char *)tmp___13;
|
|
#line 825
|
|
tmp___14 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 825
|
|
ldv_6_container_struct_dentry_ptr = (struct dentry *)tmp___14;
|
|
#line 826
|
|
tmp___15 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 826
|
|
ldv_6_container_struct_iattr_ptr = (struct iattr *)tmp___15;
|
|
#line 827
|
|
tmp___16 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 827
|
|
ldv_6_container_struct_inode_ptr = (struct inode *)tmp___16;
|
|
#line 828
|
|
tmp___17 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 828
|
|
ldv_6_container_struct_nameidata_ptr = (struct nameidata *)tmp___17;
|
|
}
|
|
#line 835
|
|
goto ldv_call_6;
|
|
#line 837
|
|
return;
|
|
ldv_call_6:
|
|
{
|
|
#line 843
|
|
tmp___18 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 844
|
|
if (tmp___18 == 1) {
|
|
#line 844
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 857
|
|
if (tmp___18 == 2) {
|
|
#line 857
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 880
|
|
if (tmp___18 == 3) {
|
|
#line 880
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 897
|
|
if (tmp___18 == 4) {
|
|
#line 897
|
|
goto case_4;
|
|
} else {
|
|
|
|
}
|
|
#line 916
|
|
if (tmp___18 == 5) {
|
|
#line 916
|
|
goto case_5;
|
|
} else {
|
|
|
|
}
|
|
#line 945
|
|
if (tmp___18 == 6) {
|
|
#line 945
|
|
goto case_6;
|
|
} else {
|
|
|
|
}
|
|
#line 968
|
|
if (tmp___18 == 7) {
|
|
#line 968
|
|
goto case_7;
|
|
} else {
|
|
|
|
}
|
|
#line 999
|
|
if (tmp___18 == 8) {
|
|
#line 999
|
|
goto case_8;
|
|
} else {
|
|
|
|
}
|
|
#line 1026
|
|
if (tmp___18 == 9) {
|
|
#line 1026
|
|
goto case_9;
|
|
} else {
|
|
|
|
}
|
|
#line 1055
|
|
if (tmp___18 == 10) {
|
|
#line 1055
|
|
goto case_10;
|
|
} else {
|
|
|
|
}
|
|
#line 1071
|
|
goto switch_default;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 847
|
|
ldv_random_containerless_scenario_callback_6_21(ldv_6_callback_unlink, ldv_6_container_struct_inode_ptr,
|
|
ldv_6_container_struct_dentry_ptr);
|
|
}
|
|
#line 854
|
|
goto ldv_call_6;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 859
|
|
tmp___19 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 859
|
|
ldv_6_ldv_param_18_2_default = (char *)tmp___19;
|
|
#line 864
|
|
ldv_random_containerless_scenario_callback_6_18(ldv_6_callback_symlink, ldv_6_container_struct_inode_ptr,
|
|
ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_ldv_param_18_2_default);
|
|
#line 868
|
|
ldv_free((void *)ldv_6_ldv_param_18_2_default);
|
|
}
|
|
#line 875
|
|
goto ldv_call_6;
|
|
#line 877
|
|
goto ldv_call_6;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 883
|
|
ldv_random_containerless_scenario_callback_6_17(ldv_6_callback_setattr, ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_container_struct_iattr_ptr);
|
|
}
|
|
#line 890
|
|
goto ldv_call_6;
|
|
#line 892
|
|
goto ldv_call_6;
|
|
#line 894
|
|
goto ldv_call_6;
|
|
case_4: /* CIL Label */
|
|
{
|
|
#line 900
|
|
ldv_random_containerless_scenario_callback_6_16(ldv_6_callback_rmdir, ldv_6_container_struct_inode_ptr,
|
|
ldv_6_container_struct_dentry_ptr);
|
|
}
|
|
#line 907
|
|
goto ldv_call_6;
|
|
#line 909
|
|
goto ldv_call_6;
|
|
#line 911
|
|
goto ldv_call_6;
|
|
#line 913
|
|
goto ldv_call_6;
|
|
case_5: /* CIL Label */
|
|
{
|
|
#line 918
|
|
tmp___20 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 918
|
|
ldv_6_ldv_param_13_1_default = (char *)tmp___20;
|
|
#line 923
|
|
ldv_random_containerless_scenario_callback_6_13(ldv_6_callback_readlink, ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_ldv_param_13_1_default, ldv_6_ldv_param_13_2_default);
|
|
#line 927
|
|
ldv_free((void *)ldv_6_ldv_param_13_1_default);
|
|
}
|
|
#line 934
|
|
goto ldv_call_6;
|
|
#line 936
|
|
goto ldv_call_6;
|
|
#line 938
|
|
goto ldv_call_6;
|
|
#line 940
|
|
goto ldv_call_6;
|
|
#line 942
|
|
goto ldv_call_6;
|
|
case_6: /* CIL Label */
|
|
{
|
|
#line 948
|
|
ldv_random_containerless_scenario_callback_6_12(ldv_6_callback_put_link, ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_container_struct_nameidata_ptr,
|
|
(void *)ldv_6_container_struct_iattr_ptr);
|
|
}
|
|
#line 955
|
|
goto ldv_call_6;
|
|
#line 957
|
|
goto ldv_call_6;
|
|
#line 959
|
|
goto ldv_call_6;
|
|
#line 961
|
|
goto ldv_call_6;
|
|
#line 963
|
|
goto ldv_call_6;
|
|
#line 965
|
|
goto ldv_call_6;
|
|
case_7: /* CIL Label */
|
|
{
|
|
#line 974
|
|
ldv_random_containerless_scenario_callback_6_9(ldv_6_callback_mkdir, ldv_6_container_struct_inode_ptr,
|
|
ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_ldv_param_9_2_default);
|
|
}
|
|
#line 984
|
|
goto ldv_call_6;
|
|
#line 986
|
|
goto ldv_call_6;
|
|
#line 988
|
|
goto ldv_call_6;
|
|
#line 990
|
|
goto ldv_call_6;
|
|
#line 992
|
|
goto ldv_call_6;
|
|
#line 994
|
|
goto ldv_call_6;
|
|
#line 996
|
|
goto ldv_call_6;
|
|
case_8: /* CIL Label */
|
|
{
|
|
#line 1002
|
|
ldv_random_containerless_scenario_callback_6_8(ldv_6_callback_lookup, ldv_6_container_struct_inode_ptr,
|
|
ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_container_struct_nameidata_ptr);
|
|
}
|
|
#line 1009
|
|
goto ldv_call_6;
|
|
#line 1011
|
|
goto ldv_call_6;
|
|
#line 1013
|
|
goto ldv_call_6;
|
|
#line 1015
|
|
goto ldv_call_6;
|
|
#line 1017
|
|
goto ldv_call_6;
|
|
#line 1019
|
|
goto ldv_call_6;
|
|
#line 1021
|
|
goto ldv_call_6;
|
|
#line 1023
|
|
goto ldv_call_6;
|
|
case_9: /* CIL Label */
|
|
{
|
|
#line 1029
|
|
ldv_random_containerless_scenario_callback_6_4(ldv_6_callback_follow_link, ldv_6_container_struct_dentry_ptr,
|
|
ldv_6_container_struct_nameidata_ptr);
|
|
}
|
|
#line 1036
|
|
goto ldv_call_6;
|
|
#line 1038
|
|
goto ldv_call_6;
|
|
#line 1040
|
|
goto ldv_call_6;
|
|
#line 1042
|
|
goto ldv_call_6;
|
|
#line 1044
|
|
goto ldv_call_6;
|
|
#line 1046
|
|
goto ldv_call_6;
|
|
#line 1048
|
|
goto ldv_call_6;
|
|
#line 1050
|
|
goto ldv_call_6;
|
|
#line 1052
|
|
goto ldv_call_6;
|
|
case_10: /* CIL Label */
|
|
{
|
|
#line 1057
|
|
ldv_free((void *)ldv_6_container_struct_dentry_ptr);
|
|
#line 1058
|
|
ldv_free((void *)ldv_6_container_struct_iattr_ptr);
|
|
#line 1059
|
|
ldv_free((void *)ldv_6_container_struct_inode_ptr);
|
|
#line 1060
|
|
ldv_free((void *)ldv_6_container_struct_nameidata_ptr);
|
|
}
|
|
#line 1068
|
|
return;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 1071
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
#line 1074
|
|
return;
|
|
}
|
|
}
|
|
#line 1079 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_7(void *arg0 )
|
|
{
|
|
void (*ldv_7_callback_drop_inode)(struct inode * ) ;
|
|
int (*ldv_7_callback_statfs)(struct dentry * , struct kstatfs * ) ;
|
|
struct dentry *ldv_7_container_struct_dentry_ptr ;
|
|
struct inode *ldv_7_container_struct_inode_ptr ;
|
|
struct kstatfs *ldv_7_container_struct_kstatfs_ptr ;
|
|
void *tmp ;
|
|
void *tmp___0 ;
|
|
void *tmp___1 ;
|
|
void *tmp___2 ;
|
|
void *tmp___3 ;
|
|
void *tmp___4 ;
|
|
void *tmp___5 ;
|
|
void *tmp___6 ;
|
|
int tmp___7 ;
|
|
|
|
{
|
|
{
|
|
#line 1089
|
|
tmp = external_allocated_data();
|
|
#line 1089
|
|
ldv_7_callback_drop_inode = (void (*)(struct inode * ))tmp;
|
|
#line 1090
|
|
tmp___0 = external_allocated_data();
|
|
#line 1090
|
|
ldv_7_callback_statfs = (int (*)(struct dentry * , struct kstatfs * ))tmp___0;
|
|
#line 1091
|
|
tmp___1 = external_allocated_data();
|
|
#line 1091
|
|
ldv_7_container_struct_dentry_ptr = (struct dentry *)tmp___1;
|
|
#line 1092
|
|
tmp___2 = external_allocated_data();
|
|
#line 1092
|
|
ldv_7_container_struct_inode_ptr = (struct inode *)tmp___2;
|
|
#line 1093
|
|
tmp___3 = external_allocated_data();
|
|
#line 1093
|
|
ldv_7_container_struct_kstatfs_ptr = (struct kstatfs *)tmp___3;
|
|
#line 1098
|
|
tmp___4 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 1098
|
|
ldv_7_container_struct_dentry_ptr = (struct dentry *)tmp___4;
|
|
#line 1099
|
|
tmp___5 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 1099
|
|
ldv_7_container_struct_inode_ptr = (struct inode *)tmp___5;
|
|
#line 1100
|
|
tmp___6 = ldv_xmalloc_unknown_size(0UL);
|
|
#line 1100
|
|
ldv_7_container_struct_kstatfs_ptr = (struct kstatfs *)tmp___6;
|
|
}
|
|
#line 1107
|
|
goto ldv_call_7;
|
|
#line 1109
|
|
return;
|
|
ldv_call_7:
|
|
{
|
|
#line 1115
|
|
tmp___7 = ldv_undef_int();
|
|
}
|
|
{
|
|
#line 1116
|
|
if (tmp___7 == 1) {
|
|
#line 1116
|
|
goto case_1;
|
|
} else {
|
|
|
|
}
|
|
#line 1129
|
|
if (tmp___7 == 2) {
|
|
#line 1129
|
|
goto case_2;
|
|
} else {
|
|
|
|
}
|
|
#line 1144
|
|
if (tmp___7 == 3) {
|
|
#line 1144
|
|
goto case_3;
|
|
} else {
|
|
|
|
}
|
|
#line 1159
|
|
goto switch_default;
|
|
case_1: /* CIL Label */
|
|
{
|
|
#line 1119
|
|
ldv_random_containerless_scenario_callback_7_8(ldv_7_callback_statfs, ldv_7_container_struct_dentry_ptr,
|
|
ldv_7_container_struct_kstatfs_ptr);
|
|
}
|
|
#line 1126
|
|
goto ldv_call_7;
|
|
case_2: /* CIL Label */
|
|
{
|
|
#line 1132
|
|
ldv_random_containerless_scenario_callback_7_4(ldv_7_callback_drop_inode, ldv_7_container_struct_inode_ptr);
|
|
}
|
|
#line 1139
|
|
goto ldv_call_7;
|
|
#line 1141
|
|
goto ldv_call_7;
|
|
case_3: /* CIL Label */
|
|
{
|
|
#line 1146
|
|
ldv_free((void *)ldv_7_container_struct_dentry_ptr);
|
|
#line 1147
|
|
ldv_free((void *)ldv_7_container_struct_inode_ptr);
|
|
#line 1148
|
|
ldv_free((void *)ldv_7_container_struct_kstatfs_ptr);
|
|
}
|
|
#line 1156
|
|
return;
|
|
switch_default: /* CIL Label */
|
|
{
|
|
#line 1159
|
|
ldv_stop();
|
|
}
|
|
switch_break: /* CIL Label */ ;
|
|
}
|
|
#line 1162
|
|
return;
|
|
}
|
|
}
|
|
#line 1167 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_callback_5_3(int (*arg0)(struct file_system_type * ,
|
|
int , char * , void * ,
|
|
struct vfsmount * ) ,
|
|
struct file_system_type *arg1 ,
|
|
int arg2 , char *arg3 , void *arg4 ,
|
|
struct vfsmount *arg5 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 1168
|
|
configfs_get_sb(arg1, arg2, (char const *)arg3, arg4, arg5);
|
|
}
|
|
#line 1169
|
|
return;
|
|
}
|
|
}
|
|
#line 1172 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_callback_5_8(void (*arg0)(struct super_block * ) ,
|
|
struct super_block *arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 1173
|
|
kill_litter_super(arg1);
|
|
}
|
|
#line 1174
|
|
return;
|
|
}
|
|
}
|
|
#line 1177 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_callback_7_4(void (*arg0)(struct inode * ) ,
|
|
struct inode *arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 1178
|
|
generic_delete_inode(arg1);
|
|
}
|
|
#line 1179
|
|
return;
|
|
}
|
|
}
|
|
#line 1182 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
void ldv_random_containerless_scenario_callback_7_8(int (*arg0)(struct dentry * ,
|
|
struct kstatfs * ) ,
|
|
struct dentry *arg1 , struct kstatfs *arg2 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 1183
|
|
simple_statfs(arg1, arg2);
|
|
}
|
|
#line 1184
|
|
return;
|
|
}
|
|
}
|
|
#line 1187 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
int main(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 1188
|
|
ldv_main_11((void *)0);
|
|
}
|
|
#line 1189
|
|
return (0);
|
|
}
|
|
}
|
|
#line 1309 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
static int ldv_register_filesystem_15(struct file_system_type *ldv_func_arg1 )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 1313
|
|
tmp = ldv_emg_register_filesystem(ldv_func_arg1);
|
|
}
|
|
#line 1313
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 1317 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
static int ldv_unregister_filesystem_16(struct file_system_type *ldv_func_arg1 )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 1321
|
|
tmp = ldv_emg_unregister_filesystem(ldv_func_arg1);
|
|
}
|
|
#line 1321
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 1325 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/mount.c.aux"
|
|
static int ldv_unregister_filesystem_17(struct file_system_type *ldv_func_arg1 )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 1329
|
|
tmp = ldv_emg_unregister_filesystem(ldv_func_arg1);
|
|
}
|
|
#line 1329
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 1 "<compiler builtins>"
|
|
void __builtin_va_end(__builtin_va_list ) ;
|
|
#line 1
|
|
void __builtin_va_start(__builtin_va_list ) ;
|
|
#line 186 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kernel.h"
|
|
extern int vsnprintf(char * , size_t , char const * , __va_list_tag * ) ;
|
|
#line 25 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/kref.h"
|
|
extern void kref_init(struct kref * ) ;
|
|
#line 26
|
|
extern void kref_get(struct kref * ) ;
|
|
#line 27
|
|
extern int kref_put(struct kref * , void (*)(struct kref * ) ) ;
|
|
#line 141 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab.h"
|
|
static void ldv_kfree_14___2(void const *ldv_func_arg1 ) ;
|
|
#line 145
|
|
static void ldv_kfree_15___1(void const *ldv_func_arg1 ) ;
|
|
#line 149
|
|
static void ldv_kfree_16___1(void const *ldv_func_arg1 ) ;
|
|
#line 136 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/slab_def.h"
|
|
__inline static void *kmalloc(size_t size , gfp_t flags ) ;
|
|
#line 67 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/include/linux/configfs.h"
|
|
int config_item_set_name(struct config_item *item , char const *fmt , ...) ;
|
|
#line 74
|
|
void config_item_init(struct config_item *item ) ;
|
|
#line 75
|
|
void config_item_init_type_name(struct config_item *item , char const *name , struct config_item_type *type ) ;
|
|
#line 101
|
|
void config_group_init_type_name(struct config_group *group , char const *name ,
|
|
struct config_item_type *type ) ;
|
|
#line 120
|
|
struct config_item *config_group_find_item(struct config_group *group , char const *name ) ;
|
|
#line 38 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
__inline static struct config_item *to_item___0(struct list_head *entry )
|
|
{
|
|
struct list_head const *__mptr ;
|
|
|
|
{
|
|
#line 40
|
|
__mptr = (struct list_head const *)entry;
|
|
#line 40
|
|
return ((struct config_item *)(__mptr + 0xffffffffffffffe0UL));
|
|
}
|
|
}
|
|
#line 44
|
|
static void config_item_release(struct kref *kref ) ;
|
|
#line 50 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
void config_item_init(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 52
|
|
kref_init(& item->ci_kref);
|
|
#line 53
|
|
INIT_LIST_HEAD(& item->ci_entry);
|
|
}
|
|
#line 54
|
|
return;
|
|
}
|
|
}
|
|
#line 65 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
int config_item_set_name(struct config_item *item , char const *fmt , ...)
|
|
{
|
|
int error ;
|
|
int limit ;
|
|
int need ;
|
|
va_list args ;
|
|
char *name ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 67
|
|
error = 0;
|
|
#line 68
|
|
limit = 20;
|
|
#line 76
|
|
__builtin_va_start((__va_list_tag *)(& args));
|
|
#line 77
|
|
need = vsnprintf((char *)(& item->ci_namebuf), (size_t )limit, fmt, (__va_list_tag *)(& args));
|
|
#line 78
|
|
__builtin_va_end((__va_list_tag *)(& args));
|
|
}
|
|
#line 79
|
|
if (need < limit) {
|
|
#line 80
|
|
name = (char *)(& item->ci_namebuf);
|
|
} else {
|
|
{
|
|
#line 85
|
|
limit = need + 1;
|
|
#line 86
|
|
tmp = kmalloc((size_t )limit, 208U);
|
|
#line 86
|
|
name = (char *)tmp;
|
|
}
|
|
#line 87
|
|
if ((unsigned long )name == (unsigned long )((char *)0)) {
|
|
#line 88
|
|
error = -12;
|
|
#line 89
|
|
goto Done;
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 91
|
|
__builtin_va_start((__va_list_tag *)(& args));
|
|
#line 92
|
|
need = vsnprintf(name, (size_t )limit, fmt, (__va_list_tag *)(& args));
|
|
#line 93
|
|
__builtin_va_end((__va_list_tag *)(& args));
|
|
}
|
|
#line 96
|
|
if (need >= limit) {
|
|
{
|
|
#line 97
|
|
ldv_kfree_14___2((void const *)name);
|
|
#line 98
|
|
error = -14;
|
|
}
|
|
#line 99
|
|
goto Done;
|
|
} else {
|
|
|
|
}
|
|
}
|
|
#line 104
|
|
if ((unsigned long )item->ci_name != (unsigned long )((char *)0) && (unsigned long )item->ci_name != (unsigned long )((char *)(& item->ci_namebuf))) {
|
|
{
|
|
#line 105
|
|
ldv_kfree_15___1((void const *)item->ci_name);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 108
|
|
item->ci_name = name;
|
|
Done: ;
|
|
#line 110
|
|
return (error);
|
|
}
|
|
}
|
|
#line 115 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
void config_item_init_type_name(struct config_item *item , char const *name , struct config_item_type *type )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 119
|
|
config_item_set_name(item, name);
|
|
#line 120
|
|
item->ci_type = type;
|
|
#line 121
|
|
config_item_init(item);
|
|
}
|
|
#line 122
|
|
return;
|
|
}
|
|
}
|
|
#line 125 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
void config_group_init_type_name(struct config_group *group , char const *name ,
|
|
struct config_item_type *type )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 128
|
|
config_item_set_name(& group->cg_item, name);
|
|
#line 129
|
|
group->cg_item.ci_type = type;
|
|
#line 130
|
|
config_group_init(group);
|
|
}
|
|
#line 131
|
|
return;
|
|
}
|
|
}
|
|
#line 134 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
struct config_item *config_item_get(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
#line 136
|
|
if ((unsigned long )item != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 137
|
|
kref_get(& item->ci_kref);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 138
|
|
return (item);
|
|
}
|
|
}
|
|
#line 141 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
static void config_item_cleanup(struct config_item *item )
|
|
{
|
|
struct config_item_type *t ;
|
|
struct config_group *s ;
|
|
struct config_item *parent ;
|
|
|
|
{
|
|
#line 143
|
|
t = item->ci_type;
|
|
#line 144
|
|
s = item->ci_group;
|
|
#line 145
|
|
parent = item->ci_parent;
|
|
#line 148
|
|
if ((unsigned long )item->ci_name != (unsigned long )((char *)(& item->ci_namebuf))) {
|
|
{
|
|
#line 149
|
|
ldv_kfree_16___1((void const *)item->ci_name);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 150
|
|
item->ci_name = (char *)0;
|
|
#line 151
|
|
if (((unsigned long )t != (unsigned long )((struct config_item_type *)0) && (unsigned long )t->ct_item_ops != (unsigned long )((struct configfs_item_operations *)0)) && (unsigned long )(t->ct_item_ops)->release != (unsigned long )((void (*)(struct config_item * ))0)) {
|
|
{
|
|
#line 152
|
|
(*((t->ct_item_ops)->release))(item);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 153
|
|
if ((unsigned long )s != (unsigned long )((struct config_group *)0)) {
|
|
{
|
|
#line 154
|
|
config_group_put(s);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 155
|
|
if ((unsigned long )parent != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 156
|
|
config_item_put(parent);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 157
|
|
return;
|
|
}
|
|
}
|
|
#line 159 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
static void config_item_release(struct kref *kref )
|
|
{
|
|
struct kref const *__mptr ;
|
|
|
|
{
|
|
{
|
|
#line 161
|
|
__mptr = (struct kref const *)kref;
|
|
#line 161
|
|
config_item_cleanup((struct config_item *)(__mptr + 0xffffffffffffffe4UL));
|
|
}
|
|
#line 163
|
|
return;
|
|
}
|
|
}
|
|
#line 170 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
void config_item_put(struct config_item *item )
|
|
{
|
|
|
|
|
|
{
|
|
#line 172
|
|
if ((unsigned long )item != (unsigned long )((struct config_item *)0)) {
|
|
{
|
|
#line 173
|
|
kref_put(& item->ci_kref, & config_item_release);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 174
|
|
return;
|
|
}
|
|
}
|
|
#line 180 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
void config_group_init(struct config_group *group )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 182
|
|
config_item_init(& group->cg_item);
|
|
#line 183
|
|
INIT_LIST_HEAD(& group->cg_children);
|
|
}
|
|
#line 184
|
|
return;
|
|
}
|
|
}
|
|
#line 195 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/lkbce/fs/configfs/item.c"
|
|
struct config_item *config_group_find_item(struct config_group *group , char const *name )
|
|
{
|
|
struct list_head *entry ;
|
|
struct config_item *ret ;
|
|
struct config_item *item ;
|
|
struct config_item *tmp ;
|
|
char *tmp___0 ;
|
|
char *tmp___1 ;
|
|
int tmp___2 ;
|
|
|
|
{
|
|
#line 199
|
|
ret = (struct config_item *)0;
|
|
#line 201
|
|
entry = group->cg_children.next;
|
|
#line 201
|
|
goto ldv_16345;
|
|
ldv_16344:
|
|
{
|
|
#line 202
|
|
tmp = to_item___0(entry);
|
|
#line 202
|
|
item = tmp;
|
|
#line 203
|
|
tmp___0 = config_item_name(item);
|
|
}
|
|
#line 203
|
|
if ((unsigned long )tmp___0 != (unsigned long )((char *)0)) {
|
|
{
|
|
#line 203
|
|
tmp___1 = config_item_name(item);
|
|
#line 203
|
|
tmp___2 = strcmp((char const *)tmp___1, name);
|
|
}
|
|
#line 203
|
|
if (tmp___2 == 0) {
|
|
{
|
|
#line 205
|
|
ret = config_item_get(item);
|
|
}
|
|
#line 206
|
|
goto ldv_16343;
|
|
} else {
|
|
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 201
|
|
entry = entry->next;
|
|
ldv_16345:
|
|
{
|
|
#line 201
|
|
__builtin_prefetch((void const *)entry->next);
|
|
}
|
|
#line 201
|
|
if ((unsigned long )(& group->cg_children) != (unsigned long )entry) {
|
|
#line 203
|
|
goto ldv_16344;
|
|
} else {
|
|
|
|
}
|
|
ldv_16343: ;
|
|
#line 209
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 186 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/item.c.aux"
|
|
static void ldv_kfree_14___2(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 189
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 190
|
|
return;
|
|
}
|
|
}
|
|
#line 193 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/item.c.aux"
|
|
static void ldv_kfree_15___1(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 196
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 197
|
|
return;
|
|
}
|
|
}
|
|
#line 200 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/avtg/fs/configfs/configfs.ko/generic:memory/weaver/item.c.aux"
|
|
static void ldv_kfree_16___1(void const *ldv_func_arg1 )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 203
|
|
ldv_free((void *)ldv_func_arg1);
|
|
}
|
|
#line 204
|
|
return;
|
|
}
|
|
}
|
|
#line 1 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/generic/memory.c"
|
|
void ldv_after_alloc(void *res )
|
|
{
|
|
|
|
|
|
{
|
|
#line 3
|
|
return;
|
|
}
|
|
}
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void *ldv_xzalloc(size_t size ) ;
|
|
#line 26 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/drivers/base/dd.c"
|
|
void *ldv_dev_get_drvdata(struct device const *dev )
|
|
{
|
|
|
|
|
|
{
|
|
#line 28
|
|
if ((unsigned long )dev != (unsigned long )((struct device const *)0) && (unsigned long )dev->p != (unsigned long )((struct device_private */* const */)0)) {
|
|
#line 29
|
|
return ((dev->p)->driver_data);
|
|
} else {
|
|
|
|
}
|
|
#line 30
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
#line 39 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/drivers/base/dd.c"
|
|
int ldv_dev_set_drvdata(struct device *dev , void *data )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 41
|
|
tmp = ldv_xzalloc(8UL);
|
|
#line 41
|
|
dev->p = (struct device_private *)tmp;
|
|
#line 42
|
|
(dev->p)->driver_data = data;
|
|
}
|
|
#line 43
|
|
return (0);
|
|
}
|
|
}
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void *ldv_zalloc(size_t size ) ;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/drivers/spi.c"
|
|
struct spi_master *ldv_spi_alloc_master(struct device *host , unsigned int size )
|
|
{
|
|
struct spi_master *master ;
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 27
|
|
tmp = ldv_zalloc((unsigned long )size + 336UL);
|
|
#line 27
|
|
master = (struct spi_master *)tmp;
|
|
}
|
|
#line 29
|
|
if ((unsigned long )master == (unsigned long )((struct spi_master *)0)) {
|
|
#line 30
|
|
return ((struct spi_master *)0);
|
|
} else {
|
|
|
|
}
|
|
{
|
|
#line 32
|
|
ldv_dev_set_drvdata(& master->dev, (void *)(master + 1U));
|
|
}
|
|
#line 34
|
|
return (master);
|
|
}
|
|
}
|
|
#line 20 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/err.c"
|
|
long ldv_is_err(void const *ptr )
|
|
{
|
|
|
|
|
|
{
|
|
#line 22
|
|
return ((unsigned long )ptr > 4294967295UL);
|
|
}
|
|
}
|
|
#line 25 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/err.c"
|
|
void *ldv_err_ptr(long error )
|
|
{
|
|
|
|
|
|
{
|
|
#line 27
|
|
return ((void *)(4294967295L - error));
|
|
}
|
|
}
|
|
#line 30 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/err.c"
|
|
long ldv_ptr_err(void const *ptr )
|
|
{
|
|
|
|
|
|
{
|
|
#line 32
|
|
return ((long )(4294967295UL - (unsigned long )ptr));
|
|
}
|
|
}
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/err.c"
|
|
long ldv_is_err_or_null(void const *ptr )
|
|
{
|
|
long tmp ;
|
|
int tmp___0 ;
|
|
|
|
{
|
|
#line 37
|
|
if ((unsigned long )ptr == (unsigned long )((void const *)0)) {
|
|
#line 37
|
|
tmp___0 = 1;
|
|
} else {
|
|
{
|
|
#line 37
|
|
tmp = ldv_is_err(ptr);
|
|
}
|
|
#line 37
|
|
if (tmp != 0L) {
|
|
#line 37
|
|
tmp___0 = 1;
|
|
} else {
|
|
#line 37
|
|
tmp___0 = 0;
|
|
}
|
|
}
|
|
#line 37
|
|
return ((long )tmp___0);
|
|
}
|
|
}
|
|
#line 67 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.h"
|
|
int ldv_post_probe(int probe_ret_val ) ;
|
|
#line 21 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.c"
|
|
static int ldv_filter_positive_int(int val )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 23
|
|
ldv_assume(val <= 0);
|
|
}
|
|
#line 24
|
|
return (val);
|
|
}
|
|
}
|
|
#line 31 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.c"
|
|
int ldv_post_init(int init_ret_val )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 33
|
|
tmp = ldv_filter_positive_int(init_ret_val);
|
|
}
|
|
#line 33
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 37 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.c"
|
|
int ldv_post_probe(int probe_ret_val )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 39
|
|
tmp = ldv_filter_positive_int(probe_ret_val);
|
|
}
|
|
#line 39
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 43 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/ldv/common.c"
|
|
int ldv_filter_err_code(int ret_val )
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 45
|
|
tmp = ldv_filter_positive_int(ret_val);
|
|
}
|
|
#line 45
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 24 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/linux/mm/kzalloc.c"
|
|
void *ldv_kzalloc(size_t size , gfp_t flags )
|
|
{
|
|
void *res ;
|
|
|
|
{
|
|
{
|
|
#line 28
|
|
ldv_check_alloc_flags(flags);
|
|
#line 29
|
|
res = ldv_zalloc(size);
|
|
#line 30
|
|
ldv_after_alloc(res);
|
|
}
|
|
#line 32
|
|
return (res);
|
|
}
|
|
}
|
|
#line 24 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.h"
|
|
extern void ldv_assert(char const * , int ) ;
|
|
#line 45
|
|
void __builtin_trap(void) ;
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.c"
|
|
void ldv_assume(int expression )
|
|
{
|
|
|
|
|
|
{
|
|
#line 25
|
|
if (expression == 0) {
|
|
ldv_assume_label: ;
|
|
#line 29
|
|
goto ldv_assume_label;
|
|
} else {
|
|
|
|
}
|
|
#line 31
|
|
return;
|
|
}
|
|
}
|
|
#line 33 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.c"
|
|
void ldv_stop(void)
|
|
{
|
|
|
|
|
|
{
|
|
ldv_stop_label: ;
|
|
#line 36
|
|
goto ldv_stop_label;
|
|
}
|
|
}
|
|
#line 43 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.c"
|
|
long __builtin_expect(long exp , long c )
|
|
{
|
|
|
|
|
|
{
|
|
#line 45
|
|
return (exp);
|
|
}
|
|
}
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/common.c"
|
|
void __builtin_trap(void)
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 56
|
|
ldv_assert("", 0);
|
|
}
|
|
#line 57
|
|
return;
|
|
}
|
|
}
|
|
#line 29 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.h"
|
|
void *ldv_malloc(size_t size ) ;
|
|
#line 30
|
|
void *ldv_calloc(size_t nmemb , size_t size ) ;
|
|
#line 40
|
|
void *ldv_calloc_unknown_size(void) ;
|
|
#line 25 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
extern void *malloc(size_t ) ;
|
|
#line 26
|
|
extern void *calloc(size_t , size_t ) ;
|
|
#line 27
|
|
extern void free(void * ) ;
|
|
#line 28
|
|
extern void *memset(void * , int , size_t ) ;
|
|
#line 30 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_malloc(size_t size )
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 32
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 32
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 33
|
|
tmp = malloc(size);
|
|
#line 33
|
|
res = tmp;
|
|
#line 34
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 35
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 35
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 36
|
|
return (res);
|
|
} else {
|
|
#line 39
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
}
|
|
#line 43 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_calloc(size_t nmemb , size_t size )
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 45
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 45
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 46
|
|
tmp = calloc(nmemb, size);
|
|
#line 46
|
|
res = tmp;
|
|
#line 47
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 48
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 48
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 49
|
|
return (res);
|
|
} else {
|
|
#line 52
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
}
|
|
#line 56 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_zalloc(size_t size )
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 58
|
|
tmp = ldv_calloc(1UL, size);
|
|
}
|
|
#line 58
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 61 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void ldv_free(void *s )
|
|
{
|
|
|
|
|
|
{
|
|
{
|
|
#line 63
|
|
free(s);
|
|
}
|
|
#line 64
|
|
return;
|
|
}
|
|
}
|
|
#line 66 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_xmalloc(size_t size )
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 68
|
|
tmp = malloc(size);
|
|
#line 68
|
|
res = tmp;
|
|
#line 69
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 70
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 70
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 71
|
|
return (res);
|
|
}
|
|
}
|
|
#line 74 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_xzalloc(size_t size )
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 76
|
|
tmp = calloc(1UL, size);
|
|
#line 76
|
|
res = tmp;
|
|
#line 77
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 78
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 78
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 79
|
|
return (res);
|
|
}
|
|
}
|
|
#line 82 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_malloc_unknown_size(void)
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 84
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 84
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 85
|
|
tmp = external_allocated_data();
|
|
#line 85
|
|
res = tmp;
|
|
#line 86
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 87
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 87
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 88
|
|
return (res);
|
|
} else {
|
|
#line 91
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
}
|
|
#line 95 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_calloc_unknown_size(void)
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
int tmp___1 ;
|
|
|
|
{
|
|
{
|
|
#line 97
|
|
tmp___1 = ldv_undef_int();
|
|
}
|
|
#line 97
|
|
if (tmp___1 != 0) {
|
|
{
|
|
#line 98
|
|
tmp = external_allocated_data();
|
|
#line 98
|
|
res = tmp;
|
|
#line 99
|
|
memset(res, 0, 8UL);
|
|
#line 100
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 101
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 101
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 102
|
|
return (res);
|
|
} else {
|
|
#line 105
|
|
return ((void *)0);
|
|
}
|
|
}
|
|
}
|
|
#line 109 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_zalloc_unknown_size(void)
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 111
|
|
tmp = ldv_calloc_unknown_size();
|
|
}
|
|
#line 111
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 114 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/memory.c"
|
|
void *ldv_xmalloc_unknown_size(size_t size )
|
|
{
|
|
void *res ;
|
|
void *tmp ;
|
|
long tmp___0 ;
|
|
|
|
{
|
|
{
|
|
#line 116
|
|
tmp = external_allocated_data();
|
|
#line 116
|
|
res = tmp;
|
|
#line 117
|
|
ldv_assume((unsigned long )res != (unsigned long )((void *)0));
|
|
#line 118
|
|
tmp___0 = ldv_is_err((void const *)res);
|
|
#line 118
|
|
ldv_assume(tmp___0 == 0L);
|
|
}
|
|
#line 119
|
|
return (res);
|
|
}
|
|
}
|
|
#line 23 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.h"
|
|
void *ldv_undef_ptr(void) ;
|
|
#line 24
|
|
unsigned long ldv_undef_ulong(void) ;
|
|
#line 30
|
|
int ldv_undef_int_nonpositive(void) ;
|
|
#line 24 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
extern int __VERIFIER_nondet_int(void) ;
|
|
#line 36
|
|
extern unsigned long __VERIFIER_nondet_ulong(void) ;
|
|
#line 37
|
|
extern void *__VERIFIER_nondet_pointer(void) ;
|
|
#line 40 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
int ldv_undef_int(void)
|
|
{
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 41
|
|
tmp = __VERIFIER_nondet_int();
|
|
}
|
|
#line 41
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 44 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
void *ldv_undef_ptr(void)
|
|
{
|
|
void *tmp ;
|
|
|
|
{
|
|
{
|
|
#line 45
|
|
tmp = __VERIFIER_nondet_pointer();
|
|
}
|
|
#line 45
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
unsigned long ldv_undef_ulong(void)
|
|
{
|
|
unsigned long tmp ;
|
|
|
|
{
|
|
{
|
|
#line 49
|
|
tmp = __VERIFIER_nondet_ulong();
|
|
}
|
|
#line 49
|
|
return (tmp);
|
|
}
|
|
}
|
|
#line 52 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
int ldv_undef_int_negative(void)
|
|
{
|
|
int ret ;
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 54
|
|
tmp = ldv_undef_int();
|
|
#line 54
|
|
ret = tmp;
|
|
#line 55
|
|
ldv_assume(ret < 0);
|
|
}
|
|
#line 56
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 59 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/nondet.c"
|
|
int ldv_undef_int_nonpositive(void)
|
|
{
|
|
int ret ;
|
|
int tmp ;
|
|
|
|
{
|
|
{
|
|
#line 61
|
|
tmp = ldv_undef_int();
|
|
#line 61
|
|
ret = tmp;
|
|
#line 62
|
|
ldv_assume(ret <= 0);
|
|
}
|
|
#line 63
|
|
return (ret);
|
|
}
|
|
}
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.h"
|
|
int ldv_thread_create_N(struct ldv_thread_set *ldv_thread_set , void (*function)(void * ) ,
|
|
void *data ) ;
|
|
#line 41
|
|
int ldv_thread_join_N(struct ldv_thread_set *ldv_thread_set , void (*function)(void * ) ) ;
|
|
#line 27 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.c"
|
|
int ldv_thread_create(struct ldv_thread *ldv_thread , void (*function)(void * ) ,
|
|
void *data )
|
|
{
|
|
|
|
|
|
{
|
|
#line 29
|
|
if ((unsigned long )function != (unsigned long )((void (*)(void * ))0)) {
|
|
{
|
|
#line 30
|
|
(*function)(data);
|
|
}
|
|
} else {
|
|
|
|
}
|
|
#line 31
|
|
return (0);
|
|
}
|
|
}
|
|
#line 35 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.c"
|
|
int ldv_thread_create_N(struct ldv_thread_set *ldv_thread_set , void (*function)(void * ) ,
|
|
void *data )
|
|
{
|
|
int i ;
|
|
|
|
{
|
|
#line 39
|
|
if ((unsigned long )function != (unsigned long )((void (*)(void * ))0)) {
|
|
#line 40
|
|
i = 0;
|
|
#line 40
|
|
goto ldv_832;
|
|
ldv_831:
|
|
{
|
|
#line 41
|
|
(*function)(data);
|
|
#line 40
|
|
i = i + 1;
|
|
}
|
|
ldv_832: ;
|
|
#line 40
|
|
if (ldv_thread_set->number > i) {
|
|
#line 42
|
|
goto ldv_831;
|
|
} else {
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
}
|
|
#line 44
|
|
return (0);
|
|
}
|
|
}
|
|
#line 48 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.c"
|
|
int ldv_thread_join(struct ldv_thread *ldv_thread , void (*function)(void * ) )
|
|
{
|
|
|
|
|
|
{
|
|
#line 50
|
|
return (0);
|
|
}
|
|
}
|
|
#line 54 "/home/debian/klever-work/native-scheduler-work-dir/scheduler/jobs/913fcae6510058f91ae4b1f2df9afd13/klever-core-work-dir/job/root/verifier/thread.c"
|
|
int ldv_thread_join_N(struct ldv_thread_set *ldv_thread_set , void (*function)(void * ) )
|
|
{
|
|
|
|
|
|
{
|
|
#line 56
|
|
return (0);
|
|
}
|
|
}
|