Home
last modified time | relevance | path

Searched refs:bytes_left (Results 1 – 10 of 10) sorted by relevance

/linux-2.4.37.9/arch/ia64/ia32/
Dia32_ldt.c30 unsigned long bytes_left, n; in read_ldt() local
35 bytes_left = bytecount; in read_ldt()
40 while (bytes_left) { in read_ldt()
42 if (n > bytes_left) in read_ldt()
43 n = bytes_left; in read_ldt()
57 bytes_left -= n; in read_ldt()
/linux-2.4.37.9/drivers/scsi/
Dsym53c416.c254 unsigned int bytes_left; in sym53c416_read() local
263 bytes_left = inb(base + PIO_FIFO_CNT); /* Number of bytes in the PIO FIFO */ in sym53c416_read()
264 if(fastpio && bytes_left > 3) in sym53c416_read()
266 insl(base + PIO_FIFO_1, buffer, bytes_left >> 2); in sym53c416_read()
267 buffer += bytes_left & 0xFC; in sym53c416_read()
268 len -= bytes_left & 0xFC; in sym53c416_read()
270 else if(bytes_left > 0) in sym53c416_read()
272 len -= bytes_left; in sym53c416_read()
273 for(; bytes_left > 0; bytes_left--) in sym53c416_read()
/linux-2.4.37.9/net/irda/
Dirlap_event.c987 if (skb->len > self->bytes_left) { in irlap_state_xmit_p()
1001 self->bytes_left -= skb->len; in irlap_state_xmit_p()
1045 self->bytes_left = self->line_capacity; in irlap_state_xmit_p()
1685 if (skb->len > self->bytes_left) { in irlap_state_xmit_s()
1695 self->bytes_left = self->line_capacity; in irlap_state_xmit_s()
1702 self->bytes_left -= skb->len; in irlap_state_xmit_s()
Dirlap.c1020 self->bytes_left = self->line_capacity; in irlap_apply_connection_parameters()
1125 len += sprintf(buf+len, "bytes left: %d\n", self->bytes_left); in irlap_proc_read()
Dirlap_frame.c818 self->bytes_left = self->line_capacity; in irlap_send_data_primary_poll()
876 self->bytes_left = self->line_capacity; in irlap_send_data_secondary_final()
/linux-2.4.37.9/include/net/irda/
Dirlap.h154 __u32 bytes_left; /* Number of bytes still allowed to transmit */ member
/linux-2.4.37.9/net/atm/
Dmpc.c569 int bytes_left; in atm_mpoa_vcc_attach() local
576 bytes_left = copy_from_user(&ioc_data, (void *)arg, sizeof(struct atmmpc_ioc)); in atm_mpoa_vcc_attach()
577 if (bytes_left != 0) { in atm_mpoa_vcc_attach()
578 printk("mpoa: mpc_vcc_attach: Short read (missed %d bytes) from userland\n", bytes_left); in atm_mpoa_vcc_attach()
Dlec.c735 int bytes_left; in lec_vcc_attach() local
739 bytes_left = copy_from_user(&ioc_data, arg, sizeof(struct atmlec_ioc)); in lec_vcc_attach()
740 if (bytes_left != 0) { in lec_vcc_attach()
742 bytes_left); in lec_vcc_attach()
/linux-2.4.37.9/drivers/usb/serial/
Dio_ti.c466 int bytes_left = 0; in TIIsTxActive() local
504 bytes_left += 64; in TIIsTxActive()
507 bytes_left += 1; in TIIsTxActive()
511 dbg ("%s - return %d", __FUNCTION__, bytes_left ); in TIIsTxActive()
515 return bytes_left; in TIIsTxActive()
/linux-2.4.37.9/drivers/ieee1394/
Dohci1394.c2554 int length, bytes_left, ack; in dma_rcv_tasklet() local
2567 bytes_left = d->buf_size - rescount - offset; in dma_rcv_tasklet()
2569 while (bytes_left > 0) { in dma_rcv_tasklet()
2676 bytes_left = d->buf_size - rescount - offset; in dma_rcv_tasklet()