Searched refs:f_buf (Results 1 – 3 of 3) sorted by relevance
126 char *f_buf; /* buffer for data block */ member360 if (fp->f_buf == (char *)0) in buf_write_file()361 fp->f_buf = malloc(fs->fs_bsize); in buf_write_file()376 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file()385 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file()409 if (fp->f_buf == NULL) in buf_read_file()410 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()417 bzero(fp->f_buf, block_size); in buf_read_file()436 *buf_p = fp->f_buf + off; in buf_read_file()690 free(fp->f_buf); in ufs_open()[all …]
312 char *f_buf; /* buffer for data block */ member543 if (fp->f_buf) in ext2fs_open()544 free(fp->f_buf); in ext2fs_open()716 if (fp->f_buf == (char *)0) in buf_read_file()717 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file()720 bzero(fp->f_buf, block_size); in buf_read_file()726 fp->f_buf, &fp->f_buf_size); in buf_read_file()738 *buf_p = fp->f_buf + off; in buf_read_file()805 if (fp->f_buf) in ext2fs_close()806 free(fp->f_buf); in ext2fs_close()
115 char *f_buf; /* buffer for data block */ member522 if (fp->f_buf == (char *)0) in buf_read_file()523 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE); in buf_read_file()528 fp->f_buf, &read); in buf_read_file()537 *buf_p = fp->f_buf + blkoff; in buf_read_file()