/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-i386/ |
H A D | mmu.h | 4 #include <asm/semaphore.h> 13 struct semaphore sem;
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-x86_64/ |
H A D | mmu.h | 5 #include <asm/semaphore.h> 17 struct semaphore sem;
|
H A D | semaphore.h | 14 * the original code and to make semaphore waits 21 * also implemented the `trylock' semaphore operation. 35 * /pub/linux/src/semaphore/semaphore-2.0.24.tar.gz. 46 struct semaphore { struct 60 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 65 static inline void sema_init (struct semaphore *sem, int val) 68 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 78 static inline void init_MUTEX (struct semaphore *sem) 83 static inline void init_MUTEX_LOCKED (struct semaphore *se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-alpha/ |
H A D | semaphore.h | 18 struct semaphore { struct 30 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 35 static inline void sema_init(struct semaphore *sem, int val) 39 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 47 static inline void init_MUTEX (struct semaphore *sem) 52 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 57 extern void down(struct semaphore *); 58 extern void __down_failed(struct semaphore *); 59 extern int down_interruptible(struct semaphore *); 60 extern int __down_failed_interruptible(struct semaphore *); [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc64/ |
H A D | semaphore.h | 6 * See asm-ppc/semaphore.h for implementation commentary, 16 struct semaphore { struct 26 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 31 static inline void sema_init (struct semaphore *sem, int val) 37 static inline void init_MUTEX (struct semaphore *sem) 42 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 47 extern void up(struct semaphore *sem); 48 extern void down(struct semaphore *sem); 49 extern int down_trylock(struct semaphore *sem); 50 extern int down_interruptible(struct semaphore *se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-v850/ |
H A D | semaphore.h | 11 struct semaphore { struct 22 struct semaphore name = __SEMAPHORE_INITIALIZER (name,count) 27 static inline void sema_init (struct semaphore *sem, int val) 29 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 32 static inline void init_MUTEX (struct semaphore *sem) 37 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 50 extern void __down (struct semaphore * sem); 51 extern int __down_interruptible (struct semaphore * sem); 52 extern int __down_trylock (struct semaphore * sem); 53 extern void __up (struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-ia64/ |
H A D | semaphore.h | 14 struct semaphore { struct 28 struct semaphore name = __SEMAPHORE_INITIALIZER(name, count) 34 sema_init (struct semaphore *sem, int val) 36 *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); 40 init_MUTEX (struct semaphore *sem) 46 init_MUTEX_LOCKED (struct semaphore *sem) 51 extern void __down (struct semaphore * sem); 52 extern int __down_interruptible (struct semaphore * sem); 53 extern int __down_trylock (struct semaphore * sem); 54 extern void __up (struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-blackfin/ |
H A D | semaphore.h | 21 struct semaphore { struct 35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 40 static inline void sema_init(struct semaphore *sem, int val) 42 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER(*sem, val); 45 static inline void init_MUTEX(struct semaphore *sem) 50 static inline void init_MUTEX_LOCKED(struct semaphore *sem) 55 asmlinkage void __down(struct semaphore *sem); 56 asmlinkage int __down_interruptible(struct semaphore *sem); 57 asmlinkage int __down_trylock(struct semaphore *sem); 58 asmlinkage void __up(struct semaphore *se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-m68k/ |
H A D | semaphore.h | 26 struct semaphore { struct 40 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 45 static inline void sema_init(struct semaphore *sem, int val) 47 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER(*sem, val); 50 static inline void init_MUTEX (struct semaphore *sem) 55 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 65 asmlinkage void __down(struct semaphore * sem); 66 asmlinkage int __down_interruptible(struct semaphore * sem); 67 asmlinkage int __down_trylock(struct semaphore * sem); 68 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-s390/ |
H A D | semaphore.h | 2 * include/asm-s390/semaphore.h 7 * Derived from "include/asm-i386/semaphore.h" 19 struct semaphore { struct 33 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 38 static inline void sema_init (struct semaphore *sem, int val) 44 static inline void init_MUTEX (struct semaphore *sem) 49 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 54 asmlinkage void __down(struct semaphore * sem); 55 asmlinkage int __down_interruptible(struct semaphore * sem); 56 asmlinkage int __down_trylock(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-xtensa/ |
H A D | semaphore.h | 2 * linux/include/asm-xtensa/semaphore.h 19 struct semaphore { struct 33 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 38 static inline void sema_init (struct semaphore *sem, int val) 45 static inline void init_MUTEX (struct semaphore *sem) 50 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 55 asmlinkage void __down(struct semaphore * sem); 56 asmlinkage int __down_interruptible(struct semaphore * sem); 57 asmlinkage int __down_trylock(struct semaphore * sem); 58 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-arm/ |
H A D | semaphore.h | 2 * linux/include/asm-arm/semaphore.h 15 struct semaphore { struct 28 struct semaphore name = __SEMAPHORE_INIT(name,count) 33 static inline void sema_init(struct semaphore *sem, int val) 40 static inline void init_MUTEX(struct semaphore *sem) 45 static inline void init_MUTEX_LOCKED(struct semaphore *sem) 58 extern void __down(struct semaphore * sem); 59 extern int __down_interruptible(struct semaphore * sem); 60 extern int __down_trylock(struct semaphore * sem); 61 extern void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-arm26/ |
H A D | semaphore.h | 2 * linux/include/asm-arm26/semaphore.h 15 struct semaphore { struct 29 struct semaphore name = __SEMAPHORE_INIT(name,count) 34 static inline void sema_init(struct semaphore *sem, int val) 41 static inline void init_MUTEX(struct semaphore *sem) 46 static inline void init_MUTEX_LOCKED(struct semaphore *sem) 59 extern void __down(struct semaphore * sem); 60 extern int __down_interruptible(struct semaphore * sem); 61 extern int __down_trylock(struct semaphore * sem); 62 extern void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-powerpc/ |
H A D | semaphore.h | 5 * Remove spinlock-based RW semaphores; RW semaphore definitions are 18 struct semaphore { struct 35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 40 static inline void sema_init (struct semaphore *sem, int val) 46 static inline void init_MUTEX (struct semaphore *sem) 51 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 56 extern void __down(struct semaphore * sem); 57 extern int __down_interruptible(struct semaphore * sem); 58 extern void __up(struct semaphore * sem); 60 static inline void down(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-mips/ |
H A D | semaphore.h | 19 * Remove spinlock-based RW semaphores; RW semaphore definitions are 32 struct semaphore { struct 49 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 54 static inline void sema_init (struct semaphore *sem, int val) 60 static inline void init_MUTEX (struct semaphore *sem) 65 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 70 extern void __down(struct semaphore * sem); 71 extern int __down_interruptible(struct semaphore * sem); 72 extern void __up(struct semaphore * sem); 74 static inline void down(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm/ |
H A D | semaphore.h | 19 * Remove spinlock-based RW semaphores; RW semaphore definitions are 32 struct semaphore { struct 49 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 54 static inline void sema_init (struct semaphore *sem, int val) 60 static inline void init_MUTEX (struct semaphore *sem) 65 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 70 extern void __down(struct semaphore * sem); 71 extern int __down_interruptible(struct semaphore * sem); 72 extern void __up(struct semaphore * sem); 74 static inline void down(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-avr32/ |
H A D | semaphore.h | 6 * Based on include/asm-i386/semaphore.h 23 struct semaphore { struct 36 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 41 static inline void sema_init (struct semaphore *sem, int val) 48 static inline void init_MUTEX (struct semaphore *sem) 53 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 58 void __down(struct semaphore * sem); 59 int __down_interruptible(struct semaphore * sem); 60 void __up(struct semaphore * sem); 65 * routine that actually waits. See arch/i386/kernel/semaphore [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-m68knommu/ |
H A D | semaphore.h | 25 struct semaphore { struct 39 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 44 static inline void sema_init (struct semaphore *sem, int val) 46 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER(*sem, val); 49 static inline void init_MUTEX (struct semaphore *sem) 54 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 64 asmlinkage void __down(struct semaphore * sem); 65 asmlinkage int __down_interruptible(struct semaphore * sem); 66 asmlinkage int __down_trylock(struct semaphore * sem); 67 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-parisc/ |
H A D | semaphore.h | 39 struct semaphore { struct 53 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 58 extern inline void sema_init (struct semaphore *sem, int val) 60 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 63 static inline void init_MUTEX (struct semaphore *sem) 68 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 73 static inline int sem_getcount(struct semaphore *sem) 78 asmlinkage void __down(struct semaphore * sem); 79 asmlinkage int __down_interruptible(struct semaphore * sem); 80 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-cris/ |
H A D | semaphore.h | 1 /* $Id: semaphore.h,v 1.1.1.1 2007/08/03 18:53:22 Exp $ */ 21 struct semaphore { struct 35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 40 static inline void sema_init(struct semaphore *sem, int val) 42 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 45 static inline void init_MUTEX (struct semaphore *sem) 50 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 55 extern void __down(struct semaphore * sem); 56 extern int __down_interruptible(struct semaphore * sem); 57 extern int __down_trylock(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-h8300/ |
H A D | semaphore.h | 25 struct semaphore { struct 39 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 44 static inline void sema_init (struct semaphore *sem, int val) 46 *sem = (struct semaphore)__SEMAPHORE_INITIALIZER(*sem, val); 49 static inline void init_MUTEX (struct semaphore *sem) 54 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 64 asmlinkage void __down(struct semaphore * sem); 65 asmlinkage int __down_interruptible(struct semaphore * sem); 66 asmlinkage int __down_trylock(struct semaphore * sem); 67 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sh/ |
H A D | semaphore.h | 23 struct semaphore { struct 37 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 42 static inline void sema_init (struct semaphore *sem, int val) 45 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 55 static inline void init_MUTEX (struct semaphore *sem) 60 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 66 asmlinkage void __down(struct semaphore * sem); 67 asmlinkage int __down_interruptible(struct semaphore * sem); 68 asmlinkage int __down_trylock(struct semaphore * sem); 69 asmlinkage void __up(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sh64/ |
H A D | semaphore.h | 9 * include/asm-sh64/semaphore.h 30 struct semaphore { struct 44 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 49 static inline void sema_init (struct semaphore *sem, int val) 52 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 62 static inline void init_MUTEX (struct semaphore *sem) 67 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 73 asmlinkage void __down(struct semaphore * sem); 74 asmlinkage int __down_interruptible(struct semaphore * sem); 75 asmlinkage int __down_trylock(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-sparc/ |
H A D | semaphore.h | 12 struct semaphore { struct 26 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 31 static inline void sema_init (struct semaphore *sem, int val) 38 static inline void init_MUTEX (struct semaphore *sem) 43 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 48 extern void __down(struct semaphore * sem); 49 extern int __down_interruptible(struct semaphore * sem); 50 extern int __down_trylock(struct semaphore * sem); 51 extern void __up(struct semaphore * sem); 53 static inline void down(struct semaphore * se [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-m32r/ |
H A D | semaphore.h | 21 struct semaphore { struct 35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count) 40 static inline void sema_init (struct semaphore *sem, int val) 43 * *sem = (struct semaphore)__SEMAPHORE_INITIALIZER((*sem),val); 53 static inline void init_MUTEX (struct semaphore *sem) 58 static inline void init_MUTEX_LOCKED (struct semaphore *sem) 68 asmlinkage void __down(struct semaphore * sem); 69 asmlinkage int __down_interruptible(struct semaphore * sem); 70 asmlinkage int __down_trylock(struct semaphore * sem); 71 asmlinkage void __up(struct semaphore * se [all...] |