/fuchsia/zircon/bootloader/scripts/ |
H A D | bootzircon | 3 make && mcopy -o -i out/disk.img@@1024K ../build-x86/zircon.bin ::zircon.bin && make qemu
|
/fuchsia/zircon/system/utest/fs/ |
H A D | filesystems.h | 43 // Identify if a real disk is being tested instead of a ramdisk. 46 // The disk's cached info. 81 void setup_fs_test(test_disk_t disk, fs_test_type_t test_class); 111 #define BEGIN_FS_TEST_CASE(case_name, disk, fs_type, fs_name, info) \ 115 if (can_execute_test(test_info, &disk, fs_type)) { \ 116 setup_fs_test(disk, fs_type); 126 #define FS_TEST_CASE(case_name, disk, CASE_TESTS, test_type, fs_type, index) \ 127 BEGIN_FS_TEST_CASE(case_name, disk, test_type, fs_type, &FILESYSTEMS[index]) \ 131 #define RUN_FOR_ALL_FILESYSTEMS_TYPE(case_name, disk, test_type, CASE_TESTS) \ 132 FS_TEST_CASE(case_name, disk, CASE_TEST [all...] |
H A D | test-resize.cpp | 107 const test_disk_t disk = { member in namespace:__anon1391 115 // Reformat the disk between tests to restore original size. 116 RUN_FOR_ALL_FILESYSTEMS_TYPE(fs_resize_tests_inodes, disk, FS_TEST_FVM, 120 RUN_FOR_ALL_FILESYSTEMS_TYPE(fs_resize_tests_data, disk, FS_TEST_FVM,
|
H A D | filesystems.cpp | 65 void setup_fs_test(test_disk_t disk, fs_test_type_t test_class) { argument 73 if (create_ramdisk(disk.block_size, disk.block_count, test_disk_path)) { 78 test_disk_info.block_size = static_cast<uint32_t>(disk.block_size); 79 test_disk_info.block_count = disk.block_count; 85 fprintf(stderr, "[FAILED]: Could not open test disk\n"); 88 if (fvm_init(fd, disk.slice_size) != ZX_OK) { 89 fprintf(stderr, "[FAILED]: Could not format disk with FVM\n"); 93 fprintf(stderr, "[FAILED]: Could not bind disk to FVM driver\n"); 132 fprintf(stderr, "[FAILED]: Could not format disk ( [all...] |
H A D | test-maxfile.cpp | 238 const test_disk_t disk = { member in namespace:__anon1387 246 RUN_FOR_ALL_FILESYSTEMS_SIZE(maxfile_tests, disk,
|
H A D | test-rw-workers.c | 315 const test_disk_t disk = { variable 321 RUN_FOR_ALL_FILESYSTEMS_SIZE(rw_workers_test, disk,
|
H A D | test-truncate.cpp | 235 // zeroes, and writen back out to disk. 306 const test_disk_t disk = { member in namespace:__anon1395 314 RUN_FOR_ALL_FILESYSTEMS_SIZE(truncate_tests, disk,
|
/fuchsia/zircon/bootloader/src/ |
H A D | diskio.c | 9 #include <efi/protocol/disk-io.h> 85 static efi_status disk_read(disk_t* disk, size_t offset, void* data, size_t length) { argument 86 uint64_t size = (disk->last - disk->first) * disk->blksz; 92 return disk->io->ReadDisk(disk->io, disk->id, (disk->first * disk 95 disk_close(disk_t* disk) argument 99 disk_find_boot(efi_handle img, efi_system_table* sys, bool verbose, disk_t* disk) argument 206 disk_find_kernel(disk_t* disk, bool verbose) argument 297 disk_t disk; local [all...] |
/fuchsia/zircon/system/uapp/chromeos-disk-setup/ |
H A D | rules.mk | 10 MODULE_NAME := chromeos-disk-setup 14 MODULE_SRCS := $(LOCAL_DIR)/chromeos-disk-setup.c 17 system/ulib/chromeos-disk-setup \
|
H A D | chromeos-disk-setup.c | 14 #include <chromeos-disk-setup/chromeos-disk-setup.h>
|
/fuchsia/zircon/system/utest/fs-host/ |
H A D | util.cpp | 18 fprintf(stderr, "Unable to create disk for test filesystem\n"); 23 fprintf(stderr, "Unable to truncate disk\n"); 28 fprintf(stderr, "Unable to close disk\n"); 50 fbl::unique_fd disk(open(MOUNT_PATH, O_RDONLY)); 52 if (!disk) { 53 fprintf(stderr, "Unable to open disk for fsck\n"); 58 if (fstat(disk.get(), &stats) < 0) { 64 fprintf(stderr, "Invalid disk\n"); 71 if (minfs::Bcache::Create(&block_cache, fbl::move(disk), size) < 0) {
|
/fuchsia/zircon/system/utest/chromeos-disk-setup/ |
H A D | rules.mk | 11 MODULE_NAME := chromeos-disk-setup-test 14 $(LOCAL_DIR)/chromeos-disk-setup.cpp 17 system/ulib/chromeos-disk-setup \
|
H A D | chromeos-disk-setup.cpp | 19 #include <chromeos-disk-setup/chromeos-disk-setup.h> 204 // first the rest of the disk with STATE
|
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | rules.mk | 12 MODULE_NAME := install-disk-image 19 $(LOCAL_DIR)/disk-pave.cpp \ 24 system/ulib/chromeos-disk-setup \ 59 MODULE_NAME := install-disk-image-test 75 system/ulib/chromeos-disk-setup \
|
H A D | device-partitioner.cpp | 9 #include <chromeos-disk-setup/chromeos-disk-setup.h>
|
/fuchsia/zircon/system/ulib/chromeos-disk-setup/ |
H A D | rules.mk | 14 MODULE_SRCS := $(LOCAL_DIR)/chromeos-disk-setup.c
|
H A D | chromeos-disk-setup.c | 11 #include <chromeos-disk-setup/chromeos-disk-setup.h> 117 // Find a contiguous run of free space on the disk at least blocks_req in length. 211 printf("cros-disk-setup: missing syscfg (or insufficient size)\n"); 214 printf("cros-disk-setup: missing FVM (or insufficient size)\n"); 217 printf("cros-disk-setup: missing one or more kernel partitions\n"); 307 // Still not enough contiguous space is available on disk, try shrinking STATE 317 // share of the free space on the disk. 341 printf("cros-disk-setup: Creating SYSCFG\n"); 345 printf("cros-disk [all...] |
/fuchsia/zircon/bootloader/lib/efi/ |
H A D | guids.c | 8 #include <efi/protocol/disk-io.h>
|
/fuchsia/zircon/system/ulib/zircon/ |
H A D | rules.mk | 45 # installed on disk because it's delivered magically by the kernel.
|
/fuchsia/zircon/scripts/ |
H A D | run-zircon | 19 echo "-d : run with emulated disk" 20 echo "-D <disk file|device>: specify disk file or device path on host, default is blk.bin" 22 echo "--diskfmt[=<format>] : disk format (raw, qcow2, etc), default is raw" 41 echo "--ahci=<disk image> : run with disk image file as raw ahci drive" 297 echo unrecognized disk type \"$DISKTYPE\"
|
/fuchsia/zircon/system/host/fvm/container/ |
H A D | fvm.cpp | 16 #include <sys/disk.h> 83 // Even if disk size is 0, this will default to at least FVM_BLOCK_SIZE 90 // If Container already exists, read metadata from disk. 268 fprintf(stderr, "Cannot extend to disk size %zu smaller than current size %lu\n", disk_size, 313 // Then, we update the on-disk metadata to reflect the new size of the disk. 376 fprintf(stderr, "Error writing metadata to disk\n"); 381 fprintf(stderr, "Error writing metadata to disk\n"); 460 fprintf(stderr, "Error seeking disk\n"); 465 fprintf(stderr, "Error writing metadata to disk\ [all...] |