Searched refs:count (Results 1 - 25 of 6301) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dmutex-dec.h11 * __mutex_fastpath_lock - try to take the lock by moving the count
13 * @count: pointer of type atomic_t
16 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
23 if (unlikely(atomic_dec_return(count) < 0))
24 fail_fn(count);
28 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
30 * @count: pointer of type atomic_t
33 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
38 __mutex_fastpath_lock_retval(atomic_t *count, in argument
59 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
83 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
H A Dmutex-null.h13 #define __mutex_fastpath_lock(count, fail_fn) fail_fn(count)
14 #define __mutex_fastpath_lock_retval(count, fail_fn) fail_fn(count)
15 #define __mutex_fastpath_unlock(count, fail_fn) fail_fn(count)
16 #define __mutex_fastpath_trylock(count, fail_fn) fail_fn(count)
H A Dmutex-xchg.h16 * __mutex_fastpath_lock - try to take the lock by moving the count
18 * @count: pointer of type atomic_t
21 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
26 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
28 if (unlikely(atomic_xchg(count, 0) != 1))
29 fail_fn(count);
33 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
35 * @count: pointer of type atomic_t
38 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
43 __mutex_fastpath_lock_retval(atomic_t *count, in argument
63 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
87 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libunistring-0.9.3/lib/unistr/
H A Du16-next.c26 int count; local
28 count = u16_strmbtouc (puc, s);
29 if (count > 0)
30 return s + count;
33 if (count < 0)
H A Du8-next.c26 int count; local
28 count = u8_strmbtouc (puc, s);
29 if (count > 0)
30 return s + count;
33 if (count < 0)
H A Du16-mbsnlen.c32 int count = u16_mbtoucr (&uc, s, n); local
34 if (count == -2)
36 if (count <= 0)
37 count = 1;
38 s += count;
39 n -= count;
H A Du8-mbsnlen.c32 int count = u8_mbtoucr (&uc, s, n); local
34 if (count == -2)
36 if (count <= 0)
37 count = 1;
38 s += count;
39 n -= count;
H A Du-strspn.h26 int count = U_STRMBTOUC (&uc, accept); local
27 if (count >= 0 && accept[count] == 0)
30 for (; *ptr != 0; ptr += count)
31 if (U_CMP (ptr, accept, count) != 0)
43 int count = U_STRMBTOUC (&uc, ptr); local
44 if (count == 0)
46 if (count < 0)
50 ptr += count;
H A Du32-next.c26 int count; local
28 count = u32_strmbtouc (puc, s);
29 if (count > 0)
30 return s + count;
34 if (count < 0)
H A Du-strpbrk.h26 int count = U_STRMBTOUC (&uc, accept); local
27 if (count >= 0 && accept[count] == 0)
37 int count = U_STRMBTOUC (&uc, ptr); local
38 if (count <= 0)
42 ptr += count;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/xtensa/kernel/
H A Dio.c20 void outsb(unsigned long addr, const void *src, unsigned long count) { argument
21 while (count) {
22 count -= 1;
29 void outsw(unsigned long addr, const void *src, unsigned long count) { argument
30 while (count) {
31 count -= 2;
38 void outsl(unsigned long addr, const void *src, unsigned long count) { argument
39 while (count) {
40 count -= 4;
47 void insb(unsigned long addr, void *dst, unsigned long count) { argument
56 insw(unsigned long addr, void *dst, unsigned long count) argument
65 insl(unsigned long addr, void *dst, unsigned long count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptp/
H A Dinststr.c33 int count; local
39 for (count = 1; count < argc; count++) {
40 if (argv[count] == ptr + 1
42 (aligned && argv[count] > ptr && argv[count] <= (char *)((UL)(ptr + PTRSIZE) & mask))
44 ptr = argv[count] + strlen(argv[count]);
50 for (count
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/include/asm/
H A Dmutex_32.h15 * __mutex_fastpath_lock - try to take the lock by moving the count
17 * @count: pointer of type atomic_t
20 * Change the count from 1 to a value lower than 1, and call <fn> if it
24 #define __mutex_fastpath_lock(count, fail_fn) \
28 typecheck(atomic_t *, count); \
36 : "a" (count) \
42 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
44 * @count: pointer of type atomic_t
47 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
51 static inline int __mutex_fastpath_lock_retval(atomic_t *count, argument
103 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/include/asm/
H A Dmutex.h21 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
23 if (unlikely(atomic_dec_return(count) < 0))
24 fail_fn(count);
30 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
32 if (unlikely(atomic_dec_return(count) < 0))
33 return fail_fn(count);
41 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
44 if (unlikely(atomic_inc_return(count) <= 0))
45 fail_fn(count);
51 __mutex_fastpath_trylock(atomic_t *count, in argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/libvorbis-1.2.3/test/
H A Dwrite_read.h21 const float * data, int count) ;
27 float * data, int count) ;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/ia64/include/asm/
H A Dmutex.h12 * __mutex_fastpath_lock - try to take the lock by moving the count
14 * @count: pointer of type atomic_t
17 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
24 if (unlikely(ia64_fetchadd4_acq(count, -1) != 1))
25 fail_fn(count);
29 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
31 * @count: pointer of type atomic_t
34 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
39 __mutex_fastpath_lock_retval(atomic_t *count, in argument
60 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
85 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/
H A Dcp_platform.sh9 count=1
11 while [ $count -le 10 ] ; do
15 echo "cat /proc/shrinkmem ... $count"
17 let "count=$count+1"
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/usr/sbin/
H A Dcp_platform.sh9 count=1
11 while [ $count -le 10 ] ; do
15 echo "cat /proc/shrinkmem ... $count"
17 let "count=$count+1"
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/os_brew/
H A Dfwrite.c21 fwrite(buf, size, count, fp)
23 size_t size, count;
27 DBGPRINTF("%.*s", (int)count, buf);
28 return (size * count);
30 return ((size_t)IFILE_Write(fp, buf, size * count) / size);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/lib/
H A Dmemmove_64.c9 void *memmove(void *dest, const void *src, size_t count) argument
12 return memcpy(dest, src, count);
14 char *p = dest + count;
15 const char *s = src + count;
16 while (count--)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dvt_buffer.h31 static inline void scr_memsetw(u16 *s, u16 c, unsigned int count) argument
33 count /= 2;
34 while (count--)
40 static inline void scr_memcpyw(u16 *d, const u16 *s, unsigned int count) argument
42 count /= 2;
43 while (count--)
49 static inline void scr_memmovew(u16 *d, const u16 *s, unsigned int count) argument
52 scr_memcpyw(d, s, count);
54 count /= 2;
55 d += count;
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/include/asm/mach-generic/
H A Dide.h52 unsigned int count)
55 insw(port, addr, count);
56 __ide_flush_dcache_range((unsigned long)addr, count * 2);
60 static inline void __ide_insl(unsigned long port, void *addr, unsigned int count) argument
63 insl(port, addr, count);
64 __ide_flush_dcache_range((unsigned long)addr, count * 4);
69 unsigned long count)
72 outsw(port, addr, count);
73 __ide_flush_dcache_range((unsigned long)addr, count * 2);
78 unsigned long count)
51 __ide_insw(unsigned long port, void *addr, unsigned int count) argument
68 __ide_outsw(unsigned long port, const void *addr, unsigned long count) argument
77 __ide_outsl(unsigned long port, const void *addr, unsigned long count) argument
86 __ide_mm_insw(void __iomem *port, void *addr, u32 count) argument
94 __ide_mm_insl(void __iomem *port, void *addr, u32 count) argument
102 __ide_mm_outsw(void __iomem *port, void *addr, u32 count) argument
110 __ide_mm_outsl(void __iomem * port, void *addr, u32 count) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dmutex.h65 * __mutex_fastpath_lock - try to take the lock by moving the count
67 * @count: pointer of type atomic_t
70 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
75 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
77 if (unlikely(__mutex_dec_return_lock(count) < 0))
78 fail_fn(count);
82 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
84 * @count: pointer of type atomic_t
87 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
92 __mutex_fastpath_lock_retval(atomic_t *count, in argument
109 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
127 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/debian/
H A Dpptpdconfig.pl14 my $count;
36 $count=0;
37 while ($count<=$#lines)
39 $line=$lines[$count];
44 $lines[$count]="${spaces}localip $localIp $IDString\n";
49 $lines[$count]="# removed by pptpdconfig --- ".$lines[$count]."\n";
57 $lines[$count]="${spaces}remoteip $remoteIp $IDString\n";
62 $lines[$count]="# removed by pptpdconfig --- ".$lines[$count]
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/include/asm/
H A Dmutex-llsc.h22 __mutex_fastpath_lock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
32 : "r" (&(count)->counter)
36 fail_fn(count);
40 __mutex_fastpath_lock_retval(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
50 : "r" (&(count)->counter)
54 __res = fail_fn(count);
60 __mutex_fastpath_unlock(atomic_t *count, void (*fail_fn)(atomic_t *)) argument
70 : "r" (&(count)->counter)
74 fail_fn(count);
88 __mutex_fastpath_trylock(atomic_t *count, in argument
[all...]

Completed in 318 milliseconds

1234567891011>>