/linux-2.4.37.9/lib/ |
D | rwsem-spinlock.c | 24 void rwsemtrace(struct rw_semaphore *sem, const char *str) in rwsemtrace() 35 void fastcall init_rwsem(struct rw_semaphore *sem) in init_rwsem() 53 static inline struct rw_semaphore *__rwsem_do_wake(struct rw_semaphore *sem) in __rwsem_do_wake() 102 static inline struct rw_semaphore *__rwsem_wake_one_writer(struct rw_semaphore *sem) in __rwsem_wake_one_writer() 123 void fastcall __down_read(struct rw_semaphore *sem) in __down_read() 169 int fastcall __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock() 193 void fastcall __down_write(struct rw_semaphore *sem) in __down_write() 239 int fastcall __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock() 262 void fastcall __up_read(struct rw_semaphore *sem) in __up_read() 280 void fastcall __up_write(struct rw_semaphore *sem) in __up_write()
|
/linux-2.4.37.9/include/asm-alpha/ |
D | semaphore.h | 49 static inline void sema_init(struct semaphore *sem, int val) in sema_init() 65 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 70 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 83 static inline int sem_getcount(struct semaphore *sem) in sem_getcount() 94 static inline void __down(struct semaphore *sem) in __down() 101 static inline int __down_interruptible(struct semaphore *sem) in __down_interruptible() 116 static inline int __down_trylock(struct semaphore * sem) in __down_trylock() 164 static inline void __up(struct semaphore *sem) in __up() 211 extern inline void down(struct semaphore *sem) in down() 215 extern inline int down_interruptible(struct semaphore *sem) in down_interruptible() [all …]
|
/linux-2.4.37.9/arch/alpha/kernel/ |
D | semaphore.c | 56 __down_failed(struct semaphore *sem) in __down_failed() 107 __down_failed_interruptible(struct semaphore *sem) in __down_failed_interruptible() 199 __up_wakeup(struct semaphore *sem) in __up_wakeup() 205 down(struct semaphore *sem) in down() 219 down_interruptible(struct semaphore *sem) in down_interruptible() 233 down_trylock(struct semaphore *sem) in down_trylock() 254 up(struct semaphore *sem) in up()
|
/linux-2.4.37.9/include/asm-sparc64/ |
D | rwsem.h | 43 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem() 50 static inline void __down_read(struct rw_semaphore *sem) in __down_read() 82 static __inline__ int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock() 107 static inline void __down_write(struct rw_semaphore *sem) in __down_write() 139 static __inline__ int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock() 166 static inline void __up_read(struct rw_semaphore *sem) in __up_read() 201 static inline void __up_write(struct rw_semaphore *sem) in __up_write() 234 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update() 255 static inline __u16 rwsem_cmpxchgw(struct rw_semaphore *sem, __u16 __old, __u16 __new) in rwsem_cmpxchgw() 278 static inline signed long rwsem_cmpxchg(struct rw_semaphore *sem, signed long old, signed long new) in rwsem_cmpxchg()
|
D | semaphore.h | 34 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 40 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 45 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 54 static __inline__ void down(struct semaphore * sem) in down() 97 static __inline__ int down_interruptible(struct semaphore *sem) in down_interruptible() 145 static __inline__ int down_trylock(struct semaphore *sem) in down_trylock() 185 static __inline__ void up(struct semaphore * sem) in up() 229 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-ia64/ |
D | rwsem.h | 68 init_rwsem (struct rw_semaphore *sem) in init_rwsem() 82 __down_read (struct rw_semaphore *sem) in __down_read() 95 __down_write (struct rw_semaphore *sem) in __down_write() 112 __up_read (struct rw_semaphore *sem) in __up_read() 125 __up_write (struct rw_semaphore *sem) in __up_write() 142 __down_read_trylock (struct rw_semaphore *sem) in __down_read_trylock() 157 __down_write_trylock (struct rw_semaphore *sem) in __down_write_trylock() 168 __downgrade_write (struct rw_semaphore *sem) in __downgrade_write() 185 #define rwsem_atomic_add(delta, sem) atomic_add(delta, (atomic_t *)(&(sem)->count)) argument 186 #define rwsem_atomic_update(delta, sem) atomic_add_return(delta, (atomic_t *)(&(sem)->count)) argument
|
D | semaphore.h | 44 sema_init (struct semaphore *sem, int val) in sema_init() 50 init_MUTEX (struct semaphore *sem) in init_MUTEX() 56 init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 71 down (struct semaphore *sem) in down() 85 down_interruptible (struct semaphore * sem) in down_interruptible() 98 down_trylock (struct semaphore *sem) in down_trylock() 111 up (struct semaphore * sem) in up() 120 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/linux/ |
D | rwsem.h | 43 static inline void down_read(struct rw_semaphore *sem) in down_read() 53 static inline int down_read_trylock(struct rw_semaphore *sem) in down_read_trylock() 65 static inline void down_write(struct rw_semaphore *sem) in down_write() 75 static inline int down_write_trylock(struct rw_semaphore *sem) in down_write_trylock() 87 static inline void up_read(struct rw_semaphore *sem) in up_read() 97 static inline void up_write(struct rw_semaphore *sem) in up_write()
|
/linux-2.4.37.9/include/asm-ppc/ |
D | rwsem.h | 56 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem() 69 static inline void __down_read(struct rw_semaphore *sem) in __down_read() 77 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock() 94 static inline void __down_write(struct rw_semaphore *sem) in __down_write() 106 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock() 119 static inline void __up_read(struct rw_semaphore *sem) in __up_read() 132 static inline void __up_write(struct rw_semaphore *sem) in __up_write() 143 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add() 151 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()
|
D | semaphore.h | 58 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 67 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 72 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 81 extern inline void down(struct semaphore * sem) in down() 95 extern inline int down_interruptible(struct semaphore * sem) in down_interruptible() 109 extern inline int down_trylock(struct semaphore * sem) in down_trylock() 122 extern inline void up(struct semaphore * sem) in up() 133 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-ppc64/ |
D | rwsem.h | 61 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem() 74 static inline void __down_read(struct rw_semaphore *sem) in __down_read() 82 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock() 99 static inline void __down_write(struct rw_semaphore *sem) in __down_write() 111 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock() 124 static inline void __up_read(struct rw_semaphore *sem) in __up_read() 137 static inline void __up_write(struct rw_semaphore *sem) in __up_write() 148 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add() 156 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()
|
D | semaphore.h | 52 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 61 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 66 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 75 static inline void down(struct semaphore * sem) in down() 89 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 103 static inline int down_trylock(struct semaphore * sem) in down_trylock() 116 static inline void up(struct semaphore * sem) in up() 127 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-i386/ |
D | rwsem.h | 86 static inline void init_rwsem(struct rw_semaphore *sem) in init_rwsem() 99 static inline void __down_read(struct rw_semaphore *sem) in __down_read() 124 static inline int __down_read_trylock(struct rw_semaphore *sem) in __down_read_trylock() 147 static inline void __down_write(struct rw_semaphore *sem) in __down_write() 174 static inline int __down_write_trylock(struct rw_semaphore *sem) in __down_write_trylock() 187 static inline void __up_read(struct rw_semaphore *sem) in __up_read() 213 static inline void __up_write(struct rw_semaphore *sem) in __up_write() 239 static inline void rwsem_atomic_add(int delta, struct rw_semaphore *sem) in rwsem_atomic_add() 250 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update()
|
D | semaphore.h | 73 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 89 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 94 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 114 static inline void down(struct semaphore * sem) in down() 138 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 166 static inline int down_trylock(struct semaphore * sem) in down_trylock() 196 static inline void up(struct semaphore * sem) in up() 216 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-s390x/ |
D | semaphore.h | 40 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 45 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 50 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 65 static inline void down(struct semaphore * sem) in down() 71 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 80 static inline int down_trylock(struct semaphore * sem) in down_trylock() 89 static inline void up(struct semaphore * sem) in up() 95 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-s390/ |
D | semaphore.h | 40 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 45 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 50 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 65 static inline void down(struct semaphore * sem) in down() 71 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 80 static inline int down_trylock(struct semaphore * sem) in down_trylock() 89 static inline void up(struct semaphore * sem) in up() 95 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-mips/ |
D | semaphore.h | 56 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 66 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 71 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 88 static inline void down(struct semaphore * sem) in down() 104 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 141 static inline int down_trylock(struct semaphore * sem) in down_trylock() 177 static inline void up(struct semaphore * sem) in up() 220 static inline int down_trylock(struct semaphore * sem) in down_trylock() 252 static inline void up(struct semaphore * sem) in up() 281 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-mips64/ |
D | semaphore.h | 56 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 66 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 71 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 88 static inline void down(struct semaphore * sem) in down() 104 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 141 static inline int down_trylock(struct semaphore * sem) in down_trylock() 177 static inline void up(struct semaphore * sem) in up() 220 static inline int down_trylock(struct semaphore * sem) in down_trylock() 252 static inline void up(struct semaphore * sem) in up() 281 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-arm/ |
D | semaphore.h | 45 static inline void sema_init(struct semaphore *sem, int val) in sema_init() 55 static inline void init_MUTEX(struct semaphore *sem) in init_MUTEX() 60 static inline void init_MUTEX_LOCKED(struct semaphore *sem) in init_MUTEX_LOCKED() 82 static inline void down(struct semaphore * sem) in down() 95 static inline int down_interruptible (struct semaphore * sem) in down_interruptible() 104 static inline int down_trylock(struct semaphore *sem) in down_trylock() 119 static inline void up(struct semaphore * sem) in up() 128 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-sparc/ |
D | semaphore.h | 41 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 51 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 56 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 66 static inline void down(struct semaphore * sem) in down() 102 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 141 static inline int down_trylock(struct semaphore * sem) in down_trylock() 180 static inline void up(struct semaphore * sem) in up() 216 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | semaphore.c | 46 void __up_wakeup(struct semaphore *sem) in __up_wakeup() 55 static inline int waking_non_zero(struct semaphore *sem) in waking_non_zero() 74 static inline int waking_non_zero(struct semaphore *sem) in waking_non_zero() 107 void __down_failed(struct semaphore * sem) in __down_failed() 176 waking_non_zero_interruptible(struct semaphore *sem, struct task_struct *tsk) in waking_non_zero_interruptible() 206 static inline int waking_non_zero_interruptible(struct semaphore *sem, in waking_non_zero_interruptible() 230 int __down_failed_interruptible(struct semaphore * sem) in __down_failed_interruptible()
|
/linux-2.4.37.9/arch/mips/kernel/ |
D | semaphore.c | 46 void __up_wakeup(struct semaphore *sem) in __up_wakeup() 55 static inline int waking_non_zero(struct semaphore *sem) in waking_non_zero() 74 static inline int waking_non_zero(struct semaphore *sem) in waking_non_zero() 107 void __down_failed(struct semaphore * sem) in __down_failed() 176 waking_non_zero_interruptible(struct semaphore *sem, struct task_struct *tsk) in waking_non_zero_interruptible() 206 static inline int waking_non_zero_interruptible(struct semaphore *sem, in waking_non_zero_interruptible() 230 int __down_failed_interruptible(struct semaphore * sem) in __down_failed_interruptible()
|
/linux-2.4.37.9/include/asm-sh/ |
D | semaphore.h | 51 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 67 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 72 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 91 static inline void down(struct semaphore * sem) in down() 101 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 113 static inline int down_trylock(struct semaphore * sem) in down_trylock() 129 static inline void up(struct semaphore * sem) in up() 138 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | semaphore.h | 75 static inline void sema_init (struct semaphore *sem, int val) in sema_init() 91 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 96 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 116 static inline void down(struct semaphore * sem) in down() 140 static inline int down_interruptible(struct semaphore * sem) in down_interruptible() 168 static inline int down_trylock(struct semaphore * sem) in down_trylock() 198 static inline void up(struct semaphore * sem) in up() 217 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|
/linux-2.4.37.9/include/asm-m68k/ |
D | semaphore.h | 54 static inline void sema_init(struct semaphore *sem, int val) in sema_init() 59 static inline void init_MUTEX (struct semaphore *sem) in init_MUTEX() 64 static inline void init_MUTEX_LOCKED (struct semaphore *sem) in init_MUTEX_LOCKED() 84 static inline void down(struct semaphore *sem) in down() 106 static inline int down_interruptible(struct semaphore *sem) in down_interruptible() 131 static inline int down_trylock(struct semaphore *sem) in down_trylock() 162 static inline void up(struct semaphore *sem) in up() 186 static inline int sem_getcount(struct semaphore *sem) in sem_getcount()
|