Lines Matching refs:ramdisk

30  * There are two types of ramdisk: 'real' OBP-created ramdisks, and 'pseudo'
32 * ramdisk(7D) driver is capable of dealing with both, and with the creation
35 * Every ramdisk has a single 'state' structure which maintains data for
36 * that ramdisk, and is assigned a single minor number. The bottom 10-bits
42 * Each OBP-created ramdisk has its own node in the device tree with an
44 * assigned to the ramdisk. All 'pseudo' ramdisks share a common devinfo
48 * with the ramdisk driver, with minor number 0:
50 * /dev/ramdiskctl -> /devices/pseudo/ramdisk@0:ctl
53 * ramdisk. For 'pseudo' ramdisks:
55 * /dev/ramdisk/<diskname> -> /devices/pseudo/ramdisk@0:<diskname>
56 * /dev/rramdisk/<diskname> -> /devices/pseudo/ramdisk@0:<diskname>,raw
60 * /dev/ramdisk/<diskname> -> /devices/ramdisk-<diskname>:a
61 * /dev/ramdisk/<diskname> -> /devices/ramdisk-<diskname>:a,raw
64 * when booting from a ramdisk, and for the installation to correctly identify
84 #include <sys/ramdisk.h>
96 * An opaque handle where information about our set of ramdisk devices lives.
127 * Is the driver busy, i.e. are there any pseudo ramdisk devices in existence?
163 * Locate the rd_devstate for the named ramdisk; returns NULL if not found.
164 * Each ramdisk is identified uniquely by name, i.e. an OBP-created ramdisk
165 * cannot have the same name as a pseudo ramdisk.
184 * Locate the rd_devstate for the real OBP-created ramdisk whose devinfo
204 * Is the ramdisk open?
214 * Mark the ramdisk open.
237 * Mark the ramdisk closed.
264 * Ensure sanity of 'rd_max_disks', which may be tuned in ramdisk.conf.
273 cmn_err(CE_WARN, "ramdisk: rd_max_disks (%u) too big;"
281 * in ramdisk.conf.
290 cmn_err(CE_WARN, "ramdisk: rd_percent_physmem (%u) >= 100;"
409 * Map a portion of the ramdisk into the virtual window.
434 * OBP-created ramdisk, or a pseudo ramdisk.
464 * Real OBP-created ramdisk: locate the physical range which
576 * from a ramdisk.
632 * to a ramdisk.
656 * Allocate virtual window onto ramdisk.
689 * /devices/pseudo/ramdisk@0:<diskname>
690 * /devices/pseudo/ramdisk@0:<diskname>,raw
708 * /devices/ramdisk-<diskname>:a
709 * /devices/ramdisk-<diskname>:a,raw
780 * A 'real' ramdisk; find the state and free resources.
808 * For pseudo ramdisk devinfo set up state 0 and :ctl device;
809 * else it's an OBP-created ramdisk.
816 * The zeroth minor is reserved for the ramdisk
845 * An OBP-created ramdisk must have an 'existing'
861 * Calculate the size of the ramdisk.
879 * Allocate driver resources for the ramdisk.
1091 * In the case where we freed the "bootarchive" ramdisk in bop_free_archive(),
1094 * is for an OBP ramdisk. In this case we indicate an ENXIO error.
1108 (rsp->rd_dip != rd_dip || rd_dip == NULL))) { /* OBP ramdisk */
1383 "ramdisk driver",