Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 101) sorted by relevance

12345

/xnu-11215/iokit/Kernel/
H A DIOInterruptController.cpp175 vector->source = 0; in registerInterrupt()
213 vector->source = source; in registerInterrupt()
263 vector->source = 0; in unregisterInterrupt()
388 int source) in handleInterrupt() argument
595 int source, in registerInterrupt() argument
650 vector->source = source; in registerInterrupt()
671 int source) in unregisterInterrupt() argument
685 || (vector->nub != nub) || (vector->source != source)) { in unregisterInterrupt()
703 vector->source = 0; in unregisterInterrupt()
735 int source) in enableInterrupt() argument
[all …]
H A DIOCPU.cpp119 PE_cpu_signal(cpu_id_t source, cpu_id_t target) in PE_cpu_signal() argument
121 IOCPU *sourceCPU = (IOCPU *)source; in PE_cpu_signal()
130 IOCPU *sourceCPU = (IOCPU *)source; in PE_cpu_signal_deferred()
139 IOCPU *sourceCPU = (IOCPU *)source; in PE_cpu_signal_cancel()
700 int source, in registerInterrupt() argument
710 if (source >= numSources) { in registerInterrupt()
714 vector = &vectors[source]; in registerInterrupt()
728 vector->source = source; in registerInterrupt()
792 int source) in handleInterrupt() argument
796 vector = &vectors[source]; in handleInterrupt()
[all …]
/xnu-11215/iokit/IOKit/
H A DIOInterruptController.h53 int source; member
80 virtual IOReturn registerInterrupt(IOService *nub, int source,
84 virtual IOReturn unregisterInterrupt(IOService *nub, int source);
86 virtual IOReturn getInterruptType(IOService *nub, int source,
89 virtual IOReturn enableInterrupt(IOService *nub, int source);
90 virtual IOReturn disableInterrupt(IOService *nub, int source);
91 virtual IOReturn causeInterrupt(IOService *nub, int source);
95 int source);
147 virtual IOReturn registerInterrupt(IOService *nub, int source,
153 virtual IOReturn getInterruptType(IOService *nub, int source,
[all …]
H A DPassthruInterruptController.h56 virtual IOReturn registerInterrupt(IOService *nub, int source,
61 virtual IOReturn getInterruptType(IOService *nub, int source,
64 virtual IOReturn enableInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
65 virtual IOReturn disableInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
66 virtual IOReturn causeInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
69 int source) APPLE_KEXT_OVERRIDE;
H A DIOCPU.h132 virtual IOReturn registerInterrupt(IOService *nub, int source,
137 virtual IOReturn getInterruptType(IOService *nub, int source,
140 virtual IOReturn enableInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
141 virtual IOReturn disableInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
142 virtual IOReturn causeInterrupt(IOService *nub, int source) APPLE_KEXT_OVERRIDE;
145 int source) APPLE_KEXT_OVERRIDE;
/xnu-11215/tests/
H A Dtask_suspend_stats.c121 task_suspend_source_t source = &sources[i]; in log_sources() local
122 uint64_t source_ago = (now - source->tss_time) * timebase.numer / timebase.denom; in log_sources()
124 …name, i, source_ago / nanosec, source_ago % nanosec, source->tss_pid, source->tss_tid, source->tss… in log_sources()
138 verify_source(task_suspend_source_t source) in verify_source() argument
143 T_EXPECT_EQ(source->tss_pid, getpid(), "suspend source should mark suspender as current task"); in verify_source()
144 …T_EXPECT_EQ(source->tss_tid, get_thread_id(), "suspend source should mark suspender as current thr… in verify_source()
145 T_EXPECT_GT(source->tss_time, 0ull, "suspend source should have non-zero time"); in verify_source()
146 …T_EXPECT_EQ_STR(source->tss_procname, procname, "suspend source should have procname matching curr… in verify_source()
404 task_suspend_source_t source = &sources[i]; variable
405 verify_source(source);
[all …]
H A Dposix_spawnattr_set_crash_behavior_np_child.c47 dispatch_source_t source = dispatch_source_create(DISPATCH_SOURCE_TYPE_SIGNAL, SIGUSR1, 0, NULL); in main() local
48 dispatch_source_set_event_handler(source, ^{ in main()
51 dispatch_activate(source); in main()
/xnu-11215/tools/lldbmacros/
H A Dtaskinfo.py54 source = sources[i]
56 …time_ago_sec = kern.GetNanotimeFromAbstime(source.tss_time - recent_time) / 1e9 if source.tss_time…
57 procname = str(source.tss_procname) if str(source.tss_procname) != '' else 'nil'
/xnu-11215/libkern/libkern/c++/
H A DOSSharedPtr.h87 OSDynamicPtrCast(OSSharedPtr<Source> const& source) in OSDynamicPtrCast() argument
89 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast()
100 OSDynamicPtrCast(OSSharedPtr<Source> && source) in OSDynamicPtrCast() argument
102 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast()
107 source.detach(); // we stole the retain! in OSDynamicPtrCast()
114 OSDynamicPtrCast(OSTaggedSharedPtr<Source, Tag> const& source) in OSDynamicPtrCast() argument
116 Destination* raw = OSDynamicCast(Destination, source.get()); in OSDynamicPtrCast()
/xnu-11215/libkern/zlib/
H A Dcompress.c54 compress2(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, in compress2() argument
60 stream.next_in = (Bytef*)source; in compress2()
91 compress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) in compress() argument
93 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION); in compress()
H A Duncompr.c58 uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen) in uncompress() argument
63 stream.next_in = (Bytef*)source; in uncompress()
/xnu-11215/osfmk/tests/
H A Dbcopy_test.c44 int source = 42; in sysctl_test_memmove() local
46 void* memmove_ret = __xnu_memmove(&dest, &source, sizeof(int)); in sysctl_test_memmove()
52 if (source != 42) { in sysctl_test_memmove()
/xnu-11215/iokit/DriverKit/
H A DIOServiceStateNotificationDispatchSource.iig51 …* @param queue IODispatchQueue the source is attached to. Note that the StateNotificationRea…
54 * @param source Created source with +1 retain count to be released by the caller.
58 …SArray * items, IODispatchQueue * queue, IOServiceStateNotificationDispatchSource ** source) LOCAL;
63 * @param enable Pass true to enable the source or false to disable.
74 * @brief Cancel all callbacks from the event source.
75 * @discussion After cancellation, the source can only be freed. It cannot be reactivated.
85 * until SetHandler is called again or the event source is cancelled.
H A DIOInterruptDispatchSource.iig73 * @param source Created source with +1 retain count to be released by the caller.
80 IOInterruptDispatchSource ** source) LOCAL;
86 * @param interruptType The interrupt type for the interrupt source will be stored here.
107 * until SetHandler is called again or the event source is cancelled.
115 * @brief Control the enable state of the interrupt source.
116 * @param enable Pass true to enable the source or false to disable.
127 * @brief Cancel all callbacks from the event source.
128 * @discussion After cancellation, the source can only be freed. It cannot be reactivated.
H A DIOServiceNotificationDispatchSource.iig54 …* @param queue IODispatchQueue the source is attached to. Note that the ServiceNotificationR…
57 * @param source Created source with +1 retain count to be released by the caller.
75 * @param enable Pass true to enable the source or false to disable.
86 * @brief Cancel all callbacks from the event source.
87 * @discussion After cancellation, the source can only be freed. It cannot be reactivated.
97 * until SetHandler is called again or the event source is cancelled.
H A DIODataQueueDispatchSource.iig45 * @param queue IODispatchQueue the source is attached to. Note that the DataAvailable
48 * @param source Created source with +1 retain count to be released by the caller.
55 IODataQueueDispatchSource ** source);
74 * until SetHandler is called again or the event source is cancelled.
86 * until SetHandler is called again or the event source is cancelled.
95 * @brief Control the enable state of the interrupt source.
96 * @param enable Pass true to enable the source or false to disable.
107 * @brief Cancel all callbacks from the event source.
108 * @discussion After cancellation, the source can only be freed. It cannot be reactivated.
/xnu-11215/osfmk/conf/
H A Dcopyright.osf6 # This software, both binary and source (hereafter, Software) is
12 # without a fee. Licensee may distribute the binary and source code (if
16 # source of this software.
24 # publicly and prominently acknowledged as the source of this software.
29 # integration of all or part of the source code into a product for
31 # (2) distribution of the binary code or source code to third parties
/xnu-11215/tests/vm/
H A Dvm_allocation.c1401 mach_vm_address_t source = get_vm_address(); in copy_deallocate() local
1405 (uintmax_t)source); in copy_deallocate()
1429 mach_vm_address_t source = get_vm_address(); in copy_region() local
1437 assert_copy_success(source, size, dest); in copy_region()
2596 mach_vm_address_t source = get_vm_address(); in test_copy_null_map() local
2707 mach_vm_address_t source = get_vm_address(); in write_copy_verify_pattern() local
2718 assert_copy_success(source, dst_size, dest); in write_copy_verify_pattern()
2773 (uintmax_t)source); in test_copy_partially_deallocated_range()
2801 (uintmax_t)source); in test_copy_partially_unreadable_range()
2883 assert_copy_return(source, size, dest, kr); in test_copy_source_partially_unreadable_region()
[all …]
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfsdefs.h287 dn_copy_times(devnode_t * target, devnode_t * source) in dn_copy_times() argument
290 target->dn_atime = source->dn_atime; in dn_copy_times()
291 target->dn_mtime = source->dn_mtime; in dn_copy_times()
292 target->dn_ctime = source->dn_ctime; in dn_copy_times()
/xnu-11215/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp111 int source, in getInterruptType() argument
134 int source) in handleInterrupt() argument
165 vector->nub, vector->source); in handleInterrupt()
H A DGenericInterruptController.h52 virtual IOReturn getInterruptType(IOService *nub, int source,
61 IOService *nub, int source);
/xnu-11215/pexpert/pexpert/
H A Dpexpert.h238 void *nub, int source,
411 cpu_id_t source,
415 cpu_id_t source,
419 cpu_id_t source,
449 typedef void (*perfmon_interrupt_handler_func)(cpu_id_t source);
/xnu-11215/osfmk/x86_64/
H A Dcopyio.c394 copyio_phys(addr64_t source, addr64_t sink, vm_size_t csize, int which) in copyio_phys() argument
402 vaddr = (user_addr_t)source; in copyio_phys()
405 paddr = (char *)source; in copyio_phys()
408 CALL_COPYOUT_SHIM_PHYS((void *)PHYSMAP_PTOV(source), sink, csize) in copyio_phys()
509 verify_write(const void *source, void *dst, size_t size) in verify_write() argument
513 rc = _bcopy((const char*)source, (char*)dst, size); in verify_write()
/xnu-11215/bsd/crypto/doc/
H A DKernelCrypto.txt25 * Redistribution and use in source and binary forms, with or without
28 * 1. Redistributions of source code must retain the copyright
69 The free distribution and use of this software in both source and binary
72 1. distributions of this source code include the above copyright
99 The free distribution and use of this software in both source and binary
102 1. distributions of this source code include the above copyright
134 1. source code distributions include the above copyright notice, this
/xnu-11215/tools/lldbmacros/lint/
H A Dsyntax_checker.py52 source = file.read() + '\n' variable
53 compile_result = compile(source, fname, 'exec')

12345