Searched defs:lock (Results 1 - 23 of 23) sorted by relevance

/bionic/libc/kernel/arch-arm/asm/
H A Dspinlock_types.h26 volatile unsigned int lock; member in struct:__anon99
31 volatile unsigned int lock; member in struct:__anon100
/bionic/libc/kernel/arch-x86/asm/
H A Dmmu.h27 struct mutex lock; member in struct:__anon231
H A Dspinlock_types.h31 unsigned int lock; member in struct:__anon236
/bionic/libc/kernel/common/linux/
H A Dblockgroup_lock.h26 spinlock_t lock; member in struct:bgl_lock
32 #define sb_bgl_lock(sb, block_group) (&(sb)->s_blockgroup_lock.locks[(block_group) & (NR_BG_LOCKS-1)].lock)
H A Dmempool.h27 spinlock_t lock; member in struct:mempool_s
H A Dnotifier.h32 spinlock_t lock; member in struct:atomic_notifier_head
45 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0)
49 #define ATOMIC_NOTIFIER_INIT(name) { .lock = __SPIN_LOCK_UNLOCKED(name.lock), .head = NULL }
H A Dseqlock.h26 spinlock_t lock; member in struct:__anon494
40 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } while (0)
41 #define write_seqlock_irq(lock) do { local_irq_disable(); write_seqlock(lock); } while (0)
42 #define write_seqlock_bh(lock) do { local_bh_disable(); write_seqlock(lock); } while (0)
44 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(flags); } while(0)
45 #define write_sequnlock_irq(lock) d
[all...]
H A Dirq.h100 spinlock_t lock; member in struct:irq_desc
H A Dskbuff.h56 spinlock_t lock; member in struct:sk_buff_head
H A Dperf_event.h176 __u32 lock; member in struct:perf_event_mmap_page
H A Dnfs_xdr.h642 int (*lock)(struct file *, int, struct file_lock *); member in struct:nfs_rpc_ops
H A Dblkdev.h50 spinlock_t lock; member in struct:as_io_context
/bionic/libc/kernel/common/linux/mtd/
H A Dblktrans.h34 struct mutex lock; member in struct:mtd_blktrans_dev
H A Dflashchip.h72 spinlock_t lock; member in struct:flchip_shared
H A Dmtd.h124 int (*lock) (struct mtd_info *mtd, loff_t ofs, size_t len); member in struct:mtd_info
H A Dnand.h126 spinlock_t lock; member in struct:nand_hw_control
/bionic/libc/kernel/common/linux/lockd/
H A Dxdr.h52 struct nlm_lock lock; member in struct:nlm_args
67 struct nlm_lock lock; member in struct:nlm_res
/bionic/libc/include/
H A Dpthread.h221 * returns EBUSY if the lock could not be acquired after the timeout
226 /* read-write lock support */
231 pthread_mutex_t lock; member in struct:__anon37
/bionic/libc/bionic/
H A Dmalloc_debug_check.cpp115 static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER; variable
186 ScopedPthreadMutexLocker locker(&lock);
200 ScopedPthreadMutexLocker locker(&lock);
307 ScopedPthreadMutexLocker locker(&lock);
H A Dpthread-timers.c109 pthread_mutex_t mutex; /* lock */
121 pthread_mutex_t lock; member in struct:thr_timer_table
135 pthread_mutex_init( &t->lock, NULL );
154 pthread_mutex_lock(&t->lock);
161 pthread_mutex_unlock(&t->lock);
169 pthread_mutex_lock( &t->lock );
174 pthread_mutex_unlock( &t->lock );
183 pthread_mutex_lock(&t->lock);
194 pthread_mutex_unlock(&t->lock);
216 pthread_mutex_lock(&t->lock);
[all...]
/bionic/libc/kernel/common/linux/mmc/
H A Dhost.h111 spinlock_t lock; member in struct:mmc_host
/bionic/libc/kernel/common/linux/sunrpc/
H A Dsched.h154 spinlock_t lock; member in struct:rpc_wait_queue
171 #define RPC_WAITQ_INIT(var,qname) { .lock = SPIN_LOCK_UNLOCKED, .tasks = { [0] = LIST_HEAD_INIT(var.tasks[0]), [1] = LIST_HEAD_INIT(var.tasks[1]), [2] = LIST_HEAD_INIT(var.tasks[2]), }, }
174 #define RPC_WAITQ_INIT(var,qname) { .lock = SPIN_LOCK_UNLOCKED, .tasks = { [0] = LIST_HEAD_INIT(var.tasks[0]), [1] = LIST_HEAD_INIT(var.tasks[1]), [2] = LIST_HEAD_INIT(var.tasks[2]), }, .name = qname, }
/bionic/libc/netbsd/resolv/
H A Dres_cache.c1238 pthread_mutex_t lock; member in struct:resolv_cache
1322 pthread_cond_timedwait(&ri->cond, &cache->lock, &ts);
1366 pthread_mutex_lock(&cache->lock);
1368 pthread_mutex_unlock(&cache->lock);
1444 pthread_mutex_init( &cache->lock, NULL );
1662 pthread_mutex_lock( &cache->lock );
1715 pthread_mutex_unlock( &cache->lock );
1739 pthread_mutex_lock( &cache->lock );
1786 pthread_mutex_unlock( &cache->lock );
1811 // lock protectin
[all...]

Completed in 445 milliseconds