Lines Matching refs:count

118 	int		  count;  member
127 int count; member
191 char *fp, int count);
416 __FILE__,__LINE__,tbuf,tbuf->count); in n_hdlc_send_frames()
420 actual = tty->ops->write(tty, tbuf->buf, tbuf->count); in n_hdlc_send_frames()
430 actual = tbuf->count; in n_hdlc_send_frames()
432 if (actual == tbuf->count) { in n_hdlc_send_frames()
512 char *flags, int count) in n_hdlc_tty_receive() argument
519 __FILE__,__LINE__, count); in n_hdlc_tty_receive()
532 if ( count>maxframe ) { in n_hdlc_tty_receive()
544 if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT) in n_hdlc_tty_receive()
556 memcpy(buf->buf,data,count); in n_hdlc_tty_receive()
557 buf->count=count; in n_hdlc_tty_receive()
614 if (rbuf->count > nr) { in n_hdlc_tty_read()
618 if (copy_to_user(buf, rbuf->buf, rbuf->count)) in n_hdlc_tty_read()
621 ret = rbuf->count; in n_hdlc_tty_read()
624 if (n_hdlc->rx_free_buf_list.count > in n_hdlc_tty_read()
663 const unsigned char *data, size_t count) in n_hdlc_tty_write() argument
672 __FILE__,__LINE__,count); in n_hdlc_tty_write()
682 if (count > maxframe ) { in n_hdlc_tty_write()
686 "from %lu to %d\n", (unsigned long) count, in n_hdlc_tty_write()
688 count = maxframe; in n_hdlc_tty_write()
725 memcpy(tbuf->buf, data, count); in n_hdlc_tty_write()
728 tbuf->count = error = count; in n_hdlc_tty_write()
751 int count; in n_hdlc_tty_ioctl() local
768 count = n_hdlc->rx_buf_list.head->count; in n_hdlc_tty_ioctl()
770 count = 0; in n_hdlc_tty_ioctl()
772 error = put_user(count, (int __user *)arg); in n_hdlc_tty_ioctl()
777 count = tty_chars_in_buffer(tty); in n_hdlc_tty_ioctl()
781 count += n_hdlc->tx_buf_list.head->count; in n_hdlc_tty_ioctl()
783 error = put_user(count, (int __user *)arg); in n_hdlc_tty_ioctl()
914 (list->count)++; in n_hdlc_buf_put()
937 (list->count)--; in n_hdlc_buf_get()