Searched refs:count (Results 226 - 250 of 4033) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-h8300/
H A Dstring.h10 extern void * memset(void * s, int c, size_t count);
13 extern void * memcpy(void *d, const void *s, size_t count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/
H A Dmca_dma.h12 * count by 2 when using 16-bit dma; that is not handled by these functions.
122 * mca_set_dma_count - load a 16bit transfer count
124 * @count: count
126 * Set the DMA count for this channel. This can be up to 64Kbytes.
127 * Setting a count of zero will not do what you expect.
130 static __inline__ void mca_set_dma_count(unsigned int dmanr, unsigned int count) argument
132 count--; /* transfers one more than count -- correct for this */
135 outb(count
149 unsigned short count; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/
H A Dutil.c69 readn(int fd, void *buf, size_t count) argument
72 while (count > 0) {
73 int r = read(fd, buf, count);
82 count -= r;
90 writen(int fd, const void *buf, size_t count) argument
93 while (count > 0) {
94 int r = write(fd, buf, count);
103 count -= r;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/
H A Dutil.c31 /* count of characters used to encode one unicode char */
154 size_t volume_id_set_unicode16(uint8_t *str, size_t len, const uint8_t *buf, enum endian endianess, size_t count) argument
160 for (i = 0; i + 2 <= count; i += 2) {
216 void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, size_t count) argument
218 if (count > sizeof(id->label))
219 count = sizeof(id->label);
221 memcpy(id->label_raw, buf, count);
222 id->label_raw_len = count;
225 void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count) argument
229 if (count >
244 volume_id_set_label_unicode16(struct volume_id *id, const uint8_t *buf, enum endian endianess, size_t count) argument
255 unsigned int count = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dnvramstubs.c78 nvram_getall(char *buf, int count) argument
81 if (count < 1)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test_micro/source/
H A Db_curalloc.c15 int ch, i, count; local
17 count = 100000;
21 count = atoi(optarg);
44 /* Allocate a cursor count times. */
46 for (i = 0; i < count; ++i) {
52 printf("# %d cursor allocations\n", count);
53 TIMER_DISPLAY(count);
63 (void)fprintf(stderr, "usage: b_curalloc [-c count]\n");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m32r/kernel/
H A Dio_mappi.c211 void _insb(unsigned int port, void *addr, unsigned long count) argument
218 while (count--)
223 count, 1);
226 count, 1);
230 while (count--)
235 void _insw(unsigned int port, void *addr, unsigned long count) argument
242 while (count--)
247 count, 1);
250 count, 1);
254 while (count
259 _insl(unsigned int port, void *addr, unsigned long count) argument
269 _outsb(unsigned int port, const void *addr, unsigned long count) argument
293 _outsw(unsigned int port, const void *addr, unsigned long count) argument
317 _outsl(unsigned int port, const void *addr, unsigned long count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_qm_stats.c57 int count,
76 if ((len -= offset) > count)
77 return count;
88 int count,
111 if ((len -= offset) > count)
112 return count;
53 xfs_qm_read_xfsquota( char *buffer, char **start, off_t offset, int count, int *eof, void *data) argument
84 xfs_qm_read_stats( char *buffer, char **start, off_t offset, int count, int *eof, void *data) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sh/
H A Dmachvec.h39 void (*mv_insb)(unsigned long, void *dst, unsigned long count);
40 void (*mv_insw)(unsigned long, void *dst, unsigned long count);
41 void (*mv_insl)(unsigned long, void *dst, unsigned long count);
42 void (*mv_outsb)(unsigned long, const void *src, unsigned long count);
43 void (*mv_outsw)(unsigned long, const void *src, unsigned long count);
44 void (*mv_outsl)(unsigned long, const void *src, unsigned long count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-blackfin/
H A Dstring.h67 extern inline int strncmp(const char *cs, const char *ct, size_t count) argument
71 if (!count)
80 "%2 += -1;\n\t" /* no, adjust count */
87 : "+&a" (cs), "+&a" (ct), "+&da" (count), "=&d" (__res1), "=&d" (__res2)
93 extern void *memset(void *s, int c, size_t count);
95 extern void *memcpy(void *d, const void *s, size_t count);
101 extern void *memmove(void *dest, const void *src, size_t count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Diomap.h51 extern void fastcall ioread8_rep(void __iomem *port, void *buf, unsigned long count);
52 extern void fastcall ioread16_rep(void __iomem *port, void *buf, unsigned long count);
53 extern void fastcall ioread32_rep(void __iomem *port, void *buf, unsigned long count);
55 extern void fastcall iowrite8_rep(void __iomem *port, const void *buf, unsigned long count);
56 extern void fastcall iowrite16_rep(void __iomem *port, const void *buf, unsigned long count);
57 extern void fastcall iowrite32_rep(void __iomem *port, const void *buf, unsigned long count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68knommu/
H A Dstring.h66 static inline int strncmp(const char * cs,const char * ct,size_t count) argument
70 if (!count)
78 "subql #1,%2\n\t" /* no, adjust count */
84 : "=a" (cs), "=a" (ct), "=d" (count), "=d" (__res)
85 : "0" (cs), "1" (ct), "2" (count));
92 extern void * memset(void * s, int c, size_t count);
95 extern void * memcpy(void *d, const void *s, size_t count);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/build_vxworks/test_micro/
H A Db_curalloc.c15 int ch, i, count; local
17 count = 100000;
22 count = atoi(optarg);
45 /* Allocate a cursor count times. */
47 for (i = 0; i < count; ++i) {
53 printf("# %d cursor allocations\n", count);
54 TIMER_DISPLAY(count);
64 (void)fprintf(stderr, "usage: b_curalloc [-c count]\n");
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/
H A Dudev_db.c187 size_t count; local
220 count = buf_get_line(buf, bufsize, cur);
222 cur += count+1;
226 if (count > sizeof(udev->name))
227 count = sizeof(udev->name);
228 memcpy(udev->name, &bufline[2], count-2);
229 udev->name[count-2] = '\0';
232 if (count > sizeof(line))
233 count = sizeof(line);
234 memcpy(line, &bufline[2], count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dseq_file.c94 if (m->count) {
95 n = min(m->count, size);
99 m->count -= n;
104 if (!m->count)
119 if (m->count < m->size)
126 m->count = 0;
130 m->count = 0;
134 while (m->count < size) {
135 size_t offs = m->count;
143 if (err || m->count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/
H A Dsavage_state.c117 if(start <= reg && start+count > reg) \
120 if(start <= reg && start+count > reg) { \
129 unsigned int start, unsigned int count,
133 start + count - 1 > SAVAGE_DESTTEXRWWATERMARK_S3D) {
135 start, start + count - 1);
146 start + count > SAVAGE_TEXPALADDR_S3D) {
159 unsigned int start, unsigned int count,
165 start + count - 1 > SAVAGE_TEXBLENDCOLOR_S4) {
167 start, start + count - 1);
178 start + count > SAVAGE_TEXPALADDR_S
128 savage_verify_state_s3d(drm_savage_private_t * dev_priv, unsigned int start, unsigned int count, const uint32_t *regs) argument
158 savage_verify_state_s4(drm_savage_private_t * dev_priv, unsigned int start, unsigned int count, const uint32_t *regs) argument
201 unsigned int count = cmd_header->state.count; local
369 unsigned int count = n > 255 ? 255 : n; local
488 unsigned int count = n > 255 ? 255 : n; local
614 unsigned int count = n > 255 ? 255 : n; local
734 unsigned int count = n > 255 ? 255 : n; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iptables-1.4.12.1/extensions/
H A Dlibipt_SAME.c76 unsigned int count; local
97 for (count=0; count < mr->rangesize; count++)
98 mr->range[count].flags |= IP_NAT_RANGE_PROTO_RANDOM;
106 unsigned int count; local
112 for (count = 0; count < mr->rangesize; count++) {
113 const struct nf_nat_range *r = &mr->range[count];
136 unsigned int count; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/iptables-1.x/extensions/
H A Dlibipt_SAME.c97 int count; local
130 for (count=0; count < mr->rangesize; count++)
131 mr->range[count].flags |= IP_NAT_RANGE_PROTO_RANDOM;
155 int count; local
162 for (count = 0; count < mr->rangesize; count++) {
163 struct ip_nat_range *r = &mr->range[count];
190 int count; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/w1/slaves/
H A Dw1_ds2433.c51 * Check the file size bounds and adjusts count as needed.
54 static inline size_t w1_f23_fix_count(loff_t off, size_t count, size_t size) argument
59 if ((off + count) > size)
62 return count;
95 size_t count)
105 if ((count = w1_f23_fix_count(off, count, W1_EEPROM_SIZE)) == 0)
113 max_page = (off + count - 1) >> W1_PAGE_BITS;
116 count = -EIO;
120 memcpy(buf, &data->memory[off], count);
94 w1_f23_read_bin(struct kobject *kobj, char *buf, loff_t off, size_t count) argument
202 w1_f23_write_bin(struct kobject *kobj, char *buf, loff_t off, size_t count) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/configfs/
H A Dfile.c38 size_t count; member in struct:configfs_buffer
63 ssize_t count; local
70 count = ops->show_attribute(item,attr,buffer->page);
72 BUG_ON(count > (ssize_t)PAGE_SIZE);
73 if (count >= 0)
74 buffer->count = count;
76 ret = count;
84 * @count: number of bytes to read.
100 configfs_read_file(struct file *file, char __user *buf, size_t count, loff_ argument
131 fill_write_buffer(struct configfs_buffer * buffer, const char __user * buf, size_t count) argument
163 flush_write_buffer(struct dentry * dentry, struct configfs_buffer * buffer, size_t count) argument
191 configfs_write_file(struct file *file, const char __user *buf, size_t count, loff_t *ppos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dhuffman.c36 if(s != HNODE || (no_zero_count && !nodes[node].count)){
67 * first nb_codes nodes.count must be set
79 sum += nodes[i].count;
88 nodes[nb_codes*2-1].count = 0;
91 nodes[cur_node].count = nodes[i].count + nodes[i+1].count;
94 if(nodes[j].count > nodes[j-1].count ||
95 (nodes[j].count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dled.c45 static int led_read_proc(char *buf, char **start, off_t offset, int count, argument
59 unsigned long count, void *data)
63 if (count > LED_MAX_LENGTH)
64 count = LED_MAX_LENGTH;
66 buf = kmalloc(sizeof(char) * (count + 1), GFP_KERNEL);
70 if (copy_from_user(buf, buffer, count)) {
75 buf[count] = '\0';
77 if (buf[count - 1] == '\n')
78 buf[count - 1] = '\0';
99 return count;
58 led_write_proc(struct file *file, const char __user *buffer, unsigned long count, void *data) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/h8300/lib/
H A Dmemset.S15 ;;void *memset(*ptr, int c, size_t count)
18 ;; count = er2
35 ;; count>=4 -> count/4
52 ;; count % 4
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/parisc/lib/
H A Dchecksum.c45 int odd, count; local
56 count = len >> 1; /* nr of 16-bit words.. */
57 if (count) {
60 count--;
64 count >>= 1; /* nr of 32-bit words.. */
65 if (count) {
66 while (count >= 4) {
76 count -= 4;
79 while (count) {
81 count
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dmac8390.c134 static void sane_block_input(struct net_device * dev, int count,
136 static void sane_block_output(struct net_device * dev, int count,
141 int from, int count);
143 const void *from, int count);
148 static void dayna_block_input(struct net_device *dev, int count,
150 static void dayna_block_output(struct net_device *dev, int count,
159 static void slow_sane_block_input(struct net_device *dev, int count,
161 static void slow_sane_block_output(struct net_device *dev, int count,
163 static void word_memcpy_tocard(void *tp, const void *fp, int count);
164 static void word_memcpy_fromcard(void *tp, const void *fp, int count);
671 dayna_memcpy_fromcard(struct net_device *dev, void *to, int from, int count) argument
695 dayna_memcpy_tocard(struct net_device *dev, int to, const void *from, int count) argument
732 sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
749 sane_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
767 dayna_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
791 dayna_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
809 slow_sane_block_input(struct net_device *dev, int count, struct sk_buff *skb, int ring_offset) argument
832 slow_sane_block_output(struct net_device *dev, int count, const unsigned char *buf, int start_page) argument
840 word_memcpy_tocard(void *tp, const void *fp, int count) argument
852 word_memcpy_fromcard(void *tp, const void *fp, int count) argument
[all...]

Completed in 445 milliseconds

1234567891011>>