Searched refs:count (Results 76 - 100 of 4033) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dsemaphore.h17 atomic_t count; member in struct:semaphore
21 #define __SEMAPHORE_INITIALIZER(name, count) \
22 { ATOMIC_INIT(count), \
25 #define __DECLARE_SEMAPHORE_GENERIC(name, count) \
26 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
33 atomic_set(&sem->count, val);
H A Dide.h52 static inline void __ide_insw(void __iomem *port, void *dst, u32 count) argument
55 unsigned long end = (unsigned long)dst + (count << 1);
62 count--;
65 while(count >= 2) {
71 count -= 2;
74 if(count)
89 static inline void __ide_outsw(void __iomem *port, void *src, u32 count) argument
92 unsigned long end = (unsigned long)src + (count << 1);
99 count--;
102 while(count >
[all...]
H A Dstring.h32 static inline void *__constant_memset(void *s, int c, __kernel_size_t count) argument
37 __bzero(s, count);
40 return __memset(s, c, count);
44 #define memset(s, c, count) \
45 ((__builtin_constant_p(count) && (count) <= 32) ? \
46 __builtin_memset((s), (c), (count)) : \
48 __constant_memset((s), (c), (count)) : \
49 __memset((s), (c), (count))))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dbitops.h11 static __inline__ int get_bitmask_order(unsigned int count) argument
15 order = fls(count);
19 static __inline__ int get_count_order(unsigned int count) argument
23 order = fls(count) - 1;
24 if (count & (count - 1))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dmmio_nvram.c37 static ssize_t mmio_nvram_read(char *buf, size_t count, loff_t *index) argument
43 if (*index + count > mmio_nvram_len)
44 count = mmio_nvram_len - *index;
48 memcpy_fromio(buf, mmio_nvram_start + *index, count);
52 *index += count;
53 return count;
56 static ssize_t mmio_nvram_write(char *buf, size_t count, loff_t *index) argument
62 if (*index + count > mmio_nvram_len)
63 count = mmio_nvram_len - *index;
67 memcpy_toio(mmio_nvram_start + *index, buf, count);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/
H A Dv850e_utils.c17 /* Calculate counter clock-divider and count values to attain the
32 unsigned *divlog2, unsigned *count)
58 if (count)
59 *count = ((base_freq >> _divlog2) + rate/2) / rate;
28 calc_counter_params(unsigned long base_freq, unsigned long rate, unsigned min_divlog2, unsigned max_divlog2, unsigned counter_size, unsigned *divlog2, unsigned *count) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/x86_64/lib/
H A Dcsum-partial.c36 unsigned odd, count; local
47 count = len >> 1; /* nr of 16-bit words.. */
48 if (count) {
51 count--;
55 count >>= 1; /* nr of 32-bit words.. */
56 if (count) {
61 count--;
65 count >>= 1; /* nr of 64-bit words.. */
69 count64 = count >> 3;
88 count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_qm_stats.h39 # define XQM_STATS_INC(count) ( (count)++ )
46 # define XQM_STATS_INC(count) do { } while (0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m32r/
H A Dsemaphore.h22 atomic_t count; member in struct:semaphore
29 .count = ATOMIC_INIT(n), \
34 #define __DECLARE_SEMAPHORE_GENERIC(name,count) \
35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
48 atomic_set(&sem->count, val);
74 * Atomically decrement the semaphore's count. If it goes negative,
80 if (unlikely(atomic_dec_return(&sem->count) < 0))
93 if (unlikely(atomic_dec_return(&sem->count) < 0))
106 long count; local
116 : "=&r" (count)
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/
H A Dibmphp_pci.c359 int count; local
372 for (count = 0; address[count]; count++) { /* for 6 BARs */
379 PCI_BASE_ADDRESS_0 + 4 * count, &tmp);
382 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFD);
385 PCI_BASE_ADDRESS_0 + 4 * count, 0xFFFFFFFF);
387 pci_bus_write_config_dword (ibmphp_pci_bus, devfn, address[count], 0xFFFFFFFF);
388 pci_bus_read_config_dword (ibmphp_pci_bus, devfn, address[count], &bar[count]);
566 int count; local
1078 int count, len[6]; local
1226 int count; local
1334 int count; local
1570 int count; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/aparser/
H A Dutil.awk27 LOCAL, line, count)
29 count=0;
30 while ((getline line < fname) > 0) count++;
32 return count;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dfull-write.c59 full_rw (int fd, const void *buf, size_t count) argument
64 while (count > 0)
66 size_t n_rw = safe_rw (fd, ptr, count);
76 count -= n_rw;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/dbinc/
H A Dhmac.h24 u_int32_t count[2]; member in struct:__anon2030
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/include/ntfs-3g/
H A Dcompress.h29 extern s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dav7110_ipack.c19 p->count = 0;
55 if (p->count < 10)
58 p->buf[4] = (u8)(((p->count - 6) & 0xff00) >> 8);
59 p->buf[5] = (u8)((p->count - 6) & 0x00ff);
67 if (ac3_off < p->count)
69 p->count - ac3_off, &ai, 0);
71 nframes = (p->count - off - 3 - ac3_off) /
76 ac3_off += nframes * ai.framesize - p->count;
80 p->func(p->buf, p->count, p->data);
85 p->count
122 write_ipack(struct ipack *p, const u8 *data, int count) argument
145 av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/oprofile/
H A Dop_counter.h17 unsigned long count; member in struct:op_counter_config
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/oprofile/
H A Dop_counter.h19 unsigned long count; member in struct:op_counter_config
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/video/
H A Datafb_utils.h48 static inline void *fb_memclear_small(void *s, size_t count) argument
50 if (!count)
59 : "=a" (s), "=d" (count)
60 : "d" (0), "0" ((char *)s + count), "1" (count));
68 : "=a" (s), "=d" (count)
69 : "d" (0), "0" (s), "1" (count)
77 static inline void *fb_memclear(void *s, size_t count) argument
79 if (!count)
82 if (count < 1
117 fb_memset255(void *s, size_t count) argument
144 fb_memmove(void *d, const void *s, size_t count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/oprofile/
H A Doprofile_files.c21 static ssize_t depth_read(struct file * file, char __user * buf, size_t count, loff_t * offset) argument
23 return oprofilefs_ulong_to_user(backtrace_depth, buf, count, offset);
27 static ssize_t depth_write(struct file * file, char const __user * buf, size_t count, loff_t * offset) argument
35 retval = oprofilefs_ulong_from_user(&val, buf, count);
43 return count;
53 static ssize_t pointer_size_read(struct file * file, char __user * buf, size_t count, loff_t * offset) argument
55 return oprofilefs_ulong_to_user(sizeof(void *), buf, count, offset);
64 static ssize_t cpu_type_read(struct file * file, char __user * buf, size_t count, loff_t * offset) argument
66 return oprofilefs_str_to_user(oprofile_ops.cpu_type, buf, count, offset);
75 static ssize_t enable_read(struct file * file, char __user * buf, size_t count, loff_ argument
81 enable_write(struct file * file, char const __user * buf, size_t count, loff_t * offset) argument
110 dump_write(struct file * file, char const __user * buf, size_t count, loff_t * offset) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/
H A Dsemaphore.h34 * Note that any negative value of count is equivalent to 0,
38 atomic_t count; member in struct:semaphore
44 .count = ATOMIC_INIT(n), \
48 #define __DECLARE_SEMAPHORE_GENERIC(name, count) \
49 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
56 atomic_set(&sem->count, val);
81 if (unlikely(atomic_dec_return(&sem->count) < 0))
91 if (unlikely(atomic_dec_return(&sem->count) < 0))
98 return atomic_dec_if_positive(&sem->count) < 0;
103 if (unlikely(atomic_inc_return(&sem->count) <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/netfilter/ipv6/
H A Dnf_conntrack_icmpv6.h24 atomic_t count; member in struct:nf_ct_icmpv6
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/
H A Dsemaphore.h34 * Note that any negative value of count is equivalent to 0,
38 atomic_t count; member in struct:semaphore
44 .count = ATOMIC_INIT(n), \
48 #define __DECLARE_SEMAPHORE_GENERIC(name, count) \
49 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
56 atomic_set(&sem->count, val);
81 if (unlikely(atomic_dec_return(&sem->count) < 0))
91 if (unlikely(atomic_dec_return(&sem->count) < 0))
98 return atomic_dec_if_positive(&sem->count) < 0;
103 if (unlikely(atomic_inc_return(&sem->count) <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dstring.h8 void * memcpy(void * dest,const void *src,size_t count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dsemaphore.h20 * Note that any negative value of count is equivalent to 0,
24 atomic_t count; member in struct:semaphore
30 .count = ATOMIC_INIT(n), \
34 #define __DECLARE_SEMAPHORE_GENERIC(name, count) \
35 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
42 atomic_set(&sem->count, val);
67 if (unlikely(atomic_dec_return(&sem->count) < 0))
77 if (unlikely(atomic_dec_return(&sem->count) < 0))
84 return atomic_dec_if_positive(&sem->count) < 0;
89 if (unlikely(atomic_inc_return(&sem->count) <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/
H A Dsemaphore.h45 atomic_t count; member in struct:semaphore
53 .count = ATOMIC_INIT(n), \
58 #define __DECLARE_SEMAPHORE_GENERIC(name,count) \
59 struct semaphore name = __SEMAPHORE_INITIALIZER(name,count)
72 atomic_set(&sem->count, val);
102 LOCK_PREFIX "decl %0\n\t" /* --sem->count */
107 :"+m" (sem->count)
124 LOCK_PREFIX "decl %1\n\t" /* --sem->count */
129 :"=&a" (result), "+m" (sem->count)
146 LOCK_PREFIX "decl %1\n\t" /* --sem->count */
[all...]

Completed in 458 milliseconds

1234567891011>>