Lines Matching defs:state
138 x86_thread_state32_t *state
146 *state = null_state;
147 state->eax = saved_state->eax;
148 state->ebx = saved_state->ebx;
149 state->ecx = saved_state->ecx;
150 state->edx = saved_state->edx;
151 state->edi = saved_state->edi;
152 state->esi = saved_state->esi;
153 state->ebp = saved_state->ebp;
155 if ((saved_state->cs & SEL_PL) == SEL_PL_K) { /* Kernel state? */
157 state->esp = (uint32_t) saved_state->uesp;
159 state->esp = ((uint32_t)saved_state) + offsetof(x86_saved_state_t, ss_32) + sizeof(x86_saved_state32_t);
160 state->ss = KERNEL_DS;
162 state->esp = saved_state->uesp;
163 state->ss = saved_state->ss;
166 state->eflags = saved_state->efl;
167 state->eip = saved_state->eip;
168 state->cs = saved_state->cs;
169 state->ds = saved_state->ds;
170 state->es = saved_state->es;
171 state->fs = saved_state->fs;
172 state->gs = saved_state->gs;
178 x86_thread_state32_t *state
185 saved_state->eax = state->eax;
186 saved_state->ebx = state->ebx;
187 saved_state->ecx = state->ecx;
188 saved_state->edx = state->edx;
189 saved_state->edi = state->edi;
190 saved_state->esi = state->esi;
191 saved_state->ebp = state->ebp;
192 saved_state->efl = state->eflags;
197 saved_state->eip = state->eip;
325 void print_saved_state(void *state)
329 saved_state = state;