taglinefilesource code
buf828drivers/block/cdu31a.cunsigned char *buf)
buf830drivers/block/cdu31a.cbuf[0] = size / 65536;
buf832drivers/block/cdu31a.cbuf[1] = size / 256;
buf833drivers/block/cdu31a.cbuf[2] = size % 256;
buf88drivers/block/hd.c#define port_read(port,buf,nr) \
buf89drivers/block/hd.c__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
buf91drivers/block/hd.c#define port_write(port,buf,nr) \
buf92drivers/block/hd.c__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
buf423drivers/block/ll_rw_blk.cvoid ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buf)
buf446drivers/block/ll_rw_blk.cfor (i=0; i<nb; i++, buf += buffersize)
buf456drivers/block/ll_rw_blk.creq->buffer = buf;
buf487drivers/block/xd.cu_char cmdblk[6],buf[64];
buf490drivers/block/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf491drivers/block/xd.cxd_info[drive].heads = buf[0x0A];      /* heads */
buf492drivers/block/xd.cxd_info[drive].cylinders = ((u_short *) (buf))[0x04];  /* cylinders */
buf495drivers/block/xd.cxd_info[drive].rwrite = ((u_short *) (buf + 1))[0x05];  /* reduced write */
buf496drivers/block/xd.cxd_info[drive].precomp = ((u_short *) (buf + 1))[0x06];  /* write precomp */
buf497drivers/block/xd.cxd_info[drive].ecc = buf[0x0F];        /* ecc length */
buf501drivers/block/xd.cxd_setparam(CMD_DTCSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf + 1))[0x05],((u_short *) (buf + 1))[0x06],buf[0x0F]);
buf531drivers/block/xd.cu_char cmdblk[6],buf[0x200];
buf534drivers/block/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf535drivers/block/xd.cxd_info[drive].heads = buf[0x1AF];        /* heads */
buf536drivers/block/xd.cxd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6];  /* cylinders */
buf539drivers/block/xd.cxd_info[drive].rwrite = ((u_short *) (buf))[0xD8];    /* reduced write */
buf540drivers/block/xd.cxd_info[drive].wprecomp = ((u_short *) (buf))[0xDA];    /* write precomp */
buf541drivers/block/xd.cxd_info[drive].ecc = buf[0x1B4];        /* ecc length */
buf543drivers/block/xd.cxd_info[drive].control = buf[0x1B5];        /* control byte */
buf545drivers/block/xd.cxd_setparam(CMD_WDSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf))[0xD8],((u_short *) (buf))[0xDA],buf[0x1B4]);
buf570drivers/block/xd.cu_char cmdblk[6],buf[0x200];
buf573drivers/block/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf574drivers/block/xd.cxd_info[drive].heads = buf[0x04];        /* heads */
buf575drivers/block/xd.cxd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03];  /* cylinders */
buf576drivers/block/xd.cxd_info[drive].sectors = buf[0x05];        /* sectors */
buf1524drivers/char/console.cchar *sptr, *buf = (char *)arg;
buf1529drivers/char/console.cl = verify_area(VERIFY_WRITE, buf,2+video_num_columns*video_num_lines);
buf1532drivers/char/console.ccurrcons = get_fs_byte(buf+1);
buf1535drivers/char/console.cput_fs_byte((char)(video_num_lines),buf++);  
buf1536drivers/char/console.cput_fs_byte((char)(video_num_columns),buf++);
buf1540drivers/char/console.cput_fs_byte(*sptr++,buf++);  
buf292drivers/char/keyboard.cqp->buf[qp->head] = ch;
buf311drivers/char/keyboard.cqp->buf[qp->head] = ch;
buf320drivers/char/keyboard.cstatic char buf[] = { 0x1b, 'O', 0x00, 0x00 };
buf322drivers/char/keyboard.cbuf[1] = (mode ? 'O' : '[');
buf323drivers/char/keyboard.cbuf[2] = key;
buf324drivers/char/keyboard.cputs_queue(buf);
buf124drivers/char/lp.cstatic int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count)
buf136drivers/char/lp.cmemcpy_fromfs(lp->lp_buffer, buf, copy_size);
buf183drivers/char/lp.cbuf += bytes_written;
buf192drivers/char/lp.cchar * buf, int count)
buf196drivers/char/lp.cchar c, *temp = buf;
buf206drivers/char/lp.ctemp = buf;
buf222drivers/char/lp.creturn temp-buf?temp-buf:-ENOSPC;
buf230drivers/char/lp.creturn temp-buf?temp-buf:-EIO;
buf239drivers/char/lp.creturn temp-buf?temp-buf:-EFAULT;
buf247drivers/char/lp.cif (temp != buf)
buf248drivers/char/lp.creturn temp-buf;
buf262drivers/char/lp.creturn temp-buf;
buf265drivers/char/lp.cstatic int lp_write(struct inode * inode, struct file * file, char * buf, int count)
buf268drivers/char/lp.creturn lp_write_interrupt(inode, file, buf, count);
buf270drivers/char/lp.creturn lp_write_polled(inode, file, buf, count);
buf26drivers/char/mem.cstatic int read_ram(struct inode * inode, struct file * file,char * buf, int count)
buf31drivers/char/mem.cstatic int write_ram(struct inode * inode, struct file * file,char * buf, int count)
buf36drivers/char/mem.cstatic int read_mem(struct inode * inode, struct file * file,char * buf, int count)
buf49drivers/char/mem.cput_fs_byte(0,buf);
buf50drivers/char/mem.cbuf++;
buf55drivers/char/mem.cmemcpy_tofs(buf,(void *) p,count);
buf61drivers/char/mem.cstatic int write_mem(struct inode * inode, struct file * file,char * buf, int count)
buf75drivers/char/mem.cbuf++;
buf80drivers/char/mem.cmemcpy_fromfs((void *) p,buf,count);
buf114drivers/char/mem.cstatic int read_kmem(struct inode *inode, struct file *file, char *buf, int count)
buf118drivers/char/mem.cread1 = read_mem(inode, file, buf, count);
buf121drivers/char/mem.cread2 = vread(buf + read1, (char *) file->f_pos, count - read1);
buf128drivers/char/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
buf131drivers/char/mem.cchar * tmp = buf;
buf139drivers/char/mem.creturn tmp-buf;
buf142drivers/char/mem.cstatic int write_port(struct inode * inode,struct file * file,char * buf, int count)
buf145drivers/char/mem.cchar * tmp = buf;
buf153drivers/char/mem.creturn tmp-buf;
buf156drivers/char/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
buf161drivers/char/mem.cstatic int write_null(struct inode * inode,struct file * file,char * buf, int count)
buf166drivers/char/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
buf171drivers/char/mem.cput_fs_byte(0,buf);
buf172drivers/char/mem.cbuf++;
buf208drivers/char/mem.cstatic int read_full(struct inode * node,struct file * file,char * buf,int count)
buf213drivers/char/mem.cstatic int write_full(struct inode * inode,struct file * file,char * buf, int count)
buf98drivers/char/psaux.cunsigned char buf[AUX_BUF_SIZE];
buf176drivers/char/psaux.cresult = queue->buf[queue->tail];
buf200drivers/char/psaux.cqueue->buf[head] = inb(AUX_INPUT_PORT);
buf221drivers/char/psaux.cqueue->buf[head] = inb(qp_data);
buf347drivers/char/serial.cqueue->buf[head++]= TTY_BREAK;
buf350drivers/char/serial.cqueue->buf[head++]= TTY_PARITY;
buf352drivers/char/serial.cqueue->buf[head++]= TTY_FRAME;
buf355drivers/char/serial.cqueue->buf[head++] = ch;
buf390drivers/char/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
buf937drivers/char/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
buf1810drivers/char/tpqic02.cstatic int tape_qic02_read(struct inode * inode, struct file * filp, char * buf, int count)
buf1820drivers/char/tpqic02.cMINOR(dev), buf, count, filp->f_pos, flags);
buf1834drivers/char/tpqic02.cerror = verify_area(VERIFY_WRITE, buf, count);
buf1836drivers/char/tpqic02.cprintk(TPQIC_NAME ": read: verify_area(WRITE, %lx, %x) failed\n", buf, count);
buf1926drivers/char/tpqic02.cmemcpy_tofs( (void *) buf, (void *) buffaddr, bytes_done);
buf1940drivers/char/tpqic02.cbuf += bytes_done;
buf1980drivers/char/tpqic02.cstatic int tape_qic02_write(struct inode * inode, struct file * filp, char * buf, int count)
buf1989drivers/char/tpqic02.cMINOR(dev), buf, count, filp->f_pos, flags);
buf2011drivers/char/tpqic02.cerror = verify_area(VERIFY_READ, buf, count);
buf2013drivers/char/tpqic02.cprintk(TPQIC_NAME ": write: verify_area(READ, %lx, %x) failed\n", buf, count);
buf2049drivers/char/tpqic02.cmemcpy_fromfs( (void *) buffaddr, (void *) buf, bytes_todo);
buf2103drivers/char/tpqic02.cbuf += bytes_done;
buf2110drivers/char/tpqic02.cprintk(TPQIC_NAME ": status_bytes_wr %x, buf %x, total_bytes_done %x, count %x\n", status_bytes_wr, buf, total_bytes_done, count);
buf108drivers/char/tty_io.cqueue->buf[queue->head] = c;
buf122drivers/char/tty_io.cresult = 0xff & queue->buf[queue->tail];
buf151drivers/char/tty_io.c*p++ =  tty->read_q.buf[tail++];
buf183drivers/char/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf188drivers/char/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf506drivers/char/tty_io.cc = 0xff & tty->read_q.buf[tty->read_q.tail];
buf732drivers/char/tty_io.cstatic int read_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf736drivers/char/tty_io.cchar * b=buf;
buf826drivers/char/tty_io.cif (b-buf >= minimum || !current->timeout)
buf849drivers/char/tty_io.cif ((b-buf) > 1)
buf850drivers/char/tty_io.creturn b-buf;
buf852drivers/char/tty_io.cif (b-buf)
buf853drivers/char/tty_io.creturn b-buf;
buf899drivers/char/tty_io.cstatic int write_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf902drivers/char/tty_io.cchar c, *b=buf;
buf985drivers/char/tty_io.cif (b-buf)
buf986drivers/char/tty_io.creturn b-buf;
buf994drivers/char/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf1019drivers/char/tty_io.ci = (ldiscs[tty->disc].read)(tty,file,buf,count);
buf1027drivers/char/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf1055drivers/char/tty_io.ci = (ldiscs[tty->disc].write)(tty,file,buf,count);
buf1520drivers/char/tty_io.ctty->write_q.buf[head++] = *p++;
buf1568drivers/char/tty_io.ctty->write_q.buf[head++] = *p++;
buf317drivers/net/3c501.cunsigned char *buf = (void *)(skb+1);
buf327drivers/net/3c501.cport_write_b(DATAPORT,buf,skb->len);
buf42drivers/net/3c503.cconst unsigned char *buf, const start_page);
buf43drivers/net/3c503.cstatic int el2_block_input(struct device *dev, int count, char *buf,
buf340drivers/net/3c503.cconst unsigned char *buf, const start_page)
buf351drivers/net/3c503.cmemcpy(dest_addr, buf, count);
buf352drivers/net/3c503.cif (ei_debug > 2  &&  memcmp(dest_addr, buf, count))
buf378drivers/net/3c503.coutb(buf[i], E33G_FIFOH);
buf386drivers/net/3c503.cel2_block_input(struct device *dev, int count, char *buf, int ring_offset)
buf402drivers/net/3c503.cmemcpy(buf, (char *)dev->mem_start + ring_offset, semi_count);
buf404drivers/net/3c503.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
buf411drivers/net/3c503.cmemcpy(buf, (char *)dev->mem_start + ring_offset, count);
buf431drivers/net/3c503.cbuf[i] = inb_p(E33G_FIFOH);
buf269drivers/net/3c507.cstatic void hardware_send_packet(struct device *dev, void *buf, short length);
buf500drivers/net/3c507.cunsigned char *buf = (void *)(skb+1);
buf504drivers/net/3c507.chardware_send_packet(dev, buf, length);
buf764drivers/net/3c507.chardware_send_packet(struct device *dev, void *buf, short length)
buf789drivers/net/3c507.cmemcpy(write_ptr, buf, length);
buf41drivers/net/3c509.c#define port_read_l(port,buf,nr) \
buf42drivers/net/3c509.c__asm__("cld;rep;insl": :"d" (port),"D" (buf),"c" (nr):"cx","di")
buf43drivers/net/3c509.c#define port_write_l(port,buf,nr) \
buf44drivers/net/3c509.c__asm__("cld;rep;outsl": :"d" (port),"S" (buf),"c" (nr):"cx","si")
buf419drivers/net/at1700.cunsigned char *buf = (void *)(skb+1);
buf429drivers/net/at1700.cport_write(ioaddr + DATAPORT, buf, (length + 1) >> 1);
buf300drivers/net/eexpress.cstatic void hardware_send_packet(struct device *dev, void *buf, short length);
buf527drivers/net/eexpress.cunsigned char *buf = (void *)(skb+1);
buf531drivers/net/eexpress.chardware_send_packet(dev, buf, length);
buf859drivers/net/eexpress.chardware_send_packet(struct device *dev, void *buf, short length)
buf885drivers/net/eexpress.cport_write(ioaddr + DATAPORT, buf, (length + 1) >> 1);
buf49drivers/net/hp.cchar *buf, int ring_offset);
buf51drivers/net/hp.cconst unsigned char *buf, const start_page);
buf206drivers/net/hp.chp_block_input(struct device *dev, int count, char *buf, int ring_offset)
buf220drivers/net/hp.cport_read(nic_base - NIC_OFFSET + HP_DATAPORT,buf,count>>1);
buf222drivers/net/hp.cbuf[count-1] = inb(nic_base - NIC_OFFSET + HP_DATAPORT), xfer_count++;
buf224drivers/net/hp.cport_read_b(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
buf242drivers/net/hp.cconst unsigned char *buf, const start_page)
buf277drivers/net/hp.cport_write(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count>>1);
buf279drivers/net/hp.cport_write_b(nic_base - NIC_OFFSET + HP_DATAPORT, buf, count);
buf118drivers/net/iow.h#define port_read(port,buf,nr) \
buf119drivers/net/iow.h__asm__("cld;rep;insw": :"d" (port),"D" (buf),"c" (nr):"cx","di")
buf120drivers/net/iow.h#define port_write(port,buf,nr) \
buf121drivers/net/iow.h__asm__("cld;rep;outsw": :"d" (port),"S" (buf),"c" (nr):"cx","si")
buf123drivers/net/iow.h#define port_read_b(port,buf,nr) \
buf124drivers/net/iow.h__asm__("cld;rep;insb": :"d" (port),"D" (buf),"c" (nr):"cx","di")
buf125drivers/net/iow.h#define port_write_b(port,buf,nr) \
buf126drivers/net/iow.h__asm__("cld;rep;outsb": :"d" (port),"S" (buf),"c" (nr):"cx","si")
buf50drivers/net/ne.cchar *buf, int ring_offset);
buf52drivers/net/ne.cconst unsigned char *buf, const int start_page);
buf288drivers/net/ne.cne_block_input(struct device *dev, int count, char *buf, int ring_offset)
buf308drivers/net/ne.cport_read(NE_BASE + NE_DATAPORT,buf,count>>1);
buf310drivers/net/ne.cbuf[count-1] = inb(NE_BASE + NE_DATAPORT), xfer_count++;
buf312drivers/net/ne.cport_read_b(NE_BASE + NE_DATAPORT, buf, count);
buf341drivers/net/ne.cconst unsigned char *buf, const int start_page)
buf387drivers/net/ne.cport_write(NE_BASE + NE_DATAPORT, buf, count>>1);
buf389drivers/net/ne.cport_write_b(NE_BASE + NE_DATAPORT, buf, count);
buf161drivers/net/plip.cstatic int plip_send_packet(struct device *dev, unsigned char *buf, int length);
buf487drivers/net/plip.cunsigned char *buf = (unsigned char *) (skb+1);
buf492drivers/net/plip.c*buf++ = *eth_p++;
buf497drivers/net/plip.c*buf++ = new_byte;
buf626drivers/net/plip.cplip_send_packet(struct device *dev, unsigned char *buf, int length)
buf633drivers/net/plip.cdev->name, length, buf[0], buf[1], buf[2], buf[3], buf[4]));
buf663drivers/net/plip.cif (plip_send_start(dev, (struct ethhdr *)buf) < 0)
buf672drivers/net/plip.cstruct ethhdr *eth = (struct ethhdr *)buf;
buf698drivers/net/plip.cplip_send_enethdr(dev, (struct ethhdr*)buf);
buf702drivers/net/plip.csend_byte(dev, *buf);
buf704drivers/net/plip.cchecksum += *buf++;
buf708drivers/net/plip.cchecksum += buf[i];
buf709drivers/net/plip.cif (send_byte(dev, buf[i]) < 0) {
buf121drivers/net/skeleton.cextern void  hardware_send_packet(short ioaddr, char *buf, int length);
buf333drivers/net/skeleton.cunsigned char *buf = (void *)(skb+1);
buf335drivers/net/skeleton.chardware_send_packet(ioaddr, buf, length);
buf42drivers/net/smc-ultra.cchar *buf, int ring_offset);
buf44drivers/net/smc-ultra.cconst unsigned char *buf, const start_page);
buf202drivers/net/smc-ultra.cultra_block_input(struct device *dev, int count, char *buf, int ring_offset)
buf210drivers/net/smc-ultra.cmemcpy(buf, xfer_start, semi_count);
buf212drivers/net/smc-ultra.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
buf215drivers/net/smc-ultra.cmemcpy(buf, xfer_start, count);
buf221drivers/net/smc-ultra.cultra_block_output(struct device *dev, int count, const unsigned char *buf,
buf227drivers/net/smc-ultra.cmemcpy(shmem, buf, count);
buf43drivers/net/wd.cchar *buf, int ring_offset);
buf45drivers/net/wd.cconst unsigned char *buf, const start_page);
buf295drivers/net/wd.cwd_block_input(struct device *dev, int count, char *buf, int ring_offset)
buf305drivers/net/wd.c((int*)buf)[0] = ((int*)xfer_start)[0];
buf312drivers/net/wd.cmemcpy(buf, (char *)xfer_start, semi_count);
buf314drivers/net/wd.cmemcpy(buf + semi_count, (char *)dev->rmem_start, count);
buf316drivers/net/wd.cmemcpy(buf, (char *)xfer_start, count);
buf326drivers/net/wd.cwd_block_output(struct device *dev, int count, const unsigned char *buf,
buf336drivers/net/wd.cmemcpy((char *)shmem, buf, count);
buf339drivers/net/wd.cmemcpy((char *)shmem, buf, count);
buf338drivers/scsi/aha152x.c#define insw( buf, count, port ) \
buf340drivers/scsi/aha152x.c("cld;rep;insw": :"d" (port),"D" (buf),"c" (count):"cx","di" )
buf342drivers/scsi/aha152x.c#define outsw( buf, count, port ) \
buf344drivers/scsi/aha152x.c("cld;rep;outsw": :"d" (port),"S" (buf),"c" (count):"cx","si")
buf775drivers/scsi/aha1542.cunchar buf[8];
buf779drivers/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
buf781drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
buf783drivers/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
buf349drivers/scsi/fdomain.c#define insw( buf, count, port ) \
buf351drivers/scsi/fdomain.c("cld;rep;insw": :"d" (port),"D" (buf),"c" (count):"cx","di" )
buf353drivers/scsi/fdomain.c#define outsw( buf, count, port ) \
buf355drivers/scsi/fdomain.c("cld;rep;outsw": :"d" (port),"S" (buf),"c" (count):"cx","si")
buf463drivers/scsi/fdomain.cunsigned char    buf[buflen];
buf641drivers/scsi/fdomain.cSCinit.request_buffer  = SCinit.buffer = buf;
buf642drivers/scsi/fdomain.cSCinit.request_bufflen = SCinit.bufflen = sizeof(buf)-1;
buf658drivers/scsi/fdomain.cfor (j = 8; j < (buf[4] < 32 ? buf[4] : 32); j++)
buf659drivers/scsi/fdomain.cprintk( "%c", buf[j] >= 20 ? buf[j] : ' ' );
buf665drivers/scsi/fdomain.cblocks = (buf[0] << 24) | (buf[1] << 16)
buf666drivers/scsi/fdomain.c| (buf[2] << 8) | buf[3];
buf667drivers/scsi/fdomain.csize = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7];
buf144drivers/scsi/scsi_ioctl.cchar * buf;
buf166drivers/scsi/scsi_ioctl.cbuf = (char *) scsi_malloc(needed);
buf167drivers/scsi/scsi_ioctl.cif (!buf) return -ENOMEM;
buf169drivers/scsi/scsi_ioctl.cbuf = NULL;
buf172drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) buf,  (void *) (cmd_in + cmdlen), inlen > MAX_BUF ? MAX_BUF : inlen);
buf180drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf, needed,  scsi_ioctl_done,  MAX_TIMEOUT, 
buf201drivers/scsi/scsi_ioctl.cmemcpy_tofs ((void *) cmd_in,  buf,  (outlen > MAX_BUF) ? MAX_BUF  : outlen);
buf205drivers/scsi/scsi_ioctl.cif (buf) scsi_free(buf, needed);
buf216drivers/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
buf1604drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
buf1620drivers/scsi/seagate.csizes = (int *) buf;
buf1640drivers/scsi/seagate.cif (!(result = kernel_scsi_ioctl (disk, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) {
buf1653drivers/scsi/seagate.cif (!(result = kernel_scsi_ioctl (disk, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) {
buf153drivers/scsi/sg.cstatic int sg_read(struct inode *inode,struct file *filp,char *buf,int count)
buf158drivers/scsi/sg.cif ((i=verify_area(VERIFY_WRITE,buf,count)))
buf172drivers/scsi/sg.cmemcpy_tofs(buf,&device->header,sizeof(struct sg_header));
buf173drivers/scsi/sg.cbuf+=sizeof(struct sg_header);
buf176drivers/scsi/sg.cmemcpy_tofs(buf,device->buff,count-sizeof(struct sg_header));
buf207drivers/scsi/sg.cstatic int sg_write(struct inode *inode,struct file *filp,char *buf,int count)
buf214drivers/scsi/sg.cif ((i=verify_area(VERIFY_READ,buf,count)))
buf232drivers/scsi/sg.cmemcpy_fromfs(&device->header,buf,sizeof(struct sg_header));
buf235drivers/scsi/sg.cbuf+=sizeof(struct sg_header);
buf264drivers/scsi/sg.csize=COMMAND_SIZE(get_fs_byte(buf));
buf265drivers/scsi/sg.cmemcpy_fromfs(cmnd,buf,size);
buf266drivers/scsi/sg.cbuf+=size;
buf267drivers/scsi/sg.cmemcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header));
buf537drivers/scsi/st.cint st_write(struct inode * inode, struct file * filp, char * buf, int count)
buf593drivers/scsi/st.cb_point = buf;
buf701drivers/scsi/st.cint st_read(struct inode * inode, struct file * filp, char * buf, int count)
buf855drivers/scsi/st.cmemcpy_tofs(buf, scsi_tapes[dev].buffer->b_data +
buf858drivers/scsi/st.cbuf += transfer;
buf624drivers/scsi/ultrastor.cstatic char buf[64];
buf627drivers/scsi/ultrastor.csprintf(buf, "UltraStor 24F SCSI @ Slot %u IRQ%u\n",
buf630drivers/scsi/ultrastor.csprintf(buf, "UltraStor 34F SCSI @ Port %03X BIOS %05X IRQ%u\n",
buf634drivers/scsi/ultrastor.csprintf(buf, "UltraStor 14F SCSI @ Port %03X BIOS %05X IRQ%u DMA%u\n",
buf637drivers/scsi/ultrastor.creturn buf;
buf561drivers/scsi/wd7000.cextern int vsprintf(char *buf, const char *fmt, va_list args);
buf125drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf169drivers/sound/audio.cCOPY_FROM_USER (&wr_dma_buf[dev][wr_buff_ptr[dev]], buf, p, l);
buf173drivers/sound/audio.cwr_dma_buf[dev], wr_buff_ptr[dev], buf, p, l);
buf205drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf248drivers/sound/audio.cCOPY_TO_USER (buf, p, dmabuf, l);
buf311drivers/sound/audio.caudio_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf317drivers/sound/audio.caudio_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf63drivers/sound/dev_table.hvoid (*output_block) (int dev, unsigned long buf, 
buf65drivers/sound/dev_table.hvoid (*start_input) (int dev, unsigned long buf, 
buf314drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len)
buf373drivers/sound/dmabuf.c*buf = &dev_buf[dev][dev_qhead[dev]][dev_counts[dev][dev_qhead[dev]]];
buf476drivers/sound/dmabuf.cDMAbuf_getwrbuffer (int dev, char **buf, int *size)
buf538drivers/sound/dmabuf.c*buf = dev_buf[dev][dev_qtail[dev]];
buf814drivers/sound/dmabuf.cDMAbuf_getwrbuffer (int dev, char **buf, int *size)
buf820drivers/sound/dmabuf.cDMAbuf_getrdbuffer (int dev, char **buf, int *len)
buf1897drivers/sound/gus_wave.cgus_transfer_output_block (int dev, unsigned long buf,
buf1932drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf + (chn * count), count, DMA_MODE_WRITE);
buf1976drivers/sound/gus_wave.cgus_sampling_output_block (int dev, unsigned long buf, int total_count, 
buf1979drivers/sound/gus_wave.cpcm_current_buf = buf;
buf1983drivers/sound/gus_wave.cgus_transfer_output_block (dev, buf, total_count, intrflag, 0);
buf1987drivers/sound/gus_wave.cgus_sampling_start_input (int dev, unsigned long buf, int count, 
buf1995drivers/sound/gus_wave.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
buf81drivers/sound/midibuf.cMIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf91drivers/sound/midibuf.cMIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf113drivers/sound/midibuf.cMIDIbuf_bytes_received (int dev, unsigned char *buf, int count)
buf235drivers/sound/pas2_pcm.cpas_pcm_output_block (int dev, unsigned long buf, int count, 
buf240drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static void pas_pcm_output_block(char *buf = %P, int count = %X)\n", buf, count));
buf257drivers/sound/pas2_pcm.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
buf281drivers/sound/pas2_pcm.cpas_pcm_start_input (int dev, unsigned long buf, int count, 
buf287drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static void pas_pcm_start_input(char *buf = %P, int count = %X)\n", buf, count));
buf301drivers/sound/pas2_pcm.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
buf84drivers/sound/patmgr.cpmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf107drivers/sound/patmgr.cCOPY_TO_USER (buf, 0, (char *) mbox[dev], count);
buf122drivers/sound/patmgr.cpmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf132drivers/sound/patmgr.cCOPY_FROM_USER (mbox[dev], buf, 0, 4);
buf143drivers/sound/patmgr.cbuf, 4, count, 1);
buf161drivers/sound/patmgr.cCOPY_FROM_USER (&((char *) mbox[dev])[4], buf, 4, count - 4);
buf315drivers/sound/sb_dsp.csb_dsp_output_block (int dev, unsigned long buf, int count, 
buf324drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_WRITE);
buf359drivers/sound/sb_dsp.csb_dsp_start_input (int dev, unsigned long buf, int count, int intrflag,
buf370drivers/sound/sb_dsp.cDMAbuf_start_dma (dev, buf, count, DMA_MODE_READ);
buf75drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf82drivers/sound/sequencer.creturn pmgr_read (dev - 1, file, buf, count);
buf94drivers/sound/sequencer.cCOPY_TO_USER (buf, p, &iqueue[iqhead][0], 4);
buf154drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf169drivers/sound/sequencer.creturn pmgr_write (dev - 1, file, buf, count);
buf175drivers/sound/sequencer.cCOPY_FROM_USER (event, buf, p, 4);
buf189drivers/sound/sequencer.cerr = synth_devs[dev]->load_patch (dev, *(short *) &event[0], buf, p + 4, c, 0);
buf208drivers/sound/sequencer.cCOPY_FROM_USER (&event[4], buf, p + 4, 4);
buf1099drivers/sound/sequencer.csequencer_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf1105drivers/sound/sequencer.csequencer_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count)
buf8drivers/sound/sound_calls.hint DMAbuf_getwrbuffer(int dev, char **buf, int *size);
buf9drivers/sound/sound_calls.hint DMAbuf_getrdbuffer(int dev, char **buf, int *len);
buf25drivers/sound/sound_calls.hint audio_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf26drivers/sound/sound_calls.hint audio_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf38drivers/sound/sound_calls.hint sequencer_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf39drivers/sound/sound_calls.hint sequencer_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf58drivers/sound/sound_calls.hint MIDIbuf_read (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf59drivers/sound/sound_calls.hint MIDIbuf_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf65drivers/sound/sound_calls.hvoid MIDIbuf_bytes_received(int dev, unsigned char *buf, int count);
buf75drivers/sound/sound_calls.hint   CMIDI_write (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf76drivers/sound/sound_calls.hint   CMIDI_read  (int dev, struct fileinfo *file, snd_rw_buf *buf, int count);
buf184drivers/sound/sound_calls.hint pmgr_read (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
buf185drivers/sound/sound_calls.hint pmgr_write (int dev, struct fileinfo *file, snd_rw_buf * buf, int count);
buf177drivers/sound/soundcard.cread_status (char *buf, int count)
buf192drivers/sound/soundcard.cmemcpy_tofs (buf, &status_buf[status_ptr], l);
buf209drivers/sound/soundcard.csound_read (struct inode *inode, struct file *file, char *buf, int count)
buf221drivers/sound/soundcard.creturn read_status (buf, count);
buf227drivers/sound/soundcard.creturn audio_read (dev, &files[dev], buf, count);
buf231drivers/sound/soundcard.creturn sequencer_read (dev, &files[dev], buf, count);
buf236drivers/sound/soundcard.creturn MIDIbuf_read (dev, &files[dev], buf, count);
buf247drivers/sound/soundcard.csound_write (struct inode *inode, struct file *file, char *buf, int count)
buf260drivers/sound/soundcard.creturn sequencer_write (dev, &files[dev], buf, count);
buf266drivers/sound/soundcard.creturn audio_write (dev, &files[dev], buf, count);
buf72fs/binfmt_elf.celf_ex = *((struct elfhdr *) bprm->buf);    /* exec-header */
buf141fs/binfmt_elf.cretval = read_exec(interpreter_inode,0,bprm->buf,128);
buf144fs/binfmt_elf.cex = *((struct exec *) bprm->buf);    /* exec-header */
buf17fs/block_dev.cint block_write(struct inode * inode, struct file * filp, char * buf, int count)
buf66fs/block_dev.cmemcpy_fromfs(p,buf,chars);
buf68fs/block_dev.cbuf += chars;
buf78fs/block_dev.cint block_read(struct inode * inode, struct file * filp, char * buf, int count)
buf187fs/block_dev.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf189fs/block_dev.cbuf += chars;
buf192fs/block_dev.cput_fs_byte(0,buf++);
buf522fs/buffer.cvoid brelse(struct buffer_head * buf)
buf524fs/buffer.cif (!buf)
buf526fs/buffer.cwait_on_buffer(buf);
buf527fs/buffer.cif (buf->b_count) {
buf528fs/buffer.cif (--buf->b_count)
buf591fs/exec.cmemset(bprm.buf,0,sizeof(bprm.buf));
buf594fs/exec.cretval = read_exec(bprm.inode,0,bprm.buf,128);
buf598fs/exec.cif ((bprm.buf[0] == '#') && (bprm.buf[1] == '!') && (!sh_bang)) {
buf607fs/exec.cbprm.buf[127] = '\0';
buf608fs/exec.cif ((cp = strchr(bprm.buf, '\n')) == NULL)
buf609fs/exec.ccp = bprm.buf+127;
buf611fs/exec.cwhile (cp > bprm.buf) {
buf618fs/exec.cfor (cp = bprm.buf+2; (*cp == ' ') || (*cp == '\t'); cp++);
buf751fs/exec.cex = *((struct exec *) bprm->buf);    /* exec-header */
buf23fs/ext/dir.cstatic int ext_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
buf72fs/ext/file.cstatic int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf167fs/ext/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf169fs/ext/file.cbuf += chars;
buf172fs/ext/file.cput_fs_byte(0,buf++);
buf196fs/ext/file.cstatic int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf247fs/ext/file.cmemcpy_fromfs(p,buf,c);
buf248fs/ext/file.cbuf += c;
buf147fs/ext/inode.cvoid ext_statfs (struct super_block *sb, struct statfs *buf)
buf151fs/ext/inode.cput_fs_long(EXT_SUPER_MAGIC, &buf->f_type);
buf152fs/ext/inode.cput_fs_long(1024, &buf->f_bsize);
buf154fs/ext/inode.c&buf->f_blocks);
buf156fs/ext/inode.cput_fs_long(tmp, &buf->f_bfree);
buf157fs/ext/inode.cput_fs_long(tmp, &buf->f_bavail);
buf158fs/ext/inode.cput_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files);
buf159fs/ext/inode.cput_fs_long(ext_count_free_inodes(sb), &buf->f_ffree);
buf160fs/ext/inode.cput_fs_long(EXT_NAME_LEN, &buf->f_namelen);
buf25fs/ext2/dir.cchar * buf, int count)
buf74fs/ext2/file.cchar * buf, int count)
buf175fs/ext2/file.cmemcpy_tofs (buf, offset + (*bhe)->b_data,
buf178fs/ext2/file.cbuf += chars;
buf181fs/ext2/file.cput_fs_byte (0, buf++);
buf206fs/ext2/file.cchar * buf, int count)
buf261fs/ext2/file.cmemcpy_fromfs (p, buf, c);
buf262fs/ext2/file.cbuf += c;
buf32fs/ext2/super.cchar buf[1024];
buf42fs/ext2/super.cvsprintf (buf, fmt, args);
buf49fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
buf55fs/ext2/super.cchar buf[1024];
buf65fs/ext2/super.cvsprintf (buf, fmt, args);
buf68fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
buf74fs/ext2/super.cchar buf[1024];
buf78fs/ext2/super.cvsprintf (buf, fmt, args);
buf85fs/ext2/super.cMAJOR(sb->s_dev), MINOR(sb->s_dev), function, buf);
buf517fs/ext2/super.cvoid ext2_statfs (struct super_block * sb, struct statfs * buf)
buf521fs/ext2/super.cput_fs_long (EXT2_SUPER_MAGIC, &buf->f_type);
buf522fs/ext2/super.cput_fs_long (sb->s_blocksize, &buf->f_bsize);
buf523fs/ext2/super.cput_fs_long (sb->u.ext2_sb.s_es->s_blocks_count, &buf->f_blocks);
buf525fs/ext2/super.cput_fs_long (tmp, &buf->f_bfree);
buf528fs/ext2/super.c&buf->f_bavail);
buf530fs/ext2/super.cput_fs_long (0, &buf->f_bavail);
buf531fs/ext2/super.cput_fs_long (sb->u.ext2_sb.s_es->s_inodes_count, &buf->f_files);
buf532fs/ext2/super.cput_fs_long (ext2_count_free_inodes (sb), &buf->f_ffree);
buf533fs/ext2/super.cput_fs_long (EXT2_NAME_LEN, &buf->f_namelen);
buf183fs/hpfs/hpfs_fs.cchar *buf, int count);
buf725fs/hpfs/hpfs_fs.cstatic void hpfs_statfs(struct super_block *s, struct statfs *buf)
buf741fs/hpfs/hpfs_fs.cput_fs_long(s->s_magic, &buf->f_type);
buf742fs/hpfs/hpfs_fs.cput_fs_long(512, &buf->f_bsize);
buf743fs/hpfs/hpfs_fs.cput_fs_long(s->s_hpfs_fs_size, &buf->f_blocks);
buf744fs/hpfs/hpfs_fs.cput_fs_long(s->s_hpfs_n_free, &buf->f_bfree);
buf745fs/hpfs/hpfs_fs.cput_fs_long(s->s_hpfs_n_free, &buf->f_bavail);
buf746fs/hpfs/hpfs_fs.cput_fs_long(s->s_hpfs_dirband_size, &buf->f_files);
buf747fs/hpfs/hpfs_fs.cput_fs_long(s->s_hpfs_n_free_dnodes, &buf->f_ffree);
buf748fs/hpfs/hpfs_fs.cput_fs_long(254, &buf->f_namelen);
buf863fs/hpfs/hpfs_fs.cchar *buf, int count)
buf879fs/hpfs/hpfs_fs.cstart = buf;
buf914fs/hpfs/hpfs_fs.cmemcpy_tofs(buf, block + r, n);
buf921fs/hpfs/hpfs_fs.cn0 = convcpy_tofs(buf, block + r, n);
buf932fs/hpfs/hpfs_fs.cbuf += n0;
buf936fs/hpfs/hpfs_fs.creturn buf - start;
buf1561fs/hpfs/hpfs_fs.cchar *buf, int count)
buf114fs/isofs/file.cstatic int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf239fs/isofs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf241fs/isofs/file.cbuf += chars;
buf244fs/isofs/file.cput_fs_byte(0,buf++);
buf299fs/isofs/inode.cvoid isofs_statfs (struct super_block *sb, struct statfs *buf)
buf301fs/isofs/inode.cput_fs_long(ISOFS_SUPER_MAGIC, &buf->f_type);
buf302fs/isofs/inode.cput_fs_long(1 << ISOFS_BLOCK_BITS, &buf->f_bsize);
buf303fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_nzones, &buf->f_blocks);
buf304fs/isofs/inode.cput_fs_long(0, &buf->f_bfree);
buf305fs/isofs/inode.cput_fs_long(0, &buf->f_bavail);
buf306fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_ninodes, &buf->f_files);
buf307fs/isofs/inode.cput_fs_long(0, &buf->f_ffree);
buf308fs/isofs/inode.cput_fs_long(NAME_MAX, &buf->f_namelen);
buf16fs/minix/dir.cstatic int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
buf66fs/minix/file.cstatic int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf161fs/minix/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf163fs/minix/file.cbuf += chars;
buf166fs/minix/file.cput_fs_byte(0,buf++);
buf188fs/minix/file.cstatic int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf239fs/minix/file.cmemcpy_fromfs(p,buf,c);
buf240fs/minix/file.cbuf += c;
buf135fs/minix/inode.cvoid minix_statfs(struct super_block *sb, struct statfs *buf)
buf139fs/minix/inode.cput_fs_long(MINIX_SUPER_MAGIC, &buf->f_type);
buf140fs/minix/inode.cput_fs_long(1024, &buf->f_bsize);
buf143fs/minix/inode.cput_fs_long(tmp, &buf->f_blocks);
buf145fs/minix/inode.cput_fs_long(tmp, &buf->f_bfree);
buf146fs/minix/inode.cput_fs_long(tmp, &buf->f_bavail);
buf147fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files);
buf148fs/minix/inode.cput_fs_long(minix_count_free_inodes(sb), &buf->f_ffree);
buf149fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_namelen, &buf->f_namelen);
buf17fs/msdos/dir.cstatic int msdos_dir_read(struct inode * inode,struct file * filp, char * buf,int count)
buf22fs/msdos/file.cstatic int msdos_file_read(struct inode *inode,struct file *filp,char *buf,
buf24fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
buf80fs/msdos/file.cstatic int msdos_file_read(struct inode *inode,struct file *filp,char *buf,
buf99fs/msdos/file.cstart = buf;
buf100fs/msdos/file.cwhile ((left = MIN(inode->i_size-filp->f_pos,count-(buf-start))) > 0){
buf107fs/msdos/file.cmemcpy_tofs(buf,data+offset,size);
buf108fs/msdos/file.cbuf += size;
buf114fs/msdos/file.cif (ch != 26) put_fs_byte(ch,buf++);
buf118fs/msdos/file.cif (start != buf
buf122fs/msdos/file.creturn buf-start;
buf128fs/msdos/file.cif (start == buf) return -EIO;
buf131fs/msdos/file.creturn buf-start;
buf135fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
buf159fs/msdos/file.cfor (start = buf; count || carry; count -= size) {
buf174fs/msdos/file.cbuf,written = size);
buf175fs/msdos/file.cbuf += size;
buf186fs/msdos/file.cif ((ch = get_fs_byte(buf++)) == '\n') {
buf206fs/msdos/file.cif (start == buf)
buf211fs/msdos/file.creturn buf-start;
buf262fs/msdos/inode.cvoid msdos_statfs(struct super_block *sb,struct statfs *buf)
buf266fs/msdos/inode.cput_fs_long(sb->s_magic,&buf->f_type);
buf267fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->cluster_size*SECTOR_SIZE,&buf->f_bsize);
buf268fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->clusters,&buf->f_blocks);
buf279fs/msdos/inode.cput_fs_long(free,&buf->f_bfree);
buf280fs/msdos/inode.cput_fs_long(free,&buf->f_bavail);
buf281fs/msdos/inode.cput_fs_long(0,&buf->f_files);
buf282fs/msdos/inode.cput_fs_long(0,&buf->f_ffree);
buf283fs/msdos/inode.cput_fs_long(12,&buf->f_namelen);
buf21fs/nfs/dir.cstatic int nfs_dir_read(struct inode *, struct file *filp, char *buf,
buf72fs/nfs/dir.cstatic int nfs_dir_read(struct inode *inode, struct file *filp, char *buf,
buf62fs/nfs/file.cstatic int nfs_file_read(struct inode *inode, struct file *file, char *buf,
buf99fs/nfs/file.cmemcpy_tofs(buf, data, result);
buf101fs/nfs/file.cbuf += result;
buf113fs/nfs/file.cstatic int nfs_file_write(struct inode *inode, struct file *file, char *buf,
buf144fs/nfs/file.cmemcpy_fromfs(data, buf, hunk);
buf152fs/nfs/file.cbuf += hunk;
buf129fs/nfs/inode.cvoid nfs_statfs(struct super_block *sb, struct statfs *buf)
buf134fs/nfs/inode.cput_fs_long(NFS_SUPER_MAGIC, &buf->f_type);
buf141fs/nfs/inode.cput_fs_long(res.bsize, &buf->f_bsize);
buf142fs/nfs/inode.cput_fs_long(res.blocks, &buf->f_blocks);
buf143fs/nfs/inode.cput_fs_long(res.bfree, &buf->f_bfree);
buf144fs/nfs/inode.cput_fs_long(res.bavail, &buf->f_bavail);
buf145fs/nfs/inode.cput_fs_long(0, &buf->f_files);
buf146fs/nfs/inode.cput_fs_long(0, &buf->f_ffree);
buf149fs/nfs/inode.cput_fs_long(NAME_MAX, &buf->f_namelen);
buf29fs/open.casmlinkage int sys_statfs(const char * path, struct statfs * buf)
buf34fs/open.cerror = verify_area(VERIFY_WRITE, buf, sizeof(struct statfs));
buf44fs/open.cinode->i_sb->s_op->statfs(inode->i_sb, buf);
buf49fs/open.casmlinkage int sys_fstatfs(unsigned int fd, struct statfs * buf)
buf55fs/open.cerror = verify_area(VERIFY_WRITE, buf, sizeof(struct statfs));
buf64fs/open.cinode->i_sb->s_op->statfs(inode->i_sb, buf);
buf24fs/pipe.cstatic int pipe_read(struct inode * inode, struct file * filp, char * buf, int count)
buf59fs/pipe.cmemcpy_tofs(buf, pipebuf, chars );
buf60fs/pipe.cbuf += chars;
buf71fs/pipe.cstatic int pipe_write(struct inode * inode, struct file * filp, char * buf, int count)
buf108fs/pipe.cmemcpy_fromfs(pipebuf, buf, chars );
buf109fs/pipe.cbuf += chars;
buf128fs/pipe.cstatic int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count)
buf202fs/pipe.cstatic int connect_read(struct inode * inode, struct file * filp, char * buf, int count)
buf215fs/pipe.creturn pipe_read(inode,filp,buf,count);
buf30fs/proc/array.cstatic int read_core(struct inode * inode, struct file * file,char * buf, int count)
buf55fs/proc/array.cmemcpy_tofs(buf,(void *) pnt, count1);
buf56fs/proc/array.cbuf += count1;
buf63fs/proc/array.cput_fs_byte(0,buf);
buf64fs/proc/array.cbuf++;
buf69fs/proc/array.cmemcpy_tofs(buf,(void *) (p - PAGE_SIZE),count);
buf310fs/proc/array.cunsigned long ptbl, *buf, *pte, *pagedir, map_nr;
buf322fs/proc/array.cbuf = (unsigned long *)(ptbl & PAGE_MASK);
buf323fs/proc/array.cfor (pte = buf; pte < (buf + PTRS_PER_PAGE); ++pte) {
buf352fs/proc/array.cstatic int get_maps(int pid, char *buf)
buf392fs/proc/array.csprintf(buf+sz, "...\n");
buf404fs/proc/array.csz += sprintf(buf+sz, "%08lx-%08lx %s %08lx %02x:%02x %lu\n",
buf418fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
buf464fs/proc/array.creturn read_core(inode, file, buf, count);
buf482fs/proc/array.cmemcpy_tofs(buf, page + file->f_pos, count);
buf61fs/proc/inode.cvoid proc_statfs(struct super_block *sb, struct statfs *buf)
buf63fs/proc/inode.cput_fs_long(PROC_SUPER_MAGIC, &buf->f_type);
buf64fs/proc/inode.cput_fs_long(PAGE_SIZE/sizeof(long), &buf->f_bsize);
buf65fs/proc/inode.cput_fs_long(0, &buf->f_blocks);
buf66fs/proc/inode.cput_fs_long(0, &buf->f_bfree);
buf67fs/proc/inode.cput_fs_long(0, &buf->f_bavail);
buf68fs/proc/inode.cput_fs_long(0, &buf->f_files);
buf69fs/proc/inode.cput_fs_long(0, &buf->f_ffree);
buf70fs/proc/inode.cput_fs_long(NAME_MAX, &buf->f_namelen);
buf32fs/proc/kmsg.cstatic int kmsg_read(struct inode * inode, struct file * file,char * buf, int count)
buf34fs/proc/kmsg.creturn sys_syslog(2,buf,count);
buf108fs/proc/link.cchar buf[64];
buf118fs/proc/link.ci = sprintf(buf,"[%04x]:%u", dev, ino);
buf123fs/proc/link.cput_fs_byte(buf[i++],buffer++);
buf23fs/proc/mem.cstatic int mem_read(struct inode * inode, struct file * file,char * buf, int count)
buf43fs/proc/mem.ctmp = buf;
buf66fs/proc/mem.creturn tmp-buf;
buf71fs/proc/mem.cstatic int mem_write(struct inode * inode, struct file * file,char * buf, int count)
buf91fs/proc/mem.ctmp = buf;
buf118fs/proc/mem.cif (tmp != buf)
buf119fs/proc/mem.creturn tmp-buf;
buf32fs/proc/net.cchar * buf, int count);
buf158fs/proc/net.cchar * buf, int count)
buf205fs/proc/net.cmemcpy_tofs(buf, page + file->f_pos, count);
buf70fs/read_write.casmlinkage int sys_read(unsigned int fd,char * buf,unsigned int count)
buf84fs/read_write.cerror = verify_area(VERIFY_WRITE,buf,count);
buf87fs/read_write.creturn file->f_op->read(inode,file,buf,count);
buf90fs/read_write.casmlinkage int sys_write(unsigned int fd,char * buf,unsigned int count)
buf104fs/read_write.cerror = verify_area(VERIFY_READ,buf,count);
buf107fs/read_write.creturn file->f_op->write(inode,file,buf,count);
buf183fs/stat.casmlinkage int sys_readlink(const char * path, char * buf, int bufsiz)
buf190fs/stat.cerror = verify_area(VERIFY_WRITE,buf,bufsiz);
buf200fs/stat.creturn inode->i_op->readlink(inode,buf,bufsiz);
buf60fs/xiafs/dir.cstruct file * filp, char * buf, int count)
buf70fs/xiafs/file.cxiafs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf159fs/xiafs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf161fs/xiafs/file.cbuf += chars;
buf164fs/xiafs/file.cput_fs_byte(0,buf++);
buf189fs/xiafs/file.cxiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf240fs/xiafs/file.cmemcpy_fromfs(cp,buf,c);
buf241fs/xiafs/file.cbuf += c;
buf158fs/xiafs/inode.cvoid xiafs_statfs(struct super_block *sb, struct statfs *buf)
buf162fs/xiafs/inode.cput_fs_long(_XIAFS_SUPER_MAGIC, &buf->f_type);
buf163fs/xiafs/inode.cput_fs_long(XIAFS_ZSIZE(sb), &buf->f_bsize);
buf164fs/xiafs/inode.cput_fs_long(sb->u.xiafs_sb.s_ndatazones, &buf->f_blocks);
buf166fs/xiafs/inode.cput_fs_long(tmp, &buf->f_bfree);
buf167fs/xiafs/inode.cput_fs_long(tmp, &buf->f_bavail);
buf168fs/xiafs/inode.cput_fs_long(sb->u.xiafs_sb.s_ninodes, &buf->f_files);
buf169fs/xiafs/inode.cput_fs_long(xiafs_count_free_inodes(sb), &buf->f_ffree);
buf170fs/xiafs/inode.cput_fs_long(_XIAFS_NAME_LEN, &buf->f_namelen);
buf17include/linux/binfmts.hchar buf[128];
buf382include/linux/fs.hextern void brelse(struct buffer_head * buf);
buf47include/linux/kernel.hint sprintf(char * buf, const char * fmt, ...);
buf70include/linux/mcd.h#define READ_DATA(port, buf, nr) \
buf71include/linux/mcd.h__asm__("cld;rep;insb": :"d" (port),"D" (buf),"c" (nr):"cx","di")
buf117include/linux/mm.hextern int vread(char *buf, char *addr, int count);
buf125include/linux/mm.hextern void rw_swap_page(int rw, unsigned long nr, char * buf);
buf138include/linux/mm.h#define read_swap_page(nr,buf) \
buf139include/linux/mm.hrw_swap_page(READ,(nr),(buf))
buf140include/linux/mm.h#define write_swap_page(nr,buf) \
buf141include/linux/mm.hrw_swap_page(WRITE,(nr),(buf))
buf173include/linux/msdos_fs.hextern void msdos_statfs(struct super_block *sb,struct statfs *buf);
buf48include/linux/sem.hstruct semid_ds *buf;  /* buffer for IPC_STAT & IPC_SET */
buf69include/linux/tty.hunsigned char buf[TTY_BUF_SIZE];
buf140include/linux/tty.h#define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)])
buf256include/linux/tty.hchar * buf, int nr);
buf258include/linux/tty.hchar * buf, int nr);  
buf53init/main.cstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
buf320ipc/msg.cint sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
buf331ipc/msg.cif (!buf)
buf348ipc/msg.cerr = verify_area (VERIFY_WRITE, buf, sizeof (struct msginfo));
buf351ipc/msg.cmemcpy_tofs (buf, &msginfo, sizeof(struct msginfo));
buf355ipc/msg.cif (!buf)
buf357ipc/msg.cerr = verify_area (VERIFY_WRITE, buf, sizeof (*msq));
buf368ipc/msg.cmemcpy_tofs (buf, msq, sizeof(*msq));
buf371ipc/msg.cif (!buf)
buf373ipc/msg.cmemcpy_fromfs (&tbuf, buf, sizeof (*buf));
buf376ipc/msg.cif (!buf)
buf378ipc/msg.cerr = verify_area (VERIFY_WRITE, buf, sizeof(*msq));
buf396ipc/msg.cmemcpy_tofs (buf, msq, sizeof (*msq));
buf154ipc/sem.cstruct semid_ds *sma, *buf = NULL, tbuf;
buf193ipc/sem.cif (!arg || ! (buf = (struct semid_ds *) get_fs_long((int *) arg)))
buf195ipc/sem.ci = verify_area (VERIFY_WRITE, buf, sizeof (*sma));
buf206ipc/sem.cmemcpy_tofs (buf, sma, sizeof(*sma));
buf267ipc/sem.cif (!arg || !(buf = (struct semid_ds *) get_fs_long((int *) arg))) 
buf273ipc/sem.cif (!arg || !(buf = (struct semid_ds *) get_fs_long((int *) arg))) 
buf275ipc/sem.cif ((i = verify_area (VERIFY_READ, buf, sizeof tbuf)))
buf277ipc/sem.cmemcpy_fromfs (&tbuf, buf, sizeof tbuf);
buf321ipc/sem.cmemcpy_tofs (buf, sma, sizeof (*sma));
buf195ipc/shm.cint sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
buf204ipc/shm.cif (!buf)
buf206ipc/shm.cerr = verify_area (VERIFY_READ, buf, sizeof (*buf));
buf209ipc/shm.cmemcpy_fromfs (&tbuf, buf, sizeof (*buf));
buf216ipc/shm.cif (!buf)
buf223ipc/shm.cerr = verify_area (VERIFY_WRITE, buf, sizeof (struct shminfo));
buf226ipc/shm.cmemcpy_tofs (buf, &shminfo, sizeof(struct shminfo));
buf232ipc/shm.cif (!buf)
buf234ipc/shm.cerr = verify_area (VERIFY_WRITE, buf, sizeof (shm_info));
buf243ipc/shm.cmemcpy_tofs (buf, &shm_info, sizeof(shm_info));
buf247ipc/shm.cif (!buf)
buf249ipc/shm.cerr = verify_area (VERIFY_WRITE, buf, sizeof (*shp));
buf260ipc/shm.cmemcpy_tofs (buf, shp, sizeof(*shp));
buf292ipc/shm.cif (!buf)
buf294ipc/shm.cerr = verify_area (VERIFY_WRITE, buf, sizeof (*shp));
buf297ipc/shm.cmemcpy_tofs (buf, shp, sizeof(*shp));
buf29ipc/util.cextern int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
buf30ipc/util.cextern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
buf14kernel/module.cint get_mod_name( char *user_name, char *buf);
buf168kernel/module.cget_mod_name(char *user_name, char *buf)
buf173kernel/module.cfor (i = 0 ; (buf[i] = get_fs_byte(user_name + i)) != '\0' ; ) {
buf235kernel/module.cget_module_list( char *buf)
buf243kernel/module.cp = buf;
buf245kernel/module.cif (p - buf > 4096 - 100)
buf274kernel/module.creturn p - buf;
buf18kernel/panic.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf22kernel/panic.cstatic char buf[1024];
buf26kernel/panic.cvsprintf(buf, fmt, args);
buf28kernel/panic.cprintk(KERN_EMERG "Kernel panic: %s\n",buf);
buf25kernel/printk.cstatic char buf[1024];
buf27kernel/printk.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf55kernel/printk.casmlinkage int sys_syslog(int type, char * buf, int len)
buf70kernel/printk.cif (!buf || len < 0)
buf74kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
buf91kernel/printk.cput_fs_byte(c,buf);
buf92kernel/printk.cbuf++;
buf101kernel/printk.cif (!buf || len < 0)
buf105kernel/printk.cerror = verify_area(VERIFY_WRITE,buf,len);
buf116kernel/printk.cput_fs_byte(c, buf++);
buf151kernel/printk.ci = vsprintf(buf + 3, fmt, args); /* hopefully i < sizeof(buf)-4 */
buf152kernel/printk.cbuf_end = buf + 3 + i;
buf154kernel/printk.cfor (p = buf + 3; p < buf_end; p++) {
buf205kernel/printk.cchar  buf[16];
buf212kernel/printk.cbuf[j++] = log_buf[p];
buf214kernel/printk.cif (buf[j-1] != '\n' && i < log_size - 1 && j < sizeof(buf)-1)
buf216kernel/printk.cbuf[j] = 0;
buf217kernel/printk.cq = buf;
buf219kernel/printk.cmsg_level = buf[1] - '0';
buf220kernel/printk.cq = buf + 3;
buf224kernel/printk.cif (buf[j-1] == '\n')
buf119kernel/vsprintf.cint vsprintf(char *buf, const char *fmt, va_list args)
buf134kernel/vsprintf.cfor (str=buf ; *fmt ; ++fmt) {
buf247kernel/vsprintf.c*ip = (str - buf);
buf261kernel/vsprintf.creturn str-buf;
buf264kernel/vsprintf.cint sprintf(char * buf, const char *fmt, ...)
buf270kernel/vsprintf.ci=vsprintf(buf,fmt,args);
buf11lib/write.c_syscall3(int,write,int,fd,const char *,buf,off_t,count)
buf57mm/swap.cvoid rw_swap_page(int rw, unsigned long entry, char * buf)
buf80mm/swap.cll_rw_page(rw,p->swap_device,offset,buf);
buf93mm/swap.cll_rw_swap_file(rw,p->swap_file->i_dev, zones, i,buf);
buf175mm/vmalloc.cint vread(char *buf, char *addr, int count)
buf178mm/vmalloc.cchar *vaddr, *buf_start = buf;
buf186mm/vmalloc.cput_fs_byte('\0', buf++), addr++, count--;
buf194mm/vmalloc.cput_fs_byte(*addr++, buf++), count--;
buf198mm/vmalloc.creturn buf - buf_start;
buf88net/inet/skbuff.hextern void      skb_queue_head(struct sk_buff * volatile *list,struct sk_buff *buf);
buf89net/inet/skbuff.hextern void      skb_queue_tail(struct sk_buff * volatile *list,struct sk_buff *buf);
buf93net/inet/skbuff.hextern void      skb_unlink(struct sk_buff *buf);
buf88net/inet/utils.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf49net/socket.cstatic int sock_read(struct inode *inode, struct file *file, char *buf,
buf51net/socket.cstatic int sock_write(struct inode *inode, struct file *file, char *buf,
buf87net/socket.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf101net/unix/sock.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf127net/unix/sock.cchar buf[sizeof(sockun->sun_path) + 1];
buf134net/unix/sock.celse if (sockaddr_len <= 0 || sockaddr_len >= sizeof(buf))
buf137net/unix/sock.cmemcpy(buf, sockun->sun_path, sockaddr_len);
buf138net/unix/sock.cbuf[sockaddr_len] = '\0';
buf139net/unix/sock.cprintk("\"%s\"[%lu]\n", buf, sockaddr_len + UN_PATH_OFFSET);
buf238net/unix/sock.cupd->buf = NULL;
buf271net/unix/sock.cif (upd->buf) {
buf272net/unix/sock.cfree_page((unsigned long)upd->buf);
buf273net/unix/sock.cupd->buf = NULL;
buf299net/unix/sock.cif (!(upd->buf = (char*) get_free_page(GFP_USER))) {
buf616net/unix/sock.cmemcpy_tofs(ubuf, upd->buf + upd->bp_tail, cando);
buf693net/unix/sock.cmemcpy_fromfs(pupd->buf + pupd->bp_head, ubuf, cando);
buf34net/unix/unix.hchar    *buf;
buf89tools/build.cchar buf[1024];
buf90tools/build.cstruct exec *ex = (struct exec *)buf;
buf120tools/build.cfor (i=0;i<sizeof buf; i++) buf[i]=0;
buf123tools/build.cif (read(id,buf,MINIX_HEADER) != MINIX_HEADER)
buf125tools/build.cif (((long *) buf)[0]!=intel_long(0x04100301))
buf127tools/build.cif (((long *) buf)[1]!=intel_long(MINIX_HEADER))
buf129tools/build.cif (((long *) buf)[3] != 0)
buf131tools/build.cif (((long *) buf)[4] != 0)
buf133tools/build.cif (((long *) buf)[5] != 0)
buf135tools/build.cif (((long *) buf)[7] != 0)
buf137tools/build.ci=read(id,buf,sizeof buf);
buf141tools/build.cif ((*(unsigned short *)(buf+510)) != (unsigned short)intel_short(0xAA55))
buf143tools/build.cbuf[508] = (char) minor_root;
buf144tools/build.cbuf[509] = (char) major_root;  
buf145tools/build.ci=write(1,buf,512);
buf152tools/build.cif (read(id,buf,MINIX_HEADER) != MINIX_HEADER)
buf154tools/build.cif (((long *) buf)[0]!=intel_long(0x04100301))
buf156tools/build.cif (((long *) buf)[1]!=intel_long(MINIX_HEADER))
buf158tools/build.cif (((long *) buf)[3] != 0)
buf160tools/build.cif (((long *) buf)[4] != 0)
buf162tools/build.cif (((long *) buf)[5] != 0)
buf164tools/build.cif (((long *) buf)[7] != 0)
buf166tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
buf167tools/build.cif (write(1,buf,c)!=c)
buf176tools/build.cfor (c=0 ; c<sizeof(buf) ; c++)
buf177tools/build.cbuf[c] = '\0';
buf180tools/build.cif (c > sizeof(buf))
buf181tools/build.cc = sizeof(buf);
buf182tools/build.cif (write(1,buf,c) != c)
buf189tools/build.cif (read(id,buf,GCC_HEADER) != GCC_HEADER)
buf206tools/build.cif (l > sizeof(buf))
buf207tools/build.cl = sizeof(buf);
buf208tools/build.cif ((n=read(id, buf, l)) != l) {
buf215tools/build.cwrite(1, buf, l);
buf220tools/build.cbuf[0] = (sys_size & 0xff);
buf221tools/build.cbuf[1] = ((sys_size >> 8) & 0xff);
buf222tools/build.cwrite(1, buf, 2);
buf238zBoot/gzip.hextern int file_read  OF((char *buf,  unsigned size));
buf257zBoot/gzip.hulg  flush_block OF((char *buf, ulg stored_len, int eof));
buf264zBoot/gzip.hvoid     copy_block OF((char *buf, unsigned len, int header));
buf265zBoot/gzip.hextern   int (*read_buf) OF((char *buf, unsigned size));
buf101zBoot/unzip.cuch buf[EXTHDR];        /* extended local header */
buf149zBoot/unzip.cbuf[n] = (uch)get_byte(); /* may cause an error if EOF */
buf151zBoot/unzip.corig_crc = LG(buf);
buf152zBoot/unzip.corig_len = LG(buf+4);
buf161zBoot/unzip.cbuf[n] = (uch)get_byte(); /* may cause an error if EOF */
buf163zBoot/unzip.corig_crc = LG(buf+4);
buf164zBoot/unzip.corig_len = LG(buf+12);
buf39zBoot/xtract.cchar buf[1024];
buf43zBoot/xtract.cstruct exec *ex = (struct exec *)buf;
buf50zBoot/xtract.cif (read(id,buf,GCC_HEADER) != GCC_HEADER)
buf64zBoot/xtract.cif (l > sizeof(buf)) l = sizeof(buf);
buf66zBoot/xtract.cif ((n=read(id, buf, l)) !=l)
buf76zBoot/xtract.cwrite(1, buf, l);