Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 123) sorted by relevance

12345

/xnu-11215/tools/lldbmacros/
H A Dpci.py53 def DoPciCfgRead(bits, bus, dev, func, offs): argument
75 def ShowPciCfgBytes(bus, dev, func, offset): argument
100 def DoPciCfgDump(bus, dev, func): argument
132 for func in range(max_func))
140 func = bdf['func']
147 bus, dev, func,
154 DoPciCfgDump(bus, dev, func)
172 func = ArgumentStringToInt(cmd_args[3])
205 func = ArgumentStringToInt(cmd_args[3])
229 func = ArgumentStringToInt(cmd_args[2])
[all …]
/xnu-11215/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h333 PICIFY(func) ; \
337 call func
351 #define CALL_EXTERN(func) \
352 CALL_EXTERN_AGAIN(func) ; \
353 NON_LAZY_STUB(func)
357 PICIFY(func) ; \
359 NON_LAZY_STUB(func)
362 jmp func
398 #define BRANCH_EXTERN(func) jmp func
400 #define CALL_EXTERN(func) call func
[all …]
/xnu-11215/osfmk/tests/
H A Dxnupost.h81 #define T_REGISTER_PANIC_WIDGET(func, ctx, outval) xnupost_register_panic_widget((func), #func, (ct… argument
92 #define XNUPOST_TEST_CONFIG_BASIC(func) \ argument
101 .xt_func = (func), \
102 .xt_name = "xnu."#func \
105 #define XNUPOST_TEST_CONFIG_TEST_PANIC(func) \ argument
114 .xt_func = (func), \
115 .xt_name = "xnu."#func \
/xnu-11215/osfmk/i386/
H A Dmachdep_call.h58 #define MACHDEP_CALL_ROUTINE(func, args) \ argument
59 { { .args_ ## args = func }, args, 0 }
61 #define MACHDEP_CALL_ROUTINE64(func, args) \ argument
62 { { .args64_ ## args = func }, args, 0 }
64 #define MACHDEP_BSD_CALL_ROUTINE(func, args) \ argument
65 { { .args_bsd_ ## args = func }, args, 1 }
67 #define MACHDEP_BSD_CALL_ROUTINE64(func, args) \ argument
68 { { .args64_bsd_ ## args = func }, args, 1 }
H A Dpal_routines.c146 _pal_efi_call_in_64bit_mode_asm(uint64_t func,
152 pal_efi_call_in_64bit_mode(uint64_t func, in pal_efi_call_in_64bit_mode() argument
159 func, efi_reg, stack_contents, stack_contents_size, efi_status); in pal_efi_call_in_64bit_mode()
161 if (func == 0) { in pal_efi_call_in_64bit_mode()
175 if (func < VM_MIN_KERNEL_ADDRESS) { in pal_efi_call_in_64bit_mode()
183 _pal_efi_call_in_64bit_mode_asm(func, in pal_efi_call_in_64bit_mode()
194 _pal_efi_call_in_32bit_mode_asm(uint32_t func,
200 pal_efi_call_in_32bit_mode(uint32_t func, in pal_efi_call_in_32bit_mode() argument
209 if (func == 0) { in pal_efi_call_in_32bit_mode()
274 _pal_efi_call_in_32bit_mode_asm(func, in pal_efi_call_in_32bit_mode()
[all …]
H A Dlapic.h301 extern void lapic_set_intr_func(int intr, i386_intr_func_t func);
306 lapic_set_timer_func(i386_intr_func_t func) in lapic_set_timer_func() argument
308 lapic_set_intr_func(LAPIC_VECTOR(TIMER), func); in lapic_set_timer_func()
320 lapic_set_thermal_func(i386_intr_func_t func) in lapic_set_thermal_func() argument
322 lapic_set_intr_func(LAPIC_VECTOR(THERMAL), func); in lapic_set_thermal_func()
325 lapic_set_cmci_func(i386_intr_func_t func) in lapic_set_cmci_func() argument
327 lapic_set_intr_func(LAPIC_VECTOR(CMCI), func); in lapic_set_cmci_func()
330 lapic_set_pm_func(i386_intr_func_t func) in lapic_set_pm_func() argument
332 lapic_set_intr_func(LAPIC_VECTOR(PM), func); in lapic_set_pm_func()
H A Dacpi.c124 acpi_sleep_callback func; member
172 (data->func)(data->refcon); in acpi_hibernate()
182 acpi_sleep_kernel(acpi_sleep_callback func, void *refcon) in acpi_sleep_kernel() argument
216 data.func = func; in acpi_sleep_kernel()
260 acpi_sleep_cpu(func, refcon); in acpi_sleep_kernel()
428 acpi_idle_kernel(acpi_sleep_callback func, void *refcon) in acpi_idle_kernel() argument
468 func(refcon); in acpi_idle_kernel()
H A Dacpi.h48 extern void acpi_sleep_kernel(acpi_sleep_callback func, void * refcon);
49 extern void acpi_idle_kernel(acpi_sleep_callback func, void * refcon);
H A Dasm.h214 #define Gcall(func) call func argument
229 #define Gcall(func) call EXT(func)@PLT argument
243 #define Gcall(func) call *9f; .data; .align ALIGN; 9: .long func; .text argument
257 #define Egcall(func) Gcall(EXT(func)) argument
/xnu-11215/osfmk/kern/
H A Dstartup.h215 #define STARTUP(subsystem, rank, func) \ argument
216 __STARTUP(func, __LINE__, subsystem, rank, func)
224 #define STARTUP_ARG(subsystem, rank, func, arg) \ argument
225 __STARTUP_ARG(func, __LINE__, subsystem, rank, func, arg)
745 #define __STARTUP_FUNC_CAST(func, a) \
746 (void(*)(const void *))func
748 #define __STARTUP_FUNC_CAST(func, a) \
749 (typeof(func(a))(*)(const void *))func
758 rank, __STARTUP_FUNC_CAST(func, a), b, \
761 #define __STARTUP(name, line, subsystem, rank, func) \
[all …]
H A Dthread_call.h253 thread_call_func_t func,
267 thread_call_func_t func,
283 thread_call_func_t func,
301 thread_call_allocate_with_qos(thread_call_func_t func,
400 thread_call_func_t func,
405 thread_call_func_t func,
429 thread_call_func_t func,
434 thread_call_func_t func,
447 thread_call_func_t func,
H A Dexclaves_boot.h61 #define __EXCLAVES_BOOT_TASK(name, line, rank, func) \ argument
66 .ebt_func = func, \
73 #define EXCLAVES_BOOT_TASK(func, rank) \ argument
74 __EXCLAVES_BOOT_TASK(func, __LINE__, rank, func)
H A Dthread_call.c556 thread_call_func_t func, in thread_call_setup_with_options() argument
561 if (func == NULL) { in thread_call_setup_with_options()
568 .tc_func = func, in thread_call_setup_with_options()
605 thread_call_func_t func, in thread_call_setup() argument
893 if (call->tc_func != func || in _cancel_func_from_queue()
921 thread_call_func_t func, in thread_call_func_delayed() argument
937 thread_call_func_t func, in thread_call_func_delayed_with_leeway() argument
972 if (func == NULL) { in thread_call_func_cancel()
1693 (*func)(param0, param1); in thread_call_invoke()
1763 if (func == NULL) { in thread_call_thread()
[all …]
/xnu-11215/san/tools/
H A Dgenerate_dynamic_blacklist.py15 def print_entry(kext, func, type): argument
17 strfunc = '"' + func + '"' if func != "" else "NULL"
60 kext, func, ty = extract_symbol(line) variable
61 print_entry(kext, func, ty)
/xnu-11215/osfmk/arm/
H A Dcpu_common.c251 broadcastFunc func, in cpu_broadcast_xcall_internal() argument
263 assert(func); in cpu_broadcast_xcall_internal()
289 func(parm); in cpu_broadcast_xcall_internal()
311 broadcastFunc func, in cpu_broadcast_xcall() argument
318 broadcastFunc func; member
328 data->func(data->parm); in cpu_broadcast_xcall_simple_cbk()
337 broadcastFunc func, in cpu_xcall_simple() argument
343 data.func = func; in cpu_xcall_simple()
351 broadcastFunc func, in cpu_broadcast_xcall_simple() argument
354 return cpu_xcall_simple(self_xcall, func, parm, false); in cpu_broadcast_xcall_simple()
[all …]
/xnu-11215/san/memory/
H A Dkasan.h108 int (* func)(struct kasan_test *); member
150 #define KASAN_DECLARE_FOREACH_WIDTH(ret, func, ...) \ argument
151 ret func ## 1(__VA_ARGS__); \
152 ret func ## 2(__VA_ARGS__); \
153 ret func ## 4(__VA_ARGS__); \
154 ret func ## 8(__VA_ARGS__); \
155 ret func ## 16(__VA_ARGS__)
H A Dkasan_dynamic_blacklist.c465 add_blacklist_entry(const char *kext, const char *func, access_t type) in add_blacklist_entry() argument
467 assert(kext || func); in add_blacklist_entry()
483 if (func) { in add_blacklist_entry()
484 size_t sz = __nosan_strlen(func) + 1; in add_blacklist_entry()
487 __nosan_strlcpy(s, func, sz); in add_blacklist_entry()
562 char *func = strchr(kext, ':'); in kasan_init_dybl() local
563 if (func) { in kasan_init_dybl()
564 *func++ = 0; in kasan_init_dybl()
566 char *typestr = strchr(func, ':'); in kasan_init_dybl()
571 add_blacklist_entry(kext, func, type); in kasan_init_dybl()
/xnu-11215/osfmk/arm64/
H A Dplatform_tests.c466 func(); in lt_trylock_thread()
649 func(); in lt_thread()
686 func(); in lt_bound_thread()
700 func(); in lt_e_thread()
714 func(); in lt_p_thread()
1676 panic_lockdown_helper_fcn_t *func; member
1729 fault_pc = (uintptr_t)test->func; in panic_lockdown_expect_test()
1745 (void)test->func(test->arg); in panic_lockdown_expect_test()
2292 bti_landing_pad_func_t *func; member
2335 (void *)test_case->func, in arm64_bti_test_func_with_shim()
[all …]
/xnu-11215/osfmk/x86_64/
H A Dmachine_remote_time.c53 mach_bridge_register_regwrite_timestamp_callback(mach_bridge_regwrite_timestamp_func_t func) in mach_bridge_register_regwrite_timestamp_callback() argument
63 bridge_regwrite_timestamp_callback = func; in mach_bridge_register_regwrite_timestamp_callback()
64 bt_enable_flag = (func != NULL) ? 1 : 0; in mach_bridge_register_regwrite_timestamp_callback()
/xnu-11215/iokit/Kernel/
H A DIOTimerEventSource.cpp246 thread_call_func_t func = NULL; in setTimeoutFunc() local
251 func = &IOTimerEventSource::timeoutAndRelease; in setTimeoutFunc()
256 func = &IOTimerEventSource::timeoutAndRelease; in setTimeoutFunc()
261 func = &IOTimerEventSource::timeoutAndRelease; in setTimeoutFunc()
266 func = &IOTimerEventSource::timeoutAndRelease; in setTimeoutFunc()
271 func = &IOTimerEventSource::timeoutAndRelease; in setTimeoutFunc()
280 func = &IOTimerEventSource::timeoutSignaled; in setTimeoutFunc()
287 assertf(func, "IOTimerEventSource options 0x%x", options); in setTimeoutFunc()
288 if (!func) { in setTimeoutFunc()
301 calloutEntry = (void *) thread_call_allocate_with_options(func, in setTimeoutFunc()
H A DIOCommandPool.cpp158 IOCommandGate::Action func = OSMemberFunctionCast( in getCommand() local
161 runAction(func, (void *) &command, (void *) blockForCommand); in getCommand()
202 IOCommandGate::Action func = OSMemberFunctionCast( in returnCommand() local
204 (void) fSerializer->runAction(func, (void *) command); in returnCommand()
/xnu-11215/bsd/sys/
H A Deventhandler.h167 #define EVENTHANDLER_DEFINE(evthdlr_ref, name, func, arg, priority) \ argument
171 name ## _tag = EVENTHANDLER_REGISTER(evthdlr_ref, name, func, ctx, \
186 #define EVENTHANDLER_REGISTER(evthdlr_ref, name, func, arg, priority) \ argument
187 …eventhandler_register(evthdlr_ref, NULL, #name, ptrauth_nop_cast(void * __single, func), arg, prio…
202 …struct eventhandler_list *list, const char *name, void *func, struct eventhandler_entry_arg arg, i…
/xnu-11215/tests/
H A Dos_refcnt.c20 void handle_panic(const char *func, char *str, ...);
322 handle_panic(const char *func, char *__unused str, ...) in handle_panic() argument
326 T_FAIL("unexpected panic from %s", func); in handle_panic()
332 if (strcmp(func, "os_ref_panic_underflow") == 0) { in handle_panic()
334 } else if (strcmp(func, "os_ref_panic_overflow") == 0) { in handle_panic()
336 } else if (strcmp(func, "os_ref_panic_retain") == 0) { in handle_panic()
338 } else if (strcmp(func, "os_ref_panic_live") == 0) { in handle_panic()
341 T_LOG("unexpected panic from %s", func); in handle_panic()
554 func(void *_rc) in func() function
571 T_ASSERT_POSIX_ZERO(pthread_create(&th1, NULL, func, &rc), "pthread_create");
[all …]
/xnu-11215/bsd/net/
H A Dinit.c50 net_init_func_ptr func; member
73 entry->func = init_func; in net_init_add()
115 current->func(); in net_init_run()
/xnu-11215/bsd/netinet/
H A Dip_encap.c176 if (ep->func) { in encap4_input()
177 prio = (*ep->func)(m, off, proto, ep->arg); in encap4_input()
267 if (ep->func) { in encap6_input()
268 prio = (*ep->func)(m, *offp, proto, ep->arg); in encap6_input()
392 int (*func)(const struct mbuf *, int, int, void *), in encap_attach_func()
399 if (!func) { in encap_attach_func()
408 ep->func = func; in encap_attach_func()

12345