Home
last modified time | relevance | path

Searched refs:LOCK (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/gettext/gettext-runtime/intl/
Dlock.h298 # define glthread_lock_init(LOCK) \ argument
299 (pthread_in_use () ? pthread_mutex_init (LOCK, NULL) : 0)
300 # define glthread_lock_lock(LOCK) \ argument
301 (pthread_in_use () ? pthread_mutex_lock (LOCK) : 0)
302 # define glthread_lock_unlock(LOCK) \ argument
303 (pthread_in_use () ? pthread_mutex_unlock (LOCK) : 0)
304 # define glthread_lock_destroy(LOCK) \ argument
305 (pthread_in_use () ? pthread_mutex_destroy (LOCK) : 0)
326 # define glthread_rwlock_init(LOCK) \ argument
327 (pthread_in_use () ? pthread_rwlock_init (LOCK, NULL) : 0)
[all …]
/third_party/selinux/libselinux/src/
Dselinux_internal.h48 #define __pthread_mutex_init(LOCK, ATTR) \ argument
51 pthread_mutex_init(LOCK, ATTR); \
54 #define __pthread_mutex_destroy(LOCK) \ argument
57 pthread_mutex_destroy(LOCK); \
60 #define __pthread_mutex_lock(LOCK) \ argument
63 pthread_mutex_lock(LOCK); \
66 #define __pthread_mutex_unlock(LOCK) \ argument
69 pthread_mutex_unlock(LOCK); \
/third_party/ltp/testcases/network/nfsv4/locks/
DREADME87 1. WRITE ON A READ LOCK
88 2. WRITE ON A WRITE LOCK
89 3. READ ON A READ LOCK
90 4. READ ON A WRITE LOCK
91 5. SET A READ LOCK ON A READ LOCK
92 6. SET A WRITE LOCK ON A WRITE LOCK
93 7. SET A WRITE LOCK ON A READ LOCK
94 8. SET A READ LOCK ON A WRITE LOCK
95 9. READ LOCK THE WHOLE FILE BYTE BY BYTE
96 10. WRITE LOCK THE WHOLE FILE BYTE BY BYTE
[all …]
/third_party/musl/porting/linux/user/src/exit/
Datexit.c23 LOCK(lock); in __funcs_on_exit()
30 LOCK(lock); in __funcs_on_exit()
42 LOCK(lock); in __cxa_finalize()
49 LOCK(lock); in __cxa_finalize()
60 LOCK(lock); in __cxa_atexit()
/third_party/musl/src/exit/
Dat_quick_exit.c14 LOCK(lock); in __funcs_on_quick_exit()
19 LOCK(lock); in __funcs_on_quick_exit()
26 LOCK(lock); in at_quick_exit()
Datexit.c22 LOCK(lock); in __funcs_on_exit()
28 LOCK(lock); in __funcs_on_exit()
38 LOCK(lock); in __cxa_atexit()
/third_party/musl/src/prng/
Drandom.c66 LOCK(lock); in srandom()
76 LOCK(lock); in initstate()
98 LOCK(lock); in setstate()
108 LOCK(lock); in random()
/third_party/libnl/include/netlink-private/
Dnetlink.h271 #define nl_lock(LOCK) do { } while(0) argument
272 #define nl_unlock(LOCK) do { } while(0) argument
273 #define nl_read_lock(LOCK) do { } while(0) argument
274 #define nl_read_unlock(LOCK) do { } while(0) argument
275 #define nl_write_lock(LOCK) do { } while(0) argument
276 #define nl_write_unlock(LOCK) do { } while(0) argument
/third_party/musl/porting/liteos_a/user/src/misc/
Dsyslog.c25 LOCK(lock); in setlogmask()
45 LOCK(lock); in closelog()
63 LOCK(lock); in openlog()
134 LOCK(lock); in __vsyslog()
/third_party/musl/src/misc/
Dsyslog.c23 LOCK(lock); in setlogmask()
42 LOCK(lock); in closelog()
59 LOCK(lock); in openlog()
130 LOCK(lock); in __vsyslog()
/third_party/musl/porting/uniproton/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/porting/liteos_m/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
Dofl.c8 static int LOCK(void) in LOCK() function
21 LOCK(); in __ofl_lock()
/third_party/musl/porting/liteos_a/user/src/thread/
Dsem_open.c41 LOCK(lock); in sem_open()
136 LOCK(lock); in sem_open()
153 LOCK(lock); in sem_open()
162 LOCK(lock); in sem_close()
/third_party/musl/src/thread/
Dsem_open.c41 LOCK(lock); in sem_open()
138 LOCK(lock); in sem_open()
155 LOCK(lock); in sem_open()
164 LOCK(lock); in sem_close()
Dpthread_atfork.c19 LOCK(lock); in __fork_handler()
39 LOCK(lock); in pthread_atfork()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dgstimagesequencesrc.c52 #define LOCK(self) (g_rec_mutex_lock (&self->fields_lock)) macro
133 LOCK (self); in gst_image_sequence_src_uri_get_uri()
160 LOCK (self); in gst_image_sequence_src_uri_set_uri()
399 LOCK (self); in gst_image_sequence_src_query()
430 LOCK (self); in gst_image_sequence_src_set_property()
460 LOCK (self); in gst_image_sequence_src_get_property()
552 LOCK (self); in gst_image_sequence_src_set_duration()
582 LOCK (self); in gst_image_sequence_src_create()
621 LOCK (self); in gst_image_sequence_src_create()
/third_party/musl/porting/uniproton/kernel/src/time/
D__tz.c24 static int LOCK(void) in LOCK() function
162 LOCK(); in __secs_to_zone()
217 LOCK(); in __tzset()
227 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/liteos_a/kernel/src/time/
D__tz.c20 static int LOCK(void) in LOCK() function
158 LOCK(); in __secs_to_zone()
213 LOCK(); in __tzset()
223 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/liteos_m/kernel/src/time/
D__tz.c24 static int LOCK(void) in LOCK() function
162 LOCK(); in __secs_to_zone()
217 LOCK(); in __tzset()
227 LOCK(); in __tm_to_tzname()
/third_party/musl/porting/linux/user/src/ldso/
Ddlerror.c28 LOCK(freebuf_queue_lock); in __dl_thread_cleanup()
38 LOCK(freebuf_queue_lock); in __dl_vseterr()
/third_party/musl/src/ldso/
Ddlerror.c27 LOCK(freebuf_queue_lock); in __dl_thread_cleanup()
37 LOCK(freebuf_queue_lock); in __dl_vseterr()
/third_party/musl/src/stdio/
Dofl.c9 LOCK(ofl_lock); in __ofl_lock()
/third_party/musl/porting/liteos_m/kernel/src/internal/
Dlock.h6 #define LOCK(x) __lock(x) macro
/third_party/musl/src/internal/
Dlock.h6 #define LOCK(x) __lock(x) macro

12345