Searched refs:condition (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOConditionLock.h46 IOLock * cond_interlock; // condition var Simple lock
47 volatile int condition; member in class:IOConditionLock
55 static IOConditionLock *withCondition(int condition, bool inIntr = true);
56 virtual bool initWithCondition(int condition, bool inIntr = true);
65 virtual int setCondition(int condition);
67 virtual int lockWhen(int condition); // acquire lock when condition
68 virtual void unlockWith(int condition); // set condition & release lock
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOConditionLock.cpp31 * AppleIOPSSafeCondLock.m. Lock object with exported condition variable,
53 condition = inCondition;
61 IOConditionLock *IOConditionLock::withCondition(int condition, bool intr) argument
65 if (me && !me->initWithCondition(condition, intr)) {
88 return condition;
93 int old = condition;
95 condition = inCondition;
96 thread_wakeup_one((void *) &condition);
105 thread_wakeup_one((void *) &condition);
121 condition
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h293 #define PanicIf( condition, message ) do { if ( condition != 0 ) DebugStr( message ); } while(0)
296 #define PanicIf( condition, message ) do { } while(0)
302 // Test for passed condition and return if true
303 #define M_ReturnErrorIf( condition, error ) do { if ( condition ) return( error ); } while(0)
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dlowmem_vectors.s1014 ctdisa32: mtcrf 0x80,r25 ; Restore the used condition register field
1024 ctbail32: mtcrf 0x80,r25 ; Restore the used condition register field
1132 ctdisa64: mtcrf 0x80,r25 ; Restore the used condition register field
1142 ctbail64: mtcrf 0x80,r25 ; Restore the used condition register field
2308 lwz r5,savecr(r13) ; Get the condition register

Completed in 46 milliseconds