Searched refs:cnt (Results 51 - 75 of 354) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/nubus/
H A Dproc.c34 int len, cnt; local
36 cnt = 0;
37 while (dev && count > cnt) {
52 cnt = at - pos;
54 cnt += len;
59 return (count > cnt) ? cnt : count;
/asus-wl-520gu-7.0.1.45/src/router/LPRng/UTILS/
H A Dtcpsend.c151 int cnt, n, i; local
153 for( cnt = i = 0; cnt >= 0 && i < n; i += cnt ){
154 cnt = write(sock,buffer+i,n-i);
156 if( cnt < 0 ){
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/zftape/
H A Dzftape-write.c308 static int zft_simple_write(int *cnt, argument
323 *cnt = req_len < space_left ? req_len : space_left;
325 if (copy_from_user(dst_buf + pos->seg_byte_pos, src_buf, *cnt) != 0) {
329 TRACE_CATCH(verify_area(VERIFY_READ, src_buf, *cnt),);
330 memcpy_fromfs(dst_buf + pos->seg_byte_pos, src_buf, *cnt);
332 TRACE_EXIT *cnt; local
393 int cnt = 0; local
408 TRACE_CATCH(result= (*zft_cmpr_ops->write)(&cnt,
413 TRACE_CATCH(result= zft_simple_write(&cnt,
419 pos->seg_byte_pos += cnt;
[all...]
H A Dzftape-read.c269 int cnt; local
276 TRACE_CATCH(result= (*zft_cmpr_ops->read)(&cnt,
281 TRACE_CATCH(result= zft_simple_read (&cnt,
287 pos->tape_pos += cnt;
288 pos->seg_byte_pos += cnt;
289 buf_len_rd -= cnt; /* remaining bytes in buffer */
290 TRACE(ft_t_data_flow, "buf_len_rd: %d, cnt: %d", buf_len_rd, cnt);
295 TRACE(ft_t_data_flow, "bytes moved out of deblock-buffer: %d", cnt);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ntfs/
H A Dunistr.c94 __u32 cnt, min_len; local
100 for (cnt = 0; cnt < min_len; ++cnt) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/block/
H A Damiflop.c486 int cnt; local
507 cnt = unit[drive].track/2 - track/2;
512 if (cnt < 0) {
513 cnt = - cnt;
520 if (cnt == 0) {
532 } while (--cnt != 0);
830 int cnt, to_cnt = 0; local
834 for (cnt = 0; cnt < le
846 putsec(int disk, unsigned long *raw, int cnt) argument
882 unsigned int cnt; local
1186 ms_putsec(int drive, unsigned long *raw, int cnt) argument
1239 int cnt; local
1370 unsigned int cnt, block, track, sector; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/busybox/
H A Dvi.c400 int cnt, size, ch; local
419 cnt = file_size(fn); // file size
420 size = 2 * cnt; // 200% of file size
424 ch= file_insert(fn, text, cnt);
433 for (cnt = 0; cnt < 28; cnt++) {
434 mark[cnt] = 0;
623 int i, cnt, thing, rbi, startrbi, percent; local
688 cnt
786 int cnt, i, j, dir, yf; local
2204 int cnt, ro, co; local
2335 int cnt; local
2348 int cnt; local
2426 dot_scroll(int cnt, int dir) argument
2701 int cnt; local
2873 int cnt; local
2894 int cnt, hole_size; local
3055 int cnt, i; local
3075 int cnt; local
3283 int i, bufsiz, cnt, cmdindex; local
3475 int cnt, sr; local
3489 int fd, cnt; local
3553 int fd, cnt, charcnt; local
3715 int l, cnt, cksum; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/
H A Dcycx_main.c109 int cnt, err = -ENOMEM; local
124 for (cnt = 0; cnt < ncards; ++cnt) {
125 cycx_t *card = &card_array[cnt];
128 sprintf(card->devname, "%s%d", drvname, cnt + 1);
146 if (!cnt) {
151 ncards = cnt; /* adjust actual number of cards */
H A Dn2.c345 int cnt; local
347 for (cnt = 0; cnt < 2; cnt++)
348 if (card->ports[cnt].card)
349 unregister_hdlc_device(&card->ports[cnt].hdlc);
370 u8 cnt, pcr; local
441 cnt = n2_count_page(card);
442 if (!cnt) {
448 card->ram_size = cnt * USE_WINDOWSIZ
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/arch/mips/cpu/sb1250/src/
H A Dcfe_dmtest.c91 void dm_bzero(void *dest, int cnt);
92 void dm_bsink(void *src, int cnt);
93 void dm_bcopy(void *src, void *dest, int cnt);
94 void dm_multibcopy(void *src, void *dest, int cnt, int blksize);
395 int cnt = 0; local
413 cnt++;
418 d->dm_newcnt += cnt;
420 return cnt;
644 * cnt - number of descriptors
650 dm_allocdscrs(int cnt) argument
933 dm_bcopy_p(int ch, long src, long dest, int cnt, flags_t flags) argument
967 dm_bcopy(void *src, void *dest, int cnt) argument
988 dm_multibcopy_p(int ch, long src, long dest, int cnt, int step, flags_t flags) argument
1066 dm_bzero_p(int ch, long dest, int cnt, flags_t flags) argument
1089 dm_bzero(void *dest, int cnt) argument
1108 dm_bsink_p(int ch, long src, int cnt, flags_t flags) argument
1128 dm_bsink(void *src, int cnt) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/kernel/
H A Diosapic.c90 #define IOSAPIC_KALLOC(a_type, cnt) \
91 (a_type *) kmalloc(sizeof(a_type)*(cnt), GFP_KERNEL)
92 #define IOSAPIC_FREE(addr, f_type, cnt) kfree((void *)addr)
305 int cnt; /* track how many entries we've looked at */ local
310 for (cnt=0; cnt < irt_num_entry; cnt++, i++) {
320 DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d type %d\n", i, cnt, i->entry_type);
325 DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d length %d\n", i, cnt, i->entry_length);
330 DBG_IRT(KERN_WARNING MODULE_NAME ":find_irqline(0x%p): skipping entry %d interrupt_type %d\n", i, cnt,
794 int cnt; /* track how many entries we've looked at */ local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/emu10k1/
H A Dmidi.c253 u16 cnt; local
274 cnt = MIDIIN_BUFLEN - midi_dev->ird;
278 if (midi_dev->icnt < cnt)
279 cnt = midi_dev->icnt;
283 if (cnt > count)
284 cnt = count;
286 if (cnt <= 0) {
299 if (copy_to_user(buffer, midi_dev->iBuf + midi_dev->ird, cnt)) {
304 midi_dev->ird += cnt;
309 midi_dev->icnt -= cnt;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Drme96xx.c622 int cnt; local
628 cnt = (hwp - swptr);
630 if (cnt < 0) {
631 cnt = ((dma->s->fragsize<<1) - swptr);
634 return cnt;
639 int cnt; local
645 cnt = (hwp - swptr);
647 if (cnt < 0) {
648 cnt = ((dma->s->fragsize<<1) - swptr);
651 return cnt;
662 int cnt = count/dma->outchannels; local
678 int cnt = count/dma->outchannels; local
711 int cnt = count/dma->inchannels; local
728 int cnt = count/dma->inchannels; local
1472 int cnt; /* number of bytes from "buffer" that will/can be used */ local
1540 int cnt; /* number of bytes from "buffer" that will/can be used */ local
1655 unsigned int hwp,cnt; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dold-time.c340 static unsigned cnt, period, dist; local
342 if (cnt == 0 || cnt == dist)
344 else if (cnt == 7 || cnt == dist+7)
347 if (++cnt > period) {
348 cnt = 0;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/
H A Dfifo.c16 static void wait_for_partner(struct inode* inode, unsigned int* cnt) argument
18 int cur = *cnt;
19 while(cur == *cnt) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hil/
H A Dhil_kbd.c163 int idx, i, cnt; local
209 cnt = 1;
214 while (cnt < idx - 1)
215 input_report_key(dev, kbd->data[cnt++] & 0x7f, 1);
220 while (cnt < idx - 1)
221 input_report_key(dev, kbd->data[cnt++], 1);
224 while (cnt < idx - 1) {
227 key = kbd->data[cnt++];
236 while (cnt < idx - 1) {
239 key = kbd->data[cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dariadne2.c285 int cnt; local
306 for (cnt = 0; cnt < (sizeof(struct e8390_pkt_hdr)>>1); cnt++)
327 int cnt; local
345 for (cnt = 0; cnt < (count>>1); cnt++)
361 int cnt; local
390 for (cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips64/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips64/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/
H A Dsgialib.h101 extern long prom_getvdirent(unsigned long fd, struct linux_vdirent *ent, unsigned long num, unsigned long *cnt);
104 extern LONG ArcRead(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
106 extern LONG ArcWrite(ULONG fd, PVOID buf, ULONG num, PULONG cnt);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dh8.c218 if (qp->cnt < qp->ncmd) {
230 qp->cnt = 0;
236 qp->cnt = 0;
262 if (qp->cnt < qp->nrsp) {
263 qp->rcvbuf[qp->cnt] = data_reg;
264 qp->cnt++;
266 if (qp->cnt == qp->nrsp) {
510 qp->cnt = 1;
521 int cnt; local
523 cnt
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/scsi/
H A Dqla1280.c1944 uint32_t cnt; local
1984 for (cnt = 6000000; cnt; cnt--)
2003 if (!cnt)
2280 /* uint8_t cnt; */
2363 /* for (cnt = 0; cnt < MAX_LUNS; cnt++)
2365 qla1280_enable_lun(ha, b, cnt);
2445 uint8_t cnt; local
2615 uint32_t cnt; local
2736 uint16_t cnt; local
2884 uint16_t cnt; local
2959 uint8_t cnt; local
3329 uint8_t cnt; local
3391 int cnt = NV_DELAY_COUNT; local
3418 uint32_t cnt; local
3836 uint32_t cnt; local
4146 uint32_t cnt; local
4454 uint16_t cnt; local
5889 uint16_t cnt; local
6563 uint32_t cnt; local
[all...]

Completed in 560 milliseconds

1234567891011>>