Searched refs:file_buf (Results 1 – 2 of 2) sorted by relevance
47 static uint8_t file_buf[FILE_BUF_SIZE] __aligned(0x1000); variable126 len = read(fd, file_buf, FILE_BUF_SIZE); in program_file()137 rc = blocklevel_write(bl, start, file_buf, len); in program_file()
146 char *file_buf; member1835 free(data->file_buf); in zfs_unmount()2080 if (data->file_buf == NULL) { in zfs_read()2081 data->file_buf = malloc(SPA_MAXBLOCKSIZE); in zfs_read()2082 if (!data->file_buf) in zfs_read()2092 memmove(buf, data->file_buf + file->offset - data->file_start, in zfs_read()2115 free(data->file_buf); in zfs_read()2116 data->file_buf = 0; in zfs_read()2120 data->file_buf = t; in zfs_read()2129 memmove(buf, data->file_buf + file->offset + red in zfs_read()