Searched refs:us (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dcascade_fcntl.c165 int us, them; local
168 us = (getpindex() * lm_optT) + gettindex();
170 us = gettsdindex(tsd);
173 them = (us + 1) % (lm_optP * lm_optT);
175 ts->ts_id = us;
177 /* lock index asignment for us and them */
178 ts->ts_us0 = (us * 4);
179 ts->ts_us1 = (us * 4) + 2;
180 if (us < nthreads - 1) {
210 /* allow them to block us agai
[all...]
H A Dcascade_flock.c161 int us, them; local
164 us = (getpindex() * lm_optT) + gettindex();
166 us = gettsdindex(tsd);
169 them = (us + 1) % (lm_optP * lm_optT);
171 ts->ts_id = us;
173 /* lock index asignment for us and them */
174 ts->ts_us0 = (us * 2);
175 ts->ts_us1 = (us * 2) + 1;
176 if (us < nthreads - 1) {
206 /* allow them to block us agai
[all...]
H A Dcascade_lockf.c156 int us, them; local
159 us = (getpindex() * lm_optT) + gettindex();
161 us = gettsdindex(tsd);
164 them = (us + 1) % (lm_optP * lm_optT);
166 ts->ts_id = us;
168 /* lock index asignment for us and them */
169 ts->ts_us0 = (us * 2);
170 ts->ts_us1 = (us * 2) + 1;
171 if (us < nthreads - 1) {
201 /* allow them to block us agai
[all...]
H A Dcascade_mutex.c160 int us, them; local
163 us = (getpindex() * lm_optT) + gettindex();
165 us = gettsdindex(tsd);
168 them = (us + 1) % (lm_optP * lm_optT);
170 ts->ts_id = us;
172 /* lock index asignment for us and them */
173 ts->ts_us0 = (us * 2);
174 ts->ts_us1 = (us * 2) + 1;
175 if (us < nthreads - 1) {
205 /* allow them to block us agai
[all...]
H A Dcascade_cond.c211 int us, them; local
214 us = (getpindex() * lm_optT) + gettindex();
216 us = gettsdindex(tsd);
219 them = (us + 1) % (lm_optP * lm_optT);
221 ts->ts_id = us;
223 /* lock index asignment for us and them */
224 ts->ts_us0 = (us * 2);
225 ts->ts_us1 = (us * 2) + 1;
226 if (us < nthreads - 1) {
256 /* allow them to block us agai
[all...]
H A Dmprotect.c154 int us; local
159 us = (getpindex() * lm_optT) + gettindex();
161 us = gettsdindex(tsd);
165 switch ((us + ts->ts_batch + i) % 2) {
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/
H A DAppleNMI.cpp45 bool RootRegistered( OSObject * us, void *, IOService * yourDevice, __unused IONotifier * yourNotifier );
88 bool RootRegistered( OSObject * us, void *, IOService * yourDevice, __unused IONotifier * yourNotifier) argument
91 ((AppleNMI *)us)->rootDomain = yourDevice;
92 ((IOPMrootDomain *)yourDevice)->registerInterestedDriver((IOService *) us);
117 // cannot actually turn itself on and off, but it notifies us anyway.
/darwin-on-arm/xnu/iokit/Drivers/KernelBuiltIn/ARM/AppleARMPlatform/
H A DAppleARMNMI.cpp43 } bool RootRegistered(OSObject * us, void *, IOService * yourDevice);
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOTimerEventSource.h148 virtual IOReturn setTimeoutUS(UInt32 us);
185 virtual IOReturn wakeAtTimeUS(UInt32 us);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOTimerEventSource.cpp275 IOReturn IOTimerEventSource::setTimeoutUS(UInt32 us) argument
277 return setTimeout(us, kMicrosecondScale);
323 IOReturn IOTimerEventSource::wakeAtTimeUS(UInt32 us) argument
325 return wakeAtTime(us, kMicrosecondScale);
H A DIOServicePM.cpp359 * A change to a lower domain state may not affect us because we are already
388 These are all power changes initiated by us, not forced upon us by the parent.
714 // Power Managment is informing us that we are the root power domain.
827 // detach us from nub
866 // Power Management is informing us who our children are.
981 // Make us temporary usable before adding the child.
1022 // Parent will be waiting for us to complete this stage.
1092 // Power Management is informing us who our parent is.
1174 // A driver has called us volunteerin
[all...]
H A DIOServicePMPrivate.h500 IOService * us; member in struct:IOPMInterestContext
H A DIOMemoryDescriptor.cpp232 user_size_t us; local
233 uio_getiov((uio_t) r.uio, ind, &addr, &us); len = us;
4052 // The descriptor changed out from under us. Give up.
H A DIOPMrootDomain.cpp1044 registerService(); // let clients find us
1471 // Deal with callers that calls us too "aggressively".
1954 thread_call_param_t us, thread_call_param_t )
1956 ((IOPMrootDomain *)us)->handleSleepTimerExpiration();
1963 // It's time to sleep. Start that by removing the clamp that's holding us awake.
2115 // log anything. Chances are, the person who is asking us to do
3119 // We don't really mind if the calling kext didn't give us a place
3620 // pmCPUControl will assign us a new ID if one doesn't exist yet
3637 // pmCPUControl has assigned us a new variable ID.
5695 // The power controller is notifying us o
1953 idleSleepTimerExpired( thread_call_param_t us, thread_call_param_t ) argument
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_acct.c318 encode_comp_t(uint32_t s, uint32_t us) argument
325 s += us / (1000000 / AHZ); /* Maximize precision. */
358 * has been vgone()'d out from underneath us, e.g. when the file
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_attrlist.c187 struct user64_timespec us = {v.tv_sec, v.tv_nsec}; \
188 ATTR_PACK(&b, us); \
190 struct user32_timespec us = {v.tv_sec, v.tv_nsec}; \
191 ATTR_PACK(&b, us); \
1163 * they gave us, so they can always check for truncation themselves.
1274 /* Pick up the vnode type. If the FS is bad and changes vnode types on us, we
1563 * Carbon can't deal with us reporting the target ID
1564 * for links. So we ask the filesystem to give us the
1565 * source ID as well, and if it gives us one, we use
1580 * Carbon can't deal with us reportin
[all...]

Completed in 72 milliseconds