Searched refs:ramdisk (Results 1 - 52 of 52) sorted by relevance

/linux-4.4.14/include/linux/
H A Dinitrd.h4 /* 1 = load ramdisk, 0 = don't load */
7 /* 1 = prompt for ramdisk, 0 = don't prompt */
H A Dpagemap.h26 AS_UNEVICTABLE = __GFP_BITS_SHIFT + 3, /* e.g., ramdisk, SHM_LOCK */
/linux-4.4.14/arch/arm/include/uapi/asm/
H A Dsetup.h61 /* describes how the ramdisk will be used in kernel */
66 __u32 size; /* decompressed ramdisk size in _kilo_ bytes */
70 /* describes where the compressed ramdisk image lives (virtual address) */
77 /* describes where the compressed ramdisk image lives (physical address) */
82 __u32 size; /* size of compressed ramdisk image in bytes */
152 struct tag_ramdisk ramdisk; member in union:tag::__anon194
/linux-4.4.14/drivers/misc/mic/cosm/
H A Dcosm_sysfs.c281 char *ramdisk; ramdisk_show() local
286 ramdisk = cdev->ramdisk; ramdisk_show()
288 if (ramdisk) ramdisk_show()
289 return scnprintf(buf, PAGE_SIZE, "%s\n", ramdisk); ramdisk_show()
303 kfree(cdev->ramdisk); ramdisk_store()
305 cdev->ramdisk = kmalloc(count + 1, GFP_KERNEL); ramdisk_store()
306 if (!cdev->ramdisk) { ramdisk_store()
311 strncpy(cdev->ramdisk, buf, count); ramdisk_store()
313 if (cdev->ramdisk[count - 1] == '\n') ramdisk_store()
314 cdev->ramdisk[count - 1] = '\0'; ramdisk_store()
316 cdev->ramdisk[count] = '\0'; ramdisk_store()
321 static DEVICE_ATTR_RW(ramdisk);
H A Dcosm_main.c303 kfree(cdev->ramdisk); cosm_driver_remove()
/linux-4.4.14/include/linux/decompress/
H A Dmm.h4 * Memory management for pre-boot and ramdisk uncompressors
68 /* Code active when compiled standalone for use when loading ramdisk: */
/linux-4.4.14/drivers/target/
H A Dtarget_core_rd.h32 /* Total page count for ramdisk device */
/linux-4.4.14/arch/h8300/boot/compressed/
H A Dhead.S45 .long 0 ; address of loaded ramdisk image
/linux-4.4.14/drivers/misc/mic/host/
H A Dmic_x100.c376 * mic_x100_load_ramdisk - Load ramdisk to MIC.
388 rc = request_firmware(&fw, mdev->cosm_dev->ramdisk, &mdev->pdev->dev); mic_x100_load_ramdisk()
391 "ramdisk request_firmware failed: %d %s\n", mic_x100_load_ramdisk()
392 rc, mdev->cosm_dev->ramdisk); mic_x100_load_ramdisk()
397 * so copy over the ramdisk @ 128M. mic_x100_load_ramdisk()
441 * @buf: buffer containing boot string including firmware/ramdisk path.
458 "ramdisk request_firmware failed: %d %s\n", mic_x100_load_firmware()
481 /* load ramdisk */ mic_x100_load_firmware()
482 if (mdev->cosm_dev->ramdisk) mic_x100_load_firmware()
H A Dmic_device.h120 * into card memory. This includes the kernel, command line, ramdisk etc.
/linux-4.4.14/init/
H A Ddo_mounts_rd.c218 * the number of kibibytes of data to load into a ramdisk. rd_load_image()
219 * So any ramdisk block size that is a multiple of 1KiB should rd_load_image()
225 * blocksize while generating ext2fs ramdisk-images. rd_load_image()
352 pr_emerg("Invalid ramdisk decompression routine. " crd_load()
354 panic("Could not decompress initial ramdisk image."); crd_load()
H A Ddo_mounts_initrd.c108 printk(KERN_NOTICE "Trying to free ramdisk memory ... "); handle_initrd()
/linux-4.4.14/arch/arm/kernel/
H A Datags_parse.c96 rd_image_start = tag->u.ramdisk.start; parse_tag_ramdisk()
97 rd_doload = (tag->u.ramdisk.flags & 1) == 0; parse_tag_ramdisk()
98 rd_prompt = (tag->u.ramdisk.flags & 2) == 0; parse_tag_ramdisk()
100 if (tag->u.ramdisk.size) parse_tag_ramdisk()
101 rd_size = tag->u.ramdisk.size; parse_tag_ramdisk()
H A Datags_compat.c131 tag->u.ramdisk.flags = (params->u1.s.flags & FLAG_RDLOAD ? 1 : 0) | build_tag_list()
133 tag->u.ramdisk.size = params->u1.s.ramdisk_size; build_tag_list()
134 tag->u.ramdisk.start = params->u1.s.rd_start; build_tag_list()
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dbootx.h100 /* Optional pointer to boot ramdisk (offset from this structure) */
102 __u32 ramDiskSize; /* size of ramdisk image */
122 /* Total params size (args + colormap + device tree + ramdisk) */
/linux-4.4.14/drivers/mtd/maps/
H A Dcfi_flagadm.c38 * 3: compressed 1536k root ramdisk (0x000C0000 - 0x0023FFFF) size 0x180000
76 .name = "Initial ramdisk image",
/linux-4.4.14/arch/xtensa/include/asm/
H A Dbootparam.h21 #define BP_TAG_INITRD 0x1002 /* ramdisk addr and size (bp_meminfo) */
/linux-4.4.14/drivers/misc/mic/bus/
H A Dcosm_bus.h40 * @ramdisk: Ramdisk file name.
65 char *ramdisk; member in struct:cosm_device
/linux-4.4.14/arch/powerpc/boot/
H A DMakefile329 $(addprefix $(obj)/, $(initrd-y)): $(obj)/ramdisk.image.gz
331 # Don't put the ramdisk on the pattern rule; when its missing make will try
335 $(call if_changed,wrap,$*,,,$(obj)/ramdisk.image.gz)
342 $(call if_changed,wrap,$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
356 $(call if_changed,wrap,uboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
362 $(call if_changed,wrap,cuboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
371 $(call if_changed,wrap,simpleboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
377 $(call if_changed,wrap,treeboot-$*,,$(obj)/$*.dtb,$(obj)/ramdisk.image.gz)
H A Dmain.c102 printf("Using loader supplied ramdisk at 0x%lx-0x%lx\n\r", prep_initrd()
123 "ramdisk !\n\r"); prep_initrd()
/linux-4.4.14/arch/sh/boot/compressed/
H A Dhead_32.S124 .long 0 ! address of loaded ramdisk image
/linux-4.4.14/Documentation/mic/mpssd/
H A Dmicctrl81 echo "mic/$1.image" > $f/ramdisk
/linux-4.4.14/drivers/block/
H A Dbrd.c30 * Each block ramdisk device has a radix_tree brd_pages of pages that stores
411 * release and destroy the ramdisk data. brd_ioctl()
604 if (register_blkdev(RAMDISK_MAJOR, "ramdisk")) brd_init()
633 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); brd_init()
647 unregister_blkdev(RAMDISK_MAJOR, "ramdisk"); brd_exit()
/linux-4.4.14/arch/s390/kernel/
H A Dhead.S170 l %r2,.Linitrd # ramdisk loc. is temp
206 # load ramdisk from ipl device
209 l %r2,.Linitrd # addr of ramdisk
211 bas %r14,.Lloader # load ramdisk
215 st %r2,INITRD_START+ARCH_OFFSET-PARMAREA(%r12) # no ramdisk found
/linux-4.4.14/arch/score/kernel/
H A Dsetup.c82 pr_info("Initial ramdisk at: 0x%lx (%lu bytes)\n", bootmem_init()
/linux-4.4.14/arch/mn10300/mm/
H A Dinit.c128 * dispose of the memory on which the initial ramdisk resided
/linux-4.4.14/arch/arm/mach-pxa/
H A Dcm-x255.c140 .name = "ramdisk", cmx255_init_rtc()
/linux-4.4.14/arch/sparc/mm/
H A Dinit_32.c52 /* Initial ramdisk setup */
168 /* Now have to check initial ramdisk, so that bootmap does not overwrite it */ bootmem_init()
H A Dinit_64.c175 /* Initial ramdisk setup */
751 * 32-bit physical address for the ramdisk image find_ramdisk()
769 numadbg("Found ramdisk at physical address 0x%lx, size %u\n", find_ramdisk()
/linux-4.4.14/arch/sparc/boot/
H A Dpiggyback.c2 Simple utility to make a single-image install kernel with initial ramdisk
76 /* fs_img.gz is an image of initial ramdisk. */ usage()
/linux-4.4.14/arch/mips/sibyte/common/
H A Dcfe.c123 * ramdisk prom_meminit()
197 *Initrd location comes in the form "<hex size of ramdisk in bytes>@<location in memory>" initrd_setup()
/linux-4.4.14/arch/m32r/kernel/
H A Dsetup.c49 extern int rd_doload; /* 1 = load ramdisk, 0 = don't load */
50 extern int rd_prompt; /* 1 = prompt for ramdisk, 0 = don't prompt */
/linux-4.4.14/arch/m68k/include/uapi/asm/
H A Dbootinfo.h62 #define BI_RAMDISK 0x0006 /* ramdisk address and size */
/linux-4.4.14/arch/frv/mm/
H A Dinit.c150 * free the initial ramdisk memory
/linux-4.4.14/drivers/mtd/devices/
H A Dlart.c86 /* initial ramdisk */
599 /* initial ramdisk / file system */
/linux-4.4.14/arch/x86/boot/compressed/
H A Dhead_64.S42 * kernel(text+data+bss+brk) ramdisk, zero_page, command line
232 * ramdisk, zero_page, command line could be above 4G.
/linux-4.4.14/arch/x86/boot/
H A Dheader.S335 ramdisk_image: .long 0 # address of loaded ramdisk image
397 /* kernel/boot_param/ramdisk could be loaded above 4g */
/linux-4.4.14/arch/powerpc/platforms/powermac/
H A Dbootx_init.c548 /* Get a pointer that points above the device tree, args, ramdisk, bootx_init()
558 bootx_printf("Total space used by parameters & ramdisk: 0x%x\n", space); bootx_init()
/linux-4.4.14/drivers/staging/gdm72xx/
H A Dusb_boot.c36 #define FW_FS "ramdisk.jffs2"
/linux-4.4.14/arch/alpha/mm/
H A Dnuma.c270 printk("Initial ramdisk at: 0x%p (%lu bytes)\n", setup_memory()
/linux-4.4.14/arch/parisc/kernel/
H A Dsetup.c76 if (boot_args[2] != 0) /* did palo pass us a ramdisk? */ setup_cmdline()
/linux-4.4.14/arch/arm/mach-s3c24xx/
H A Dmach-mini2440.c262 * or a uImage with a ramdisk attached */
/linux-4.4.14/drivers/md/
H A Ddm-verity.c943 /* WQ_UNBOUND greatly improves performance when running on ramdisk */ verity_ctr()
/linux-4.4.14/arch/x86/kernel/cpu/microcode/
H A Damd.c424 * Take into account the fact that the ramdisk might get relocated and save_microcode_in_initrd_amd()
/linux-4.4.14/arch/mips/kernel/
H A Dsetup.c269 pr_info("Initial ramdisk at: 0x%lx (%lu bytes)\n", finalize_initrd()
/linux-4.4.14/arch/alpha/kernel/
H A Dsetup.c450 printk("Initial ramdisk at: 0x%p (%lu bytes)\n",
/linux-4.4.14/arch/frv/kernel/
H A Dsetup.c929 /* reserve the memory occupied by the initial ramdisk */ setup_linux_memory()
/linux-4.4.14/arch/ia64/kernel/
H A Dsetup.c407 printk(KERN_INFO "Initial ramdisk at: 0x%lx (%llu bytes)\n", find_initrd()
/linux-4.4.14/
H A DMakefile859 # Select initial ramdisk compression format, default is gzip(1).
/linux-4.4.14/drivers/scsi/
H A Dscsi_debug.c629 static unsigned char * fake_storep; /* ramdisk storage */
4842 scsi_debug_dev_size_mb = 1; /* force minimum 1 MB ramdisk */ scsi_debug_init()
/linux-4.4.14/arch/x86/xen/
H A Dmmu.c1247 * the ramdisk). We continue on, erasing PMD entries that point to page xen_pagetable_cleanhighmap()
/linux-4.4.14/mm/
H A Dvmscan.c1122 * A synchronous write - probably a ramdisk. Go shrink_page_list()

Completed in 1720 milliseconds