/external/kernel-headers/original/asm-x86/ |
spinlock_types.h | 15 unsigned int lock; member in struct:__anon2878
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
FileLockImpl.java | 25 * The concrete implementation of an NIO file lock object. 29 // Remembers if this lock has been released via the API. 33 * Answers a new file lock object with the given parameters. 36 * the file channel hosting the lock. 38 * the start position of the lock, in bytes 40 * the length of the lock, in bytes 42 * whether this lock is shared (true) or exclusive (false) 50 * Tests to see if the lock is valid. A lock can be invalidated if the 61 * Releases the file lock on the channel that acquired it. Releasing a [all...] |
/external/kernel-headers/original/linux/ |
rwsem.h | 28 * lock for reading 38 * lock for writing 48 * release a read lock 53 * release a write lock 58 * downgrade write lock to read lock 66 * lock instance multiple times), but multiple locks of the 67 * same lock class might be taken, if the order of the locks 72 * the explicit definition of lock class keys and the use of 73 * lockdep_set_class() at lock initialization time [all...] |
android_power.h | 55 //void android_free_suspend_lock(android_suspend_lock_t *lock); 56 int android_init_suspend_lock(android_suspend_lock_t *lock); 57 void android_uninit_suspend_lock(android_suspend_lock_t *lock); 58 void android_lock_suspend(android_suspend_lock_t *lock); 59 void android_lock_suspend_auto_expire(android_suspend_lock_t *lock, int timeout); 60 void android_unlock_suspend(android_suspend_lock_t *lock);
|
mutex.h | 37 * that make lock debugging easier and faster: 70 struct mutex *lock; member in struct:mutex_waiter 105 extern void __mutex_init(struct mutex *lock, const char *name, 110 * @lock: the mutex to be queried 114 static inline int fastcall mutex_is_locked(struct mutex *lock) 116 return atomic_read(&lock->count) != 1; 123 extern void fastcall mutex_lock(struct mutex *lock); 124 extern int fastcall mutex_lock_interruptible(struct mutex *lock); 127 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass); 129 # define mutex_lock_nested(lock, subclass) mutex_lock(lock [all...] |
blockgroup_lock.h | 37 spinlock_t lock; member in struct:bgl_lock 49 spin_lock_init(&bgl->locks[i].lock); 57 (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
|
/dalvik/libcore/concurrent/src/main/java/java/util/concurrent/ |
DelayQueue.java | 42 private transient final ReentrantLock lock = new ReentrantLock(); field in class:DelayQueue 68 private final Condition available = lock.newCondition(); 106 final ReentrantLock lock = this.lock; local 107 lock.lock(); 116 lock.unlock(); 153 final ReentrantLock lock = this.lock; local 154 lock.lock() 174 final ReentrantLock lock = this.lock; local 218 final ReentrantLock lock = this.lock; local 267 final ReentrantLock lock = this.lock; local 277 final ReentrantLock lock = this.lock; local 297 final ReentrantLock lock = this.lock; local 351 final ReentrantLock lock = this.lock; local 384 final ReentrantLock lock = this.lock; local 430 final ReentrantLock lock = this.lock; local 444 final ReentrantLock lock = this.lock; local [all...] |
PriorityBlockingQueue.java | 73 private final ReentrantLock lock = new ReentrantLock(true); field in class:PriorityBlockingQueue 74 private final Condition notEmpty = lock.newCondition(); 161 final ReentrantLock lock = this.lock; local 162 lock.lock(); 169 lock.unlock(); 205 final ReentrantLock lock = this.lock; local 206 lock.lock() 215 final ReentrantLock lock = this.lock; local 235 final ReentrantLock lock = this.lock; local 257 final ReentrantLock lock = this.lock; local 280 final ReentrantLock lock = this.lock; local 310 final ReentrantLock lock = this.lock; local 328 final ReentrantLock lock = this.lock; local 351 final ReentrantLock lock = this.lock; local 362 final ReentrantLock lock = this.lock; local 382 final ReentrantLock lock = this.lock; local 430 final ReentrantLock lock = this.lock; local 477 final ReentrantLock lock = this.lock; local [all...] |
/external/jsr305/ri/src/main/java/javax/annotation/concurrent/ |
GuardedBy.java | 19 * when holding a particular lock, which may be a built-in (synchronization) 20 * lock, or may be an explicit java.util.concurrent.Lock. 22 * The argument determines which lock guards the annotated field or method: this : 27 * object to which the field refers. field-name : The lock object is referenced 29 * class-name.field-name : The lock object is reference by the static field 30 * specified by class-name.field-name. method-name() : The lock object is 32 * object for the specified class should be used as the lock object.
|
/external/kernel-headers/original/asm-arm/ |
mman.h | 14 #define MCL_CURRENT 1 /* lock all current mappings */ 15 #define MCL_FUTURE 2 /* lock all future mappings */
|
/external/v8/test/cctest/ |
test-lock.cc | 3 // Tests of the TokenLock class from lock.h 19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token 27 CHECK_EQ(0, mutex->Lock()); 35 CHECK_EQ(0, mutex->Lock()); 37 CHECK_EQ(0, mutex->Lock());
|
/external/clearsilver/util/ |
dict.c | 166 dictValuePtr newval, void *lock) { 213 /* release entry lock */ 214 skipRelease(dict->list, lock); 223 void *lock; local 250 /* cool, someone already inserted the entry before we got the lock */ 251 entry = skipSearch(dict->list, hash, &lock); 254 return nerr_pass(dictUpdate(dict, entry, id, newval, lock)); 275 void *lock = NULL; local 280 entry = skipSearch(dict->list, hash, &lock); 284 if((err = dictUpdate(dict, entry, id, newval, lock)) != STATUS_OK) 339 void *lock; local 382 void *lock; local 417 void *lock; local 511 void *lock; local [all...] |
/system/core/libcutils/ |
threads.c | 34 pthread_mutex_lock( &store->lock ); 37 pthread_mutex_unlock(&store->lock); 42 pthread_mutex_unlock( &store->lock ); 65 InitializeCriticalSection( &store->lock ); 71 EnterCriticalSection( &store->lock ); 75 LeaveCriticalSection( &store->lock ); 80 LeaveCriticalSection( &store->lock );
|
/external/dbus/dbus/ |
dbus-sysdeps-pthread.c | 33 pthread_mutex_t lock; /**< lock protecting count field */ member in struct:__anon1572 34 volatile int count; /**< count of how many times lock holder has recursively locked */ 35 volatile pthread_t holder; /**< holder of the lock if count >0, 76 result = pthread_mutex_init (&pmutex->lock, NULL); 93 * once the lock is held (which means we've set it). 106 PTHREAD_CHECK ("pthread_mutex_destroy", pthread_mutex_destroy (&pmutex->lock)); 117 /* If the count is > 0 then someone had the lock, maybe us. If it is 120 * we assume that this thread doesn't have the lock. 126 /* We know we don't have the lock; someone may have the lock. * [all...] |
/dalvik/vm/ |
Sync.h | 44 * lock. Performs no error checking. 51 * Lock owner field. Contains the thread id of the thread currently 52 * holding the lock. 59 * Lock recursion count field. Contains a count of the numer of times 60 * a lock has been recursively acquired. 74 * Initialize a Lock to the proper starting value. 79 #define DVM_LOCK_INIT(lock) \ 80 do { *(lock) = DVM_LOCK_INITIAL_THIN_VALUE; } while (0) 83 * Returns true if the lock has been fattened. 85 #define IS_LOCK_FAT(lock) (LW_SHAPE(*(lock)) == LW_SHAPE_FAT [all...] |
Sync.c | 29 * - reverting to a thin lock once the Monitor is no longer necessary 82 * The two states of an Object's lock are referred to as "thin" and 83 * "fat". A lock may transition from the "thin" state to the "fat" 84 * state and this transition is referred to as inflation. Once a lock 87 * The lock value itself is stored in Object.lock. The LSB of the 88 * lock encodes its state. When cleared, the lock is in the "thin" 92 * lock count thread id hash state 0 94 * When set, the lock is in the "fat" state and its bits are formatte 122 pthread_mutex_t lock; member in struct:Monitor 245 u4 lock; local 1359 u4 lock, owner, hashState; local 1708 u4 lock = parent->lock; local 1856 u4 lock = child->lock; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/dc/ |
SDL_syscond.c | 34 SDL_mutex *lock; member in struct:SDL_cond 48 cond->lock = SDL_CreateMutex(); 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { 72 if ( cond->lock ) { 73 SDL_DestroyMutex(cond->lock); 90 SDL_LockMutex(cond->lock); 94 SDL_UnlockMutex(cond->lock); 97 SDL_UnlockMutex(cond->lock); 114 SDL_LockMutex(cond->lock); 126 SDL_UnlockMutex(cond->lock); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/generic/ |
SDL_syscond.c | 34 SDL_mutex *lock; member in struct:SDL_cond 48 cond->lock = SDL_CreateMutex(); 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { 72 if ( cond->lock ) { 73 SDL_DestroyMutex(cond->lock); 90 SDL_LockMutex(cond->lock); 94 SDL_UnlockMutex(cond->lock); 97 SDL_UnlockMutex(cond->lock); 114 SDL_LockMutex(cond->lock); 126 SDL_UnlockMutex(cond->lock); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/thread/os2/ |
SDL_syscond.c | 34 SDL_mutex *lock; member in struct:SDL_cond 48 cond->lock = SDL_CreateMutex(); 52 if ( ! cond->lock || ! cond->wait_sem || ! cond->wait_done ) { 72 if ( cond->lock ) { 73 SDL_DestroyMutex(cond->lock); 90 SDL_LockMutex(cond->lock); 94 SDL_UnlockMutex(cond->lock); 97 SDL_UnlockMutex(cond->lock); 114 SDL_LockMutex(cond->lock); 126 SDL_UnlockMutex(cond->lock); [all...] |
/frameworks/base/libs/surfaceflinger/ |
Barrier.h | 36 Mutex::Autolock _l(lock); 41 Mutex::Autolock _l(lock); 45 Mutex::Autolock _l(lock); 47 cv.wait(lock); 52 mutable Mutex lock; member in class:android::Barrier
|
/bionic/libc/kernel/arch-x86/asm/ |
system_32.h | 21 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) 22 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) 23 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM)
|
/external/elfutils/ |
config.h | 62 #define lock_lock(lock) ((void) (lock)) 64 #define rwlock_init(lock) ((void) (lock)) 65 #define rwlock_fini(lock) ((void) (lock)) 66 #define rwlock_rdlock(lock) ((void) (lock)) 67 #define rwlock_wrlock(lock) ((void) (lock)) [all...] |
config.h.in | 61 #define lock_lock(lock) ((void) (lock)) 63 #define rwlock_init(lock) ((void) (lock)) 64 #define rwlock_fini(lock) ((void) (lock)) 65 #define rwlock_rdlock(lock) ((void) (lock)) 66 #define rwlock_wrlock(lock) ((void) (lock)) [all...] |
/ndk/build/platforms/android-5/arch-x86/usr/include/asm/ |
system_32.h | 21 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) 22 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) 23 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM)
|
/ndk/build/platforms/android-8/arch-x86/usr/include/asm/ |
system_32.h | 21 #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2) 22 #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2) 23 #define wmb() alternative("lock; addl $0,0(%%esp)", "sfence", X86_FEATURE_XMM)
|