/darwin-on-arm/xnu/osfmk/kdp/ |
H A D | kdp_callout.h | 38 * Register fn(arg, event) to be called at kdp entry/exit. 45 extern void kdp_register_callout(kdp_callout_fn_t fn, void *arg);
|
/darwin-on-arm/xnu/bsd/dev/chud/ |
H A D | chud_bsd_callback.c | 53 extern void kdbg_control_chud(int val, void *fn); 70 chudxnu_kdebug_callback_func_t fn = kdebug_callback_fn; local 72 if(fn) { 73 (fn)(debugid, arg0, arg1, arg2, arg3, arg4); 134 * retval return value of fn (the function returned by syscall_callback_fn) 165 * Implicit returns: retval return value of fn (the function returned by syscall_callback_fn) 176 chudxnu_syscall_callback_func_t fn = syscall_callback_fn; 178 if(!fn) { 182 *retval = fn(uap->code, uap->arg1, uap->arg2, uap->arg3, uap->arg4, uap->arg5); 214 kern_return_t chudxnu_dtrace_callback_enter(chudxnu_dtrace_callback_t fn); 236 chudxnu_dtrace_callback_t fn = dtrace_callback; local 246 chudxnu_dtrace_callback_enter(chudxnu_dtrace_callback_t fn) argument [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | asm.h | 304 #define CCALL(fn) \ 307 call EXT(fn) ;\ 310 #define CCALL1(fn, arg1) \ 315 call EXT(fn) ;\ 318 #define CCALL2(fn, arg1, arg2) \ 324 call EXT(fn) ;\ 328 #define CCALL1WITHSP(fn, arg1) \ 336 call EXT(fn) ;\ 343 #define CCALL5(fn, a1, a2, a3, a4, a5) \ 352 call EXT(fn) ;\ [all...] |
H A D | trap.c | 531 perfCallback fn = perfTrapHook; local 532 if (__improbable(fn != NULL)) { 533 if (fn(type, NULL, 0, 0) == KERN_SUCCESS) { 992 perfCallback fn = perfTrapHook; local 993 if (__improbable(fn != NULL)) { 994 if (fn(type, saved_state, 0, 0) == KERN_SUCCESS)
|
H A D | mp.h | 190 extern void PM_interrupt_register(void (*fn)(void));
|
H A D | mp.c | 653 PM_interrupt_register(void (*fn)(void)) argument 655 mp_PM_func = fn;
|
/darwin-on-arm/xnu/osfmk/chud/i386/ |
H A D | chud_osfmk_callback_i386.c | 134 chudxnu_cpu_timer_callback_func_t fn; local 145 fn = chud_proc_info->cpu_timer_callback_fn; 146 if (fn) { 147 (fn)( 244 chudxnu_trap_callback_func_t fn = trap_callback_fn; local 246 if(fn) { 273 retval = (fn)( 338 chudxnu_perfmon_ast_callback_func_t fn = perfmon_ast_callback_fn; local 340 if (fn) { 366 (fn)(x86_THREAD_STAT 444 chudxnu_interrupt_callback_func_t fn = interrupt_callback_fn; local 502 chudxnu_cpusig_callback_func_t fn = cpusig_callback_fn; local [all...] |
/darwin-on-arm/xnu/tools/tests/superpages/ |
H A D | testsp.c | 45 boolean_t (*fn)(); member in struct:__anon1426 49 check_kr(int kr, char *fn) { argument 51 sprintf(error, "%s() returned %d", fn, kr); 58 check_addr0(mach_vm_address_t addr, char *fn) { argument 60 sprintf(error, "%s() returned address 0", fn); 67 check_addr(mach_vm_address_t addr1, mach_vm_address_t addr2, char *fn) { argument 69 sprintf(error, "%s() returned address %llx instead of %llx", fn, addr1, addr2); 618 ret = test[i].fn();
|
/darwin-on-arm/xnu/tools/tests/MPMMTest/ |
H A D | MPMMtest.c | 425 client_spin_loop(unsigned count, void (fn)(void)) argument 428 fn(); 613 thread_spawn(thread_id_t *thread, void *(fn)(void *), void *arg) { 619 fn, 629 printf("calling %p(%p)\n", fn, arg); 630 fn(arg);
|
H A D | KQMPMMtest.c | 478 client_spin_loop(unsigned count, void (fn)(void)) argument 481 fn(); 666 thread_spawn(thread_id_t *thread, void *(fn)(void *), void *arg) { 672 fn, 682 printf("calling %p(%p)\n", fn, arg); 683 fn(arg);
|
/darwin-on-arm/xnu/tools/tests/affinity/ |
H A D | pool.c | 89 worker_fn_t *fn; member in struct:__anon1336 289 (void) sp->fn(workp->data, workp->isize); 421 sp->fn = producer_fnp; 424 sp->fn = consumer_fnp;
|
H A D | sets.c | 86 worker_fn_t *fn; member in struct:__anon1337 264 (void) sp->fn(workp->data, lp->isize); 456 sp->fn = producer_fnp; 459 sp->fn = consumer_fnp;
|
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/ |
H A D | kdp_machdep.c | 352 kdp_callout_fn_t fn, 362 kcp->callout_fn = fn; 351 kdp_register_callout( kdp_callout_fn_t fn, void *arg) argument
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.c | 177 _audit_malloc(size_t size, au_malloc_type_t *type, int flags, const char *fn) argument 207 type->mt_lastcaller = fn;
|
H A D | audit_bsd.h | 159 const char *fn);
|
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/ |
H A D | kdp_machdep.c | 660 kdp_callout_fn_t fn, 670 kcp->callout_fn = fn; 659 kdp_register_callout( kdp_callout_fn_t fn, void *arg) argument
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkmakefile.c | 105 const char *tail(const char *fn); 883 tail(const char *fn) argument 887 cp = rindex(fn, '/'); 889 return (fn);
|
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/ |
H A D | kdp_machdep.c | 668 kdp_callout_fn_t fn, 678 kcp->callout_fn = fn; 667 kdp_register_callout( kdp_callout_fn_t fn, void *arg) argument
|
/darwin-on-arm/xnu/osfmk/chud/ |
H A D | chud_xnu.h | 245 extern kern_return_t chudxnu_dtrace_callback_enter(chudxnu_dtrace_callback_t fn);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kdebug.c | 1764 * char *fn: 1769 kdbg_control_chud(int val, void *fn) argument 1775 kdebug_chudhook = fn;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf.c | 9287 hook_establish(struct hook_desc_head *head, int tail, hook_fn_t fn, void *arg) argument 9295 hd->hd_fn = fn;
|