Lines Matching defs:tstate
73 x86_debug_state32_t *tstate = (x86_debug_state32_t*) state;
76 (!debug_state_is_valid32(tstate))) {
84 copy_debug_state32(tstate, (x86_debug_state32_t*) task->task_debug, FALSE);
91 x86_debug_state64_t *tstate = (x86_debug_state64_t*) state;
95 (!debug_state_is_valid64(tstate))) {
103 copy_debug_state64(tstate, (x86_debug_state64_t*) task->task_debug, FALSE);
110 x86_debug_state_t *tstate = (x86_debug_state_t*) state;
116 if ((tstate->dsh.flavor == x86_DEBUG_STATE32) &&
117 (tstate->dsh.count == x86_DEBUG_STATE32_COUNT) &&
119 debug_state_is_valid32(&tstate->uds.ds32)) {
125 copy_debug_state32(&tstate->uds.ds32, (x86_debug_state32_t*) task->task_debug, FALSE);
128 } else if ((tstate->dsh.flavor == x86_DEBUG_STATE64) &&
129 (tstate->dsh.count == x86_DEBUG_STATE64_COUNT) &&
131 debug_state_is_valid64(&tstate->uds.ds64)) {
137 copy_debug_state64(&tstate->uds.ds64, (x86_debug_state64_t*) task->task_debug, FALSE);
162 x86_debug_state32_t *tstate = (x86_debug_state32_t*) state;
169 bzero(state, sizeof(*tstate));
171 copy_debug_state32((x86_debug_state32_t*) task->task_debug, tstate, TRUE);
179 x86_debug_state64_t *tstate = (x86_debug_state64_t*) state;
186 bzero(state, sizeof(*tstate));
188 copy_debug_state64((x86_debug_state64_t*) task->task_debug, tstate, TRUE);
196 x86_debug_state_t *tstate = (x86_debug_state_t*)state;
202 tstate->dsh.flavor = x86_DEBUG_STATE64;
203 tstate->dsh.count = x86_DEBUG_STATE64_COUNT;
206 bzero(&tstate->uds.ds64, sizeof(tstate->uds.ds64));
208 copy_debug_state64((x86_debug_state64_t*)task->task_debug, &tstate->uds.ds64, TRUE);
211 tstate->dsh.flavor = x86_DEBUG_STATE32;
212 tstate->dsh.count = x86_DEBUG_STATE32_COUNT;
215 bzero(&tstate->uds.ds32, sizeof(tstate->uds.ds32));
217 copy_debug_state32((x86_debug_state32_t*)task->task_debug, &tstate->uds.ds32, TRUE);