Searched refs:lock (Results 1 - 25 of 6998) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dspinlock_api_up.h19 #define assert_raw_spin_locked(lock) do { (void)(lock); } while (0)
24 * flags straight, to suppress compiler warnings of unused lock
27 #define __LOCK(lock) \
28 do { preempt_disable(); __acquire(lock); (void)(lock); } while (0)
30 #define __LOCK_BH(lock) \
31 do { local_bh_disable(); __LOCK(lock); } while (0)
33 #define __LOCK_IRQ(lock) \
34 do { local_irq_disable(); __LOCK(lock); } whil
[all...]
H A Dspinlock_up.h23 static inline void arch_spin_lock(arch_spinlock_t *lock) argument
25 lock->slock = 0;
29 arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) argument
32 lock->slock = 0;
35 static inline int arch_spin_trylock(arch_spinlock_t *lock) argument
37 char oldval = lock->slock;
39 lock->slock = 0;
44 static inline void arch_spin_unlock(arch_spinlock_t *lock) argument
46 lock->slock = 1;
52 #define arch_read_lock(lock) d
[all...]
H A Dspinlock.h63 #define LOCK_SECTION_NAME ".text..lock."KBUILD_BASENAME
92 extern void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name,
94 # define raw_spin_lock_init(lock) \
98 __raw_spin_lock_init((lock), #lock, &__key); \
102 # define raw_spin_lock_init(lock) \
103 do { *(lock) = __RAW_SPIN_LOCK_UNLOCKED(lock); } while (0)
106 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)
131 extern void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); variable
134 extern void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); variable
149 do_raw_spin_trylock(raw_spinlock_t *lock) argument
271 spinlock_check(spinlock_t *lock) argument
282 spin_lock(spinlock_t *lock) argument
287 spin_lock_bh(spinlock_t *lock) argument
292 spin_trylock(spinlock_t *lock) argument
307 spin_lock_irq(spinlock_t *lock) argument
322 spin_unlock(spinlock_t *lock) argument
327 spin_unlock_bh(spinlock_t *lock) argument
332 spin_unlock_irq(spinlock_t *lock) argument
337 spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) argument
342 spin_trylock_bh(spinlock_t *lock) argument
347 spin_trylock_irq(spinlock_t *lock) argument
357 spin_unlock_wait(spinlock_t *lock) argument
362 spin_is_locked(spinlock_t *lock) argument
367 spin_is_contended(spinlock_t *lock) argument
372 spin_can_lock(spinlock_t *lock) argument
377 assert_spin_locked(spinlock_t *lock) argument
[all...]
H A Drwlock_api_smp.h18 void __lockfunc _raw_read_lock(rwlock_t *lock) __acquires(lock); variable
19 void __lockfunc _raw_write_lock(rwlock_t *lock) __acquires(lock); variable
20 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) __acquires(lock); variable
21 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock); variable
22 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock); variable
23 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock); variable
25 __acquires(lock); variable
27 __acquires(lock); variable
30 void __lockfunc _raw_read_unlock(rwlock_t *lock) __releases(lock); variable
31 void __lockfunc _raw_write_unlock(rwlock_t *lock) __releases(lock); variable
32 void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) __releases(lock); variable
33 void __lockfunc _raw_write_unlock_bh(rwlock_t *lock) __releases(lock); variable
34 void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) __releases(lock); variable
35 void __lockfunc _raw_write_unlock_irq(rwlock_t *lock) __releases(lock); variable
38 __releases(lock); variable
41 __releases(lock); variable
117 __raw_read_trylock(rwlock_t *lock) argument
128 __raw_write_trylock(rwlock_t *lock) argument
146 __raw_read_lock(rwlock_t *lock) argument
153 __raw_read_lock_irqsave(rwlock_t *lock) argument
165 __raw_read_lock_irq(rwlock_t *lock) argument
173 __raw_read_lock_bh(rwlock_t *lock) argument
181 __raw_write_lock_irqsave(rwlock_t *lock) argument
193 __raw_write_lock_irq(rwlock_t *lock) argument
201 __raw_write_lock_bh(rwlock_t *lock) argument
209 __raw_write_lock(rwlock_t *lock) argument
218 __raw_write_unlock(rwlock_t *lock) argument
225 __raw_read_unlock(rwlock_t *lock) argument
233 __raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) argument
241 __raw_read_unlock_irq(rwlock_t *lock) argument
249 __raw_read_unlock_bh(rwlock_t *lock) argument
257 __raw_write_unlock_irqrestore(rwlock_t *lock, unsigned long flags) argument
266 __raw_write_unlock_irq(rwlock_t *lock) argument
274 __raw_write_unlock_bh(rwlock_t *lock) argument
[all...]
H A Drwlock.h18 extern void __rwlock_init(rwlock_t *lock, const char *name,
20 # define rwlock_init(lock) \
24 __rwlock_init((lock), #lock, &__key); \
27 # define rwlock_init(lock) \
28 do { *(lock) = __RW_LOCK_UNLOCKED(lock); } while (0)
32 extern void do_raw_read_lock(rwlock_t *lock) __acquires(lock); variable
33 #define do_raw_read_lock_flags(lock, flag
35 extern void do_raw_read_unlock(rwlock_t *lock) __releases(lock); variable
36 extern void do_raw_write_lock(rwlock_t *lock) __acquires(lock); variable
39 extern void do_raw_write_unlock(rwlock_t *lock) __releases(lock); variable
[all...]
H A Dspinlock_api_smp.h22 void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); variable
23 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass)
24 __acquires(lock); variable
26 _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map)
27 __acquires(lock); variable
28 void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) __acquires(lock); variable
29 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock)
30 __acquires(lock); variable
33 __acquires(lock); variable
36 __acquires(lock); variable
39 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); variable
40 void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) __releases(lock); variable
41 void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) __releases(lock); variable
44 __releases(lock); variable
86 __raw_spin_trylock(raw_spinlock_t *lock) argument
104 __raw_spin_lock_irqsave(raw_spinlock_t *lock) argument
124 __raw_spin_lock_irq(raw_spinlock_t *lock) argument
132 __raw_spin_lock_bh(raw_spinlock_t *lock) argument
140 __raw_spin_lock(raw_spinlock_t *lock) argument
149 __raw_spin_unlock(raw_spinlock_t *lock) argument
156 __raw_spin_unlock_irqrestore(raw_spinlock_t *lock, unsigned long flags) argument
165 __raw_spin_unlock_irq(raw_spinlock_t *lock) argument
173 __raw_spin_unlock_bh(raw_spinlock_t *lock) argument
181 __raw_spin_trylock_bh(raw_spinlock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dspinlock_api_up.h19 #define assert_raw_spin_locked(lock) do { (void)(lock); } while (0)
24 * flags straight, to suppress compiler warnings of unused lock
27 #define __LOCK(lock) \
28 do { preempt_disable(); __acquire(lock); (void)(lock); } while (0)
30 #define __LOCK_BH(lock) \
31 do { local_bh_disable(); __LOCK(lock); } while (0)
33 #define __LOCK_IRQ(lock) \
34 do { local_irq_disable(); __LOCK(lock); } whil
[all...]
H A Dspinlock_up.h23 static inline void arch_spin_lock(arch_spinlock_t *lock) argument
25 lock->slock = 0;
29 arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) argument
32 lock->slock = 0;
35 static inline int arch_spin_trylock(arch_spinlock_t *lock) argument
37 char oldval = lock->slock;
39 lock->slock = 0;
44 static inline void arch_spin_unlock(arch_spinlock_t *lock) argument
46 lock->slock = 1;
52 #define arch_read_lock(lock) d
[all...]
H A Dspinlock.h63 #define LOCK_SECTION_NAME ".text..lock."KBUILD_BASENAME
92 extern void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name,
94 # define raw_spin_lock_init(lock) \
98 __raw_spin_lock_init((lock), #lock, &__key); \
102 # define raw_spin_lock_init(lock) \
103 do { *(lock) = __RAW_SPIN_LOCK_UNLOCKED(lock); } while (0)
106 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)
131 extern void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); variable
134 extern void do_raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); variable
149 do_raw_spin_trylock(raw_spinlock_t *lock) argument
271 spinlock_check(spinlock_t *lock) argument
282 spin_lock(spinlock_t *lock) argument
287 spin_lock_bh(spinlock_t *lock) argument
292 spin_trylock(spinlock_t *lock) argument
307 spin_lock_irq(spinlock_t *lock) argument
322 spin_unlock(spinlock_t *lock) argument
327 spin_unlock_bh(spinlock_t *lock) argument
332 spin_unlock_irq(spinlock_t *lock) argument
337 spin_unlock_irqrestore(spinlock_t *lock, unsigned long flags) argument
342 spin_trylock_bh(spinlock_t *lock) argument
347 spin_trylock_irq(spinlock_t *lock) argument
357 spin_unlock_wait(spinlock_t *lock) argument
362 spin_is_locked(spinlock_t *lock) argument
367 spin_is_contended(spinlock_t *lock) argument
372 spin_can_lock(spinlock_t *lock) argument
377 assert_spin_locked(spinlock_t *lock) argument
[all...]
H A Drwlock_api_smp.h18 void __lockfunc _raw_read_lock(rwlock_t *lock) __acquires(lock); variable
19 void __lockfunc _raw_write_lock(rwlock_t *lock) __acquires(lock); variable
20 void __lockfunc _raw_read_lock_bh(rwlock_t *lock) __acquires(lock); variable
21 void __lockfunc _raw_write_lock_bh(rwlock_t *lock) __acquires(lock); variable
22 void __lockfunc _raw_read_lock_irq(rwlock_t *lock) __acquires(lock); variable
23 void __lockfunc _raw_write_lock_irq(rwlock_t *lock) __acquires(lock); variable
25 __acquires(lock); variable
27 __acquires(lock); variable
30 void __lockfunc _raw_read_unlock(rwlock_t *lock) __releases(lock); variable
31 void __lockfunc _raw_write_unlock(rwlock_t *lock) __releases(lock); variable
32 void __lockfunc _raw_read_unlock_bh(rwlock_t *lock) __releases(lock); variable
33 void __lockfunc _raw_write_unlock_bh(rwlock_t *lock) __releases(lock); variable
34 void __lockfunc _raw_read_unlock_irq(rwlock_t *lock) __releases(lock); variable
35 void __lockfunc _raw_write_unlock_irq(rwlock_t *lock) __releases(lock); variable
38 __releases(lock); variable
41 __releases(lock); variable
117 __raw_read_trylock(rwlock_t *lock) argument
128 __raw_write_trylock(rwlock_t *lock) argument
146 __raw_read_lock(rwlock_t *lock) argument
153 __raw_read_lock_irqsave(rwlock_t *lock) argument
165 __raw_read_lock_irq(rwlock_t *lock) argument
173 __raw_read_lock_bh(rwlock_t *lock) argument
181 __raw_write_lock_irqsave(rwlock_t *lock) argument
193 __raw_write_lock_irq(rwlock_t *lock) argument
201 __raw_write_lock_bh(rwlock_t *lock) argument
209 __raw_write_lock(rwlock_t *lock) argument
218 __raw_write_unlock(rwlock_t *lock) argument
225 __raw_read_unlock(rwlock_t *lock) argument
233 __raw_read_unlock_irqrestore(rwlock_t *lock, unsigned long flags) argument
241 __raw_read_unlock_irq(rwlock_t *lock) argument
249 __raw_read_unlock_bh(rwlock_t *lock) argument
257 __raw_write_unlock_irqrestore(rwlock_t *lock, unsigned long flags) argument
266 __raw_write_unlock_irq(rwlock_t *lock) argument
274 __raw_write_unlock_bh(rwlock_t *lock) argument
[all...]
H A Drwlock.h18 extern void __rwlock_init(rwlock_t *lock, const char *name,
20 # define rwlock_init(lock) \
24 __rwlock_init((lock), #lock, &__key); \
27 # define rwlock_init(lock) \
28 do { *(lock) = __RW_LOCK_UNLOCKED(lock); } while (0)
32 extern void do_raw_read_lock(rwlock_t *lock) __acquires(lock); variable
33 #define do_raw_read_lock_flags(lock, flag
35 extern void do_raw_read_unlock(rwlock_t *lock) __releases(lock); variable
36 extern void do_raw_write_lock(rwlock_t *lock) __acquires(lock); variable
39 extern void do_raw_write_unlock(rwlock_t *lock) __releases(lock); variable
[all...]
H A Dspinlock_api_smp.h22 void __lockfunc _raw_spin_lock(raw_spinlock_t *lock) __acquires(lock); variable
23 void __lockfunc _raw_spin_lock_nested(raw_spinlock_t *lock, int subclass)
24 __acquires(lock); variable
26 _raw_spin_lock_nest_lock(raw_spinlock_t *lock, struct lockdep_map *map)
27 __acquires(lock); variable
28 void __lockfunc _raw_spin_lock_bh(raw_spinlock_t *lock) __acquires(lock); variable
29 void __lockfunc _raw_spin_lock_irq(raw_spinlock_t *lock)
30 __acquires(lock); variable
33 __acquires(lock); variable
36 __acquires(lock); variable
39 void __lockfunc _raw_spin_unlock(raw_spinlock_t *lock) __releases(lock); variable
40 void __lockfunc _raw_spin_unlock_bh(raw_spinlock_t *lock) __releases(lock); variable
41 void __lockfunc _raw_spin_unlock_irq(raw_spinlock_t *lock) __releases(lock); variable
44 __releases(lock); variable
86 __raw_spin_trylock(raw_spinlock_t *lock) argument
104 __raw_spin_lock_irqsave(raw_spinlock_t *lock) argument
124 __raw_spin_lock_irq(raw_spinlock_t *lock) argument
132 __raw_spin_lock_bh(raw_spinlock_t *lock) argument
140 __raw_spin_lock(raw_spinlock_t *lock) argument
149 __raw_spin_unlock(raw_spinlock_t *lock) argument
156 __raw_spin_unlock_irqrestore(raw_spinlock_t *lock, unsigned long flags) argument
165 __raw_spin_unlock_irq(raw_spinlock_t *lock) argument
173 __raw_spin_unlock_bh(raw_spinlock_t *lock) argument
181 __raw_spin_trylock_bh(raw_spinlock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/gpu/drm/ttm/
H A Dttm_lock.c45 void ttm_lock_init(struct ttm_lock *lock) argument
47 spin_lock_init(&lock->lock);
48 init_waitqueue_head(&lock->queue);
49 lock->rw = 0;
50 lock->flags = 0;
51 lock->kill_takers = false;
52 lock->signal = SIGKILL;
56 void ttm_read_unlock(struct ttm_lock *lock) argument
58 spin_lock(&lock
65 __ttm_read_lock(struct ttm_lock *lock) argument
83 ttm_read_lock(struct ttm_lock *lock, bool interruptible) argument
96 __ttm_read_trylock(struct ttm_lock *lock, bool *locked) argument
120 ttm_read_trylock(struct ttm_lock *lock, bool interruptible) argument
139 ttm_write_unlock(struct ttm_lock *lock) argument
148 __ttm_write_lock(struct ttm_lock *lock) argument
169 ttm_write_lock(struct ttm_lock *lock, bool interruptible) argument
189 ttm_write_lock_downgrade(struct ttm_lock *lock) argument
197 __ttm_vt_unlock(struct ttm_lock *lock) argument
214 struct ttm_lock *lock = container_of(base, struct ttm_lock, base); local
222 __ttm_vt_lock(struct ttm_lock *lock) argument
238 ttm_vt_lock(struct ttm_lock *lock, bool interruptible, struct ttm_object_file *tfile) argument
274 ttm_vt_unlock(struct ttm_lock *lock) argument
281 ttm_suspend_unlock(struct ttm_lock *lock) argument
290 __ttm_suspend_lock(struct ttm_lock *lock) argument
306 ttm_suspend_lock(struct ttm_lock *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/gpu/drm/ttm/
H A Dttm_lock.c45 void ttm_lock_init(struct ttm_lock *lock) argument
47 spin_lock_init(&lock->lock);
48 init_waitqueue_head(&lock->queue);
49 lock->rw = 0;
50 lock->flags = 0;
51 lock->kill_takers = false;
52 lock->signal = SIGKILL;
56 void ttm_read_unlock(struct ttm_lock *lock) argument
58 spin_lock(&lock
65 __ttm_read_lock(struct ttm_lock *lock) argument
83 ttm_read_lock(struct ttm_lock *lock, bool interruptible) argument
96 __ttm_read_trylock(struct ttm_lock *lock, bool *locked) argument
120 ttm_read_trylock(struct ttm_lock *lock, bool interruptible) argument
139 ttm_write_unlock(struct ttm_lock *lock) argument
148 __ttm_write_lock(struct ttm_lock *lock) argument
169 ttm_write_lock(struct ttm_lock *lock, bool interruptible) argument
189 ttm_write_lock_downgrade(struct ttm_lock *lock) argument
197 __ttm_vt_unlock(struct ttm_lock *lock) argument
214 struct ttm_lock *lock = container_of(base, struct ttm_lock, base); local
222 __ttm_vt_lock(struct ttm_lock *lock) argument
238 ttm_vt_lock(struct ttm_lock *lock, bool interruptible, struct ttm_object_file *tfile) argument
274 ttm_vt_unlock(struct ttm_lock *lock) argument
281 ttm_suspend_unlock(struct ttm_lock *lock) argument
290 __ttm_suspend_lock(struct ttm_lock *lock) argument
306 ttm_suspend_lock(struct ttm_lock *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/alpha/include/asm/
H A Dspinlock.h9 * Simple spin lock operations. There are two variants, one clears IRQ's
15 #define arch_spin_lock_flags(lock, flags) arch_spin_lock(lock)
16 #define arch_spin_is_locked(x) ((x)->lock != 0)
18 do { cpu_relax(); } while ((x)->lock)
20 static inline void arch_spin_unlock(arch_spinlock_t * lock) argument
23 lock->lock = 0;
26 static inline void arch_spin_lock(arch_spinlock_t * lock) argument
42 : "=&r" (tmp), "=m" (lock
46 arch_spin_trylock(arch_spinlock_t *lock) argument
53 arch_read_can_lock(arch_rwlock_t *lock) argument
58 arch_write_can_lock(arch_rwlock_t *lock) argument
63 arch_read_lock(arch_rwlock_t *lock) argument
83 arch_write_lock(arch_rwlock_t *lock) argument
103 arch_read_trylock(arch_rwlock_t * lock) argument
125 arch_write_trylock(arch_rwlock_t * lock) argument
147 arch_read_unlock(arch_rwlock_t * lock) argument
163 arch_write_unlock(arch_rwlock_t * lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/alpha/include/asm/
H A Dspinlock.h9 * Simple spin lock operations. There are two variants, one clears IRQ's
15 #define arch_spin_lock_flags(lock, flags) arch_spin_lock(lock)
16 #define arch_spin_is_locked(x) ((x)->lock != 0)
18 do { cpu_relax(); } while ((x)->lock)
20 static inline void arch_spin_unlock(arch_spinlock_t * lock) argument
23 lock->lock = 0;
26 static inline void arch_spin_lock(arch_spinlock_t * lock) argument
42 : "=&r" (tmp), "=m" (lock
46 arch_spin_trylock(arch_spinlock_t *lock) argument
53 arch_read_can_lock(arch_rwlock_t *lock) argument
58 arch_write_can_lock(arch_rwlock_t *lock) argument
63 arch_read_lock(arch_rwlock_t *lock) argument
83 arch_write_lock(arch_rwlock_t *lock) argument
103 arch_read_trylock(arch_rwlock_t * lock) argument
125 arch_write_trylock(arch_rwlock_t * lock) argument
147 arch_read_unlock(arch_rwlock_t * lock) argument
163 arch_write_unlock(arch_rwlock_t * lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/arm-none-eabi/include/sys/
H A Dlock.h4 /* dummy lock routines for single-threaded aps */
11 #define __LOCK_INIT(class,lock) static int lock = 0;
12 #define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
13 #define __lock_init(lock) (_CAST_VOID 0)
14 #define __lock_init_recursive(lock) (_CAST_VOID 0)
15 #define __lock_close(lock) (_CAST_VOID 0)
16 #define __lock_close_recursive(lock) (_CAST_VOID 0)
17 #define __lock_acquire(lock) (_CAST_VOI
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2011.09/arm-none-eabi/include/sys/
H A Dlock.h4 /* dummy lock routines for single-threaded aps */
11 #define __LOCK_INIT(class,lock) static int lock = 0;
12 #define __LOCK_INIT_RECURSIVE(class,lock) static int lock = 0;
13 #define __lock_init(lock) (_CAST_VOID 0)
14 #define __lock_init_recursive(lock) (_CAST_VOID 0)
15 #define __lock_close(lock) (_CAST_VOID 0)
16 #define __lock_close_recursive(lock) (_CAST_VOID 0)
17 #define __lock_acquire(lock) (_CAST_VOI
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/wget/lib/glthread/
H A Dlock.c23 #include "glthread/lock.h"
38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) argument
42 err = pthread_rwlock_init (&lock->rwlock, NULL);
45 lock->initialized = 1;
50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) argument
52 if (!lock->initialized)
56 err = pthread_mutex_lock (&lock->guard);
59 if (!lock->initialized)
61 err = glthread_rwlock_init_multithreaded (lock);
64 pthread_mutex_unlock (&lock
76 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
102 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
110 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
128 glthread_rwlock_init_multithreaded(gl_rwlock_t *lock) argument
147 glthread_rwlock_rdlock_multithreaded(gl_rwlock_t *lock) argument
176 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
203 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
259 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
284 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
313 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
341 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
367 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
375 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
393 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
406 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
427 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
443 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
532 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
545 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
566 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
582 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
637 glthread_lock_init_func(gl_lock_t *lock) argument
644 glthread_lock_lock_func(gl_lock_t *lock) argument
662 glthread_lock_unlock_func(gl_lock_t *lock) argument
671 glthread_lock_destroy_func(gl_lock_t *lock) argument
774 glthread_rwlock_init_func(gl_rwlock_t *lock) argument
784 glthread_rwlock_rdlock_func(gl_rwlock_t *lock) argument
838 glthread_rwlock_wrlock_func(gl_rwlock_t *lock) argument
891 glthread_rwlock_unlock_func(gl_rwlock_t *lock) argument
935 glthread_rwlock_destroy_func(gl_rwlock_t *lock) argument
953 glthread_recursive_lock_init_func(gl_recursive_lock_t *lock) argument
962 glthread_recursive_lock_lock_func(gl_recursive_lock_t *lock) argument
992 glthread_recursive_lock_unlock_func(gl_recursive_lock_t *lock) argument
1007 glthread_recursive_lock_destroy_func(gl_recursive_lock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/wget/lib/glthread/
H A Dlock.c23 #include "glthread/lock.h"
38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) argument
42 err = pthread_rwlock_init (&lock->rwlock, NULL);
45 lock->initialized = 1;
50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) argument
52 if (!lock->initialized)
56 err = pthread_mutex_lock (&lock->guard);
59 if (!lock->initialized)
61 err = glthread_rwlock_init_multithreaded (lock);
64 pthread_mutex_unlock (&lock
76 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
102 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
110 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
128 glthread_rwlock_init_multithreaded(gl_rwlock_t *lock) argument
147 glthread_rwlock_rdlock_multithreaded(gl_rwlock_t *lock) argument
176 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
203 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
259 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
284 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
313 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
341 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
367 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
375 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
393 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
406 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
427 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
443 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
532 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
545 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
566 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
582 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
637 glthread_lock_init_func(gl_lock_t *lock) argument
644 glthread_lock_lock_func(gl_lock_t *lock) argument
662 glthread_lock_unlock_func(gl_lock_t *lock) argument
671 glthread_lock_destroy_func(gl_lock_t *lock) argument
774 glthread_rwlock_init_func(gl_rwlock_t *lock) argument
784 glthread_rwlock_rdlock_func(gl_rwlock_t *lock) argument
838 glthread_rwlock_wrlock_func(gl_rwlock_t *lock) argument
891 glthread_rwlock_unlock_func(gl_rwlock_t *lock) argument
935 glthread_rwlock_destroy_func(gl_rwlock_t *lock) argument
953 glthread_recursive_lock_init_func(gl_recursive_lock_t *lock) argument
962 glthread_recursive_lock_lock_func(gl_recursive_lock_t *lock) argument
992 glthread_recursive_lock_unlock_func(gl_recursive_lock_t *lock) argument
1007 glthread_recursive_lock_destroy_func(gl_recursive_lock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/wget/lib/glthread/
H A Dlock.c23 #include "glthread/lock.h"
38 glthread_rwlock_init_multithreaded (gl_rwlock_t *lock) argument
42 err = pthread_rwlock_init (&lock->rwlock, NULL);
45 lock->initialized = 1;
50 glthread_rwlock_rdlock_multithreaded (gl_rwlock_t *lock) argument
52 if (!lock->initialized)
56 err = pthread_mutex_lock (&lock->guard);
59 if (!lock->initialized)
61 err = glthread_rwlock_init_multithreaded (lock);
64 pthread_mutex_unlock (&lock
76 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
102 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
110 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
128 glthread_rwlock_init_multithreaded(gl_rwlock_t *lock) argument
147 glthread_rwlock_rdlock_multithreaded(gl_rwlock_t *lock) argument
176 glthread_rwlock_wrlock_multithreaded(gl_rwlock_t *lock) argument
203 glthread_rwlock_unlock_multithreaded(gl_rwlock_t *lock) argument
259 glthread_rwlock_destroy_multithreaded(gl_rwlock_t *lock) argument
284 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
313 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
341 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
367 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
375 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
393 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
406 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
427 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
443 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
532 glthread_recursive_lock_init_multithreaded(gl_recursive_lock_t *lock) argument
545 glthread_recursive_lock_lock_multithreaded(gl_recursive_lock_t *lock) argument
566 glthread_recursive_lock_unlock_multithreaded(gl_recursive_lock_t *lock) argument
582 glthread_recursive_lock_destroy_multithreaded(gl_recursive_lock_t *lock) argument
637 glthread_lock_init_func(gl_lock_t *lock) argument
644 glthread_lock_lock_func(gl_lock_t *lock) argument
662 glthread_lock_unlock_func(gl_lock_t *lock) argument
671 glthread_lock_destroy_func(gl_lock_t *lock) argument
774 glthread_rwlock_init_func(gl_rwlock_t *lock) argument
784 glthread_rwlock_rdlock_func(gl_rwlock_t *lock) argument
838 glthread_rwlock_wrlock_func(gl_rwlock_t *lock) argument
891 glthread_rwlock_unlock_func(gl_rwlock_t *lock) argument
935 glthread_rwlock_destroy_func(gl_rwlock_t *lock) argument
953 glthread_recursive_lock_init_func(gl_recursive_lock_t *lock) argument
962 glthread_recursive_lock_lock_func(gl_recursive_lock_t *lock) argument
992 glthread_recursive_lock_unlock_func(gl_recursive_lock_t *lock) argument
1007 glthread_recursive_lock_destroy_func(gl_recursive_lock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/drm/ttm/
H A Dttm_lock.h33 * of the DRM heavyweight hardware lock.
34 * The lock is a read-write lock. Taking it in read mode and write mode
39 * It's allowed to leave kernel space with the vt lock held.
40 * If a user-space process dies while having the vt-lock,
41 * it will be released during the file descriptor release. The vt lock
42 * excludes write lock and read lock.
44 * The suspend mode is used to lock out all TTM users when preparing for
59 * @base: ttm base object used solely to release the lock i
72 spinlock_t lock; member in struct:ttm_lock
239 ttm_lock_set_kill(struct ttm_lock *lock, bool val, int signal) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/drm/ttm/
H A Dttm_lock.h33 * of the DRM heavyweight hardware lock.
34 * The lock is a read-write lock. Taking it in read mode and write mode
39 * It's allowed to leave kernel space with the vt lock held.
40 * If a user-space process dies while having the vt-lock,
41 * it will be released during the file descriptor release. The vt lock
42 * excludes write lock and read lock.
44 * The suspend mode is used to lock out all TTM users when preparing for
59 * @base: ttm base object used solely to release the lock i
72 spinlock_t lock; member in struct:ttm_lock
239 ttm_lock_set_kill(struct ttm_lock *lock, bool val, int signal) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/lib/
H A Dspinlock_debug.c16 void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, argument
21 * Make sure we are not reinitializing a held lock:
23 debug_check_no_locks_freed((void *)lock, sizeof(*lock));
24 lockdep_init_map(&lock->dep_map, name, key, 0);
26 lock->raw_lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED;
27 lock->magic = SPINLOCK_MAGIC;
28 lock->owner = SPINLOCK_OWNER_INIT;
29 lock->owner_cpu = -1;
34 void __rwlock_init(rwlock_t *lock, cons argument
52 spin_bug(raw_spinlock_t *lock, const char *msg) argument
76 debug_spin_lock_before(raw_spinlock_t *lock) argument
84 debug_spin_lock_after(raw_spinlock_t *lock) argument
90 debug_spin_unlock(raw_spinlock_t *lock) argument
101 __spin_lock_debug(raw_spinlock_t *lock) argument
128 do_raw_spin_lock(raw_spinlock_t *lock) argument
136 do_raw_spin_trylock(raw_spinlock_t *lock) argument
151 do_raw_spin_unlock(raw_spinlock_t *lock) argument
157 rwlock_bug(rwlock_t *lock, const char *msg) argument
171 do_raw_read_lock(rwlock_t *lock) argument
177 do_raw_read_trylock(rwlock_t *lock) argument
190 do_raw_read_unlock(rwlock_t *lock) argument
196 debug_write_lock_before(rwlock_t *lock) argument
204 debug_write_lock_after(rwlock_t *lock) argument
210 debug_write_unlock(rwlock_t *lock) argument
221 do_raw_write_lock(rwlock_t *lock) argument
228 do_raw_write_trylock(rwlock_t *lock) argument
243 do_raw_write_unlock(rwlock_t *lock) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/lib/
H A Dspinlock_debug.c16 void __raw_spin_lock_init(raw_spinlock_t *lock, const char *name, argument
21 * Make sure we are not reinitializing a held lock:
23 debug_check_no_locks_freed((void *)lock, sizeof(*lock));
24 lockdep_init_map(&lock->dep_map, name, key, 0);
26 lock->raw_lock = (arch_spinlock_t)__ARCH_SPIN_LOCK_UNLOCKED;
27 lock->magic = SPINLOCK_MAGIC;
28 lock->owner = SPINLOCK_OWNER_INIT;
29 lock->owner_cpu = -1;
34 void __rwlock_init(rwlock_t *lock, cons argument
52 spin_bug(raw_spinlock_t *lock, const char *msg) argument
76 debug_spin_lock_before(raw_spinlock_t *lock) argument
84 debug_spin_lock_after(raw_spinlock_t *lock) argument
90 debug_spin_unlock(raw_spinlock_t *lock) argument
101 __spin_lock_debug(raw_spinlock_t *lock) argument
128 do_raw_spin_lock(raw_spinlock_t *lock) argument
136 do_raw_spin_trylock(raw_spinlock_t *lock) argument
151 do_raw_spin_unlock(raw_spinlock_t *lock) argument
157 rwlock_bug(rwlock_t *lock, const char *msg) argument
171 do_raw_read_lock(rwlock_t *lock) argument
177 do_raw_read_trylock(rwlock_t *lock) argument
190 do_raw_read_unlock(rwlock_t *lock) argument
196 debug_write_lock_before(rwlock_t *lock) argument
204 debug_write_lock_after(rwlock_t *lock) argument
210 debug_write_unlock(rwlock_t *lock) argument
221 do_raw_write_lock(rwlock_t *lock) argument
228 do_raw_write_trylock(rwlock_t *lock) argument
243 do_raw_write_unlock(rwlock_t *lock) argument
[all...]

Completed in 124 milliseconds

1234567891011>>