/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/ |
H A D | semaphore.h | 17 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 D | ide.h | 52 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 D | string.h | 32 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 D | bitops.h | 11 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 D | mmio_nvram.c | 37 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 D | v850e_utils.c | 17 /* 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 D | csum-partial.c | 36 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 D | xfs_qm_stats.h | 39 # 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 D | semaphore.h | 22 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 D | ibmphp_pci.c | 359 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 D | util.awk | 27 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 D | full-write.c | 59 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 D | hmac.h | 24 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 D | compress.h | 29 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 D | av7110_ipack.c | 19 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 D | op_counter.h | 17 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 D | op_counter.h | 19 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 D | atafb_utils.h | 48 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 D | oprofile_files.c | 21 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 D | semaphore.h | 34 * 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 D | nf_conntrack_icmpv6.h | 24 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 D | semaphore.h | 34 * 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 D | string.h | 8 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 D | semaphore.h | 20 * 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 D | semaphore.h | 45 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...] |