/include/linux/ |
D | spinlock_api_up.h | 19 #define assert_spin_locked(lock) do { (void)(lock); } while (0) argument 27 #define __LOCK(lock) \ argument 30 #define __LOCK_BH(lock) \ argument 33 #define __LOCK_IRQ(lock) \ argument 36 #define __LOCK_IRQSAVE(lock, flags) \ argument 39 #define __UNLOCK(lock) \ argument 42 #define __UNLOCK_BH(lock) \ argument 45 #define __UNLOCK_IRQ(lock) \ argument 48 #define __UNLOCK_IRQRESTORE(lock, flags) \ argument 51 #define _spin_lock(lock) __LOCK(lock) argument [all …]
|
D | spinlock.h | 96 # define spin_lock_init(lock) \ argument 104 # define spin_lock_init(lock) \ argument 111 # define rwlock_init(lock) \ argument 118 # define rwlock_init(lock) \ argument 122 #define spin_is_locked(lock) __raw_spin_is_locked(&(lock)->raw_lock) argument 125 #define spin_is_contended(lock) ((lock)->break_lock) argument 129 #define spin_is_contended(lock) __raw_spin_is_contended(&(lock)->raw_lock) argument 131 #define spin_is_contended(lock) (((void)(lock), 0)) argument 139 #define spin_unlock_wait(lock) __raw_spin_unlock_wait(&(lock)->raw_lock) argument 152 #define _raw_spin_lock_flags(lock, flags) _raw_spin_lock(lock) argument [all …]
|
D | spinlock_up.h | 23 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 29 __raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long flags) in __raw_spin_lock_flags() 35 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 44 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 52 #define __raw_read_lock(lock) do { (void)(lock); } while (0) argument 53 #define __raw_write_lock(lock) do { (void)(lock); } while (0) argument 54 #define __raw_read_trylock(lock) ({ (void)(lock); 1; }) argument 55 #define __raw_write_trylock(lock) ({ (void)(lock); 1; }) argument 56 #define __raw_read_unlock(lock) do { (void)(lock); } while (0) argument 57 #define __raw_write_unlock(lock) do { (void)(lock); } while (0) argument [all …]
|
D | seqlock.h | 34 spinlock_t lock; member 173 #define write_seqlock_irqsave(lock, flags) \ argument 175 #define write_seqlock_irq(lock) \ argument 177 #define write_seqlock_bh(lock) \ argument 180 #define write_sequnlock_irqrestore(lock, flags) \ argument 182 #define write_sequnlock_irq(lock) \ argument 184 #define write_sequnlock_bh(lock) \ argument 187 #define read_seqbegin_irqsave(lock, flags) \ argument 190 #define read_seqretry_irqrestore(lock, iv, flags) \ argument
|
D | mutex.h | 71 struct mutex *lock; member 115 static inline int mutex_is_locked(struct mutex *lock) in mutex_is_locked() 131 #define mutex_lock(lock) mutex_lock_nested(lock, 0) argument 132 #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0) argument 133 #define mutex_lock_killable(lock) mutex_lock_killable_nested(lock, 0) argument 139 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument 140 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument 141 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument
|
D | wakelock.h | 78 static inline void wake_lock_init(struct wake_lock *lock, int type, in wake_lock_init() 80 static inline void wake_lock_destroy(struct wake_lock *lock) {} in wake_lock_destroy() 81 static inline void wake_lock(struct wake_lock *lock) {} in wake_lock() 82 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout) {} in wake_lock_timeout() 83 static inline void wake_unlock(struct wake_lock *lock) {} in wake_unlock() 85 static inline int wake_lock_active(struct wake_lock *lock) { return 0; } in wake_lock_active()
|
D | genalloc.h | 16 rwlock_t lock; member 25 spinlock_t lock; member
|
D | lockdep.h | 285 #define lockdep_set_class(lock, key) \ argument 287 #define lockdep_set_class_and_name(lock, key, name) \ argument 289 #define lockdep_set_class_and_subclass(lock, key, sub) \ argument 291 #define lockdep_set_subclass(lock, sub) \ argument 321 static inline void lock_set_subclass(struct lockdep_map *lock, in lock_set_subclass() 347 # define lockdep_init_map(lock, name, key, sub) \ argument 349 # define lockdep_set_class(lock, key) do { (void)(key); } while (0) argument 350 # define lockdep_set_class_and_name(lock, key, name) \ argument 352 #define lockdep_set_class_and_subclass(lock, key, sub) \ argument 354 #define lockdep_set_subclass(lock, sub) do { } while (0) argument [all …]
|
D | proportions.h | 61 spinlock_t lock; /* protect the snapshot state */ member 109 spinlock_t lock; /* protect the snapshot state */ member
|
D | cyclomx.h | 48 spinlock_t lock; member 63 spinlock_t lock; member
|
D | plist.h | 84 spinlock_t *lock; member 128 plist_head_init(struct plist_head *head, spinlock_t *lock) in plist_head_init()
|
D | fs_struct.h | 8 rwlock_t lock; member
|
/include/asm-m32r/ |
D | spinlock.h | 28 #define __raw_spin_lock_flags(lock, flags) __raw_spin_lock(lock) argument 39 static inline int __raw_spin_trylock(raw_spinlock_t *lock) in __raw_spin_trylock() 72 static inline void __raw_spin_lock(raw_spinlock_t *lock) in __raw_spin_lock() 114 static inline void __raw_spin_unlock(raw_spinlock_t *lock) in __raw_spin_unlock() 301 static inline int __raw_read_trylock(raw_rwlock_t *lock) in __raw_read_trylock() 310 static inline int __raw_write_trylock(raw_rwlock_t *lock) in __raw_write_trylock() 319 #define _raw_spin_relax(lock) cpu_relax() argument 320 #define _raw_read_relax(lock) cpu_relax() argument 321 #define _raw_write_relax(lock) cpu_relax() argument
|
D | spinlock_types.h | 15 volatile int lock; member
|
/include/asm-generic/bitops/ |
D | ext2-atomic.h | 4 #define ext2_set_bit_atomic(lock, nr, addr) \ argument 13 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
|
/include/net/sctp/ |
D | sctp.h | 207 #define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags) argument 208 #define sctp_spin_unlock_irqrestore(lock, flags) \ argument 212 #define sctp_spin_lock(lock) spin_lock(lock) argument 213 #define sctp_spin_unlock(lock) spin_unlock(lock) argument 214 #define sctp_write_lock(lock) write_lock(lock) argument 215 #define sctp_write_unlock(lock) write_unlock(lock) argument 216 #define sctp_read_lock(lock) read_lock(lock) argument 217 #define sctp_read_unlock(lock) read_unlock(lock) argument
|
/include/media/ |
D | videobuf-dvb.h | 14 struct mutex lock; member 34 struct mutex lock; member
|
/include/scsi/ |
D | libsrp.h | 25 spinlock_t lock; member 32 spinlock_t lock; member
|
/include/net/irda/ |
D | irmod.h | 97 #define irda_lock(lock) (! test_and_set_bit(0, (void *) (lock))) argument 98 #define irda_unlock(lock) (test_and_clear_bit(0, (void *) (lock))) argument
|
/include/net/phonet/ |
D | pn_dev.h | 28 spinlock_t lock; member
|
/include/asm-mn10300/ |
D | bitops.h | 231 #define ext2_set_bit_atomic(lock, nr, addr) \ argument 233 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
|
/include/linux/lockd/ |
D | xdr.h | 63 struct nlm_lock lock; member 80 struct nlm_lock lock; member
|
/include/net/netfilter/ |
D | xt_rateest.h | 8 spinlock_t lock; member
|
/include/net/ |
D | raw.h | 33 rwlock_t lock; member
|
D | inet_frag.h | 19 spinlock_t lock; member 37 rwlock_t lock; member
|