Lines Matching full:lock

54 #define __local_lock_init(lock)					\  argument
58 debug_check_no_locks_freed((void *)lock, sizeof(*lock));\
59 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
62 local_lock_debug_init(lock); \
65 #define __spinlock_nested_bh_init(lock) \ argument
69 debug_check_no_locks_freed((void *)lock, sizeof(*lock));\
70 lockdep_init_map_type(&(lock)->dep_map, #lock, &__key, \
73 local_lock_debug_init(lock); \
76 #define __local_lock(lock) \ argument
79 local_lock_acquire(this_cpu_ptr(lock)); \
82 #define __local_lock_irq(lock) \ argument
85 local_lock_acquire(this_cpu_ptr(lock)); \
88 #define __local_lock_irqsave(lock, flags) \ argument
91 local_lock_acquire(this_cpu_ptr(lock)); \
94 #define __local_unlock(lock) \ argument
96 local_lock_release(this_cpu_ptr(lock)); \
100 #define __local_unlock_irq(lock) \ argument
102 local_lock_release(this_cpu_ptr(lock)); \
106 #define __local_unlock_irqrestore(lock, flags) \ argument
108 local_lock_release(this_cpu_ptr(lock)); \
112 #define __local_lock_nested_bh(lock) \ argument
115 local_lock_acquire(this_cpu_ptr(lock)); \
118 #define __local_unlock_nested_bh(lock) \ argument
119 local_lock_release(this_cpu_ptr(lock))
142 #define __local_lock_irq(lock) __local_lock(lock) argument
144 #define __local_lock_irqsave(lock, flags) \ argument
148 __local_lock(lock); \
157 #define __local_unlock_irq(lock) __local_unlock(lock) argument
159 #define __local_unlock_irqrestore(lock, flags) __local_unlock(lock) argument
161 #define __local_lock_nested_bh(lock) \ argument
164 spin_lock(this_cpu_ptr(lock)); \
167 #define __local_unlock_nested_bh(lock) \ argument
169 spin_unlock(this_cpu_ptr((lock))); \