Searched refs:sparse_write (Results 1 – 6 of 6) sorted by relevance
/freebsd/usr.bin/mkimg/ |
H A D | vmdk.c | 202 if (!error && sparse_write(fd, &hdr, VMDK_SECTOR_SIZE) < 0) in vmdk_write() 204 if (!error && sparse_write(fd, desc, desc_len) < 0) in vmdk_write() 206 if (!error && sparse_write(fd, gd, gdsz) < 0) in vmdk_write() 208 if (!error && sparse_write(fd, gt, gtsz) < 0) in vmdk_write() 210 if (!error && sparse_write(fd, rgd, gdsz) < 0) in vmdk_write() 212 if (!error && sparse_write(fd, gt, gtsz) < 0) in vmdk_write() 228 if (sparse_write(fd, buf, VMDK_SECTOR_SIZE) < 0) in vmdk_write()
|
H A D | vhd.c | 288 if (sparse_write(fd, &footer, sizeof(footer)) < 0) in vhd_dyn_write() 300 if (sparse_write(fd, &header, sizeof(header)) < 0) in vhd_dyn_write() 318 if (sparse_write(fd, bat, batsz) < 0) { in vhd_dyn_write() 338 if (sparse_write(fd, bitmap, VHD_SECTOR_SIZE) < 0) { in vhd_dyn_write() 356 if (sparse_write(fd, &footer, sizeof(footer)) < 0) in vhd_dyn_write() 401 error = (sparse_write(fd, &footer, sizeof(footer)) < 0) ? errno : 0; in vhd_fix_write()
|
H A D | vhdx.c | 223 if (sparse_write(fd, data, data_size) < 0) in vhdx_write_and_pad() 299 if (sparse_write(fd, region_table, SIZE_64KB) < 0) { in vhdx_write_region_tables() 306 if (sparse_write(fd, region_table, SIZE_64KB) < 0) { in vhdx_write_region_tables() 393 if (sparse_write(fd, metadata, SIZE_1MB) < 0) { in vhdx_write_metadata() 438 if (sparse_write(fd, bat, SIZE_1MB) < 0) { in vhdx_write_bat() 455 if (sparse_write(fd, bat, SIZE_1MB) < 0) { in vhdx_write_bat() 467 if (sparse_write(fd, bat, SIZE_1MB) < 0) { in vhdx_write_bat()
|
H A D | qcow.c | 204 if (sparse_write(fd, hdr, clstrsz) < 0) { in qcow_write() 234 if (sparse_write(fd, l1tbl, clstrsz * clstr_l1tblsz) < 0) { in qcow_write() 256 if (sparse_write(fd, rctbl, clstrsz * clstr_rctblsz) < 0) { in qcow_write() 284 if (sparse_write(fd, l2tbl, clstrsz) < 0) { in qcow_write() 303 if (sparse_write(fd, rcblk, clstrsz * clstr_rcblks) < 0) { in qcow_write()
|
H A D | mkimg.h | 85 #define sparse_write write macro 87 ssize_t sparse_write(int, const void *, size_t);
|
H A D | mkimg.c | 323 sparse_write(int fd, const void *ptr, size_t sz) in sparse_write() function
|