Searched refs:semaphore (Results 1 - 25 of 374) sorted by relevance

1234567891011>>

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-i386/
H A Dmmu.h4 #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 Dmmu.h5 #include <asm/semaphore.h>
17 struct semaphore sem;
H A Dsemaphore.h14 * 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 Dsemaphore.h18 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 Dsemaphore.h6 * 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 Dsemaphore.h11 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 Dsemaphore.h14 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 Dsemaphore.h21 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 Dsemaphore.h26 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 Dsemaphore.h2 * 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 Dsemaphore.h2 * 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 Dsemaphore.h2 * 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 Dsemaphore.h2 * 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 Dsemaphore.h5 * 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 Dsemaphore.h19 * 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 Dsemaphore.h19 * 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 Dsemaphore.h6 * 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 Dsemaphore.h25 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 Dsemaphore.h39 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 Dsemaphore.h1 /* $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 Dsemaphore.h25 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 Dsemaphore.h23 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 Dsemaphore.h9 * 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 Dsemaphore.h12 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 Dsemaphore.h21 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...]

Completed in 293 milliseconds

1234567891011>>