/external/syslinux/gpxe/src/include/gpxe/ |
ramdisk.h | 16 struct ramdisk { struct 21 extern int init_ramdisk ( struct ramdisk *ramdisk, userptr_t data, size_t len,
|
/external/syslinux/gpxe/src/drivers/block/ |
ramdisk.c | 22 #include <gpxe/ramdisk.h> 31 static inline __attribute__ (( always_inline )) struct ramdisk * 33 return container_of ( blockdev, struct ramdisk, blockdev ); 47 struct ramdisk *ramdisk = block_to_ramdisk ( blockdev ); local 51 DBGC ( ramdisk, "RAMDISK %p reading [%lx,%lx)\n", 52 ramdisk, offset, length ); 54 memcpy_user ( buffer, 0, ramdisk->data, offset, length ); 69 struct ramdisk *ramdisk = block_to_ramdisk ( blockdev ) local [all...] |
/external/toybox/toys/other/ |
freeramdisk.c | 1 /* freeramdisk.c - Free all memory allocated to ramdisk 15 Free all memory allocated to specified ramdisk
|
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/ |
control | 19 run three times: once on a ramdisk with the SD card mounted, once on the 20 SD card with the ramdisk unmounted, and once on the ramdisk with the SD 29 @param ramdisk_size: size of the ramdisk (integer in MiB). 31 @param ramdisk_path: path to the ramdisk mount point. 35 and each of the two ramdisk read/write test energy consumption values. 37 ramdisk test, 0.9 means it may consume no more than 90% of the ramdisk
|
hardware_MultiReaderPowerConsumption.py | 85 on a ramdisk with the SD card mounted, then on the SD card with the 86 ramdisk unmounted, and then on the SD card with the ramdisk unmounted. 89 @param ramdisk_size: Size of ramdisk (in MiB). 94 ramdisk read/write test energy consumption 96 not consume more energy than either ramdisk 98 90% of the ramdisk value, and so forth. 109 logging.debug('STEP 2: mount the ramdisk') 110 self._ramdisk_path = autotemp.tempdir(unique_id='ramdisk', 119 logging.debug('STEP 3: perform heavy-duty read-write test on ramdisk') [all...] |
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
RamDisk.java | 30 * a RAM disk. A {@code RamDisk} is always writable. 34 public final class RamDisk implements BlockDevice { 37 * The default sector size for {@code RamDisk}s. 48 * returns a {@code RamDisk} holding the decompressed image. 51 * @return the decompressed {@code RamDisk} 54 public static RamDisk readGzipped(InputStream in) throws IOException { 73 return new RamDisk(bb, DEFAULT_SECTOR_SIZE); 76 private RamDisk(ByteBuffer buffer, int sectorSize) { 84 * Creates a new instance of {@code RamDisk} of this specified 89 public RamDisk(int size) [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/ |
RamDisk.asl | 16 "RamDisk.aml",
20 "RamDisk ",
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/ramdisk/ |
ramdisk.inf | 25 BASE_NAME = ramdisk
32 ramdisk.c
33 ramdisk.h
|
ramdisk.c | 54 #include "ramdisk.h"
77 * Ramdisk sizes between 0x20D0 (4.1MB) and 0x100000 (512MB) sectors are valid FAT16 drive sizes.
204 * Entry point for RamDisk driver.
237 /* Allocate storage for ramdisk device info on the heap.
244 * Compute the number of 4KB pages needed by the ramdisk and allocate the memory.
257 * Initialize the ramdisk's device info.
281 * Build a FAT16 file system on the ramdisk.
297 DEBUG((EFI_D_ERROR,"ramdisk:blckio install. Status=%r\n",Status));
349 /* Given a block of memory representing a ramdisk, build a pseudo-boot sector
353 * static information the boot sector requires. Also assumes the ramdisk size [all...] |
/device/linaro/hikey/bootloader/EFI/BOOT/ |
grub.cfg | 7 initrd /ramdisk.img 14 initrd /ramdisk.img 21 initrd /ramdisk.img 28 initrd /ramdisk.img 35 initrd /ramdisk.img
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
setup.h | 62 /* describes how the ramdisk will be used in kernel */ 67 __u32 size; /* decompressed ramdisk size in _kilo_ bytes */ 71 /* describes where the compressed ramdisk image lives (virtual address) */ 78 /* describes where the compressed ramdisk image lives (physical address) */ 83 __u32 size; /* size of compressed ramdisk image in bytes */ 153 struct tag_ramdisk ramdisk; member in union:tag::__anon22522
|
/device/linaro/hikey/build/tasks/ |
boot_fat.mk | 11 $(FAT16COPY) $@ $(PRODUCT_OUT)/ramdisk.img
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
KernelFlashPreparer.java | 57 throw new TargetSetupError("Missing ramdisk file", device.getDeviceDescriptor()); 96 * Creates a boot.img file using mkbootimg, ramdisk, and kernel files. 98 * Runs {@code mkbootimg --kernel (filename) --ramdisk (filename) -o (filename)} to create a 104 * @param ramdisk the ramdisk file 108 File createBootImage(File mkbootimg, File kernel, File ramdisk) throws IOException { 110 ramdisk.getAbsolutePath()); 114 "--ramdisk", ramdisk.getAbsolutePath(), "-o", bootPath};
|
/external/autotest/client/tests/xmtest/ |
xm-test.tar.bz2 | |
/external/autotest/server/site_tests/hardware_MemoryIntegrity/ |
hardware_MemoryIntegrity.py | 39 self._client.run('mkdir -p /tmp/ramdisk') 40 self._client.run('mount -t ramfs ramfs /tmp/ramdisk') 49 dev='/tmp/ramdisk/test_file', 71 dev='/tmp/ramdisk/test_file', 87 self._client.run('umount /tmp/ramdisk')
|
/system/core/mkbootimg/ |
unpack_bootimg | 18 Extracts the kernel, ramdisk, second bootloader and recovery dtbo images. 46 """extracts kernel, ramdisk, second bootloader and recovery dtbo""" 52 print('ramdisk size: %s' % kernel_ramdisk_second_info[2]) 53 print('ramdisk load address: %s' % kernel_ramdisk_second_info[3]) 96 image_info_list.append((ramdisk_offset, ramdisk_size, 'ramdisk')) 100 ) # header + kernel + ramdisk 116 'ramdisk, second bootloader and recovery dtbo')
|
mkbootimg | 57 num_ramdisk_pages = get_number_of_pages(filesize(args.ramdisk), args.pagesize) 70 filesize(args.ramdisk), # size in bytes 83 update_sha(sha, args.ramdisk) 162 parser.add_argument('--ramdisk', help='path to the ramdisk', type=FileType('rb')) 169 parser.add_argument('--ramdisk_offset', help='ramdisk offset', type=parse_int, default=0x01000000) 191 write_padded_file(args.output, args.ramdisk, args.pagesize)
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
IDeviceBuildInfo.java | 155 * Gets the ramdisk file used to create the kernel image. 160 * Gets the ramdisk version. 165 * Gets the ramdisk file used to create the kernel image. 167 public void setRamdiskFile(File ramdisk, String version);
|
/system/core/mkbootimg/include/bootimg/ |
bootimg.h | 85 * | ramdisk | m pages 95 * 1. kernel and ramdisk are required (size != 0) 97 * 3. load each element (kernel, ramdisk, second) at 122 * | ramdisk | m pages 134 * 1. kernel and ramdisk are required (size != 0) 137 * 4. load each element (kernel, ramdisk, second) at
|
/external/syslinux/gpxe/src/arch/i386/image/ |
eltorito.c | 37 #include <gpxe/ramdisk.h> 140 struct ramdisk ramdisk; local 146 memset ( &ramdisk, 0, sizeof ( ramdisk ) ); 147 init_ramdisk ( &ramdisk, image->data, image->len, ISO9660_BLKSIZE ); 150 int13_drive.blockdev = &ramdisk.blockdev;
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/AbootimgLib/ |
AbootimgLib.c | 173 OUT VOID **Ramdisk, 194 *Ramdisk = (VOID *) (BootImgBytePtr + Header->PageSize + 281 // Set the ramdisk in command line arguments 553 VOID *Ramdisk; 598 // Get ramdisk from boot image in RAM 599 Status = GetRamdiskInfo (Buffer, &Ramdisk, &RamdiskSize); 608 // Get ramdisk from boot image in partition 609 Status = GetRamdiskInfo (BootImage, &Ramdisk, &RamdiskSize); 611 DEBUG ((DEBUG_ERROR, "Failed to get ramdisk from boot image: %r\n", Status)); 646 VOID *Ramdisk; [all...] |
/external/perfetto/tools/ |
run_android_emulator | 53 '-ramdisk', os.path.join(aosp_path, 'ramdisk.img'),
|
/system/core/fastboot/ |
bootimg_utils.cpp | 42 boot_img_hdr_v1* mkbootimg(void* kernel, int64_t kernel_size, off_t kernel_offset, void* ramdisk, 79 memcpy(hdr->magic + page_size + kernel_actual, ramdisk, ramdisk_size);
|