taglinefilesource code
buf16fs/block_dev.cint block_write(struct inode * inode, struct file * filp, char * buf, int count)
buf50fs/block_dev.cmemcpy_fromfs(p,buf,chars);
buf52fs/block_dev.cbuf += chars;
buf62fs/block_dev.cint block_read(struct inode * inode, struct file * filp, char * buf, int count)
buf155fs/block_dev.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf157fs/block_dev.cbuf += chars;
buf160fs/block_dev.cput_fs_byte(0,buf++);
buf386fs/buffer.cvoid brelse(struct buffer_head * buf)
buf388fs/buffer.cif (!buf)
buf390fs/buffer.cwait_on_buffer(buf);
buf391fs/buffer.cif (buf->b_count) {
buf392fs/buffer.cif (--buf->b_count)
buf427fs/exec.cchar buf[128];
buf485fs/exec.cmemset(buf,0,sizeof(buf));
buf488fs/exec.cretval = read_exec(inode,0,buf,128);
buf492fs/exec.cex = *((struct exec *) buf);    /* exec-header */
buf493fs/exec.cif ((buf[0] == '#') && (buf[1] == '!') && (!sh_bang)) {
buf502fs/exec.cbuf[127] = '\0';
buf503fs/exec.cif ((cp = strchr(buf, '\n')) == NULL)
buf504fs/exec.ccp = buf+127;
buf506fs/exec.cwhile (cp > buf) {
buf513fs/exec.cfor (cp = buf+2; (*cp == ' ') || (*cp == '\t'); cp++);
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)
buf164fs/ext/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf166fs/ext/file.cbuf += chars;
buf169fs/ext/file.cput_fs_byte(0,buf++);
buf193fs/ext/file.cstatic int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf244fs/ext/file.cmemcpy_fromfs(p,buf,c);
buf245fs/ext/file.cbuf += c;
buf144fs/ext/inode.cvoid ext_statfs (struct super_block *sb, struct statfs *buf)
buf148fs/ext/inode.cput_fs_long(EXT_SUPER_MAGIC, &buf->f_type);
buf149fs/ext/inode.cput_fs_long(1024, &buf->f_bsize);
buf151fs/ext/inode.c&buf->f_blocks);
buf153fs/ext/inode.cput_fs_long(tmp, &buf->f_bfree);
buf154fs/ext/inode.cput_fs_long(tmp, &buf->f_bavail);
buf155fs/ext/inode.cput_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files);
buf156fs/ext/inode.cput_fs_long(ext_count_free_inodes(sb), &buf->f_ffree);
buf157fs/ext/inode.cput_fs_long(EXT_NAME_LEN, &buf->f_namelen);
buf25fs/ext2/dir.cchar * buf, int count)
buf73fs/ext2/file.cchar * buf, int count)
buf168fs/ext2/file.cmemcpy_tofs (buf, offset + (*bhe)->b_data,
buf171fs/ext2/file.cbuf += chars;
buf174fs/ext2/file.cput_fs_byte (0, buf++);
buf199fs/ext2/file.cchar * buf, int count)
buf256fs/ext2/file.cmemcpy_fromfs (p, buf, c);
buf257fs/ext2/file.cbuf += c;
buf336fs/ext2/inode.cvoid ext2_statfs (struct super_block * sb, struct statfs * buf)
buf340fs/ext2/inode.cput_fs_long (EXT2_SUPER_MAGIC, &buf->f_type);
buf341fs/ext2/inode.cput_fs_long (sb->s_blocksize, &buf->f_bsize);
buf343fs/ext2/inode.c&buf->f_blocks);
buf345fs/ext2/inode.cput_fs_long (tmp, &buf->f_bfree);
buf348fs/ext2/inode.c&buf->f_bavail);
buf350fs/ext2/inode.cput_fs_long (0, &buf->f_bavail);
buf351fs/ext2/inode.cput_fs_long (sb->u.ext2_sb.s_inodes_count, &buf->f_files);
buf352fs/ext2/inode.cput_fs_long (ext2_count_free_inodes(sb), &buf->f_ffree);
buf353fs/ext2/inode.cput_fs_long (EXT2_NAME_LEN, &buf->f_namelen);
buf113fs/isofs/file.cstatic int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf235fs/isofs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf237fs/isofs/file.cbuf += chars;
buf240fs/isofs/file.cput_fs_byte(0,buf++);
buf243fs/isofs/inode.cvoid isofs_statfs (struct super_block *sb, struct statfs *buf)
buf245fs/isofs/inode.cput_fs_long(ISOFS_SUPER_MAGIC, &buf->f_type);
buf246fs/isofs/inode.cput_fs_long(1 << ISOFS_BLOCK_BITS, &buf->f_bsize);
buf247fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_nzones, &buf->f_blocks);
buf248fs/isofs/inode.cput_fs_long(0, &buf->f_bfree);
buf249fs/isofs/inode.cput_fs_long(0, &buf->f_bavail);
buf250fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_ninodes, &buf->f_files);
buf251fs/isofs/inode.cput_fs_long(0, &buf->f_ffree);
buf252fs/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)
buf158fs/minix/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf160fs/minix/file.cbuf += chars;
buf163fs/minix/file.cput_fs_byte(0,buf++);
buf187fs/minix/file.cstatic int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf238fs/minix/file.cmemcpy_fromfs(p,buf,c);
buf239fs/minix/file.cbuf += c;
buf132fs/minix/inode.cvoid minix_statfs(struct super_block *sb, struct statfs *buf)
buf136fs/minix/inode.cput_fs_long(MINIX_SUPER_MAGIC, &buf->f_type);
buf137fs/minix/inode.cput_fs_long(1024, &buf->f_bsize);
buf138fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_nzones << sb->u.minix_sb.s_log_zone_size, &buf->f_blocks);
buf140fs/minix/inode.cput_fs_long(tmp, &buf->f_bfree);
buf141fs/minix/inode.cput_fs_long(tmp, &buf->f_bavail);
buf142fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files);
buf143fs/minix/inode.cput_fs_long(minix_count_free_inodes(sb), &buf->f_ffree);
buf144fs/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.creturn buf-start;
buf124fs/msdos/file.cif (start == buf) return -EIO;
buf125fs/msdos/file.creturn buf-start;
buf129fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
buf153fs/msdos/file.cfor (start = buf; count || carry; count -= size) {
buf168fs/msdos/file.cbuf,written = size);
buf169fs/msdos/file.cbuf += size;
buf180fs/msdos/file.cif ((ch = get_fs_byte(buf++)) == '\n') {
buf203fs/msdos/file.creturn start == buf ? error : buf-start;
buf260fs/msdos/inode.cvoid msdos_statfs(struct super_block *sb,struct statfs *buf)
buf264fs/msdos/inode.cput_fs_long(sb->s_magic,&buf->f_type);
buf265fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->cluster_size*SECTOR_SIZE,&buf->f_bsize);
buf266fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->clusters,&buf->f_blocks);
buf277fs/msdos/inode.cput_fs_long(free,&buf->f_bfree);
buf278fs/msdos/inode.cput_fs_long(free,&buf->f_bavail);
buf279fs/msdos/inode.cput_fs_long(0,&buf->f_files);
buf280fs/msdos/inode.cput_fs_long(0,&buf->f_ffree);
buf281fs/msdos/inode.cput_fs_long(12,&buf->f_namelen);
buf20fs/nfs/dir.cstatic int nfs_dir_read(struct inode *, struct file *filp, char *buf,
buf71fs/nfs/dir.cstatic int nfs_dir_read(struct inode *inode, struct file *filp, char *buf,
buf53fs/nfs/file.cstatic int nfs_file_read(struct inode *inode, struct file *file, char *buf,
buf90fs/nfs/file.cmemcpy_tofs(buf, data, result);
buf92fs/nfs/file.cbuf += result;
buf104fs/nfs/file.cstatic int nfs_file_write(struct inode *inode, struct file *file, char *buf,
buf135fs/nfs/file.cmemcpy_fromfs(data, buf, hunk);
buf143fs/nfs/file.cbuf += hunk;
buf126fs/nfs/inode.cvoid nfs_statfs(struct super_block *sb, struct statfs *buf)
buf131fs/nfs/inode.cput_fs_long(NFS_SUPER_MAGIC, &buf->f_type);
buf138fs/nfs/inode.cput_fs_long(res.bsize, &buf->f_bsize);
buf139fs/nfs/inode.cput_fs_long(res.blocks, &buf->f_blocks);
buf140fs/nfs/inode.cput_fs_long(res.bfree, &buf->f_bfree);
buf141fs/nfs/inode.cput_fs_long(res.bavail, &buf->f_bavail);
buf142fs/nfs/inode.cput_fs_long(0, &buf->f_files);
buf143fs/nfs/inode.cput_fs_long(0, &buf->f_ffree);
buf146fs/nfs/inode.cput_fs_long(NAME_MAX, &buf->f_namelen);
buf29fs/open.cint 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.cint 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);
buf16fs/pipe.cstatic int pipe_read(struct inode * inode, struct file * filp, char * buf, int count)
buf35fs/pipe.cmemcpy_tofs(buf, PIPE_BASE(*inode)+PIPE_TAIL(*inode), chars );
buf40fs/pipe.cbuf += chars;
buf50fs/pipe.cstatic int pipe_write(struct inode * inode, struct file * filp, char * buf, int count)
buf82fs/pipe.cmemcpy_fromfs(PIPE_BASE(*inode)+PIPE_HEAD(*inode), buf, chars );
buf87fs/pipe.cbuf += chars;
buf105fs/pipe.cstatic int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count)
buf253fs/proc/array.cunsigned long ptbl, *buf, *pte, *pagedir, map_nr;
buf265fs/proc/array.cbuf = (void *)(ptbl & 0xfffff000);
buf266fs/proc/array.cfor (pte = buf; pte < (buf + 1024); ++pte) {
buf295fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
buf346fs/proc/array.cmemcpy_tofs(buf, page + file->f_pos, count);
buf59fs/proc/inode.cvoid proc_statfs(struct super_block *sb, struct statfs *buf)
buf61fs/proc/inode.cput_fs_long(PROC_SUPER_MAGIC, &buf->f_type);
buf62fs/proc/inode.cput_fs_long(1024, &buf->f_bsize);
buf63fs/proc/inode.cput_fs_long(0, &buf->f_blocks);
buf64fs/proc/inode.cput_fs_long(0, &buf->f_bfree);
buf65fs/proc/inode.cput_fs_long(0, &buf->f_bavail);
buf66fs/proc/inode.cput_fs_long(0, &buf->f_files);
buf67fs/proc/inode.cput_fs_long(0, &buf->f_ffree);
buf68fs/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);
buf97fs/proc/link.cchar buf[64];
buf107fs/proc/link.ci = sprintf(buf,"[%04x]:%u", dev, ino);
buf112fs/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;
buf67fs/proc/mem.creturn tmp-buf;
buf72fs/proc/mem.cstatic int mem_write(struct inode * inode, struct file * file,char * buf, int count)
buf92fs/proc/mem.ctmp = buf;
buf120fs/proc/mem.cif (tmp != buf)
buf121fs/proc/mem.creturn tmp-buf;
buf70fs/read_write.cint 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.cint 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);
buf172fs/stat.cint sys_readlink(const char * path, char * buf, int bufsiz)
buf179fs/stat.cerror = verify_area(VERIFY_WRITE,buf,bufsiz);
buf189fs/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)
buf156fs/xiafs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf158fs/xiafs/file.cbuf += chars;
buf161fs/xiafs/file.cput_fs_byte(0,buf++);
buf186fs/xiafs/file.cxiafs_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf237fs/xiafs/file.cmemcpy_fromfs(cp,buf,c);
buf238fs/xiafs/file.cbuf += c;
buf144fs/xiafs/inode.cvoid xiafs_statfs(struct super_block *sb, struct statfs *buf)
buf148fs/xiafs/inode.cput_fs_long(_XIAFS_SUPER_MAGIC, &buf->f_type);
buf149fs/xiafs/inode.cput_fs_long(XIAFS_ZSIZE(sb), &buf->f_bsize);
buf150fs/xiafs/inode.cput_fs_long(sb->u.xiafs_sb.s_ndatazones, &buf->f_blocks);
buf152fs/xiafs/inode.cput_fs_long(tmp, &buf->f_bfree);
buf153fs/xiafs/inode.cput_fs_long(tmp, &buf->f_bavail);
buf154fs/xiafs/inode.cput_fs_long(sb->u.xiafs_sb.s_ninodes, &buf->f_files);
buf155fs/xiafs/inode.cput_fs_long(xiafs_count_free_inodes(sb), &buf->f_ffree);
buf156fs/xiafs/inode.cput_fs_long(_XIAFS_NAME_LEN, &buf->f_namelen);
buf368include/linux/fs.hextern void brelse(struct buffer_head * buf);
buf16include/linux/kernel.hint sprintf(char * buf, const char * fmt, ...);
buf119include/linux/mm.hextern void rw_swap_page(int rw, unsigned long nr, char * buf);
buf121include/linux/mm.h#define read_swap_page(nr,buf) \
buf122include/linux/mm.hrw_swap_page(READ,(nr),(buf))
buf123include/linux/mm.h#define write_swap_page(nr,buf) \
buf124include/linux/mm.hrw_swap_page(WRITE,(nr),(buf))
buf173include/linux/msdos_fs.hextern void msdos_statfs(struct super_block *sb,struct statfs *buf);
buf69include/linux/tty.hunsigned char buf[TTY_BUF_SIZE];
buf130include/linux/tty.h#define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)])
buf239include/linux/tty.hchar * buf, int nr);
buf241include/linux/tty.hchar * buf, int nr);  
buf47init/main.cstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
buf89kernel/blk_drv/hd.c#define port_read(port,buf,nr) \
buf90kernel/blk_drv/hd.c__asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di")
buf92kernel/blk_drv/hd.c#define port_write(port,buf,nr) \
buf93kernel/blk_drv/hd.c__asm__("cld;rep;outsw"::"d" (port),"S" (buf),"c" (nr):"cx","si")
buf329kernel/blk_drv/ll_rw_blk.cvoid ll_rw_swap_file(int rw, int dev, unsigned int *b, int nb, char *buf)
buf349kernel/blk_drv/ll_rw_blk.cfor (i=0; i<nb; i++, buf += BLOCK_SIZE)
buf367kernel/blk_drv/ll_rw_blk.creq->buffer = buf;
buf712kernel/blk_drv/scsi/aha1542.cunchar buf[8];
buf716kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
buf718kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
buf720kernel/blk_drv/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
buf264kernel/blk_drv/scsi/fdomain.c#define insw( buf, count, port ) \
buf266kernel/blk_drv/scsi/fdomain.c( "cld;rep;insw"::"d" (port),"D" (buf),"c" (count):"cx","di" )
buf268kernel/blk_drv/scsi/fdomain.c#define outsw( buf, count, port ) \
buf270kernel/blk_drv/scsi/fdomain.c("cld;rep;outsw"::"d" (port),"S" (buf),"c" (count):"cx","si")
buf353kernel/blk_drv/scsi/fdomain.cunsigned char    buf[buflen];
buf482kernel/blk_drv/scsi/fdomain.cSCinit.request_buffer = SCinit.buffer = buf;
buf483kernel/blk_drv/scsi/fdomain.cSCinit.request_bufflen = SCinit.bufflen = sizeof(buf)-1;
buf498kernel/blk_drv/scsi/fdomain.cfor (j = 8; j < (buf[4] < 32 ? buf[4] : 32); j++)
buf499kernel/blk_drv/scsi/fdomain.cprintk( "%c", buf[j] >= 20 ? buf[j] : ' ' );
buf505kernel/blk_drv/scsi/fdomain.cblocks = (buf[0] << 24) | (buf[1] << 16)
buf506kernel/blk_drv/scsi/fdomain.c| (buf[2] << 8) | buf[3];
buf507kernel/blk_drv/scsi/fdomain.csize = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7];
buf146kernel/blk_drv/scsi/scsi_ioctl.cchar * buf;
buf168kernel/blk_drv/scsi/scsi_ioctl.cbuf = scsi_malloc(needed);
buf169kernel/blk_drv/scsi/scsi_ioctl.cif (!buf) return -ENOMEM;
buf171kernel/blk_drv/scsi/scsi_ioctl.cbuf = NULL;
buf174kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) buf,  (void *) (cmd_in + cmdlen), inlen > MAX_BUF ? MAX_BUF : inlen);
buf182kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf,  ((outlen > MAX_BUF) ? 
buf195kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_tofs ((void *) cmd_in,  buf,  (outlen > MAX_BUF) ? MAX_BUF  : outlen);
buf198kernel/blk_drv/scsi/scsi_ioctl.cif (buf) scsi_free(buf, needed);
buf209kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
buf1401kernel/blk_drv/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
buf1418kernel/blk_drv/scsi/seagate.csizes = (int *) buf;
buf1446kernel/blk_drv/scsi/seagate.cif (!(result = scsi_ioctl (disk, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) {
buf1459kernel/blk_drv/scsi/seagate.cif (!(result = scsi_ioctl (disk, SCSI_IOCTL_SEND_COMMAND, (void *) buf))) {
buf546kernel/blk_drv/scsi/st.cint st_write(struct inode * inode, struct file * filp, char * buf, int count)
buf599kernel/blk_drv/scsi/st.cb_point = buf;
buf685kernel/blk_drv/scsi/st.cint st_read(struct inode * inode, struct file * filp, char * buf, int count)
buf820kernel/blk_drv/scsi/st.cmemcpy_tofs(buf, scsi_tapes[dev].buffer->b_data +
buf823kernel/blk_drv/scsi/st.cbuf += transfer;
buf322kernel/blk_drv/scsi/ultrastor.cstatic char buf[64];
buf324kernel/blk_drv/scsi/ultrastor.c(void)sprintf(buf, "UltraStor %s SCSI @ Port %03X BIOS %05X IRQ%u DMA%u\n",
buf329kernel/blk_drv/scsi/ultrastor.creturn buf;
buf557kernel/blk_drv/scsi/wd7000.cextern int vsprintf(char *buf, const char *fmt, va_list args);
buf480kernel/blk_drv/xd.cu_char cmdblk[6],buf[64];
buf483kernel/blk_drv/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf484kernel/blk_drv/xd.cxd_info[drive].heads = buf[0x0A];      /* heads */
buf485kernel/blk_drv/xd.cxd_info[drive].cylinders = ((u_short *) (buf))[0x04];  /* cylinders */
buf488kernel/blk_drv/xd.cxd_info[drive].rwrite = ((u_short *) (buf + 1))[0x05];  /* reduced write */
buf489kernel/blk_drv/xd.cxd_info[drive].precomp = ((u_short *) (buf + 1))[0x06];  /* write precomp */
buf490kernel/blk_drv/xd.cxd_info[drive].ecc = buf[0x0F];        /* ecc length */
buf494kernel/blk_drv/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]);
buf520kernel/blk_drv/xd.cu_char cmdblk[6],buf[0x200];
buf523kernel/blk_drv/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf524kernel/blk_drv/xd.cxd_info[drive].heads = buf[0x1AF];        /* heads */
buf525kernel/blk_drv/xd.cxd_info[drive].cylinders = ((u_short *) (buf + 1))[0xD6];  /* cylinders */
buf528kernel/blk_drv/xd.cxd_info[drive].rwrite = ((u_short *) (buf))[0xD8];    /* reduced write */
buf529kernel/blk_drv/xd.cxd_info[drive].wprecomp = ((u_short *) (buf))[0xDA];    /* write precomp */
buf530kernel/blk_drv/xd.cxd_info[drive].ecc = buf[0x1B4];        /* ecc length */
buf532kernel/blk_drv/xd.cxd_info[drive].control = buf[0x1B5];        /* control byte */
buf534kernel/blk_drv/xd.cxd_setparam(CMD_WDSETPARAM,drive,xd_info[drive].heads,xd_info[drive].cylinders,((u_short *) (buf))[0xD8],((u_short *) (buf))[0xDA],buf[0x1B4]);
buf557kernel/blk_drv/xd.cu_char cmdblk[6],buf[0x200];
buf560kernel/blk_drv/xd.cif (!xd_command(cmdblk,PIO_MODE,buf,0,0,XD_TIMEOUT * 2)) {
buf561kernel/blk_drv/xd.cxd_info[drive].heads = buf[0x04];        /* heads */
buf562kernel/blk_drv/xd.cxd_info[drive].cylinders = (buf[0x02] << 8) | buf[0x03];  /* cylinders */
buf563kernel/blk_drv/xd.cxd_info[drive].sectors = buf[0x05];        /* sectors */
buf1438kernel/chr_drv/console.cchar *sptr, *buf = (char *)arg;
buf1441kernel/chr_drv/console.cl = verify_area(VERIFY_WRITE, buf,2+video_num_columns*video_num_lines);
buf1444kernel/chr_drv/console.ccurrcons = get_fs_byte(buf+1);
buf1447kernel/chr_drv/console.cput_fs_byte((char)(video_num_lines),buf++);  
buf1448kernel/chr_drv/console.cput_fs_byte((char)(video_num_columns),buf++);
buf1452kernel/chr_drv/console.cput_fs_byte(*sptr++,buf++);  
buf153kernel/chr_drv/keyboard.cqp->buf[qp->head]=ch;
buf171kernel/chr_drv/keyboard.cqp->buf[qp->head]=ch;
buf303kernel/chr_drv/keyboard.cchar buf[] = { 0x1b, 0x4f, 0x00, 0x00 };
buf305kernel/chr_drv/keyboard.cbuf[2] = key;
buf306kernel/chr_drv/keyboard.cputs_queue(buf);
buf1247kernel/chr_drv/keyboard.cchar buf[] = { 0x1b, '[', 0, 0, 0 };    /* must not be static */
buf1249kernel/chr_drv/keyboard.cbuf[2]=cur_table[sc];
buf1250kernel/chr_drv/keyboard.cif (buf[2] < '9')
buf1251kernel/chr_drv/keyboard.cbuf[3]='~';
buf1253kernel/chr_drv/keyboard.cif ((buf[2] >= 'A' && buf[2] <= 'D') ?
buf1256kernel/chr_drv/keyboard.cbuf[1]='O';
buf1257kernel/chr_drv/keyboard.cputs_queue(buf);
buf122kernel/chr_drv/lp.cstatic int lp_write_interrupt(struct inode * inode, struct file * file, char * buf, int count)
buf134kernel/chr_drv/lp.cmemcpy_fromfs(lp->lp_buffer, buf, copy_size);
buf181kernel/chr_drv/lp.cbuf += bytes_written;
buf190kernel/chr_drv/lp.cchar * buf, int count)
buf194kernel/chr_drv/lp.cchar c, *temp = buf;
buf204kernel/chr_drv/lp.ctemp = buf;
buf220kernel/chr_drv/lp.creturn temp-buf?temp-buf:-ENOSPC;
buf228kernel/chr_drv/lp.creturn temp-buf?temp-buf:-EIO;
buf237kernel/chr_drv/lp.creturn temp-buf?temp-buf:-EFAULT;
buf245kernel/chr_drv/lp.cif (temp != buf)
buf246kernel/chr_drv/lp.creturn temp-buf;
buf260kernel/chr_drv/lp.creturn temp-buf;
buf263kernel/chr_drv/lp.cstatic int lp_write(struct inode * inode, struct file * file, char * buf, int count)
buf266kernel/chr_drv/lp.creturn lp_write_interrupt(inode, file, buf, count);
buf268kernel/chr_drv/lp.creturn lp_write_polled(inode, file, buf, count);
buf22kernel/chr_drv/mem.cstatic int read_ram(struct inode * inode, struct file * file,char * buf, int count)
buf27kernel/chr_drv/mem.cstatic int write_ram(struct inode * inode, struct file * file,char * buf, int count)
buf32kernel/chr_drv/mem.cstatic int read_core(struct inode * inode, struct file * file,char * buf, int count)
buf57kernel/chr_drv/mem.cmemcpy_tofs(buf,(void *) pnt, count1);
buf58kernel/chr_drv/mem.cbuf += count1;
buf65kernel/chr_drv/mem.cput_fs_byte(0,buf);
buf66kernel/chr_drv/mem.cbuf++;
buf71kernel/chr_drv/mem.cmemcpy_tofs(buf,(void *) (p - 4096),count);
buf77kernel/chr_drv/mem.cstatic int read_mem(struct inode * inode, struct file * file,char * buf, int count)
buf90kernel/chr_drv/mem.cput_fs_byte(0,buf);
buf91kernel/chr_drv/mem.cbuf++;
buf96kernel/chr_drv/mem.cmemcpy_tofs(buf,(void *) p,count);
buf102kernel/chr_drv/mem.cstatic int write_mem(struct inode * inode, struct file * file,char * buf, int count)
buf116kernel/chr_drv/mem.cbuf++;
buf121kernel/chr_drv/mem.cmemcpy_fromfs((void *) p,buf,count);
buf139kernel/chr_drv/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
buf142kernel/chr_drv/mem.cchar * tmp = buf;
buf150kernel/chr_drv/mem.creturn tmp-buf;
buf153kernel/chr_drv/mem.cstatic int write_port(struct inode * inode,struct file * file,char * buf, int count)
buf156kernel/chr_drv/mem.cchar * tmp = buf;
buf164kernel/chr_drv/mem.creturn tmp-buf;
buf167kernel/chr_drv/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
buf172kernel/chr_drv/mem.cstatic int write_null(struct inode * inode,struct file * file,char * buf, int count)
buf177kernel/chr_drv/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
buf182kernel/chr_drv/mem.cput_fs_byte(0,buf);
buf183kernel/chr_drv/mem.cbuf++;
buf188kernel/chr_drv/mem.cstatic int write_zero(struct inode * inode,struct file * file,char * buf, int count)
buf68kernel/chr_drv/psaux.cunsigned char buf[AUX_BUF_SIZE];
buf126kernel/chr_drv/psaux.cresult = queue->buf[queue->tail];
buf149kernel/chr_drv/psaux.cqueue->buf[head] = inb(AUX_INPUT_PORT);
buf227kernel/chr_drv/serial.cqueue->buf[head++]= TTY_BREAK;
buf230kernel/chr_drv/serial.cqueue->buf[head++]= TTY_PARITY;
buf232kernel/chr_drv/serial.cqueue->buf[head++]= TTY_FRAME;
buf235kernel/chr_drv/serial.cqueue->buf[head++] = ch;
buf262kernel/chr_drv/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
buf704kernel/chr_drv/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
buf100kernel/chr_drv/tty_io.cqueue->buf[queue->head] = c;
buf113kernel/chr_drv/tty_io.cresult = 0xff & queue->buf[queue->tail];
buf137kernel/chr_drv/tty_io.c*p++ =  tty->read_q.buf[tail++];
buf169kernel/chr_drv/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf174kernel/chr_drv/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf493kernel/chr_drv/tty_io.cc = 0xff & tty->read_q.buf[tty->read_q.tail];
buf702kernel/chr_drv/tty_io.cstatic int read_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf706kernel/chr_drv/tty_io.cchar * b=buf;
buf786kernel/chr_drv/tty_io.cif (b-buf >= minimum || !current->timeout)
buf811kernel/chr_drv/tty_io.cif ((b-buf) > 1)
buf812kernel/chr_drv/tty_io.creturn b-buf;
buf814kernel/chr_drv/tty_io.cif (b-buf)
buf815kernel/chr_drv/tty_io.creturn b-buf;
buf859kernel/chr_drv/tty_io.cstatic int write_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf862kernel/chr_drv/tty_io.cchar c, *b=buf;
buf911kernel/chr_drv/tty_io.cif (b-buf)
buf912kernel/chr_drv/tty_io.creturn b-buf;
buf920kernel/chr_drv/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf945kernel/chr_drv/tty_io.ci = (ldiscs[tty->disc].read)(tty,file,buf,count);
buf953kernel/chr_drv/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf981kernel/chr_drv/tty_io.ci = (ldiscs[tty->disc].write)(tty,file,buf,count);
buf1392kernel/chr_drv/tty_io.ctty->write_q.buf[head++] = *p++;
buf1438kernel/chr_drv/tty_io.ctty->write_q.buf[head++] = *p++;
buf23kernel/printk.cstatic char buf[1024];
buf25kernel/printk.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf48kernel/printk.cint sys_syslog(int type, char * buf, int len)
buf62kernel/printk.cif (!buf || len < 0)
buf66kernel/printk.cverify_area(VERIFY_WRITE,buf,len);
buf81kernel/printk.cput_fs_byte(c,buf);
buf82kernel/printk.cbuf++;
buf89kernel/printk.cif (!buf || len < 0)
buf93kernel/printk.cverify_area(VERIFY_WRITE,buf,len);
buf102kernel/printk.cput_fs_byte(c, buf++);
buf127kernel/printk.ci=vsprintf(buf,fmt,args);
buf130kernel/printk.clog_buf[(log_start+log_size) & 4095] = buf[j];
buf139kernel/printk.c(*console_print_proc)(buf);
buf153kernel/printk.cchar  buf[16];
buf158kernel/printk.cbuf[j++] = log_buf[p];
buf160kernel/printk.cif (j < sizeof(buf)-1)
buf162kernel/printk.cbuf[j] = 0;
buf163kernel/printk.c(*proc)(buf);
buf166kernel/printk.cbuf[j] = 0;
buf167kernel/printk.c(*proc)(buf);
buf119kernel/vsprintf.cint vsprintf(char *buf, const char *fmt, va_list args)
buf134kernel/vsprintf.cfor (str=buf ; *fmt ; ++fmt) {
buf245kernel/vsprintf.c*ip = (str - buf);
buf259kernel/vsprintf.creturn str-buf;
buf262kernel/vsprintf.cint sprintf(char * buf, const char *fmt, ...)
buf268kernel/vsprintf.ci=vsprintf(buf,fmt,args);
buf11lib/write.c_syscall3(int,write,int,fd,const char *,buf,off_t,count)
buf56mm/swap.cvoid rw_swap_page(int rw, unsigned long entry, char * buf)
buf79mm/swap.cll_rw_page(rw,p->swap_device,offset,buf);
buf90mm/swap.cll_rw_swap_file(rw,p->swap_file->i_dev, zones,4,buf);
buf50net/socket.cstatic int sock_read(struct inode *inode, struct file *file, char *buf,
buf52net/socket.cstatic int sock_write(struct inode *inode, struct file *file, char *buf,
buf95net/tcp/ip.cstatic char buf[100];
buf97net/tcp/ip.csprintf(buf,"%d.%d.%d.%d",
buf102net/tcp/ip.creturn buf;
buf24net/unix.cchar *buf;
buf118net/unix.cchar buf[sizeof(sockun->sun_path) + 1];
buf123net/unix.celse if (sockaddr_len <= 0 || sockaddr_len >= sizeof(buf))
buf126net/unix.cmemcpy(buf, sockun->sun_path, sockaddr_len);
buf127net/unix.cbuf[sockaddr_len] = '\0';
buf128net/unix.cprintk("sockaddr_un: '%s'[%d]\n", buf,
buf223net/unix.cupd->buf = NULL;
buf246net/unix.cif (upd->buf) {
buf247net/unix.cfree_page((unsigned long)upd->buf);
buf248net/unix.cupd->buf = NULL;
buf273net/unix.cif (!(upd->buf = (char *)get_free_page(GFP_USER))) {
buf585net/unix.cmemcpy_tofs(ubuf, upd->buf + upd->bp_tail, cando);
buf663net/unix.cmemcpy_fromfs(pupd->buf + pupd->bp_head, ubuf, cando);
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)
buf202tools/build.cif (l > sizeof(buf))
buf203tools/build.cl = sizeof(buf);
buf204tools/build.cif ((n=read(id, buf, l)) != l) {
buf211tools/build.cwrite(1, buf, l);
buf216tools/build.cbuf[0] = (sys_size & 0xff);
buf217tools/build.cbuf[1] = ((sys_size >> 8) & 0xff);
buf218tools/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);