Home
last modified time | relevance | path

Searched refs:read_buf (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/char/
Dn_tty.c97 tty->read_buf[tty->read_head] = c; in put_tty_queue_nolock()
424 c = tty->read_buf[head]; in eraser()
452 c = tty->read_buf[tail]; in eraser()
720 echo_char(tty->read_buf[tail], tty); in n_tty_receive_char()
868 if (!tty->read_buf) in n_tty_receive_buf()
875 memcpy(tty->read_buf + tty->read_head, cp, i); in n_tty_receive_buf()
883 memcpy(tty->read_buf + tty->read_head, cp, i); in n_tty_receive_buf()
1028 if (tty->read_buf) { in n_tty_close()
1029 free_buf(tty->read_buf); in n_tty_close()
1030 tty->read_buf = 0; in n_tty_close()
[all …]
Dau1000_usbraw.c81 __u8 read_buf[READ_BUF_SIZE]; // FIXME: allocate with get_free_pages member
217 port->read_buf[port->read_nextin++] = pkt->payload[i]; in receive_callback()
398 put_user(port->read_buf[port->read_nextout++], &buf[i]); in usbraw_read()
Dtty_ioctl.c202 if (!tty->canon_data || !tty->read_buf) in inq_canon()
210 tty->read_buf[tail] == __DISABLED_CHAR) in inq_canon()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c247 caddr_t read_buf; in linvfs_readdir() local
258 if ((read_buf = (caddr_t)kmalloc(rlen, GFP_KERNEL))) in linvfs_readdir()
263 if (read_buf == NULL) in linvfs_readdir()
276 iov.iov_base = read_buf; in linvfs_readdir()
288 dbp = (xfs_dirent_t *)read_buf; in linvfs_readdir()
311 kfree(read_buf); in linvfs_readdir()
/linux-2.4.37.9/fs/jffs/
Dintrep.c355 __u8 *read_buf; in jffs_checksum_flash() local
359 read_buf = (__u8 *) kmalloc (sizeof(__u8) * 4096, GFP_KERNEL); in jffs_checksum_flash()
360 if (!read_buf) { in jffs_checksum_flash()
374 flash_safe_read(mtd, ptr, &read_buf[0], length); in jffs_checksum_flash()
378 sum += read_buf[i]; in jffs_checksum_flash()
386 kfree (read_buf); in jffs_checksum_flash()
768 __u8 *read_buf; in jffs_scan_flash() local
803 read_buf = (__u8 *) kmalloc (sizeof(__u8) * 4096, GFP_KERNEL); in jffs_scan_flash()
804 if (!read_buf) { in jffs_scan_flash()
832 &read_buf[0], len); in jffs_scan_flash()
[all …]
/linux-2.4.37.9/lib/zlib_deflate/
Ddeflate.c76 local int read_buf OF((z_streamp strm, Bytef *buf, unsigned size));
626 local int read_buf(strm, buf, size) in read_buf() function
932 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
/linux-2.4.37.9/include/linux/
Dtty.h300 char *read_buf; member