Searched refs:flavor (Results 1 - 25 of 65) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_xnu_private.h37 thread_flavor_t flavor,
44 thread_flavor_t flavor,
H A Dchud_thread_ppc.c52 kern_return_t chudxnu_copy_savearea_to_threadstate(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count, struct savearea *sv) argument
57 switch(flavor) {
170 kern_return_t chudxnu_copy_threadstate_to_savearea(struct savearea *sv, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument
175 switch(flavor) {
287 thread_flavor_t flavor,
292 if(flavor==PPC_THREAD_STATE || flavor==PPC_THREAD_STATE64) { // machine_thread_get_state filters out some bits
299 return chudxnu_copy_savearea_to_threadstate(flavor, tstate, count, sv);
302 return machine_thread_get_state(thread, flavor, tstate, count);
305 return machine_thread_get_kern_state(thread, flavor, tstat
286 chudxnu_thread_get_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count, boolean_t user_only) argument
311 chudxnu_thread_set_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count, boolean_t user_only) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp_internal.h132 unsigned int flavor,
141 unsigned int flavor,
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmachine.h77 processor_flavor_t flavor,
83 processor_flavor_t flavor,
H A Dexception.h46 thread_state_flavor_t flavor; /* state flavor to send */ member in struct:exception_action
H A Dexception.c154 int flavor; local
187 flavor = excp->flavor;
206 state_cnt = _MachineStateCount[flavor];
207 kr = thread_getstatus(thread, flavor,
216 &flavor,
223 &flavor,
228 kr = thread_setstatus(thread, flavor,
261 state_cnt = _MachineStateCount[flavor];
262 kr = thread_getstatus(thread, flavor,
[all...]
H A Dprocessor.c226 processor_flavor_t flavor,
229 switch (flavor) {
240 return (cpu_info_count(flavor, count));
250 processor_flavor_t flavor,
263 switch (flavor) {
315 result = cpu_info(flavor, cpu_num, info, count);
483 int flavor,
491 if (flavor == PROCESSOR_SET_BASIC_INFO) {
505 else if (flavor == PROCESSOR_SET_TIMESHARE_DEFAULT) {
518 else if (flavor
225 processor_info_count( processor_flavor_t flavor, mach_msg_type_number_t *count) argument
248 processor_info( register processor_t processor, processor_flavor_t flavor, host_t *host, processor_info_t info, mach_msg_type_number_t *count) argument
481 processor_set_info( processor_set_t pset, int flavor, host_t *host, processor_set_info_t info, mach_msg_type_number_t *count) argument
609 processor_set_statistics( processor_set_t pset, int flavor, processor_set_info_t info, mach_msg_type_number_t *count) argument
915 processor_set_policy_control( __unused processor_set_t pset, __unused int flavor, __unused processor_set_info_t policy_info, __unused mach_msg_type_number_t count, __unused boolean_t change) argument
[all...]
H A Dtask_policy.c44 task_policy_flavor_t flavor,
53 switch (flavor) {
185 task_policy_flavor_t flavor,
193 switch (flavor) {
42 task_policy_set( task_t task, task_policy_flavor_t flavor, task_policy_t policy_info, mach_msg_type_number_t count) argument
183 task_policy_get( task_t task, task_policy_flavor_t flavor, task_policy_t policy_info, mach_msg_type_number_t *count, boolean_t *get_default) argument
H A Dthread_act.c393 thread_flavor_t flavor,
406 thread, flavor, thread_info_out, thread_info_count);
418 int flavor,
438 thread, flavor, state, state_count);
450 thread, flavor, state, state_count);
467 int flavor,
487 thread, flavor, state, state_count);
499 thread, flavor, state, state_count);
607 int flavor,
612 return (thread_set_state(thread, flavor, tstat
391 thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count) argument
416 thread_get_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *state_count) argument
465 thread_set_state( register thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t state_count) argument
605 thread_setstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t count) argument
621 thread_getstatus( register thread_t thread, int flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument
821 act_set_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t count) argument
835 act_get_state( thread_t thread, int flavor, thread_state_t state, mach_msg_type_number_t *count) argument
[all...]
H A Dhost.c143 host_flavor_t flavor,
151 switch (flavor) {
262 host_flavor_t flavor,
270 switch(flavor) {
414 host_flavor_t flavor,
418 return(host_statistics((host_t)host_priv, flavor, info, count));
520 processor_flavor_t flavor,
538 result = processor_info_count(flavor, &icount);
555 result = processor_info(processor, flavor, &thost, info, &tcount);
569 result = processor_info(processor, flavor,
141 host_info( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument
260 host_statistics( host_t host, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument
412 host_priv_statistics( host_priv_t host_priv, host_flavor_t flavor, host_info_t info, mach_msg_type_number_t *count) argument
518 host_processor_info( host_t host, processor_flavor_t flavor, natural_t *out_pcount, processor_info_array_t *out_array, mach_msg_type_number_t *out_array_count) argument
[all...]
H A Dclock_oldops.c139 clock_flavor_t flavor,
153 clock_flavor_t flavor,
321 clock_flavor_t flavor,
328 return (clock->cl_ops->c_getattr(flavor, attr, count));
334 clock_flavor_t flavor,
341 switch (flavor) {
359 clock_flavor_t flavor,
366 switch (flavor) {
404 __unused clock_flavor_t flavor,
319 clock_get_attributes( clock_t clock, clock_flavor_t flavor, clock_attr_t attr, mach_msg_type_number_t *count) argument
333 rtclock_getattr( clock_flavor_t flavor, clock_attr_t attr, mach_msg_type_number_t *count) argument
358 calend_getattr( clock_flavor_t flavor, clock_attr_t attr, mach_msg_type_number_t *count) argument
402 clock_set_attributes( clock_t clock, __unused clock_flavor_t flavor, __unused clock_attr_t attr, __unused mach_msg_type_number_t count) argument
H A Dipc_host.c581 * Sets the host exception port, flavor and
626 * the flavor in the generated exception message might be garbage:
637 host_priv->exc_actions[i].flavor = new_flavor;
660 * and flavor of said port.
707 && host_priv->exc_actions[i].flavor == flavors[j])
718 flavors[j] = host_priv->exc_actions[i].flavor;
768 * the flavor in the generated exception message might be garbage:
784 && host_priv->exc_actions[i].flavor == flavors[j])
795 flavors[j] = host_priv->exc_actions[i].flavor;
802 host_priv->exc_actions[i].flavor
[all...]
H A Dthread.h451 int flavor,
457 int flavor,
463 thread_flavor_t flavor,
511 thread_flavor_t flavor,
517 thread_flavor_t flavor,
543 thread_flavor_t flavor,
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/
H A Dexc_catcher_state.c46 int *flavor,
64 return (*func)(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
67 return catch_exception_raise_state(exception_port, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
41 internal_catch_exception_raise_state( mach_port_t exception_port, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
H A Dexc_catcher_state_identity.c48 int *flavor,
66 return (*func)(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
69 return catch_exception_raise_state_identity(exception_port, thread, task, exception, code, codeCnt, flavor, old_state, old_stateCnt, new_state, new_stateCnt);
41 internal_catch_exception_raise_state_identity( mach_port_t exception_port, mach_port_t thread, mach_port_t task, exception_type_t exception, exception_data_t code, mach_msg_type_number_t codeCnt, int *flavor, thread_state_t old_state, mach_msg_type_number_t old_stateCnt, thread_state_t new_state, mach_msg_type_number_t *new_stateCnt) argument
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dserial_io.h97 dev_flavor_t flavor,
103 dev_flavor_t flavor,
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/i386/
H A Dkd_entries.h59 dev_flavor_t flavor,
64 dev_flavor_t flavor,
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dunix_signal.c64 extern kern_return_t thread_getstatus(register thread_t act, int flavor,
66 extern kern_return_t thread_setstatus(thread_t thread, int flavor,
119 int oonstack, flavor; local
149 flavor = x86_THREAD_STATE64;
152 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
155 flavor = x86_FLOAT_STATE64;
158 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
161 flavor = x86_EXCEPTION_STATE64;
164 if (thread_getstatus(thread, flavor, (thread_state_t)state, &state_count) != KERN_SUCCESS)
256 flavor
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/
H A Dchud_xnu.h61 extern kern_return_t chudxnu_thread_get_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count, boolean_t user_only);
62 extern kern_return_t chudxnu_thread_set_state(thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count, boolean_t user_only);
79 extern kern_return_t chudxnu_thread_info( thread_t thread, thread_flavor_t flavor, thread_info_t thread_info_out, mach_msg_type_number_t *thread_info_count);
158 typedef kern_return_t (*chudxnu_cpu_timer_callback_func_t)(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
174 typedef kern_return_t (*chudxnu_trap_callback_func_t)(uint32_t trapentry, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
189 typedef kern_return_t (*chudxnu_interrupt_callback_func_t)(uint32_t trapentry, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
194 typedef kern_return_t (*chudxnu_perfmon_ast_callback_func_t)(thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
200 typedef kern_return_t (*chudxnu_cpusig_callback_func_t)(int request, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dsystemcalls.c89 boolean_t flavor; local
91 flavor = (((unsigned int)regs->save_r0) == 0)? 1: 0;
93 if (flavor)
99 if (flavor)
147 if ( !flavor) {
H A Dunix_signal.c56 extern kern_return_t thread_getstatus(register thread_t act, int flavor,
59 extern kern_return_t thread_setstatus(thread_t thread, int flavor,
207 int flavor; local
284 flavor = PPC_THREAD_STATE;
287 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
291 flavor = PPC_THREAD_STATE64;
294 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
299 flavor = PPC_EXCEPTION_STATE;
302 if (thread_getstatus(th_act, flavor, (thread_state_t)tstate, &state_count) != KERN_SUCCESS)
307 flavor
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dcpu.c64 __unused processor_flavor_t flavor,
74 processor_flavor_t flavor,
80 flavor, slot_num, info, count);
63 cpu_info_count( __unused processor_flavor_t flavor, unsigned int *count) argument
73 cpu_info( processor_flavor_t flavor, int slot_num, processor_info_t info, unsigned int *count) argument
H A Dpcb.c104 * Maps state flavor to number of words in the state:
470 * flavor and not task's 64-bit feature flag because of the
947 thread_flavor_t flavor,
951 switch (flavor) {
1110 if (state->fsh.flavor == x86_FLOAT_STATE64 && state->fsh.count == x86_FLOAT_STATE64_COUNT &&
1114 if (state->fsh.flavor == x86_FLOAT_STATE32 && state->fsh.count == x86_FLOAT_STATE32_COUNT &&
1152 if (state->tsh.flavor == x86_THREAD_STATE64 &&
1156 } else if (state->tsh.flavor == x86_THREAD_STATE32 &&
1202 if (state->dsh.flavor == x86_DEBUG_STATE64 &&
1208 if (state->dsh.flavor
945 machine_thread_set_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t count) argument
1231 machine_thread_get_state( thread_t thr_act, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument
1546 machine_thread_get_kern_state( thread_t thread, thread_flavor_t flavor, thread_state_t tstate, mach_msg_type_number_t *count) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/
H A Dthread_status.h122 * an exception flavor will return if that is a defined flavor for that
142 int flavor; member in struct:x86_state_hdr
270 * choose the most efficient state flavor for exception RPC's:
328 * state flavor is most efficient for exception RPC's to kernel-loaded
482 uint32_t flavor; member in struct:__anon868
494 return (iss->flavor == x86_SAVED_STATE64);
500 return (iss->flavor == x86_SAVED_STATE32);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dproc_info.c86 int proc_info_internal(int callnum, int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, register_t * retval);
90 int proc_pidinfo(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, register_t * retval);
91 int proc_pidfdinfo(int pid, int flavor,int fd, user_addr_t buffer, uint32_t buffersize, register_t * retval);
98 int proc_pidallinfo(proc_t p, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, register_t *retval);
131 return(proc_info_internal(uap->callnum, uap->pid, uap->flavor, uap->arg, uap->buffer, uap->buffersize, retval));
136 proc_info_internal(int callnum, int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, register_t * retval) argument
141 /* pid contains type and flavor contains typeinfo */
142 return(proc_listpids(pid, flavor, buffer, buffersize, retval));
144 return(proc_pidinfo(pid, flavor, arg, buffer, buffersize, retval));
146 return(proc_pidfdinfo(pid, flavor, (in
672 proc_pidinfo(int pid, int flavor, uint64_t arg, user_addr_t buffer, uint32_t buffersize, register_t * retval) argument
1058 proc_pidfdinfo(int pid, int flavor, int fd, user_addr_t buffer, uint32_t buffersize, register_t * retval) argument
[all...]

Completed in 141 milliseconds

123