Lines Matching refs:DEFINE

28 #define DEFINE(sym, val) \  macro
35 DEFINE(STATE, offsetof(struct task_struct, state)); in main()
36 DEFINE(NEXT_TASK, offsetof(struct task_struct, next_task)); in main()
37 DEFINE(COUNTER, offsetof(struct task_struct, counter)); in main()
38 DEFINE(PROCESSOR, offsetof(struct task_struct, processor)); in main()
39 DEFINE(SIGPENDING, offsetof(struct task_struct, sigpending)); in main()
40 DEFINE(THREAD, offsetof(struct task_struct, thread)); in main()
41 DEFINE(MM, offsetof(struct task_struct, mm)); in main()
42 DEFINE(ACTIVE_MM, offsetof(struct task_struct, active_mm)); in main()
43 DEFINE(TASK_STRUCT_SIZE, sizeof(struct task_struct)); in main()
44 DEFINE(KSP, offsetof(struct thread_struct, ksp)); in main()
45 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
46 DEFINE(LAST_SYSCALL, offsetof(struct thread_struct, last_syscall)); in main()
47 DEFINE(PT_REGS, offsetof(struct thread_struct, regs)); in main()
48 DEFINE(PT_TRACESYS, PT_TRACESYS); in main()
49 DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); in main()
50 DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); in main()
51 DEFINE(NEED_RESCHED, offsetof(struct task_struct, need_resched)); in main()
52 DEFINE(THREAD_FPEXC_MODE, offsetof(struct thread_struct, fpexc_mode)); in main()
53 DEFINE(THREAD_FPR0, offsetof(struct thread_struct, fpr[0])); in main()
54 DEFINE(THREAD_FPSCR, offsetof(struct thread_struct, fpscr)); in main()
56 DEFINE(THREAD_VR0, offsetof(struct thread_struct, vr[0])); in main()
57 DEFINE(THREAD_VRSAVE, offsetof(struct thread_struct, vrsave)); in main()
58 DEFINE(THREAD_VSCR, offsetof(struct thread_struct, vscr)); in main()
59 DEFINE(THREAD_USED_VR, offsetof(struct thread_struct, used_vr)); in main()
62 DEFINE(THREAD_DBCR0, offsetof(struct thread_struct, dbcr0)); in main()
65 DEFINE(TASK_UNION_SIZE, sizeof(union task_union)); in main()
66 DEFINE(STACK_FRAME_OVERHEAD, STACK_FRAME_OVERHEAD); in main()
67 DEFINE(INT_FRAME_SIZE, STACK_FRAME_OVERHEAD + sizeof(struct pt_regs)); in main()
69 DEFINE(GPR0, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[0])); in main()
70 DEFINE(GPR1, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[1])); in main()
71 DEFINE(GPR2, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[2])); in main()
72 DEFINE(GPR3, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[3])); in main()
73 DEFINE(GPR4, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[4])); in main()
74 DEFINE(GPR5, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[5])); in main()
75 DEFINE(GPR6, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[6])); in main()
76 DEFINE(GPR7, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[7])); in main()
77 DEFINE(GPR8, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[8])); in main()
78 DEFINE(GPR9, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[9])); in main()
79 DEFINE(GPR10, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[10])); in main()
80 DEFINE(GPR11, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[11])); in main()
81 DEFINE(GPR12, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[12])); in main()
82 DEFINE(GPR13, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[13])); in main()
83 DEFINE(GPR14, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[14])); in main()
84 DEFINE(GPR15, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[15])); in main()
85 DEFINE(GPR16, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[16])); in main()
86 DEFINE(GPR17, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[17])); in main()
87 DEFINE(GPR18, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[18])); in main()
88 DEFINE(GPR19, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[19])); in main()
89 DEFINE(GPR20, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[20])); in main()
90 DEFINE(GPR21, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[21])); in main()
91 DEFINE(GPR22, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[22])); in main()
92 DEFINE(GPR23, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[23])); in main()
93 DEFINE(GPR24, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[24])); in main()
94 DEFINE(GPR25, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[25])); in main()
95 DEFINE(GPR26, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[26])); in main()
96 DEFINE(GPR27, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[27])); in main()
97 DEFINE(GPR28, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[28])); in main()
98 DEFINE(GPR29, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[29])); in main()
99 DEFINE(GPR30, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[30])); in main()
100 DEFINE(GPR31, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, gpr[31])); in main()
104 DEFINE(_NIP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, nip)); in main()
105 DEFINE(_MSR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, msr)); in main()
106 DEFINE(_CTR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, ctr)); in main()
107 DEFINE(_LINK, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, link)); in main()
108 DEFINE(_CCR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, ccr)); in main()
109 DEFINE(_MQ, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, mq)); in main()
110 DEFINE(_XER, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, xer)); in main()
111 DEFINE(_DAR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dar)); in main()
112 DEFINE(_DSISR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dsisr)); in main()
117 DEFINE(_DEAR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dar)); in main()
118 DEFINE(_ESR, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, dsisr)); in main()
119 DEFINE(ORIG_GPR3, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, orig_gpr3)); in main()
120 DEFINE(RESULT, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, result)); in main()
121 DEFINE(TRAP, STACK_FRAME_OVERHEAD+offsetof(struct pt_regs, trap)); in main()
122 DEFINE(CLONE_VM, CLONE_VM); in main()
123 DEFINE(MM_PGD, offsetof(struct mm_struct, pgd)); in main()
126 DEFINE(CPU_SPEC_ENTRY_SIZE, sizeof(struct cpu_spec)); in main()
127 DEFINE(CPU_SPEC_PVR_MASK, offsetof(struct cpu_spec, pvr_mask)); in main()
128 DEFINE(CPU_SPEC_PVR_VALUE, offsetof(struct cpu_spec, pvr_value)); in main()
129 DEFINE(CPU_SPEC_FEATURES, offsetof(struct cpu_spec, cpu_features)); in main()
130 DEFINE(CPU_SPEC_SETUP, offsetof(struct cpu_spec, cpu_setup)); in main()
132 DEFINE(NUM_USER_SEGMENTS, TASK_SIZE>>28); in main()