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

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
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-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, fastcall void (*fail_fn)(atomic_t *)) argument
23 if (unlikely(atomic_dec_return(count) < 0))
24 fail_fn(count);
30 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
32 * @count: pointer of type atomic_t
35 * Change the count from 1 to a value lower than 1, and call <fail_fn> if
40 __mutex_fastpath_lock_retval(atomic_t *count, fastcal argument
64 __mutex_fastpath_unlock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *)) argument
89 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
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, fastcall void (*fail_fn)(atomic_t *)) argument
28 if (unlikely(atomic_xchg(count, 0) != 1))
29 fail_fn(count);
35 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
37 * @count: pointer of type atomic_t
40 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
45 __mutex_fastpath_lock_retval(atomic_t *count, fastcal argument
68 __mutex_fastpath_unlock(atomic_t *count, fastcall void (*fail_fn)(atomic_t *)) argument
93 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libvorbis-1.2.3/test/
H A Dwrite_read.h21 const float * data, int count) ;
27 float * data, int count) ;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/lib/
H A Dmemset.c16 void *memset (void *dst, int val, __kernel_size_t count) argument
18 if (count) {
31 count--;
33 if (count > 2 && ((long)ptr & 2)) {
36 count -= 2;
40 for (loop = count / 32; loop; loop--) {
48 count %= 32;
51 for (loop = count / 4; loop; loop--) {
55 count %= 4;
58 if (count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/
H A Dsemaphore.h26 atomic_t count; member in struct:semaphore
33 .count = ATOMIC_INIT(n), \
38 #define __DECLARE_SEMAPHORE_GENERIC(name,count) \
39 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
78 register atomic_t *count asm("er0");
82 count = &(sem->count);
97 : "=m"(*count)
98 : "g"(sem),"m"(*count)
104 register atomic_t *count as
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/kernel/
H A Dio.c10 void _memcpy_fromio(void *to, const volatile void __iomem *from, size_t count) argument
13 while (count) {
14 count--;
25 void _memcpy_toio(volatile void __iomem *to, const void *from, size_t count) argument
28 while (count) {
29 count--;
40 void _memset_io(volatile void __iomem *dst, int c, size_t count) argument
42 while (count) {
43 count--;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/
H A Dmemmove.c9 void *memmove(void * dest,const void *src,size_t count) argument
12 return memcpy(dest,src,count);
14 char *p = (char *) dest + count;
15 char *s = (char *) src + count;
16 while (count--)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh64/lib/
H A Dmemcpy.c18 void *memcpy(void *dest, const void *src, size_t count) argument
22 if (count >= 32) {
26 while (i-- && count--) {
32 while (count >= 32) {
44 count -= 32;
46 while (count >= 8) {
51 count -= 8;
57 while (count >= 4) {
61 count -= 4;
67 while (count >
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/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-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/
H A Dmutex.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); \
38 : "a" (count) \
44 * __mutex_fastpath_lock_retval - try to take the lock by moving the count
46 * @count: pointer of type atomic_t
49 * Change the count from 1 to a value lower than 1, and call <fail_fn> if it
54 __mutex_fastpath_lock_retval(atomic_t *count, argument
109 __mutex_fastpath_trylock(atomic_t *count, int (*fail_fn)(atomic_t *)) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/support/
H A Dmove.c27 size_t count; local
32 count = uio->uio_iov->iov_len;
33 if (!count)
35 if (count > len)
36 count = len;
39 if (copy_to_user(uio->uio_iov->iov_base, src, count))
43 memcpy(uio->uio_iov->iov_base, src, count);
46 uio->uio_iov->iov_base = (void*)((char*)uio->uio_iov->iov_base + count);
47 uio->uio_iov->iov_len -= count;
48 uio->uio_offset += count;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/gnulib-lib/
H A Dmbslen.c36 size_t count; local
39 count = 0;
41 count++;
43 return count;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Drle.c36 int count = 1; local
38 for(pos = start + bpp; count < FFMIN(127, len); pos += bpp, count ++) {
43 if(bpp == 1 && count + 1 < FFMIN(127, len) && *pos != *(pos+1))
48 count --;
54 return count;
60 int count, x; local
63 for(x = 0; x < w; x += count) {
65 if((count = count_pixels(ptr, w-x, bpp, 1)) > 1) {
67 *out++ = (count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/libunarchive/
H A Darchive_xread_all_eof.c10 unsigned char *buf, size_t count)
14 size = full_read(archive_handle->src_fd, buf, count);
15 if (size != 0 && size != count) {
17 (unsigned)size, (unsigned)count);
9 archive_xread_all_eof(archive_handle_t *archive_handle, unsigned char *buf, size_t count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/netfilter/ipv4/
H A Dnf_conntrack_icmp.h9 atomic_t count; member in struct:ip_ct_icmp
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dedosk7705.h23 extern void sh_edosk7705_insb(unsigned long port, void *addr, unsigned long count);
24 extern void sh_edosk7705_insl(unsigned long port, void *addr, unsigned long count);
25 extern void sh_edosk7705_outsb(unsigned long port, const void *addr, unsigned long count);
26 extern void sh_edosk7705_outsl(unsigned long port, const void *addr, unsigned long count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh64/
H A Dstring.h19 extern void *memcpy(void *dest, const void *src, size_t count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dmbslen.c36 size_t count; local
39 count = 0;
41 count++;
43 return count;
H A Dstrcspn.c31 size_t count = 0; local
35 ++count;
37 return count;
39 return count;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/expat-2.0.1/tests/
H A Dchardata.c38 storage->count = -1;
49 if (storage->count < 0)
50 storage->count = 0;
51 if ((len + storage->count) > maxchars) {
52 len = (maxchars - storage->count);
54 if (len + storage->count < sizeof(storage->data)) {
55 memcpy(storage->data + storage->count, s, len);
56 storage->count += len;
68 if (storage->count < 0)
69 storage->count
87 int count; local
116 int count; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/oprofile/
H A Dop_blackfin.h43 unsigned long count; member in struct:op_counter_config
82 static inline void count_read(unsigned int *count) argument
84 count[0] = bfin_read_PFCNTR0();
85 count[1] = bfin_read_PFCNTR1();
89 static inline void count_write(unsigned int *count) argument
91 bfin_write_PFCNTR0(count[0]);
92 bfin_write_PFCNTR1(count[1]);

Completed in 327 milliseconds

1234567891011>>