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++);
buf370fs/buffer.cvoid brelse(struct buffer_head * buf)
buf372fs/buffer.cif (!buf)
buf374fs/buffer.cwait_on_buffer(buf);
buf375fs/buffer.cif (buf->b_count) {
buf376fs/buffer.cif (--buf->b_count)
buf423fs/exec.cchar buf[128];
buf481fs/exec.cmemset(buf,0,sizeof(buf));
buf484fs/exec.cretval = read_exec(inode,0,buf,128);
buf488fs/exec.cex = *((struct exec *) buf);    /* exec-header */
buf489fs/exec.cif ((buf[0] == '#') && (buf[1] == '!') && (!sh_bang)) {
buf498fs/exec.cbuf[127] = '\0';
buf499fs/exec.cif ((cp = strchr(buf, '\n')) == NULL)
buf500fs/exec.ccp = buf+127;
buf502fs/exec.cwhile (cp > buf) {
buf509fs/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)
buf71fs/ext/file.cstatic int ext_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf163fs/ext/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf165fs/ext/file.cbuf += chars;
buf168fs/ext/file.cput_fs_byte(0,buf++);
buf192fs/ext/file.cstatic int ext_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf243fs/ext/file.cmemcpy_fromfs(p,buf,c);
buf244fs/ext/file.cbuf += c;
buf141fs/ext/inode.cvoid ext_statfs (struct super_block *sb, struct statfs *buf)
buf145fs/ext/inode.cput_fs_long(EXT_SUPER_MAGIC, &buf->f_type);
buf146fs/ext/inode.cput_fs_long(1024, &buf->f_bsize);
buf148fs/ext/inode.c&buf->f_blocks);
buf150fs/ext/inode.cput_fs_long(tmp, &buf->f_bfree);
buf151fs/ext/inode.cput_fs_long(tmp, &buf->f_bavail);
buf152fs/ext/inode.cput_fs_long(sb->u.ext_sb.s_ninodes, &buf->f_files);
buf153fs/ext/inode.cput_fs_long(ext_count_free_inodes(sb), &buf->f_ffree);
buf112fs/isofs/file.cstatic int isofs_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf238fs/isofs/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf240fs/isofs/file.cbuf += chars;
buf243fs/isofs/file.cput_fs_byte(0,buf++);
buf241fs/isofs/inode.cvoid isofs_statfs (struct super_block *sb, struct statfs *buf)
buf243fs/isofs/inode.cput_fs_long(ISOFS_SUPER_MAGIC, &buf->f_type);
buf244fs/isofs/inode.cput_fs_long(1 << ISOFS_BLOCK_BITS, &buf->f_bsize);
buf245fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_nzones, &buf->f_blocks);
buf246fs/isofs/inode.cput_fs_long(0, &buf->f_bfree);
buf247fs/isofs/inode.cput_fs_long(0, &buf->f_bavail);
buf248fs/isofs/inode.cput_fs_long(sb->u.isofs_sb.s_ninodes, &buf->f_files);
buf249fs/isofs/inode.cput_fs_long(0, &buf->f_ffree);
buf16fs/minix/dir.cstatic int minix_dir_read(struct inode * inode, struct file * filp, char * buf, int count)
buf65fs/minix/file.cstatic int minix_file_read(struct inode * inode, struct file * filp, char * buf, int count)
buf157fs/minix/file.cmemcpy_tofs(buf,offset+(*bhe)->b_data,chars);
buf159fs/minix/file.cbuf += chars;
buf162fs/minix/file.cput_fs_byte(0,buf++);
buf186fs/minix/file.cstatic int minix_file_write(struct inode * inode, struct file * filp, char * buf, int count)
buf237fs/minix/file.cmemcpy_fromfs(p,buf,c);
buf238fs/minix/file.cbuf += c;
buf123fs/minix/inode.cvoid minix_statfs(struct super_block *sb, struct statfs *buf)
buf127fs/minix/inode.cput_fs_long(MINIX_SUPER_MAGIC, &buf->f_type);
buf128fs/minix/inode.cput_fs_long(1024, &buf->f_bsize);
buf129fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_nzones << sb->u.minix_sb.s_log_zone_size, &buf->f_blocks);
buf131fs/minix/inode.cput_fs_long(tmp, &buf->f_bfree);
buf132fs/minix/inode.cput_fs_long(tmp, &buf->f_bavail);
buf133fs/minix/inode.cput_fs_long(sb->u.minix_sb.s_ninodes, &buf->f_files);
buf134fs/minix/inode.cput_fs_long(minix_count_free_inodes(sb), &buf->f_ffree);
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,
buf79fs/msdos/file.cstatic int msdos_file_read(struct inode *inode,struct file *filp,char *buf,
buf98fs/msdos/file.cstart = buf;
buf99fs/msdos/file.cwhile ((left = MIN(inode->i_size-filp->f_pos,count-(buf-start))) > 0){
buf106fs/msdos/file.cmemcpy_tofs(buf,data+offset,size);
buf107fs/msdos/file.cbuf += size;
buf113fs/msdos/file.cif (ch != 26) put_fs_byte(ch,buf++);
buf117fs/msdos/file.creturn buf-start;
buf123fs/msdos/file.cif (start == buf) return -EIO;
buf124fs/msdos/file.creturn buf-start;
buf128fs/msdos/file.cstatic int msdos_file_write(struct inode *inode,struct file *filp,char *buf,
buf152fs/msdos/file.cfor (start = buf; count || carry; count -= size) {
buf167fs/msdos/file.cbuf,written = size);
buf168fs/msdos/file.cbuf += size;
buf179fs/msdos/file.cif ((ch = get_fs_byte(buf++)) == '\n') {
buf202fs/msdos/file.creturn start == buf ? error : buf-start;
buf192fs/msdos/inode.cvoid msdos_statfs(struct super_block *sb,struct statfs *buf)
buf196fs/msdos/inode.cput_fs_long(sb->s_magic,&buf->f_type);
buf197fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->cluster_size*SECTOR_SIZE,&buf->f_bsize);
buf198fs/msdos/inode.cput_fs_long(MSDOS_SB(sb)->clusters,&buf->f_blocks);
buf209fs/msdos/inode.cput_fs_long(free,&buf->f_bfree);
buf210fs/msdos/inode.cput_fs_long(free,&buf->f_bavail);
buf211fs/msdos/inode.cput_fs_long(0,&buf->f_files);
buf212fs/msdos/inode.cput_fs_long(0,&buf->f_ffree);
buf20fs/nfs/dir.cstatic int nfs_dir_read(struct inode *, struct file *filp, char *buf,
buf70fs/nfs/dir.cstatic int nfs_dir_read(struct inode *inode, struct file *filp, char *buf,
buf52fs/nfs/file.cstatic int nfs_file_read(struct inode *inode, struct file *file, char *buf,
buf87fs/nfs/file.cmemcpy_tofs(buf, data, result);
buf89fs/nfs/file.cbuf += result;
buf100fs/nfs/file.cstatic int nfs_file_write(struct inode *inode, struct file *file, char *buf,
buf129fs/nfs/file.cmemcpy_fromfs(data, buf, hunk);
buf137fs/nfs/file.cbuf += hunk;
buf119fs/nfs/inode.cvoid nfs_statfs(struct super_block *sb, struct statfs *buf)
buf124fs/nfs/inode.cput_fs_long(NFS_SUPER_MAGIC, &buf->f_type);
buf132fs/nfs/inode.cput_fs_long(res.bsize, &buf->f_bsize);
buf133fs/nfs/inode.cput_fs_long(res.blocks, &buf->f_blocks);
buf134fs/nfs/inode.cput_fs_long(res.bfree, &buf->f_bfree);
buf135fs/nfs/inode.cput_fs_long(res.bavail, &buf->f_bavail);
buf136fs/nfs/inode.cput_fs_long(0, &buf->f_files);
buf137fs/nfs/inode.cput_fs_long(0, &buf->f_ffree);
buf37fs/open.cint sys_statfs(const char * path, struct statfs * buf)
buf42fs/open.cverify_area(buf, sizeof(struct statfs));
buf50fs/open.cinode->i_sb->s_op->statfs(inode->i_sb, buf);
buf55fs/open.cint sys_fstatfs(unsigned int fd, struct statfs * buf)
buf60fs/open.cverify_area(buf, sizeof(struct statfs));
buf67fs/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;
buf46fs/pipe.cstatic int pipe_write(struct inode * inode, struct file * filp, char * buf, int count)
buf78fs/pipe.cmemcpy_fromfs(PIPE_BASE(*inode)+PIPE_HEAD(*inode), buf, chars );
buf83fs/pipe.cbuf += chars;
buf101fs/pipe.cstatic int bad_pipe_rw(struct inode * inode, struct file * filp, char * buf, int count)
buf232fs/proc/array.cunsigned long ptbl, *buf, *pte, *pagedir, map_nr;
buf244fs/proc/array.cbuf = (void *)(ptbl & 0xfffff000);
buf245fs/proc/array.cfor (pte = buf; pte < (buf + 1024); ++pte) {
buf274fs/proc/array.cstatic int array_read(struct inode * inode, struct file * file,char * buf, int count)
buf322fs/proc/array.cmemcpy_tofs(buf, page + file->f_pos, count);
buf58fs/proc/inode.cvoid proc_statfs(struct super_block *sb, struct statfs *buf)
buf60fs/proc/inode.cput_fs_long(PROC_SUPER_MAGIC, &buf->f_type);
buf61fs/proc/inode.cput_fs_long(1024, &buf->f_bsize);
buf62fs/proc/inode.cput_fs_long(0, &buf->f_blocks);
buf63fs/proc/inode.cput_fs_long(0, &buf->f_bfree);
buf64fs/proc/inode.cput_fs_long(0, &buf->f_bavail);
buf65fs/proc/inode.cput_fs_long(0, &buf->f_files);
buf66fs/proc/inode.cput_fs_long(0, &buf->f_ffree);
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;
buf68fs/read_write.cint sys_read(unsigned int fd,char * buf,unsigned int count)
buf81fs/read_write.cverify_area(buf,count);
buf82fs/read_write.creturn file->f_op->read(inode,file,buf,count);
buf85fs/read_write.cint sys_write(unsigned int fd,char * buf,unsigned int count)
buf98fs/read_write.creturn file->f_op->write(inode,file,buf,count);
buf154fs/stat.cint sys_readlink(const char * path, char * buf, int bufsiz)
buf161fs/stat.cverify_area(buf,bufsiz);
buf169fs/stat.creturn inode->i_op->readlink(inode,buf,bufsiz);
buf325include/linux/fs.hextern void brelse(struct buffer_head * buf);
buf12include/linux/kernel.hint sprintf(char * buf, const char * fmt, ...);
buf65include/linux/mm.hextern void rw_swap_page(int rw, unsigned int nr, char * buf);
buf67include/linux/mm.h#define read_swap_page(nr,buf) \
buf68include/linux/mm.hrw_swap_page(READ,(nr),(buf))
buf69include/linux/mm.h#define write_swap_page(nr,buf) \
buf70include/linux/mm.hrw_swap_page(WRITE,(nr),(buf))
buf148include/linux/msdos_fs.hextern void msdos_statfs(struct super_block *sb,struct statfs *buf);
buf68include/linux/tty.hunsigned char buf[TTY_BUF_SIZE];
buf123include/linux/tty.h#define LAST(a) ((a)->buf[(TTY_BUF_SIZE-1)&((a)->head-1)])
buf45init/main.cstatic inline _syscall3(int,write,int,fd,const char *,buf,off_t,count)
buf87kernel/blk_drv/hd.c#define port_read(port,buf,nr) \
buf88kernel/blk_drv/hd.c__asm__("cld;rep;insw"::"d" (port),"D" (buf),"c" (nr):"cx","di")
buf90kernel/blk_drv/hd.c#define port_write(port,buf,nr) \
buf91kernel/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;
buf711kernel/blk_drv/scsi/aha1542.cunchar buf[8];
buf715kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < sizeof(buf); ++i) buf[i] = 0x87;
buf717kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
buf719kernel/blk_drv/scsi/aha1542.ci, xscsi2int(buf+4), xscsi2int(buf));
buf265kernel/blk_drv/scsi/fdomain.c#define insw( buf, count, port ) \
buf267kernel/blk_drv/scsi/fdomain.c( "cld;rep;insw"::"d" (port),"D" (buf),"c" (count):"cx","di" )
buf269kernel/blk_drv/scsi/fdomain.c#define outsw( buf, count, port ) \
buf271kernel/blk_drv/scsi/fdomain.c("cld;rep;outsw"::"d" (port),"S" (buf),"c" (count):"cx","si")
buf354kernel/blk_drv/scsi/fdomain.cunsigned char    buf[buflen];
buf483kernel/blk_drv/scsi/fdomain.cSCinit.request_buffer = SCinit.buffer = buf;
buf484kernel/blk_drv/scsi/fdomain.cSCinit.request_bufflen = SCinit.bufflen = sizeof(buf)-1;
buf499kernel/blk_drv/scsi/fdomain.cfor (j = 8; j < (buf[4] < 32 ? buf[4] : 32); j++)
buf500kernel/blk_drv/scsi/fdomain.cprintk( "%c", buf[j] >= 20 ? buf[j] : ' ' );
buf506kernel/blk_drv/scsi/fdomain.cblocks = (buf[0] << 24) | (buf[1] << 16)
buf507kernel/blk_drv/scsi/fdomain.c| (buf[2] << 8) | buf[3];
buf508kernel/blk_drv/scsi/fdomain.csize = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7];
buf139kernel/blk_drv/scsi/scsi_ioctl.cchar * buf;
buf161kernel/blk_drv/scsi/scsi_ioctl.cbuf = scsi_malloc(needed);
buf162kernel/blk_drv/scsi/scsi_ioctl.cif (!buf) return -ENOMEM;
buf164kernel/blk_drv/scsi/scsi_ioctl.cbuf = NULL;
buf167kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) buf,  (void *) (cmd_in + cmdlen),  inlen);
buf174kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf,  ((outlen > MAX_BUF) ? 
buf185kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_tofs ((void *) cmd_in,  buf,  (outlen > MAX_BUF) ? MAX_BUF  : outlen);
buf188kernel/blk_drv/scsi/scsi_ioctl.cif (buf) scsi_free(buf, needed);
buf199kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", buf[i]);
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;
buf557kernel/blk_drv/scsi/wd7000.cextern int vsprintf(char *buf, const char *fmt, va_list args);
buf1438kernel/chr_drv/console.cchar *sptr, *buf = (char *)arg;
buf1441kernel/chr_drv/console.cverify_area(buf,2+video_num_columns*video_num_lines);
buf1442kernel/chr_drv/console.ccurrcons = get_fs_byte(buf+1);
buf1445kernel/chr_drv/console.cput_fs_byte((char)(video_num_lines),buf++);  
buf1446kernel/chr_drv/console.cput_fs_byte((char)(video_num_columns),buf++);
buf1450kernel/chr_drv/console.cput_fs_byte(*sptr++,buf++);  
buf162kernel/chr_drv/keyboard.cqp->buf[qp->head]=ch;
buf180kernel/chr_drv/keyboard.cqp->buf[qp->head]=ch;
buf297kernel/chr_drv/keyboard.cchar buf[] = { 0x1b, 0x4f, 0x00, 0x00 };
buf299kernel/chr_drv/keyboard.cbuf[2] = key;
buf300kernel/chr_drv/keyboard.cputs_queue(buf);
buf1232kernel/chr_drv/keyboard.cchar buf[] = { 0x1b, '[', 0, 0, 0 };    /* must not be static */
buf1234kernel/chr_drv/keyboard.cbuf[2]=cur_table[sc];
buf1235kernel/chr_drv/keyboard.cif (buf[2] < '9')
buf1236kernel/chr_drv/keyboard.cbuf[3]='~';
buf1238kernel/chr_drv/keyboard.cif ((buf[2] >= 'A' && buf[2] <= 'D') ?
buf1241kernel/chr_drv/keyboard.cbuf[1]='O';
buf1242kernel/chr_drv/keyboard.cputs_queue(buf);
buf75kernel/chr_drv/lp.cstatic int lp_write(struct inode * inode, struct file * file, char * buf, int count)
buf79kernel/chr_drv/lp.cchar c, *temp = buf;
buf89kernel/chr_drv/lp.ctemp = buf;
buf127kernel/chr_drv/lp.creturn temp-buf?temp-buf:-ENOSPC;
buf136kernel/chr_drv/lp.creturn temp-buf?temp-buf:-EIO;
buf146kernel/chr_drv/lp.creturn temp-buf?temp-buf:-EFAULT;
buf153kernel/chr_drv/lp.creturn temp-buf;
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);
buf127kernel/chr_drv/mem.cstatic int read_port(struct inode * inode,struct file * file,char * buf, int count)
buf130kernel/chr_drv/mem.cchar * tmp = buf;
buf138kernel/chr_drv/mem.creturn tmp-buf;
buf141kernel/chr_drv/mem.cstatic int write_port(struct inode * inode,struct file * file,char * buf, int count)
buf144kernel/chr_drv/mem.cchar * tmp = buf;
buf152kernel/chr_drv/mem.creturn tmp-buf;
buf155kernel/chr_drv/mem.cstatic int read_null(struct inode * node,struct file * file,char * buf,int count)
buf160kernel/chr_drv/mem.cstatic int write_null(struct inode * inode,struct file * file,char * buf, int count)
buf165kernel/chr_drv/mem.cstatic int read_zero(struct inode * node,struct file * file,char * buf,int count)
buf170kernel/chr_drv/mem.cput_fs_byte(0,buf);
buf171kernel/chr_drv/mem.cbuf++;
buf176kernel/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);
buf267kernel/chr_drv/serial.cqueue->buf[head++] = 0xff;
buf269kernel/chr_drv/serial.cqueue->buf[head++] = 0;
buf274kernel/chr_drv/serial.cqueue->buf[head++] = 0xff;
buf277kernel/chr_drv/serial.cqueue->buf[head++] = ch;
buf303kernel/chr_drv/serial.cqueue->buf[tail++]);
buf526kernel/chr_drv/serial.cserial_outp(info, UART_TX, queue->buf[tail++]);
buf74kernel/chr_drv/tty_io.cqueue->buf[queue->head] = c;
buf87kernel/chr_drv/tty_io.cresult = 0xff & queue->buf[queue->tail];
buf116kernel/chr_drv/tty_io.cstatic int hung_up_tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf121kernel/chr_drv/tty_io.cstatic int hung_up_tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf534kernel/chr_drv/tty_io.cstatic int read_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf538kernel/chr_drv/tty_io.cchar * b=buf;
buf614kernel/chr_drv/tty_io.cif (b-buf >= minimum || !current->timeout)
buf641kernel/chr_drv/tty_io.cif ((b-buf) > 1)
buf642kernel/chr_drv/tty_io.creturn b-buf;
buf644kernel/chr_drv/tty_io.cif (b-buf)
buf645kernel/chr_drv/tty_io.creturn b-buf;
buf689kernel/chr_drv/tty_io.cstatic int write_chan(struct tty_struct * tty, struct file * file, char * buf, int nr)
buf692kernel/chr_drv/tty_io.cchar c, *b=buf;
buf741kernel/chr_drv/tty_io.cif (b-buf)
buf742kernel/chr_drv/tty_io.creturn b-buf;
buf750kernel/chr_drv/tty_io.cstatic int tty_read(struct inode * inode, struct file * file, char * buf, int count)
buf773kernel/chr_drv/tty_io.ci = read_chan(tty,file,buf,count);
buf779kernel/chr_drv/tty_io.cstatic int tty_write(struct inode * inode, struct file * file, char * buf, int count)
buf806kernel/chr_drv/tty_io.ci = write_chan(tty,file,buf,count);
buf16kernel/printk.cstatic char buf[1024];
buf18kernel/printk.cextern int vsprintf(char * buf, const char * fmt, va_list args);
buf26kernel/printk.cint sys_syslog(int type, char * buf, int len)
buf51kernel/printk.cif (!buf || len < 0)
buf55kernel/printk.cverify_area(buf,len);
buf72kernel/printk.cput_fs_byte(c,buf);
buf73kernel/printk.cbuf++;
buf89kernel/printk.ci=vsprintf(buf,fmt,args);
buf93kernel/printk.c*p = buf[j];
buf101kernel/printk.cconsole_print(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)
buf64mm/swap.cvoid rw_swap_page(int rw, unsigned int nr, char * buf)
buf85mm/swap.cll_rw_page(rw,p->swap_device,nr,buf);
buf96mm/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,
buf23net/unix.cchar *buf;
buf110net/unix.cchar buf[sizeof(sockun->sun_path) + 1];
buf115net/unix.celse if (sockaddr_len <= 0 || sockaddr_len >= sizeof(buf))
buf118net/unix.cmemcpy(buf, sockun->sun_path, sockaddr_len);
buf119net/unix.cbuf[sockaddr_len] = '\0';
buf120net/unix.cprintk("sockaddr_un: '%s'[%d]\n", buf,
buf215net/unix.cupd->buf = NULL;
buf238net/unix.cif (upd->buf) {
buf239net/unix.cfree_page((unsigned long)upd->buf);
buf240net/unix.cupd->buf = NULL;
buf265net/unix.cif (!(upd->buf = (char *)get_free_page(GFP_USER))) {
buf589net/unix.cmemcpy_tofs(ubuf, upd->buf + upd->bp_tail, cando);
buf667net/unix.cmemcpy_fromfs(pupd->buf + pupd->bp_head, ubuf, cando);
buf87tools/build.cchar buf[1024];
buf110tools/build.cfor (i=0;i<sizeof buf; i++) buf[i]=0;
buf113tools/build.cif (read(id,buf,MINIX_HEADER) != MINIX_HEADER)
buf115tools/build.cif (((long *) buf)[0]!=intel_long(0x04100301))
buf117tools/build.cif (((long *) buf)[1]!=intel_long(MINIX_HEADER))
buf119tools/build.cif (((long *) buf)[3]!=0)
buf121tools/build.cif (((long *) buf)[4]!=0)
buf123tools/build.cif (((long *) buf)[5] != 0)
buf125tools/build.cif (((long *) buf)[7] != 0)
buf127tools/build.ci=read(id,buf,sizeof buf);
buf131tools/build.cif ((*(unsigned short *)(buf+510)) != (unsigned short)intel_short(0xAA55))
buf133tools/build.cbuf[508] = (char) minor_root;
buf134tools/build.cbuf[509] = (char) major_root;  
buf135tools/build.ci=write(1,buf,512);
buf142tools/build.cif (read(id,buf,MINIX_HEADER) != MINIX_HEADER)
buf144tools/build.cif (((long *) buf)[0]!=intel_long(0x04100301))
buf146tools/build.cif (((long *) buf)[1]!=intel_long(MINIX_HEADER))
buf148tools/build.cif (((long *) buf)[3]!=0)
buf150tools/build.cif (((long *) buf)[4]!=0)
buf152tools/build.cif (((long *) buf)[5] != 0)
buf154tools/build.cif (((long *) buf)[7] != 0)
buf156tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
buf157tools/build.cif (write(1,buf,c)!=c)
buf164tools/build.cfor (c=0 ; c<sizeof(buf) ; c++)
buf165tools/build.cbuf[c] = '\0';
buf168tools/build.cif (c > sizeof(buf))
buf169tools/build.cc = sizeof(buf);
buf170tools/build.cif (write(1,buf,c) != c)
buf177tools/build.cif (read(id,buf,GCC_HEADER) != GCC_HEADER)
buf179tools/build.cif (((long *) buf)[5] != 0)
buf181tools/build.cfor (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c )
buf182tools/build.cif (write(1,buf,c)!=c)