Searched refs:f_buf (Results 1 – 3 of 3) sorted by relevance
| /freebsd/stand/libsa/ |
| H A D | ufs.c | 124 char *f_buf; /* buffer for data block */ member 358 if (fp->f_buf == (char *)0) in buf_write_file() 359 fp->f_buf = malloc(fs->fs_bsize); in buf_write_file() 364 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file() 374 bcopy(buf_p, fp->f_buf + off, *size_p); in buf_write_file() 383 block_size, fp->f_buf, &fp->f_buf_size); in buf_write_file() 407 if (fp->f_buf == NULL) in buf_read_file() 408 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file() 415 bzero(fp->f_buf, block_size); in buf_read_file() 421 block_size, fp->f_buf, &fp->f_buf_size); in buf_read_file() [all …]
|
| H A D | ext2fs.c | 313 char *f_buf; /* buffer for data block */ member 544 if (fp->f_buf) in ext2fs_open() 545 free(fp->f_buf); in ext2fs_open() 717 if (fp->f_buf == (char *)0) in buf_read_file() 718 fp->f_buf = malloc(fs->fs_bsize); in buf_read_file() 721 bzero(fp->f_buf, block_size); in buf_read_file() 727 fp->f_buf, &fp->f_buf_size); in buf_read_file() 739 *buf_p = fp->f_buf + off; in buf_read_file() 806 if (fp->f_buf) in ext2fs_close() 807 free(fp->f_buf); in ext2fs_close()
|
| H A D | cd9660.c | 116 char *f_buf; /* buffer for data block */ member 523 if (fp->f_buf == (char *)0) in buf_read_file() 524 fp->f_buf = malloc(ISO_DEFAULT_BLOCK_SIZE); in buf_read_file() 529 fp->f_buf, &read); in buf_read_file() 538 *buf_p = fp->f_buf + blkoff; in buf_read_file()
|