Home
last modified time | relevance | path

Searched refs:us (Results 1 – 20 of 20) sorted by relevance

/xnu-11215/libsyscall/mach/
H A Derr_server.sub123 "(server/us) GENERIC ERROR",
124 "(server/us) unknown error",
126 "(server/us) object exists",
127 "(server/us) object busy",
129 "(server/us) object dead",
130 "(server/us) invalid args",
131 "(server/us) invalid access",
134 "(server/us) access denied",
139 "(server/us) not supported",
144 "(server/us) timeout",
[all …]
/xnu-11215/iokit/Kernel/
H A DIOUserServer.cpp527 us = (typeof(us))thread_iokit_tls_get(0); in SetProperties_Impl()
1317 us = (typeof(us))thread_iokit_tls_get(0); in OSActionCreateWithTypeNameInternal()
1792 us = (typeof(us))thread_iokit_tls_get(0); in Create_Impl()
1794 if (!us) { in Create_Impl()
2269 us = (typeof(us))thread_iokit_tls_get(0); in Create_Impl()
2274 if (!us) { in Create_Impl()
2360 us = (typeof(us))thread_iokit_tls_get(0); in Create_Impl()
2463 if (us) { in Invoke()
5270 us = (typeof(us))thread_iokit_tls_get(0); in Terminate_Impl()
7370 us = (typeof(us))thread_iokit_tls_get(0); in Create_Impl()
[all …]
H A DIOTimerEventSource.cpp435 IOTimerEventSource::setTimeoutUS(UInt32 us) in setTimeoutUS() argument
437 return setTimeout(us, kMicrosecondScale); in setTimeoutUS()
500 IOTimerEventSource::wakeAtTimeUS(UInt32 us) in wakeAtTimeUS() argument
502 return wakeAtTime(us, kMicrosecondScale); in wakeAtTimeUS()
H A DIOServicePM.cpp6161 context.us = this; in cleanClientResponses()
6241 context.us = this; in tellClientsWithResponse()
6380 if (context->us == getPMRootDomain()) { in pmTellAppWithResponse()
6486 IOServicePM * pwrMgt = context->us->pwrMgt; in pmTellClientWithResponse()
6530 context->us->getName(), in pmTellClientWithResponse()
6597 if (context->us == getPMRootDomain() && in pmTellCapabilityAppWithResponse()
6646 context->us->getName(), in pmTellCapabilityAppWithResponse()
6722 IOServicePM * pwrMgt = context->us->pwrMgt; in pmTellCapabilityClientWithResponse()
6760 context->us->getName(), in pmTellCapabilityClientWithResponse()
6848 context.us = this; in tellClients()
[all …]
H A DIOService.cpp4579 IOUserServer * us; in matchingEnd()
4580 us = (typeof(us))obj; in matchingEnd()
4581 us->systemPower(fSystemOff, hibernate); in matchingEnd()
4622 if (us) { in userServerAckTimerExpired()
4646 IOUserServer * us; in systemHalt()
4647 us = (typeof(us))obj; in systemHalt()
4648 us->systemHalt(howto); in systemHalt()
4698 IOUserServer * us; in systemPowerChange() local
4702 us = NULL; in systemPowerChange()
4766 if (us) { in checkPMReady()
[all …]
H A DIOServicePMPrivate.h569 IOService * us; member
H A DIOPMrootDomain.cpp2514 powerButtonDownCallout(thread_call_param_t us, thread_call_param_t ) in powerButtonDownCallout() argument
2520 ((IOPMrootDomain *)us)->takeStackshot(false); in powerButtonDownCallout()
2524 powerButtonUpCallout(thread_call_param_t us, thread_call_param_t) in powerButtonUpCallout() argument
2530 ((IOPMrootDomain *)us)->deleteStackshot(); in powerButtonUpCallout()
2621 thread_call_param_t us, thread_call_param_t ) in idleSleepTimerExpired() argument
2623 ((IOPMrootDomain *)us)->handleSleepTimerExpiration(); in idleSleepTimerExpired()
H A DIOMemoryDescriptor.cpp267 user_size_t us; in getAddrLenForInd() local
269 uio_getiov((uio_t) r.uio, ind, &ad, &us); addr = ad; len = us; in getAddrLenForInd()
/xnu-11215/tests/sched/sched_test_harness/
H A Dsched_runqueue_harness.c39 increment_mock_time_us(uint64_t us) in increment_mock_time_us() argument
41 fprintf(_log, "\tadding mock microseconds: %lluus\n", us); in increment_mock_time_us()
42 increment_mock_time((us * NSEC_PER_USEC) * _timebase_info.denom / _timebase_info.numer); in increment_mock_time_us()
/xnu-11215/iokit/IOKit/
H A DIOTimerEventSource.h229 virtual IOReturn setTimeoutUS(UInt32 us);
266 virtual IOReturn wakeAtTimeUS(UInt32 us);
/xnu-11215/bsd/kern/
H A Dkern_acct.c332 encode_comp_t(uint32_t s, uint32_t us) in encode_comp_t() argument
339 s += us / (1000000 / AHZ); /* Maximize precision. */ in encode_comp_t()
/xnu-11215/osfmk/mach/
H A Dmach_notify.defs31 * But its existence keeps us from having MIG generate the client-side
/xnu-11215/osfmk/kern/
H A Dtest_lock.c31 sane_us2abs(uint64_t us) in sane_us2abs() argument
34 nanoseconds_to_absolutetime(us * NSEC_PER_USEC, &t); in sane_us2abs()
/xnu-11215/doc/building/
H A Dbound_checks.md34 We can ask clang to give us one trap instruction per function, which can have
41 On the other hand, we can ask clang to give us one trap instruction per bounds
148 adoption experience in xnu and other projects has taught us that bundling in
/xnu-11215/tools/lldbmacros/
H A Dscheduler.py324 us = float(ns) / 1000
325 ms = us / 1000
333 … print("{:d} ns, {:f} us, {:f} ms, {:f} s, {:f} m, {:f} h, {:f} d".format(ns, us, ms, s, m, h, d))
335 print("{:d} ns, {:f} us, {:f} ms, {:f} s".format(ns, us, ms, s))
/xnu-11215/bsd/vfs/
H A Dvfs_attrlist.c306 struct user64_timespec us = {.tv_sec = v.tv_sec, .tv_nsec = v.tv_nsec}; \
307 ATTR_PACK(&b, us); \
310 ATTR_PACK(&b, us); \
4334 struct user64_timespec us; \
4335 ATTR_UNPACK(us); \
4336 v.tv_sec = (unsigned long)us.tv_sec; \
4337 v.tv_nsec = (long)us.tv_nsec; \
4339 struct user32_timespec us; \
4340 ATTR_UNPACK(us); \
4341 v.tv_sec = us.tv_sec; \
[all …]
/xnu-11215/tests/
H A Dstackshot_block_owner_14362384.m512 * This allows us to create a situation in the kernel where we know a thread to be blocked
634 …msg_send_helper(test_send_port); // ping! msg_blocking_thread will now try to test_send_port us st…
H A Dstackshot_accuracy.m281 /* allow us to be frozen */
H A Dstackshot_tests.m593 (void) pause(); /* parent will kill -9 us */
625 /* child will signal us depending on if their addr is the same or different */
874 // Parent took a timestamp then signaled us: exec into the next process
1039 dispatch_semaphore_t child_exit_sem; /* parent tells us to go away */
1936 * can_continue indicates the client has signaled us, but we want to make
2000 * can_continue indicates the client has signaled us, but we want to make
/xnu-11215/doc/vm/
H A Dfreezer.md58 …=projects%3DWebKit&resultType=results#line-978) is responsible for telling us which tabs to freeze…