Searched refs:rwlock_t (Results 1 – 18 of 18) sorted by relevance
/external/kernel-headers/original/linux/ |
D | spinlock_api_smp.h | 25 void __lockfunc _read_lock(rwlock_t *lock) __acquires(rwlock_t); 26 void __lockfunc _write_lock(rwlock_t *lock) __acquires(rwlock_t); 28 void __lockfunc _read_lock_bh(rwlock_t *lock) __acquires(rwlock_t); 29 void __lockfunc _write_lock_bh(rwlock_t *lock) __acquires(rwlock_t); 31 void __lockfunc _read_lock_irq(rwlock_t *lock) __acquires(rwlock_t); 32 void __lockfunc _write_lock_irq(rwlock_t *lock) __acquires(rwlock_t); 35 unsigned long __lockfunc _read_lock_irqsave(rwlock_t *lock) 36 __acquires(rwlock_t); 37 unsigned long __lockfunc _write_lock_irqsave(rwlock_t *lock) 38 __acquires(rwlock_t); [all …]
|
D | spinlock_types.h | 48 } rwlock_t; typedef 74 (rwlock_t) { .raw_lock = __RAW_RW_LOCK_UNLOCKED, \ 84 (rwlock_t) { .raw_lock = __RAW_RW_LOCK_UNLOCKED, \ 92 #define DEFINE_RWLOCK(x) rwlock_t x = __RW_LOCK_UNLOCKED(x)
|
D | spinlock.h | 107 extern void __rwlock_init(rwlock_t *lock, const char *name, 142 extern void _raw_read_lock(rwlock_t *lock); 143 extern int _raw_read_trylock(rwlock_t *lock); 144 extern void _raw_read_unlock(rwlock_t *lock); 145 extern void _raw_write_lock(rwlock_t *lock); 146 extern int _raw_write_trylock(rwlock_t *lock); 147 extern void _raw_write_unlock(rwlock_t *lock);
|
D | vmalloc.h | 75 extern rwlock_t vmlist_lock;
|
D | netdevice.h | 196 rwlock_t hh_lock; 565 extern rwlock_t dev_base_lock; /* Device list lock */
|
D | atmdev.h | 411 extern rwlock_t vcc_sklist_lock;
|
D | sched.h | 184 extern rwlock_t tasklist_lock; 354 rwlock_t ioctx_list_lock;
|
D | fs.h | 943 rwlock_t lock; /* protects pid, uid, euid fields */
|
/external/valgrind/main/helgrind/tests/ |
D | annotate_rwlock.c | 41 } rwlock_t; typedef 44 static rwlock_t s_rwlock; 48 static void rwlock_init(rwlock_t* p) in rwlock_init() 57 static void rwlock_destroy(rwlock_t* p) in rwlock_destroy() 65 static void rwlock_rdlock(rwlock_t* p) in rwlock_rdlock() 90 static void rwlock_wrlock(rwlock_t* p) in rwlock_wrlock() 115 static void rwlock_unlock(rwlock_t* p) in rwlock_unlock()
|
/external/valgrind/main/drd/tests/ |
D | annotate_rwlock.c | 31 } rwlock_t; typedef 34 static rwlock_t s_rwlock; 38 static void rwlock_init(rwlock_t* p) in rwlock_init() 47 static void rwlock_destroy(rwlock_t* p) in rwlock_destroy() 55 static void rwlock_rdlock(rwlock_t* p) in rwlock_rdlock() 79 static void rwlock_wrlock(rwlock_t* p) in rwlock_wrlock() 103 static void rwlock_unlock(rwlock_t* p) in rwlock_unlock()
|
/external/clang/test/CodeGen/ |
D | 2003-11-04-EmptyStruct.c | 3 typedef struct { } rwlock_t; typedef 4 struct fs_struct { rwlock_t lock; int umask; }; 5 void __copy_fs_struct(struct fs_struct *fs) { fs->lock = (rwlock_t) { }; } in __copy_fs_struct()
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2009-01-24-EmptyStruct.ll | 9 %struct.mutex = type { %struct.atomic_t, %struct.rwlock_t, %struct.list_head } 10 %struct.rwlock_t = type { %struct.lock_class_key } 14 %0 = getelementptr %struct.inode* %bar, i64 -1, i32 1, i32 1 ; <%struct.rwlock_t*> [#uses=1] 15 %1 = bitcast %struct.rwlock_t* %0 to i32* ; <i32*> [#uses=1]
|
/external/kernel-headers/original/asm-x86/ |
D | mmu.h | 16 rwlock_t ldtlock;
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
D | ip_nat.h | 55 extern rwlock_t ip_nat_lock;
|
/external/openssl/crypto/threads/ |
D | th-lock.c | 158 static rwlock_t *lock_cs; 169 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(rwlock_t)); in CRYPTO_thread_setup()
|
/external/chromium_org/third_party/openssl/openssl/crypto/threads/ |
D | th-lock.c | 158 static rwlock_t *lock_cs; 169 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(rwlock_t)); in CRYPTO_thread_setup()
|
/external/bison/lib/glthread/ |
D | lock.h | 542 typedef rwlock_t gl_rwlock_t; 544 STORAGECLASS rwlock_t NAME; 546 STORAGECLASS rwlock_t NAME = gl_rwlock_initializer;
|
/external/kernel-headers/original/linux/netfilter/ |
D | x_tables.h | 259 rwlock_t lock;
|