Searched refs:sparse_write (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/usr.bin/mkimg/
H A Dmkimg.h87 #define sparse_write write macro
89 ssize_t sparse_write(int, const void *, size_t);
H A Dvmdk.c204 if (!error && sparse_write(fd, &hdr, VMDK_SECTOR_SIZE) < 0)
206 if (!error && sparse_write(fd, desc, desc_len) < 0)
208 if (!error && sparse_write(fd, gd, gdsz) < 0)
210 if (!error && sparse_write(fd, gt, gtsz) < 0)
212 if (!error && sparse_write(fd, rgd, gdsz) < 0)
214 if (!error && sparse_write(fd, gt, gtsz) < 0)
230 if (sparse_write(fd, buf, VMDK_SECTOR_SIZE) < 0)
H A Dvhd.c290 if (sparse_write(fd, &footer, sizeof(footer)) < 0)
302 if (sparse_write(fd, &header, sizeof(header)) < 0)
320 if (sparse_write(fd, bat, batsz) < 0) {
340 if (sparse_write(fd, bitmap, VHD_SECTOR_SIZE) < 0) {
358 if (sparse_write(fd, &footer, sizeof(footer)) < 0)
403 error = (sparse_write(fd, &footer, sizeof(footer)) < 0) ? errno : 0;
H A Dqcow.c206 if (sparse_write(fd, hdr, clstrsz) < 0) {
236 if (sparse_write(fd, l1tbl, clstrsz * clstr_l1tblsz) < 0) {
258 if (sparse_write(fd, rctbl, clstrsz * clstr_rctblsz) < 0) {
286 if (sparse_write(fd, l2tbl, clstrsz) < 0) {
305 if (sparse_write(fd, rcblk, clstrsz * clstr_rcblks) < 0) {
H A Dvhdx.c225 if (sparse_write(fd, data, data_size) < 0)
301 if (sparse_write(fd, region_table, SIZE_64KB) < 0) {
308 if (sparse_write(fd, region_table, SIZE_64KB) < 0) {
394 if (sparse_write(fd, metadata, SIZE_1MB) < 0) {
439 if (sparse_write(fd, bat, SIZE_1MB) < 0) {
456 if (sparse_write(fd, bat, SIZE_1MB) < 0) {
468 if (sparse_write(fd, bat, SIZE_1MB) < 0) {
H A Dmkimg.c326 sparse_write(int fd, const void *ptr, size_t sz) function

Completed in 120 milliseconds