Searched refs:backing_fd (Results 1 – 1 of 1) sorted by relevance
143 int backing_fd = open(backing_path, O_RDWR); in simple_daemon() local144 if (backing_fd < 0) { in simple_daemon()215 if (fsync(backing_fd) < 0) { in simple_daemon()221 if (lseek64(backing_fd, msg.sector * SECTOR_SIZE, SEEK_SET) < 0) { in simple_daemon()225 if (not_splice(control_fd, backing_fd, msg.len) < 0) { in simple_daemon()231 if (fsync(backing_fd) < 0) { in simple_daemon()239 if (fsync(backing_fd) < 0) { in simple_daemon()261 if (lseek64(backing_fd, msg.sector * SECTOR_SIZE, SEEK_SET) < 0) { in simple_daemon()265 if (not_splice(backing_fd, control_fd, msg.len) < 0) { in simple_daemon()