Lines Matching defs:state_count
198 mach_msg_type_number_t state_count;
286 state_count = PPC_THREAD_STATE_COUNT;
287 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
293 state_count = PPC_THREAD_STATE64_COUNT;
294 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
301 state_count = PPC_EXCEPTION_STATE_COUNT;
302 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
309 state_count = PPC_EXCEPTION_STATE64_COUNT;
311 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
320 state_count = PPC_FLOAT_STATE_COUNT;
321 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
328 state_count = PPC_FLOAT_STATE_COUNT;
329 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
341 state_count = PPC_VECTOR_STATE_COUNT;
342 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
350 state_count = PPC_VECTOR_STATE_COUNT;
351 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
659 state_count = PPC_THREAD_STATE64_COUNT;
660 if ((kretn = thread_setstatus(th_act, PPC_THREAD_STATE64, (void *)&mctx64.ss, state_count)) != KERN_SUCCESS) {
674 state_count = PPC_THREAD_STATE_COUNT;
675 if ((kretn = thread_setstatus(th_act, PPC_THREAD_STATE, (void *)&mctx.ss, state_count)) != KERN_SUCCESS) {
722 unsigned long state_count;
805 state_count = PPC_THREAD_STATE64_COUNT;
819 state_count = PPC_THREAD_STATE_COUNT;
827 if (thread_setstatus(th_act, state_flavor, tsptr, state_count) != KERN_SUCCESS) {
831 state_count = PPC_FLOAT_STATE_COUNT;
832 if (thread_setstatus(th_act, PPC_FLOAT_STATE, fptr, state_count) != KERN_SUCCESS) {
845 state_count = PPC_VECTOR_STATE_COUNT;
846 if (thread_setstatus(th_act, PPC_VECTOR_STATE, vptr, state_count) != KERN_SUCCESS) {