pub fn flushBlocks(self: *Self) FlushBlocksError!void self: *Self73
74
75
76
77
78
79
80 pub fn flushBlocks(self: *Self) FlushBlocksError!void {
switch (self._flush_blocks(self)) {
.success => {},
.device_error => return error.DeviceError,
.no_media => return error.NoMedia,
else => |status| return uefi.unexpectedStatus(status),
}
}
Flushes all modified data to a physical block device.