/arch/ia64/kernel/ |
D | asm-offsets.c | 24 DEFINE(IA64_TASK_SIZE, sizeof (struct task_struct)); in foo() 25 DEFINE(IA64_THREAD_INFO_SIZE, sizeof (struct thread_info)); in foo() 26 DEFINE(IA64_PT_REGS_SIZE, sizeof (struct pt_regs)); in foo() 27 DEFINE(IA64_SWITCH_STACK_SIZE, sizeof (struct switch_stack)); in foo() 28 DEFINE(IA64_SIGINFO_SIZE, sizeof (struct siginfo)); in foo() 29 DEFINE(IA64_CPU_SIZE, sizeof (struct cpuinfo_ia64)); in foo() 30 DEFINE(SIGFRAME_SIZE, sizeof (struct sigframe)); in foo() 31 DEFINE(UNW_FRAME_INFO_SIZE, sizeof (struct unw_frame_info)); in foo() 34 DEFINE(IA64_UPID_SHIFT, 5); in foo() 38 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() [all …]
|
/arch/arm64/kernel/ |
D | asm-offsets.c | 35 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 37 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 38 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 39 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 40 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 41 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main() 42 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 44 DEFINE(TSK_TI_TTBR0, offsetof(struct thread_info, ttbr0)); in main() 47 DEFINE(THREAD_CPU_CONTEXT, offsetof(struct task_struct, thread.cpu_context)); in main() 49 DEFINE(S_X0, offsetof(struct pt_regs, regs[0])); in main() [all …]
|
/arch/blackfin/kernel/ |
D | asm-offsets.c | 22 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main() 23 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main() 24 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main() 25 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in main() 26 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 27 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main() 28 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main() 29 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 30 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, pending)); in main() 33 DEFINE(CPUSTAT_SOFTIRQ_PENDING, in main() [all …]
|
/arch/powerpc/kernel/ |
D | asm-offsets.c | 72 DEFINE(THREAD, offsetof(struct task_struct, thread)); in main() 73 DEFINE(MM, offsetof(struct task_struct, mm)); in main() 74 DEFINE(MMCONTEXTID, offsetof(struct mm_struct, context.id)); in main() 76 DEFINE(AUDITCONTEXT, offsetof(struct task_struct, audit_context)); in main() 77 DEFINE(SIGSEGV, SIGSEGV); in main() 78 DEFINE(NMI_MASK, NMI_MASK); in main() 79 DEFINE(THREAD_DSCR, offsetof(struct thread_struct, dscr)); in main() 80 DEFINE(THREAD_DSCR_INHERIT, offsetof(struct thread_struct, dscr_inherit)); in main() 81 DEFINE(TASKTHREADPPR, offsetof(struct task_struct, thread.ppr)); in main() 83 DEFINE(THREAD_INFO, offsetof(struct task_struct, stack)); in main() [all …]
|
/arch/s390/kernel/ |
D | asm-offsets.c | 26 DEFINE(__THREAD_info, offsetof(struct task_struct, stack)); in main() 27 DEFINE(__THREAD_ksp, offsetof(struct task_struct, thread.ksp)); in main() 28 DEFINE(__THREAD_mm_segment, offsetof(struct task_struct, thread.mm_segment)); in main() 30 DEFINE(__TASK_pid, offsetof(struct task_struct, pid)); in main() 32 DEFINE(__THREAD_per_cause, offsetof(struct task_struct, thread.per_event.cause)); in main() 33 DEFINE(__THREAD_per_address, offsetof(struct task_struct, thread.per_event.address)); in main() 34 DEFINE(__THREAD_per_paid, offsetof(struct task_struct, thread.per_event.paid)); in main() 36 DEFINE(__TI_task, offsetof(struct thread_info, task)); in main() 37 DEFINE(__TI_domain, offsetof(struct thread_info, exec_domain)); in main() 38 DEFINE(__TI_flags, offsetof(struct thread_info, flags)); in main() [all …]
|
/arch/ia64/kvm/ |
D | asm-offsets.c | 32 DEFINE(VMM_TASK_SIZE, sizeof(struct kvm_vcpu)); in foo() 33 DEFINE(VMM_PT_REGS_SIZE, sizeof(struct kvm_pt_regs)); in foo() 37 DEFINE(VMM_VCPU_META_RR0_OFFSET, in foo() 39 DEFINE(VMM_VCPU_META_SAVED_RR0_OFFSET, in foo() 42 DEFINE(VMM_VCPU_VRR0_OFFSET, in foo() 44 DEFINE(VMM_VPD_IRR0_OFFSET, in foo() 46 DEFINE(VMM_VCPU_ITC_CHECK_OFFSET, in foo() 48 DEFINE(VMM_VCPU_IRQ_CHECK_OFFSET, in foo() 50 DEFINE(VMM_VPD_VHPI_OFFSET, in foo() 52 DEFINE(VMM_VCPU_VSA_BASE_OFFSET, in foo() [all …]
|
/arch/parisc/kernel/ |
D | asm-offsets.c | 57 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main() 58 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main() 59 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main() 60 DEFINE(TASK_SIGPENDING, offsetof(struct task_struct, pending)); in main() 61 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main() 62 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main() 63 DEFINE(TASK_PERSONALITY, offsetof(struct task_struct, personality)); in main() 64 DEFINE(TASK_PID, offsetof(struct task_struct, pid)); in main() 66 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main() 67 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main() [all …]
|
/arch/xtensa/kernel/ |
D | asm-offsets.c | 31 DEFINE(PT_PC, offsetof (struct pt_regs, pc)); in main() 32 DEFINE(PT_PS, offsetof (struct pt_regs, ps)); in main() 33 DEFINE(PT_DEPC, offsetof (struct pt_regs, depc)); in main() 34 DEFINE(PT_EXCCAUSE, offsetof (struct pt_regs, exccause)); in main() 35 DEFINE(PT_EXCVADDR, offsetof (struct pt_regs, excvaddr)); in main() 36 DEFINE(PT_DEBUGCAUSE, offsetof (struct pt_regs, debugcause)); in main() 37 DEFINE(PT_WMASK, offsetof (struct pt_regs, wmask)); in main() 38 DEFINE(PT_LBEG, offsetof (struct pt_regs, lbeg)); in main() 39 DEFINE(PT_LEND, offsetof (struct pt_regs, lend)); in main() 40 DEFINE(PT_LCOUNT, offsetof (struct pt_regs, lcount)); in main() [all …]
|
/arch/microblaze/kernel/ |
D | asm-offsets.c | 24 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in main() 25 DEFINE(PT_MSR, offsetof(struct pt_regs, msr)); in main() 26 DEFINE(PT_EAR, offsetof(struct pt_regs, ear)); in main() 27 DEFINE(PT_ESR, offsetof(struct pt_regs, esr)); in main() 28 DEFINE(PT_FSR, offsetof(struct pt_regs, fsr)); in main() 29 DEFINE(PT_PC, offsetof(struct pt_regs, pc)); in main() 30 DEFINE(PT_R0, offsetof(struct pt_regs, r0)); in main() 31 DEFINE(PT_R1, offsetof(struct pt_regs, r1)); in main() 32 DEFINE(PT_R2, offsetof(struct pt_regs, r2)); in main() 33 DEFINE(PT_R3, offsetof(struct pt_regs, r3)); in main() [all …]
|
/arch/m68k/kernel/ |
D | asm-offsets.c | 25 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 26 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main() 27 DEFINE(TASK_STACK, offsetof(struct task_struct, stack)); in main() 30 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 31 DEFINE(THREAD_USP, offsetof(struct thread_struct, usp)); in main() 32 DEFINE(THREAD_SR, offsetof(struct thread_struct, sr)); in main() 33 DEFINE(THREAD_FS, offsetof(struct thread_struct, fs)); in main() 34 DEFINE(THREAD_CRP, offsetof(struct thread_struct, crp)); in main() 35 DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0)); in main() 36 DEFINE(THREAD_FPREG, offsetof(struct thread_struct, fp)); in main() [all …]
|
/arch/arm/kernel/ |
D | asm-offsets.c | 51 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 53 DEFINE(TSK_STACK_CANARY, offsetof(struct task_struct, stack_canary)); in main() 56 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 57 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 58 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 59 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 60 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main() 61 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 62 DEFINE(TI_CPU_DOMAIN, offsetof(struct thread_info, cpu_domain)); in main() 63 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() [all …]
|
/arch/unicore32/kernel/ |
D | asm-offsets.c | 39 DEFINE(TSK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 41 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 42 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 43 DEFINE(TI_ADDR_LIMIT, offsetof(struct thread_info, addr_limit)); in main() 44 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 45 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main() 46 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 47 DEFINE(TI_CPU_SAVE, offsetof(struct thread_info, cpu_context)); in main() 48 DEFINE(TI_USED_CP, offsetof(struct thread_info, used_cp)); in main() 50 DEFINE(TI_FPSTATE, offsetof(struct thread_info, fpstate)); in main() [all …]
|
/arch/sh/kernel/ |
D | asm-offsets.c | 23 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 24 DEFINE(TI_EXEC_DOMAIN, offsetof(struct thread_info, exec_domain)); in main() 25 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 26 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in main() 27 DEFINE(TI_PRE_COUNT, offsetof(struct thread_info, preempt_count)); in main() 28 DEFINE(TI_SIZE, sizeof(struct thread_info)); in main() 31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main() 32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main() 33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main() 34 DEFINE(SWSUSP_ARCH_REGS_SIZE, sizeof(struct swsusp_arch_regs)); in main() [all …]
|
/arch/um/include/shared/ |
D | common-offsets.h | 3 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE); 5 DEFINE(UM_KERN_PAGE_SIZE, PAGE_SIZE); 6 DEFINE(UM_KERN_PAGE_MASK, PAGE_MASK); 7 DEFINE(UM_KERN_PAGE_SHIFT, PAGE_SHIFT); 8 DEFINE(UM_NSEC_PER_SEC, NSEC_PER_SEC); 10 DEFINE(UM_ELF_CLASS, ELF_CLASS); 11 DEFINE(UM_ELFCLASS32, ELFCLASS32); 12 DEFINE(UM_ELFCLASS64, ELFCLASS64); 14 DEFINE(UM_NR_CPUS, NR_CPUS); 16 DEFINE(UM_GFP_KERNEL, GFP_KERNEL); [all …]
|
/arch/arc/kernel/ |
D | asm-offsets.c | 20 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 21 DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); in main() 25 DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp)); in main() 26 DEFINE(THREAD_CALLEE_REG, offsetof(struct thread_struct, callee_reg)); in main() 27 DEFINE(THREAD_FAULT_ADDR, in main() 32 DEFINE(THREAD_INFO_FLAGS, offsetof(struct thread_info, flags)); in main() 33 DEFINE(THREAD_INFO_PREEMPT_COUNT, in main() 38 DEFINE(TASK_ACT_MM, offsetof(struct task_struct, active_mm)); in main() 39 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in main() 41 DEFINE(MM_CTXT, offsetof(struct mm_struct, context)); in main() [all …]
|
/arch/alpha/kernel/ |
D | asm-offsets.c | 16 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in foo() 17 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in foo() 18 DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); in foo() 21 DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); in foo() 22 DEFINE(TASK_CRED, offsetof(struct task_struct, cred)); in foo() 23 DEFINE(TASK_REAL_PARENT, offsetof(struct task_struct, real_parent)); in foo() 24 DEFINE(TASK_GROUP_LEADER, offsetof(struct task_struct, group_leader)); in foo() 25 DEFINE(TASK_TGID, offsetof(struct task_struct, tgid)); in foo() 28 DEFINE(CRED_UID, offsetof(struct cred, uid)); in foo() 29 DEFINE(CRED_EUID, offsetof(struct cred, euid)); in foo() [all …]
|
/arch/x86/um/ |
D | user-offsets.c | 25 #define DEFINE(sym, val) \ macro 37 DEFINE(HOST_IP, EIP); in foo() 38 DEFINE(HOST_SP, UESP); in foo() 39 DEFINE(HOST_EFLAGS, EFL); in foo() 40 DEFINE(HOST_AX, EAX); in foo() 41 DEFINE(HOST_BX, EBX); in foo() 42 DEFINE(HOST_CX, ECX); in foo() 43 DEFINE(HOST_DX, EDX); in foo() 44 DEFINE(HOST_SI, ESI); in foo() 45 DEFINE(HOST_DI, EDI); in foo() [all …]
|
/arch/openrisc/kernel/ |
D | asm-offsets.c | 45 DEFINE(TASK_STATE, offsetof(struct task_struct, state)); in main() 46 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main() 47 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main() 48 DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); in main() 49 DEFINE(TASK_MM, offsetof(struct task_struct, mm)); in main() 50 DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main() 53 DEFINE(TI_TASK, offsetof(struct thread_info, task)); in main() 54 DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); in main() 55 DEFINE(TI_PREEMPT, offsetof(struct thread_info, preempt_count)); in main() 56 DEFINE(TI_KSP, offsetof(struct thread_info, ksp)); in main() [all …]
|
/arch/tile/kernel/ |
D | asm-offsets.c | 40 DEFINE(SINGLESTEP_STATE_BUFFER_OFFSET, in foo() 42 DEFINE(SINGLESTEP_STATE_FLAGS_OFFSET, in foo() 44 DEFINE(SINGLESTEP_STATE_ORIG_PC_OFFSET, in foo() 46 DEFINE(SINGLESTEP_STATE_NEXT_PC_OFFSET, in foo() 48 DEFINE(SINGLESTEP_STATE_BRANCH_NEXT_PC_OFFSET, in foo() 50 DEFINE(SINGLESTEP_STATE_UPDATE_VALUE_OFFSET, in foo() 53 DEFINE(THREAD_INFO_TASK_OFFSET, in foo() 55 DEFINE(THREAD_INFO_FLAGS_OFFSET, in foo() 57 DEFINE(THREAD_INFO_STATUS_OFFSET, in foo() 59 DEFINE(THREAD_INFO_HOMECACHE_CPU_OFFSET, in foo() [all …]
|
/arch/score/kernel/ |
D | asm-offsets.c | 83 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines() 95 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines() 110 DEFINE(KERNEL_STACK_SIZE, THREAD_SIZE); in output_thread_info_defines() 111 DEFINE(KERNEL_STACK_MASK, THREAD_MASK); in output_thread_info_defines() 144 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines() 151 DEFINE(_PAGE_SIZE, PAGE_SIZE); in output_mm_defines() 152 DEFINE(_PAGE_SHIFT, PAGE_SHIFT); in output_mm_defines() 154 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines() 155 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines() 157 DEFINE(_PGD_ORDER, PGD_ORDER); in output_mm_defines() [all …]
|
/arch/powerpc/lib/ |
D | xor_vmx.c | 29 #define DEFINE(V) \ macro 60 DEFINE(v1); in xor_altivec_2() 61 DEFINE(v2); in xor_altivec_2() 84 DEFINE(v1); in xor_altivec_3() 85 DEFINE(v2); in xor_altivec_3() 86 DEFINE(v3); in xor_altivec_3() 113 DEFINE(v1); in xor_altivec_4() 114 DEFINE(v2); in xor_altivec_4() 115 DEFINE(v3); in xor_altivec_4() 116 DEFINE(v4); in xor_altivec_4() [all …]
|
/arch/mips/kernel/ |
D | asm-offsets.c | 72 DEFINE(PT_SIZE, sizeof(struct pt_regs)); in output_ptreg_defines() 87 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in output_task_defines() 103 DEFINE(_THREAD_SIZE, THREAD_SIZE); in output_thread_info_defines() 104 DEFINE(_THREAD_MASK, THREAD_MASK); in output_thread_info_defines() 178 DEFINE(STRUCT_PAGE_SIZE, sizeof(struct page)); in output_mm_defines() 185 DEFINE(_PGD_T_SIZE, sizeof(pgd_t)); in output_mm_defines() 186 DEFINE(_PMD_T_SIZE, sizeof(pmd_t)); in output_mm_defines() 187 DEFINE(_PTE_T_SIZE, sizeof(pte_t)); in output_mm_defines() 189 DEFINE(_PGD_T_LOG2, PGD_T_LOG2); in output_mm_defines() 191 DEFINE(_PMD_T_LOG2, PMD_T_LOG2); in output_mm_defines() [all …]
|
/arch/cris/kernel/ |
D | asm-offsets.c | 17 #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) in main() 37 #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) in main() 43 #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) in main() 53 #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) in main() 56 DEFINE(LCLONE_VM, CLONE_VM); in main() 57 DEFINE(LCLONE_UNTRACED, CLONE_UNTRACED); in main()
|
/arch/mn10300/kernel/ |
D | asm-offsets.c | 61 DEFINE(REG__END, sizeof(struct pt_regs)); in foo() 72 DEFINE(__THREAD_USING_FPU, THREAD_USING_FPU); in foo() 73 DEFINE(__THREAD_HAS_FPU, THREAD_HAS_FPU); in foo() 80 DEFINE(CLONE_VM_asm, CLONE_VM); in foo() 81 DEFINE(CLONE_FS_asm, CLONE_FS); in foo() 82 DEFINE(CLONE_FILES_asm, CLONE_FILES); in foo() 83 DEFINE(CLONE_SIGHAND_asm, CLONE_SIGHAND); in foo() 84 DEFINE(CLONE_UNTRACED_asm, CLONE_UNTRACED); in foo() 85 DEFINE(SIGCHLD_asm, SIGCHLD); in foo() 91 DEFINE(PAGE_SIZE_asm, PAGE_SIZE); in foo() [all …]
|
/arch/c6x/kernel/ |
D | asm-offsets.c | 86 DEFINE(REGS__END, sizeof(struct pt_regs)); in foo() 109 DEFINE(KTHREAD_SIZE, THREAD_SIZE); in foo() 110 DEFINE(KTHREAD_SHIFT, THREAD_SHIFT); in foo() 111 DEFINE(KTHREAD_START_SP, THREAD_START_SP); in foo() 112 DEFINE(ENOSYS_, ENOSYS); in foo() 113 DEFINE(NR_SYSCALLS_, __NR_syscalls); in foo() 115 DEFINE(_TIF_SYSCALL_TRACE, (1<<TIF_SYSCALL_TRACE)); in foo() 116 DEFINE(_TIF_NOTIFY_RESUME, (1<<TIF_NOTIFY_RESUME)); in foo() 117 DEFINE(_TIF_SIGPENDING, (1<<TIF_SIGPENDING)); in foo() 118 DEFINE(_TIF_NEED_RESCHED, (1<<TIF_NEED_RESCHED)); in foo() [all …]
|