/include/linux/ |
D | rwlock_api_smp.h | 44 #define _raw_read_lock(lock) __raw_read_lock(lock) argument 48 #define _raw_write_lock(lock) __raw_write_lock(lock) argument 52 #define _raw_read_lock_bh(lock) __raw_read_lock_bh(lock) argument 56 #define _raw_write_lock_bh(lock) __raw_write_lock_bh(lock) argument 60 #define _raw_read_lock_irq(lock) __raw_read_lock_irq(lock) argument 64 #define _raw_write_lock_irq(lock) __raw_write_lock_irq(lock) argument 68 #define _raw_read_lock_irqsave(lock) __raw_read_lock_irqsave(lock) argument 72 #define _raw_write_lock_irqsave(lock) __raw_write_lock_irqsave(lock) argument 76 #define _raw_read_trylock(lock) __raw_read_trylock(lock) argument 80 #define _raw_write_trylock(lock) __raw_write_trylock(lock) argument [all …]
|
D | spinlock_api_up.h | 19 #define assert_raw_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 46 #define __UNLOCK_IRQ(lock) \ argument 49 #define __UNLOCK_IRQRESTORE(lock, flags) \ argument 52 #define _raw_spin_lock(lock) __LOCK(lock) argument [all …]
|
D | spinlock.h | 95 # define raw_spin_lock_init(lock) \ argument 103 # define raw_spin_lock_init(lock) \ argument 107 #define raw_spin_is_locked(lock) arch_spin_is_locked(&(lock)->raw_lock) argument 110 #define raw_spin_is_contended(lock) ((lock)->break_lock) argument 114 #define raw_spin_is_contended(lock) arch_spin_is_contended(&(lock)->raw_lock) argument 116 #define raw_spin_is_contended(lock) (((void)(lock), 0)) argument 129 #define raw_spin_unlock_wait(lock) arch_spin_unlock_wait(&(lock)->raw_lock) argument 133 #define do_raw_spin_lock_flags(lock, flags) do_raw_spin_lock(lock) argument 137 static inline void do_raw_spin_lock(raw_spinlock_t *lock) __acquires(lock) in do_raw_spin_lock() 144 do_raw_spin_lock_flags(raw_spinlock_t *lock, unsigned long *flags) __acquires(lock) in do_raw_spin_lock_flags() [all …]
|
D | spinlock_api_smp.h | 47 #define _raw_spin_lock(lock) __raw_spin_lock(lock) argument 51 #define _raw_spin_lock_bh(lock) __raw_spin_lock_bh(lock) argument 55 #define _raw_spin_lock_irq(lock) __raw_spin_lock_irq(lock) argument 59 #define _raw_spin_lock_irqsave(lock) __raw_spin_lock_irqsave(lock) argument 63 #define _raw_spin_trylock(lock) __raw_spin_trylock(lock) argument 67 #define _raw_spin_trylock_bh(lock) __raw_spin_trylock_bh(lock) argument 71 #define _raw_spin_unlock(lock) __raw_spin_unlock(lock) argument 75 #define _raw_spin_unlock_bh(lock) __raw_spin_unlock_bh(lock) argument 79 #define _raw_spin_unlock_irq(lock) __raw_spin_unlock_irq(lock) argument 83 #define _raw_spin_unlock_irqrestore(lock, flags) __raw_spin_unlock_irqrestore(lock, flags) argument [all …]
|
D | spinlock_up.h | 28 static inline void arch_spin_lock(arch_spinlock_t *lock) in arch_spin_lock() 35 arch_spin_lock_flags(arch_spinlock_t *lock, unsigned long flags) in arch_spin_lock_flags() 42 static inline int arch_spin_trylock(arch_spinlock_t *lock) in arch_spin_trylock() 52 static inline void arch_spin_unlock(arch_spinlock_t *lock) in arch_spin_unlock() 61 #define arch_read_lock(lock) do { barrier(); (void)(lock); } while (0) argument 62 #define arch_write_lock(lock) do { barrier(); (void)(lock); } while (0) argument 63 #define arch_read_trylock(lock) ({ barrier(); (void)(lock); 1; }) argument 64 #define arch_write_trylock(lock) ({ barrier(); (void)(lock); 1; }) argument 65 #define arch_read_unlock(lock) do { barrier(); (void)(lock); } while (0) argument 66 #define arch_write_unlock(lock) do { barrier(); (void)(lock); } while (0) argument [all …]
|
D | rwlock.h | 20 # define rwlock_init(lock) \ argument 27 # define rwlock_init(lock) \ argument 33 #define do_raw_read_lock_flags(lock, flags) do_raw_read_lock(lock) argument 37 #define do_raw_write_lock_flags(lock, flags) do_raw_write_lock(lock) argument 42 # define do_raw_read_lock_flags(lock, flags) \ argument 47 # define do_raw_write_lock_flags(lock, flags) \ argument 61 #define read_trylock(lock) __cond_lock(lock, _raw_read_trylock(lock)) argument 62 #define write_trylock(lock) __cond_lock(lock, _raw_write_trylock(lock)) argument 64 #define write_lock(lock) _raw_write_lock(lock) argument 65 #define read_lock(lock) _raw_read_lock(lock) argument [all …]
|
D | wakelock.h | 36 static inline void wake_lock_init(struct wake_lock *lock, int type, in wake_lock_init() 42 static inline void wake_lock_destroy(struct wake_lock *lock) in wake_lock_destroy() 47 static inline void wake_lock(struct wake_lock *lock) in wake_lock() 52 static inline void wake_lock_timeout(struct wake_lock *lock, long timeout) in wake_lock_timeout() 57 static inline void wake_unlock(struct wake_lock *lock) in wake_unlock() 62 static inline int wake_lock_active(struct wake_lock *lock) in wake_lock_active()
|
D | mutex.h | 98 static inline void mutex_destroy(struct mutex *lock) {} in mutex_destroy() 127 static inline int mutex_is_locked(struct mutex *lock) in mutex_is_locked() 144 #define mutex_lock(lock) mutex_lock_nested(lock, 0) argument 145 #define mutex_lock_interruptible(lock) mutex_lock_interruptible_nested(lock, 0) argument 146 #define mutex_lock_killable(lock) mutex_lock_killable_nested(lock, 0) argument 148 #define mutex_lock_nest_lock(lock, nest_lock) \ argument 159 # define mutex_lock_nested(lock, subclass) mutex_lock(lock) argument 160 # define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock) argument 161 # define mutex_lock_killable_nested(lock, subclass) mutex_lock_killable(lock) argument 162 # define mutex_lock_nest_lock(lock, nest_lock) mutex_lock(lock) argument
|
D | lockdep.h | 295 #define lockdep_set_class(lock, key) \ argument 297 #define lockdep_set_class_and_name(lock, key, name) \ argument 299 #define lockdep_set_class_and_subclass(lock, key, sub) \ argument 301 #define lockdep_set_subclass(lock, sub) \ argument 305 #define lockdep_set_novalidate_class(lock) \ argument 310 #define lockdep_match_class(lock, key) lockdep_match_key(&(lock)->dep_map, key) argument 312 static inline int lockdep_match_key(struct lockdep_map *lock, in lockdep_match_key() 340 #define lockdep_is_held(lock) lock_is_held(&(lock)->dep_map) argument 348 static inline void lock_set_subclass(struct lockdep_map *lock, in lock_set_subclass() 387 # define lockdep_init_map(lock, name, key, sub) \ argument [all …]
|
D | kref.h | 117 spinlock_t *lock) in kref_put_spinlock_irqsave() 136 struct mutex *lock) in kref_put_mutex()
|
D | flex_proportions.h | 47 raw_spinlock_t lock; /* Protect period and numerator */ member 79 raw_spinlock_t lock; /* Protect period and numerator */ member
|
D | proportions.h | 61 raw_spinlock_t lock; /* protect the snapshot state */ member 113 raw_spinlock_t lock; /* protect the snapshot state */ member
|
D | wait.h | 34 spinlock_t lock; member 646 #define __wait_event_lock_irq(wq, condition, lock, cmd) \ argument 685 #define wait_event_lock_irq_cmd(wq, condition, lock, cmd) \ argument 712 #define wait_event_lock_irq(wq, condition, lock) \ argument 720 #define __wait_event_interruptible_lock_irq(wq, condition, \ argument 766 #define wait_event_interruptible_lock_irq_cmd(wq, condition, lock, cmd) \ argument 798 #define wait_event_interruptible_lock_irq(wq, condition, lock) \ argument
|
D | kfifo.h | 534 #define kfifo_in_spinlocked(fifo, buf, n, lock) \ argument 545 #define kfifo_in_locked(fifo, buf, n, lock) \ argument 588 #define kfifo_out_spinlocked(fifo, buf, n, lock) \ argument 601 #define kfifo_out_locked(fifo, buf, n, lock) \ argument
|
D | seqlock.h | 176 spinlock_t lock; member 261 #define write_seqlock_irqsave(lock, flags) \ argument
|
D | semaphore.h | 17 raw_spinlock_t lock; member
|
/include/asm-generic/bitops/ |
D | ext2-atomic.h | 8 #define ext2_set_bit_atomic(lock, nr, addr) \ argument 17 #define ext2_clear_bit_atomic(lock, nr, addr) \ argument
|
/include/drm/ttm/ |
D | ttm_lock.h | 72 spinlock_t lock; member 239 static inline void ttm_lock_set_kill(struct ttm_lock *lock, bool val, in ttm_lock_set_kill()
|
/include/media/ |
D | videobuf-dvb.h | 17 struct mutex lock; member 37 struct mutex lock; member
|
/include/net/sctp/ |
D | sctp.h | 205 #define sctp_spin_lock_irqsave(lock, flags) spin_lock_irqsave(lock, flags) argument 206 #define sctp_spin_unlock_irqrestore(lock, flags) \ argument 210 #define sctp_spin_lock(lock) spin_lock(lock) argument 211 #define sctp_spin_unlock(lock) spin_unlock(lock) argument 212 #define sctp_write_lock(lock) write_lock(lock) argument 213 #define sctp_write_unlock(lock) write_unlock(lock) argument 214 #define sctp_read_lock(lock) read_lock(lock) argument 215 #define sctp_read_unlock(lock) read_unlock(lock) argument
|
/include/scsi/ |
D | libsrp.h | 26 spinlock_t lock; member 33 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 struct mutex lock; member
|
/include/linux/fsl/bestcomm/ |
D | sram.h | 29 spinlock_t lock; member
|
/include/linux/lockd/ |
D | xdr.h | 63 struct nlm_lock lock; member 80 struct nlm_lock lock; member
|