/darwin-on-arm/xnu/libkern/kmod/libkmodtest/ |
H A D | libkmodtest.cpp | 35 testlibkmod::probe( function in class:testlibkmod
|
H A D | libkmodtest.h | 35 virtual IOService * probe(
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | lockstat.h | 163 typedef uint32_t dtrace_id_t; /* probe identifier - also in dtrace.h! */ 182 #define LOCKSTAT_RECORD4(probe, lp, arg0, arg1, arg2, arg3) \ 185 if ((id = lockstat_probemap[(probe)])) { \ 191 #define LOCKSTAT_RECORD2(probe, lp, arg1, arg2) \ 192 LOCKSTAT_RECORD4(probe, lp, arg1, arg2, 0, 0) 194 #define LOCKSTAT_RECORD(probe, lp, arg) \ 195 LOCKSTAT_RECORD4(probe, lp, arg, 0, 0, 0) 197 #define LOCKSTAT_RECORD0(probe, lp) \ 198 LOCKSTAT_RECORD4(probe, lp, 0, 0, 0, 0)
|
/darwin-on-arm/xnu/bsd/dev/dtrace/ |
H A D | lockstat.c | 172 * Hot patch switches back and forth the probe points between NOP and RET. 173 * The active argument indicates whether the probe point will turn on or off. 174 * on == plant a NOP and thus fall through to the probe call 175 * off == plant a RET and thus avoid the probe call completely 176 * The lsap_probe identifies which probe we will patch. 187 * multiple patch points per probe. 210 lockstat_probe_wrapper(int probe, uintptr_t lp, int rwflag) argument 213 id = lockstat_probemap[probe]; 231 lockstat_probe_t *probe = parg; local 233 ASSERT(!lockstat_probemap[probe 250 lockstat_probe_t *probe = parg; local 284 lockstat_probe_t *probe = &lockstat_probes[i]; local 304 lockstat_probe_t *probe = parg; local [all...] |
H A D | fasttrap.c | 100 * of tracepoints to enable. If a probe is activated, it adds its ID to 154 * fasttrap.conf file. Each time a probe is created, fasttrap_total is 156 * probe; fasttrap_total is capped at fasttrap_max. 592 fasttrap_tracepoint_enable(proc_t *p, fasttrap_probe_t *probe, uint_t index) argument 600 ASSERT(index < probe->ftp_ntps); 602 pid = probe->ftp_pid; 603 pc = probe->ftp_tps[index].fit_tp->ftt_pc; 604 id = &probe->ftp_tps[index].fit_id; 606 ASSERT(probe->ftp_tps[index].fit_tp->ftt_pid == pid); 612 * on the generation in which this probe wa 765 fasttrap_tracepoint_disable(proc_t *p, fasttrap_probe_t *probe, uint_t index) argument 994 fasttrap_probe_t *probe = parg; local 1128 fasttrap_probe_t *probe = parg; local 1200 fasttrap_probe_t *probe = parg; local 1239 fasttrap_probe_t *probe = parg; local 2264 fasttrap_probe_spec_t *probe; local [all...] |
H A D | dtrace.c | 47 * - Non-probe context utility functions 219 static vmem_t *dtrace_arena; /* probe ID arena */ 240 static dtrace_genid_t dtrace_probegen; /* current probe generation */ 274 * etc. Importantly, dtrace_lock is _not_ required when in probe context; 275 * probe context is lock-free -- synchronization is handled via the 300 static kmutex_t dtrace_lock; /* probe state lock */ 321 static lck_mtx_t dtrace_lock; /* probe state lock */ 364 static dtrace_id_t dtrace_probeid_begin; /* special BEGIN probe */ 365 static dtrace_id_t dtrace_probeid_end; /* special END probe */ 366 dtrace_id_t dtrace_probeid_error; /* special ERROR probe */ [all...] |
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/ |
H A D | AppleARMSoftIICController.cpp | 26 IOService *AppleARMSoftIICController::probe(IOService * provider, SInt32 * score) function in class:AppleARMSoftIICController
|
H A D | AppleARMSoftIICController.h | 17 virtual IOService *probe(IOService * provider, SInt32 * score);
|
H A D | AppleS5L8930XIO.h | 21 IOService *probe(IOService * provider, SInt32 * score);
|
H A D | AppleS5L8930XIO.cpp | 26 IOService *AppleARMIO::probe(IOService * provider, SInt32 * score) function in class:AppleARMIO
|
H A D | AppleARMPE.h | 21 IOService *probe(IOService * provider, SInt32 * score);
|
H A D | AppleARMPE.cpp | 82 IOService *AppleARMPE::probe(IOService * provider, SInt32 * score) function in class:AppleARMPE
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOPolledInterface.h | 70 virtual IOReturn probe(IOService * target) = 0;
|
H A D | IOPlatformExpert.h | 209 virtual IOService * probe( IOService * provider,
|
H A D | IOService.h | 196 The driver class is instantiated and <code>init()</code> called with its property table. The new driver instance is then attached to the provider, and has its @link probe probe@/link method called with the provider as an argument. The default <code>probe</code> method does nothing but return success, but a driver may implement this method to interrogate the provider to make sure it can work with it. It may also modify its probe score at this time. After probe, the driver is detached and the next in the list is considered (ie. attached, probed, and detached). 198 When the probing phase is complete, the list consists of successfully probed drivers, in order of their probe score (after adjustment during the @link probe probe@/link call). The list is then divided into categories based on the <code>kIOMatchCategoryKey</code> property ("IOMatchCategory"); drivers without a match category are all considered in one default category. Match categories allow multiple clients of a provider to be attached and started, though the provider may also enforce open/close semantics to gain active access to it. 202 The driver should only consider itself in action when the start method is called, meaning it has been selected for use on the provider, and consuming that particular match category. It should also be prepared to be allocated, probed and freed even if the probe was successful. 223 The probe scor [all...] |
/darwin-on-arm/xnu/bsd/dev/i386/ |
H A D | fasttrap_isa.c | 735 * on a return probe yet highly desirable for consistency. 783 fasttrap_usdt_args64(fasttrap_probe_t *probe, x86_saved_state64_t *regs64, int argc, argument 786 int i, x, cap = MIN(argc, probe->ftp_nargs); 790 x = probe->ftp_argmap[i]; 806 fasttrap_usdt_args32(fasttrap_probe_t *probe, x86_saved_state32_t *regs32, int argc, argument 809 int i, x, cap = MIN(argc, probe->ftp_nargs); 813 x = probe->ftp_argmap[i]; 973 * return probe fasttrap. In this case we need to kill the process 1041 * stack. If this is a function entry probe, we need 1054 fasttrap_probe_t *probe local 1596 fasttrap_probe_t *probe = id->fti_probe; local [all...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOPlatformExpert.cpp | 1069 IOService * IODTPlatformExpert::probe( IOService * provider, function in class:IODTPlatformExpert 1072 if( !super::probe( provider, score))
|
H A D | IOService.cpp | 418 // during probe to change the start order. 420 IOService * IOService::probe( IOService * provider, function in class:IOService 2598 * Alloc and probe matching classes, 2769 // & probe the new driver instance 2772 LOG("%s::probe(%s)\n", 2776 newInst = inst->probe( this, &score ); 2781 IOLog("%s::probe fails\n", symbol->getCStringNoCopy());
|
H A D | IOHibernateIO.cpp | 107 one the IOMedia object is passed to a "probe" call for the interface to accept or reject. All the 394 err = poller->probe(target); 397 HIBLOG("IOPolledInterface::probe[%d] 0x%x\n", idx, err);
|