Home
last modified time | relevance | path

Searched refs:rwlock_t (Results 1 – 18 of 18) sorted by relevance

/external/kernel-headers/original/linux/
Dspinlock_api_smp.h25 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 …]
Dspinlock_types.h48 } 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)
Dspinlock.h107 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);
Dvmalloc.h75 extern rwlock_t vmlist_lock;
Dnetdevice.h196 rwlock_t hh_lock;
565 extern rwlock_t dev_base_lock; /* Device list lock */
Datmdev.h411 extern rwlock_t vcc_sklist_lock;
Dsched.h184 extern rwlock_t tasklist_lock;
354 rwlock_t ioctx_list_lock;
Dfs.h943 rwlock_t lock; /* protects pid, uid, euid fields */
/external/valgrind/main/helgrind/tests/
Dannotate_rwlock.c41 } 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/
Dannotate_rwlock.c31 } 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/
D2003-11-04-EmptyStruct.c3 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/
D2009-01-24-EmptyStruct.ll9 %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/
Dmmu.h16 rwlock_t ldtlock;
/external/kernel-headers/original/linux/netfilter_ipv4/
Dip_nat.h55 extern rwlock_t ip_nat_lock;
/external/openssl/crypto/threads/
Dth-lock.c158 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/
Dth-lock.c158 static rwlock_t *lock_cs;
169 lock_cs=OPENSSL_malloc(CRYPTO_num_locks() * sizeof(rwlock_t)); in CRYPTO_thread_setup()
/external/bison/lib/glthread/
Dlock.h542 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/
Dx_tables.h259 rwlock_t lock;