Searched refs:fn (Results 1 - 16 of 16) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/
H A Dkdp_callout.h38 * Register fn(arg, event) to be called at kdp entry/exit.
45 extern void kdp_register_callout(kdp_callout_fn_t fn, void *arg);
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_util.c106 isofncmp(u_char *fn, int fnlen, u_char *isofn, int isolen) argument
113 return *fn;
115 switch (*fn++) {
117 return *--fn;
123 for (i = 0; --fnlen >= 0; i = i * 10 + *fn++ - '0') {
124 if (*fn < '0' || *fn > '9') {
132 if (c != *fn) {
134 if (c + ('a' - 'A') != *fn) {
135 if (*fn >
173 ucsfncmp(u_int16_t *fn, int fnlen, u_int16_t *ucsfn, int ucslen) argument
[all...]
H A Diso.h397 int isofncmp(u_char *fn, int fnlen, u_char *isofn, int isolen);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/chud/
H A Dchud_bsd_callback.c46 extern void kdbg_control_chud(int val, void *fn);
58 chudxnu_kdebug_callback_func_t fn = kdebug_callback_fn; local
60 if(fn) {
61 (fn)(debugid, arg0, arg1, arg2, arg3, arg4);
96 chudxnu_syscall_callback_func_t fn = syscall_callback_fn; local
98 if(!fn) {
102 *retval = fn(uap->code, uap->arg1, uap->arg2, uap->arg3, uap->arg4, uap->arg5);
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/
H A Dchud_osfmk_callback.c94 chudxnu_dtrace_callback_t fn = dtrace_callback; local
96 if(fn) {
97 ret = fn(selector, args, count);
104 chudxnu_dtrace_callback_enter(chudxnu_dtrace_callback_t fn) argument
109 while(!OSCompareAndSwap((UInt32)old_fn, (UInt32)fn,
H A Dchud_xnu.h226 extern void chudxnu_dtrace_callback_enter(chudxnu_dtrace_callback_t fn);
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_osfmk_callback_i386.c119 chudxnu_cpu_timer_callback_func_t fn; local
130 fn = chud_proc_info->cpu_timer_callback_fn;
131 if (fn) {
135 (uint32_t)fn, 0,0,0,0);
137 (fn)(
234 chudxnu_trap_callback_func_t fn = trap_callback_fn; local
236 if(fn) {
263 retval = (fn)(
313 chudxnu_perfmon_ast_callback_func_t fn = perfmon_ast_callback_fn; local
325 if (fn) {
401 chudxnu_interrupt_callback_func_t fn = interrupt_callback_fn; local
448 chudxnu_cpusig_callback_func_t fn = cpusig_callback_fn; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_osfmk_callback_ppc.c98 chudxnu_cpu_timer_callback_func_t fn = NULL; local
105 fn = chud_proc_info->cpu_timer_callback_fn;
106 if(fn) {
107 (fn)(PPC_THREAD_STATE64, (thread_state_t)&state, count);
211 chudxnu_trap_callback_func_t fn = trap_callback_fn; local
214 if(fn) {
218 retval = (fn)(trapentry, PPC_THREAD_STATE64, (thread_state_t)&state, count);
259 chudxnu_perfmon_ast_callback_func_t fn = perfmon_ast_callback_fn; local
270 if(fn) {
276 (fn)(PPC_THREAD_STATE6
355 chudxnu_interrupt_callback_func_t fn = interrupt_callback_fn; local
396 chudxnu_cpusig_callback_func_t fn = cpusig_callback_fn; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/
H A DMPMMtest.c404 client_spin_loop(unsigned count, void (fn)(void)) argument
407 fn();
603 thread_spawn(thread_id_t *thread, void *(fn)(void *), void *arg) {
609 fn,
619 printf("calling 0x%x(0x%x)\n", fn, arg);
620 fn(arg);
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/
H A Dpool.c89 worker_fn_t *fn; member in struct:__anon1014
289 (void) sp->fn(workp->data, workp->isize);
421 sp->fn = producer_fnp;
424 sp->fn = consumer_fnp;
H A Dsets.c86 worker_fn_t *fn; member in struct:__anon1015
264 (void) sp->fn(workp->data, lp->isize);
456 sp->fn = producer_fnp;
459 sp->fn = consumer_fnp;
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dlocore.s123 #define CCALL(fn) \
126 call EXT(fn) ;\
129 #define CCALL1(fn, arg1) \
134 call EXT(fn) ;\
137 #define CCALL2(fn, arg1, arg2) \
143 call EXT(fn) ;\
150 #define CCALL5(fn, a1, a2, a3, a4, a5) \
159 call EXT(fn) ;\
H A Dmp.h172 extern void PM_interrupt_register(void (*fn)(void));
H A Dmp.c618 PM_interrupt_register(void (*fn)(void)) argument
620 mp_PM_func = fn;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c669 kdp_callout_fn_t fn,
679 kcp->callout_fn = fn;
668 kdp_register_callout( kdp_callout_fn_t fn, void *arg) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkdebug.c1025 * char *fn:
1030 kdbg_control_chud(int val, void *fn) argument
1034 kdebug_chudhook = fn;

Completed in 70 milliseconds