Home
last modified time | relevance | path

Searched refs:phase (Results 1 – 18 of 18) sorted by relevance

/xnu-11215/tools/lldbmacros/
H A Dworkload.py16 def GetWorkloadPhaseSummary(phase): argument
23 …g.format(phase, str(phase.wpe_phase), phase.wpe_config.wc_flags, phase.wpe_config.wc_create_flags,…
89 for phase in IterateListEntry(entry.wce_phases, 'wpe_link'):
90 print(GetWorkloadPhaseSummary(phase))
/xnu-11215/osfmk/kern/
H A Dworkload_config.c209 assert(phase != NULL); in lookup_config()
214 if (strncmp(phase_entry->wpe_phase, phase, in lookup_config()
231 assert(phase != NULL); in insert_config()
262 assert(phase != NULL); in insert_entry()
297 assert(phase != NULL); in workload_config_insert()
302 if (strlen(id) == 0 || strlen(phase) == 0) { in workload_config_insert()
315 insert_entry(ctx, id, phase, config) : in workload_config_insert()
316 insert_config(ctx, entry, phase, config); in workload_config_insert()
358 assert(phase != NULL); in workload_config_lookup()
424 const char *phase) in workload_config_set_default() argument
[all …]
H A Dworkload_config.h96 const char *id, const char *phase, const workload_config_t *config);
108 const char *id, const char *phase);
118 extern kern_return_t workload_config_lookup(const char *id, const char *phase,
150 bool (^cb)(const char *phase, const bool is_default,
H A Dtask.c416 extern kern_return_t iokit_task_terminate(task_t task, int phase);
/xnu-11215/tests/
H A Dtestposixshm.c16 static _Atomic int phase = 0; variable
27 while (atomic_load(&phase) == 0) { in worker_thread_func()
40 while (atomic_load(&phase) == 1) { in worker_thread_func()
52 while (atomic_load(&phase) == 2) { in worker_thread_func()
64 while (atomic_load(&phase) == 3) { in worker_thread_func()
184 atomic_fetch_add(&phase, 1);
194 atomic_fetch_add(&phase, 1);
204 atomic_fetch_add(&phase, 1);
214 atomic_fetch_add(&phase, 1);
H A Dtask_vm_info_decompressions.c33 static _Atomic int phase = 0; variable
86 while (atomic_load(&phase) != 1) { in worker_thread_function()
96 while (atomic_load(&phase) != 2) { in worker_thread_function()
201 atomic_fetch_add(&phase, 1);
214 atomic_fetch_add(&phase, 1);
/xnu-11215/iokit/Kernel/
H A DIOWorkloadConfig.cpp392 phases->iterateObjects(^bool (const OSSymbol *phase, OSObject *value) { in parsePhases()
396 id.getCStringNoCopy(), phase->getCStringNoCopy()); in parsePhases()
436 ret = workload_config_insert(ctx, id.getCStringNoCopy(), phase->getCStringNoCopy(), &config); in parsePhases()
439 id.getCStringNoCopy(), phase->getCStringNoCopy()); in parsePhases()
688 OSSharedPtr<OSDictionary> phase = OSDictionary::withCapacity(1); in IOUnparseWorkloadConfig()
689 if (phase == nullptr) { in IOUnparseWorkloadConfig()
764 if (!phase->setObject(phase_str, phaseData)) { in IOUnparseWorkloadConfig()
793 if (!idDict->setObject(kPhasesKey, phase)) { in IOUnparseWorkloadConfig()
H A DIOPMrootDomain.cpp5711 shutdownPhase_t phase; member
5717 shutdownPhase2String(shutdownPhase_t phase) argument
5719 switch (phase) {
5825 gHaltRestartCtx.phase = kNotifyPriorityClients;
5839 gHaltRestartCtx.phase = kNotifyPowerPlaneDrivers;
5844 gHaltRestartCtx.phase = kNotifyHaltRestartAction;
5855 gHaltRestartCtx.phase = kQuiescePM;
5871 gHaltRestartCtx.phase = kNotifyDone;
10055 PMTraceWorker::tracePoint(uint8_t phase) argument
10058 if (tracePhase != phase) {
[all …]
H A DIOUserClient.cpp1861 iokit_task_terminate(task_t task, int phase) in iokit_task_terminate() argument
1863 switch (phase) { in iokit_task_terminate()
1869 panic("iokit_task_terminate phase %d", phase); in iokit_task_terminate()
H A DIOServicePM.cpp70 static const char * getNotificationPhaseString(uint32_t phase);
8716 getNotificationPhaseString( uint32_t phase ) in getNotificationPhaseString() argument
8728 return IOFindNameForValue(phase, phaseNames); in getNotificationPhaseString()
/xnu-11215/tools/lldbmacros/kmemory/
H A Dkmem.py99 self.phase = phase_v.xGetValueAsInteger()
103 if e.GetValueAsUnsigned() <= self.phase
/xnu-11215/doc/lifecycle/
H A Dstartup.md33 2. document what services this phase provides, and how it uses ranks in this
291 Denotes that the kernel is locking down, this phase should never be hooked.
H A Dhibernation.md112 regions to be stored in this phase. This routine also calculates an HMAC
/xnu-11215/bsd/sys/
H A Ddtrace.h107 #define P2PHASEUP(x, align, phase) ((phase) - (((phase) - (x)) & -(align)))
/xnu-11215/iokit/IOKit/pwr_mgt/
H A DRootDomain.h958 int phase, uint32_t * hibMode );
/xnu-11215/makedefs/
H A DMakeInc.kernel44 # Rules for the highly parallel "build" phase, where each build configuration
H A DMakeInc.def611 # setup phase. The blacklist file itself is divided per-sanitizer, so won't
/xnu-11215/
H A DREADME.md126 By default, a DWARF debug information repository is created during the install phase; this is a "bu…